String Comparison Gotcha in PHP! 2

Can you expect a mature language that has been around for 13 years, and powering many web sites to do basic string comparison properly? No, not really!! $x[0] = "10000000000000000000001";$x[1] = "11011000000000000010101";$x[2] = "10101010101010101010101";$toFind = "11011000000000000010001";$k = array_search($toFind, $x);echo "match is $k";$p = ($toFind == $x[1]);echo "match is $p"; Run the above code and see ...

My kids on mugs!

Played around with POV-Ray, GIMP and the photo I took, over the weekend. Oh the joys of ray tracing! Credits to Ian Shumsky for the mug object! P.S: If you like any of your photos to be on the virtual mug, send it to me and I’ll generate a scene similar to this and send ...

AWS Meetup Chennai 1

We, the motley crew from Impiger (Ashok, Abi, Ram, Priya, Umaima and myself) just returned from AWS Chennai meetup. It was a great evening and we were able to hear what’s new in AWS from Jinesh Varia, the evangelist from Amazon. One of the highlights of the event was the demos. The coolest, imho was ...

Funny (but true) Quote!

Seen on the tagline of Slashdot user eldavojohn Can god code something so unusable even he can’t use it? No, but I can and so can you: http://www.microsoft.com/careers *lol*

RoR Scalability

I have written about this earlier. Now here we go again. It’s about Twitter having problems scaling.

Volume Fade Out Sleep Timer

I usually take a nap Sunday afternoons, and I like to hear some streaming radio during that time. I wanted something that would fade the volume down to 0 after a certain period of time (say half hour). I decided to give it a shot myself. It’s Tcl and Snack to the rescue! After twiddling ...

Disruptive Technologies

The presentation I gave at SKP Engineering College on 04/18/2008 Disruptive Technologies | View | Upload your own SlideShare Link

My First Speeding Ticket!

Today I got my first speeding ticket, after 10+ years of driving. I clocked a paltry 68kmph, when according to the traffic police, the limit is 50kmph. This was on the Rajiv Gandhi Salai (near Tidel Park), one of the best roads in Chennai, during a lazy mid-holiday-morning, when there was no other vehicle on ...

American Airlines – Bernard Jordan – False Prophets

I was checking out the news article about American canceling 850 flights, when this paragraph struck me: “Bishop Bernard Jordan, a Harlem minister, was in a first-class line trying to catch a flight to Atlanta, where he was scheduled to preach Wednesday night”. Contrast this to what Jesus said to his disciples in Luke 9:3 ...

Not Practising What You Preach?

I have blogged about YSlow, a very nice tool from Yahoo, that gives performance indicators of your web page. Guess what? I ran it on their own page (http://developer.yahoo.com/yslow/) and found that they got 3 F’s, 1 C and 1 B. Overall score was a D (62/100). A case of not practising what you preach? ...