Thursday, April 24, 2008

been so long!

wow! it's really been quite a while since i was here. anybody miss me? guess not, judging from how silent my phone was before now. anyhow, i'm currently back in school. to clear up any issues with my results. and find out if i made the final cut. for service, that is. however, i got in kinda late and so all processing is going to have to wait till today. on my way here, i saw a sign advertising a church's programmes and containing the word 'enlargement'. users of Google mail may tell you that one recurring theme in their spam relates to penile enlargement. considering it's been so long since i've seen the word 'enlargement' in any other context, you can imagine what reading it on that sign initially did to me. maybe i really do have a dirty mind. later!

Thursday, April 03, 2008

Microsoft is weird!

seriously. everyone who has programmed in a real programming language knows that numerically-idexed arrays begin at index 0 (sorry, Basic fanboys). however if you're using the Microsoft SQL Server 2005 driver for PHP and you use sqlsrv_fetch_array() with SQLSRV_FETCH_NUMERIC, the array is indexed starting from 1! it's quite easy to miss this - i know i did. all the same, it's great to see Microsoft being so 'benevolent'. Don't tell me: it's just a ploy to migrate Windows developers to SQL Server!

Blogged with the Flock Browser