PHP: JSON -> RSS

August 4th, 2011

The brief uni holidays seemed to pass in a blur of pizza bases, junk food and a LOT of sleeping in. I had my 21st birthday and hung out with my Brother and a couple of friends in Newcastle. My Dad seemed to think there was something wrong with me that I didn’t want a massive piss-up party.

This is one of the few productive things that I accomplished during the holidays:

http://noagendanews.net/rss

The above is a link to an RSS feed for the No Agenda News Network

No Agenda is the best podcast in the world. Find it in iTunes or at NoAgendaShow.com

One of the hosts of this podcast, Adam Curry has set up a “river of news” called the No Agenda News Network. This basically aggregates a bunch of RSS feeds from various listeners and contributors of the show. The only problem I found, is that it only provided a website front end, and no RSS subscription. I found the link to the pure JSON the data is presented with, and wrote an ugly script to convert it to RSS.

If you are still here, please look at a nice picture of my excellent piloting skills

Flight Sim Fail

We hope you had a pleasant flight and choose Budget Airlines again

Woe (Say Anything Cover)

December 24th, 2010

Recorded this by plugging in my electric acoustic into the MacBook Pro, and also a condenser microphone, with Garageband. It was meant as a Christmas present for my friend Sarah, but I thought I would share it here also.

Woe – cover of a Say Anything song

Say Anything Website

This song came from the album …Is A Real Boy

How To Fix iTunes 10 New Sucky Feature – Greyscale Theme

September 2nd, 2010

Following the September 1 special Apple event, I decided to update my Mac, including an iTunes 9 -> iTunes 10 upgrade.

I immediately regretted this decision, because following the upgrade, all the icons in the left navigation pane had turned grey! At first, I thought they were greyed out i.e. unavailable, but they were still working, just ugly. WHERE DID THE COLOUR GO??

This is what it looks like in iTunes 10 now

Honestly, how did Apple decide this looks better?

I attempted to hack around this, but after finding out that someone had already provided a fix, I just used theirs.

But first, please register this greyscale icon thing as a bug to Apple: http://www.apple.com/feedback/itunesapp.html. They might realise that this black & white UI “refresh” is a bit 1950′s.

User ‘OutThere’ in this MacRumors thread provides a fix/hack: (Sorry, only for Mac at the moment) http://www.drien.com/macrumors/random/itunes10colors.zip

Mirror: http://jabuti.org/itunes10colors.zip

It works beautifully, and now I have colour again. Check it out

I’m all for a cool new iPod touch with special gyroscopic powers and a couple of cameras. That thing is pretty cool. But what the hell  – you would need to swap out your normal human fingers for the new iFinger Nano’s to take advantage of the multi-touch screen on Apple’s latest small mp3 player.

Installing “Boot Camp”

May 28th, 2010

If you have an Intel based Mac, and at least 10.5 “Leopard” MacOS, then you can install Windows natively into a separate partition and dual boot between the two.

Just run the Boot Camp application from Applications/Utilities, and have a Windows XP/Vista/7 install disc ready.

The first stage in this process is to re-size the current MacOS partition, and create a partition for Windows on the end of your hard drive. This stage has caused problems for me many times, due to this error:
“”The disk cannot be partitioned because some files cannot be moved.”
The solution to this, according to Apple Support, is to backup everything and reinstall MacOS, formatting the drive. Pathetic

I’m not backing up my whole hard drive and formatting?! I’ve got homework due tomorrow and I need this done now!

It seems there is quite a common cause to this problem: the sleepimage file. This file is used for safe sleep, which is a feature of newer, portable macs which allows the computer to be restored to it’s previous state if all power is lost during sleep. It is a large file (the size of your total RAM). The crucial part though is that it seems to be stored right at the end of your partition, and “cannot” be moved!

So, you can safely delete this file for the purposes of the Boot Camp partition re-sizer, because the file will be automatically re-created later.

Run Terminal from Applications/Utilities and type the following:
‘sudo rm /private/var/vm/sleepimage’
then type your administrator password.

Straight away, after the prompt returns for you to type something again, type ‘exit’ and try the Boot Camp utility again.

If this doesn’t work, there is more things you can try:

Use an offline disk defragmentation tool. Offline is key here, because if it is running like a normal application inside of MacOS, it will not be able to move these pesky mystery files either. iDefrag is an excellent choice for this.

If neither of these have worked, it might be because your disk is somehow corrupted, or in some other bad state.

Boot from the Leopard Install Disc, select Utilities at the top, and run Disk Utility. Select your hard drive, and clicking “Verify Disk”, and then “Repair Disk”.

Or, if you don’t have access to the Leopard Install Disc, reboot into single user mode by holding down Apple + S at start-up, and then type ‘fsck -fy’ and the prompt. This will repair any hard drive errors.

Deleting the sleepimage file took less than 20 seconds. The people in forums saying things like “if Apple says you have to format your whole disk, then that’s what you have to do!” really  infuriate me. It comes from an attitude towards computers caused by a lack of understanding. There’s nothing wrong with a lack of understanding, but posting that kind of advice is not helpful.

The Very Great Contents of My Photo Booth

February 15th, 2010
Jessie and I pulling funny faces

Jessie and I pulling funny faces

Tim when he gets excited

Tim when he gets excited

I can be decorashun in ur flashy tree?

I can be decorashun in ur flashy tree?