Diary: May 2005

Php Is Weird

I'm doing some work in php at the moment and doing some speed testing. Copying a 5mb string to an array is faster (takes ~0.0002 seconds) than adding a reference to the 5mb string to the array (takes ~0.04 seconds). For test after test. Weird. I mean I know php has some hippy variable name lookup table so it's probably not actually copying when it copies it to the array, and I know a php reference isnt a pointer, just a symbol table alias, but I didn't expect that much difference. Or am I looking ...

Read full entry

Wheel Reinvented, New Improved Axles Coming Soon

I have bought a DVD player.

Just over 3 years ago I bought a Shuttle SV24 with a view to using it as a DVD/DivX player to go with my nice TV. However, it never really cut it as a DVD player, so since then I have been meaning to get a newer better small quiet computer to play my DVDs and stuff. Then there was all of the PVR stuff, so my requirements gradually got harder and harder to fulfil, leaving me with many many DVDs, and nothing to play them on (other than my incompetent desktop computers ...

Read full entry

Ow

I fell down some steps today and twisted my ankle. It is now swollen and hurts. Ow.

Apart from that, working. Another pretty uneventful day really.

Read full entry

Syncing Woes

I use Unison to synchronise my servers, and it's fantastic. Until you move 20mb of directories on one server and forget to echo the moves on the other server - then you have pain. Because it doesn't play well with moves, preferring the 'delete and copy again' approach. See, this is why I always write my own utilities because then it does what I want, cries of wheel reinvention be damned.

Ankle still swollen, cables still haven't arrived at Halfords, work still going slowly, and I haven't joined Team America yet.

Read full entry

Phone Ringtones

Did you know that you can get the polyphonic ring tones by texting frog52, or the video ring tone by texting frog53!

Maybe it's a division of Tivo - this alone is a valid reason to spend hundreds of pounds on a PVR. My only hope is that by advertising 2 or 3 times an ad break on every channel in the UK, that this stupid company will run out of money and I won't have to hear that damned advert any more. Or those stupid birds or that bloody dragon. What kind of retarded people are keeping this ...

Read full entry