Most Effective Five Dollar Upgrade Ever

I finally got around to replacing the broken IDE cable in my computer last night. It had been limping along with an old UDMA33 cable, and now has a proper UDMA100 cable.

Before:

damo@omad:~$ sudo hdparm -t /dev/hdc /dev/hdd
/dev/hdc:  Timing buffered disk reads:   86 MB in  3.07 seconds =  28.05 MB/sec
/dev/hdd:  Timing buffered disk reads:   86 MB in  3.06 seconds =  28.14 MB/sec

After:

damo@omad:~$ sudo hdparm -t /dev/hdc /dev/hdd
/dev/hdc: Timing buffered disk reads:  172 MB in  3.01 seconds =  57.15 MB/sec
/dev/hdd: Timing buffered disk reads:  170 MB in  3.02 seconds =  56.23 MB/sec

Now my media drives are running approximately twice as fast. I should have done it months ago!

Posted in Tips | Leave a comment

Topcoder

Last Friday I took some time out and entered my first Top Coder competition.

For those who’ve never heard of it, Top Coder is an online competition for computer programmers. There’s several different categories to compete in with the most interesting to me being Algorithms.

Each week thousands of coders from around the world enter, and are given 3 programming challenges, with limited amount of time to compete them. Points are awarded for correct solutions, based on the difficulty of the problem, and the amount of time spent working on them.

I heard about Top Coder from an online interview with a Google employee, who attributes his success in obtaining a much coveted position there largely to his high standings in the competition. He also highly recommended it for anyone wishing to practice their programming skills.
The problems are hard, it’s a bit of fun, and provides good motivation to improve.

Posted in Uncategorized | 1 Comment

Drenched Shoes

Brisbane has been fairly wet the last few days, and I’ve been having a fun time riding my bike around in it. My favourite thing is the wonderful reflections off the ground at night.

One problem however, is wet shoes. Ideally I should find waterproof shoes or covers, but I’m no-where near that sensible.
The best technique for drying wet shoes (unless you have a fancy clothes drier with a shoe rack), is to place them upside down up at the back of the fridge. Warm dry air rises there, and your shoes will be ready to go the next morning.

Posted in Tips | Leave a comment

Ebay, Stupidity, Video Cards and Fraud

No-one enjoys feeling stupid. Unfortunately that’s exactly the boat I’m in this morning. Once again I’m a victim of online fraud, only this time it’s thanks to stupidity and greed on my part.

For several months I’ve been interested in getting a newer video card than the lowly Geforce 2 MX I’m currently making do with. It mostly serves well, but I’d like dual-head, and a chance to play around properly with Apple’s OS X, neither of which it can do.

After deciding that an older ATI Radeon was my best bet, I found and paid for a second hand one through the Overclockers Australia Trading Forums. Unfortunately, the card didn’t exist and the seller stopped responding to messages. I wasn’t the only one caught out, and the case is now being investigated by the Queensland Police.

Not to be deterred, I took my search to eBay, and found an absolute bargain on this Radeon 9800 Pro. I took the usual precautions of buying on ebay, and checked the user feedback of the seller. At first glance it was very nearly all good, but when I looked closer, he had only been a member for three months, and had only sold cheap sets of batteries. Now he had listed many hundreds of dollars worth of computer gear, all finishing within a couple of days. I was suspicious, but decided, it’s eBay, what can go wrong, so bid, won, and paid for the item.

Today, the item hasn’t arrived, I check on eBay, negative feedback is starting to filter through, the seller is no longer a member, and I’m feeling very silly. It’s too soon for me to take any action, but it seems I’ll get to try out eBay’s disagreement services. Wonderful.

If something seems to good to be true. It probably is. Listen to your own common sense, don’t be as silly as me.

Posted in Uncategorized | Leave a comment

Silly Work, Silly Coding

PHP code is ugly, and Java is way too huge.

Ruby is nicer, and I shall endeavour to start using it next time I have to start a new project.

Posted in Code, Work | 1 Comment