Rough Book

random musings of just another computer nerd

I love this girl

Here’s an inanity:

I am totally in love with this girl (more pictures here). I was at Sadhana’s house one day, and her amma was watching some Tamil movie. The “song and dance” sequence was on, and I see this really cute girl on the screen. So I immediately turn to Kala Aunty and go “Who is that girl?!”. It turns out that her name is “Asin”. And she’s Malayalee too!+ Me, being the resourceful nerd that I am, immediately checks her out on Google (once I get home). I saw a few pictures, but not too many.

For some reason, I forgot about her for a few months and then suddenly one day I was like “I wonder how Asin is doing these days”. So I checked her out again. I got a lot of pictures this time. You know, this reminds me of the crush I had on Malaika Arora oh yeah, and I can’t forget my crush on Shakira… I guess boys never grow up.

Anyway, I had a bunch of time on my hands to waste so I went ahead and made a wallpaper. I usually have grand ideas about making wallpapers, but they never really come to fruition. I decided to make a very simple one this time. The end result is what you see below. You can click it to get the full-size version. It’s for a 1280×1024 resolution, but it should shrink without any problems to 1024×768.


+Yes, as if this greatly increases my chance of meeting her!

Live! Preview and XHTML Compatibility

I’ve added a new feature called “Live Preview”. You can see your comment as it will appear, right as you type it. I randomly just came up with the idea yesterday – I figured I could use the same code I have in place for the preview, for the Live Preview as well. I just trap the onkeyup event for the textarea. It works pretty well. Of course, there is a lag, but it’s not too bad. Oh yeah, I also removed the numbers in the comment list and replaced them with little blurbs that I made. The blurbs won’t show correctly in IE, because IE is stupid and doesn’t handle PNG transparencies well.

Then there’s XHTML compatibility. I’ve been trying really hard to get this page to validate. I was finally able to get rid of all the errors. This page validates (if you set the DOCTYPE to XHTML 1.1 explicitly, but I’ll get to that later) without any errors, as does all the CSS. However, the problem comes when I add in the DOCTYPE. The page validates perfectly, but displays completely messed up in Firefox (IE can’t handle the mime type so I didn’t even bother checking it with IE). I tracked the problem down to the Javascript. Basically, I can’t set any DOM object attribute values from Javascript. It’s as if all attributes are read-only. It’s really quite bizarre. I’ve posted the problem on a message board, so we’ll see what happens. If any of you know why I could be facing this problem, please let me know.

Here’s what the DOCTYPE (and other information) looks like:

<?xml version="1.0" encoding="UTF-8"?>


<html xmlns="" xml:lang="en">

Also, I have a sandboxed version of the website here. You can see the problem directly there.

All original content on these pages is fingerprinted and certified by Digiprove
%d bloggers like this: