12 August 2010

My glorious career (Part 1)

[ Big Job ]

July 1992. I was on the point of graduating from the University of Wales, Aberystwyth with a 2(i) in Computer Science. Three years earlier, I'd entered university studying Geology, with CompSci as an accessory or possibly a joint degree; I hadn't been too sure. Geology was ostensibly what I'd been educated to A Level for (my school hadn't offered Computer Science); computers were actually where my interest lay. It quickly turned out that Geology wasn't. One of the first things you are taught is that everything you learnt at O and A Level was to be discarded and relearnt from scratch. You could not simply pick up a piece of granite and identify it as granite, even though you knew irrefutably it was granite the same as the blue stuff above you was "sky" - you had to go through the motions of analysing it first. Much as I had enjoyed A Level geology, I had not signed up to repeat it. More pressingly, the summer field trip was upcoming and, having already experienced one week of staring at wet rocks in the rain, I wasn't keen for two weeks of the same while solo camping in the wild. So I applied to change my degree and, after a show of prevarication from the Geology department (along the lines of them not being seen to lose out while some other department gained), the switch duly occurred. Fortunately, one of my contemporaries in CompSci wanted to go the other way, so I think a straight swap was arranged (dawn in the Geography concourse; tense negotiations; the two captives each ordered to march towards the opposite side and not stop; etc). I like to think that CompSci got the better deal; the other guy was surely 2(ii) material...?

MORE...
Posted by Ade at 01:18 PM | Reply

10 June 2010

Fixing Youtube via proxy on iPhone

[ Big Job ]

The problem: The Youtube app doesn't work on the iPhone and iPod Touch when a proxy is configured in the wifi settings. There are various hints on the forums that a particular URL used by the app requires rewriting (as the request says one thing but the Host header says something else). However, no one AFAIK has provided actual code to fix this.

The solution: (Squid users only) the following script should be configured as a redirector in Squid (e.g. "redirect_program /usr/local/bin/youtube_redirect"):

#!/usr/bin/perl -w
$|=1;
while (<>) {
    s@http://iphone-wu.apple.com/feeds/api/@http://gdata.youtube.com/feeds/api/@;
    s@http://iphone-wu.apple.com/feeds/videos/@http://gdata.youtube.com/feeds/videos/@;
    print;
}

Also set "url_rewrite_host_header off" and reload your Squid config. This should fix the broken URLs generated by the Youtube app and still allow the proxy to work for all other requests.

Posted by Ade at 09:44 PM | Reply

11 March 2010

Now That's What I Call Ade's Music

[ Big Noise ]

Another piece that accompanied a home-brewed compilation. This one contained noteworthy personal faves that were intended to be accessible without appearing too mainstream.

MORE...
Posted by Ade at 08:25 AM | Reply

Caught Nappin' in the 80s

[ Big Noise ]

The following piece accompanied a CD compilation I put together for a select (unlucky) group of (former) friends during those early, heady days of Napster. If you wish to play along at home, most of these tracks should be available for download somewhere, but note that the version of the Medics' "Burn" on iTunes certainly isn't the single release I remember.

MORE...
Posted by Ade at 07:52 AM | Reply

22 February 2010

Olympic curling

[ Big Job ]

Debugging web apps with Curl

It's the Swiss Army knife of web app debugging. It avoids wondering how much of what you're seeing is current, and how much has been cached by the browser. It shows you all the gory details of HTTP requests and responses. It's curl, and it's solved more web application issues for me than whole departments full of developers, analysts and managers.

MORE...
Posted by Ade at 11:43 AM | Reply

13 August 2009

Current raves

[ Big Noise ]

After a loooong absence...

Silence, esOterica
Try to overlook the fact that the lead singer looks like Igor. (MORE BASS GIRL! LESS SHOUTY FREAK! UG!) This is a cover of a Delerium/Sarah McLachlan trance track which is much less interesting.
Money, It's Pure Evil, Bigelf
Mascara and lots of hair? Yeah, that's my new look! Can I grow this beard out while it's still the fashion? (I like the way that they chose the most 70s proggy name they could think of: "Elf! No wait...BIGelf! Yeah? Yeah??!")
An oldie: Everything Good Is Bad, Westworld
I am so fucking glad to have found this again after so long. Great song, great fuzz guitar - for 70p from Amazon!
Posted by Ade at 01:13 PM | Reply