Recently I decided to correct my oversight of not having obtained a Raspberry Pi, so I purchased the Model B version along with the nice clear case and named it “Colossus”.
Never having owned an Acorn Archimedes (I was an Amiga man) the first thing I did was play with RISC OS for a while. Having got that out of the way, I installed Raspbian Linux and decided to have some fun creating a demo web page showing continuously updating statistics from the Pi.
I ended up using a Bash script to generate a single page of HTML incorporating an embedded image (a lovely iPhoneography photo I took of Colossus). I then piped this script through Netcat to create a single-threaded web server. And I then ran all of that several times, each instance on a different port, to create a multithreaded web server which I named “Hydra”.
I needed something at the front end to distribute incoming HTTP request on port 80 to Hydra’s multiple ports, and a very simple command utilising the handy Pen load balancer did the trick for that.
“Warpvision presents an Artificial Intelligence video – (Motion) – electronic listening music for the eyes”
I was lucky enough to see Warpvision’s fantastic “(Motion)” at its launch party at the Institute of Contemporary Arts in 1994 and I’ve loved it ever since. Sadly Warp have never released it on DVD, so I thought I’d upload my VHS rip of this memorable audiovisual production which features music from Warp Records’ seminal “Artificial Intelligence II” compilation, including various classic IDM artists, combined with retro 90s computer animation.
Video by David Slade and Phil Wolstenholme: (Nanotechnics.1); (Mirage); (Corpus Porpoise Posthumous Non Polhemus); (Lifespan); (Sim)(biotics).
Audio: Scanner – Untitled; Link – Arcadian (Global Communication Remix); Beaumont Hannant – Utuba; Polygon Window – Polygon Window; Richard H. Kirk – Reality Net; Speedy J – Symmetry; Mark Franklin – Release To The System (Beaumont Hannant Remix); Autechre – Basscadet (Bcdtmx).
I became a self employed system administrator in 2011 and (touch wood) my freelance infrastructure business has been going fairly well so far. I thought it was about time I built a marketing website for my business, and I wanted to create a simple, professional-looking site without having to spend too much time building it.
It was very easy to modify the template and build the simple marketing website I wanted. The end result isn’t the most advanced design ever created, and it’s instantly recognisable as a Bootstrap site to anyone else who’s used it, but that’s OK. I’m just trying to market my business, not win design awards. I’d certainly recommend Initializr to anyone else who understands HTML and CSS and wants to get a decent site up and running as quickly as possible.
If you ever find yourself wanting to extract the contact photos from vCard/VCF files then this may be the script for you. I know that this works on a vCard export of multiple contacts from the Contacts app in OS X Mountain Lion. It’s possible you might have to tweak it a bit for vCard files from other sources. Read the rest of this entry »
Sometimes it’s desirable to have a continuously updating display of the IP addresses which are hitting a web server, with an indication of how many times each IP address has made a request. This may be because you suspect a DoS or DDoS attack, or there may appear to be some other odd activity, or you may simply be curious. If a web server is sitting directly on the Internet then it’s possible to do this fairly easily with a tool such as netstat. Often, however, a web server is behind an ELB or another type of load balancer, which means that if you try to use netstat then you’ll just see the load balancer’s IP address, not the address of the client which made the request. But if your load balancer is passing the X-Forwarded-For header (as it really ought to be) then you can use this header instead of the client IP to get a continuously updating display. Read the rest of this entry »
I make extensive use of the Reminders app in Mountain Lion* to keep track of tasks and to-do items, and I wanted a way to export a list of reminders to plaintext, so I knocked up a quick Python script to take an ICS file exported from a List in Reminders (which you can do from the File menu) and output it in plaintext. Read the rest of this entry »
Up until recently I was using Heartbeat to create two-node Linux clusters with floating IPs, but now Heartbeat is no longer being developed I needed to figure out how to use Corosync and Pacemaker for this instead. Unfortunately this is quite a lot more in-depth than the simple configuration that was required for Heartbeat. Anyway, based on my recent experiences, here’s a quick guide for if you find yourself in a similar situation. This works for me on CentOS 6. Whether it works on CentOS 5 and/or other Linux distributions I don’t currently know as I haven’t tried it.
All I wanted you to do was move my number from my old flat to my new flat and give me a SIM in time for me to pass it to my broadband provider so that I didn’t have any loss in broadband service during my move. What followed was weeks of diabolical communication and total and utter incompetence, leading to an enormous amount of stress, hassle and wasted time both for me and for my broadband provider.
As soon as possible I will be getting an alternative broadband solution which doesn’t require a BT line so that I don’t have to use BT ever again. You’re a truly awful company, I don’t ever want to have to deal with you again either for personal or professional use, and I’ve been making sure all my colleagues, friends and family know how utterly useless and incompetent you are.
Mountain Lion is an improvement on Lion, which I had mixed feelings about when it was released. Unfortunately, however, Apple seems to have decided that RSS is a dead technology, and consequently the handy RSS screensavers have been removed, which means there’s no simple way of creating a screensaver out of one’s Flickr favourites.
Having come up with an effective solution for how to get Flickr favourites as a screensaver in Mountain Lion, I thought I’d share the method for the benefit of those who are not so used to fiddling with the deeper technological aspects of their Mac. I’ve gone into quite a lot of detail for those who are less technically-minded, but those of a more technical bent can just skip ahead accordingly.