May 17, 2003


I was planning to do some work on the Blog code today but a friend of mine asked me to take a look at an HTML page she’d done since the page wasn’t working properly, and I got sidetracked. She was using a lot of layers and one layer was not aligning properly. Now a simple word of warning, if the following sounds condescending or patronizing, I can only say that it wasn’t meant to be – I hate people being oh-so-high-and-mighty-just-because-they-know-something-that-others-don’t and try not to be that way myself but sometimes I get the feeling that I come across as if I am what I hate most. Well, anyway, this was not meant to sound like that :p The problem she had (and the situation itself) was an interesting one and so I thought of writing about it. She had over 20 DIV layers each nested within the other and when she gave me the source code to look at, I didn’t realize this was the case. I however, am unable to take a look at code and then simply decide what was wrong – I always need to putter around a bit with the code before I get a "feel" for it. So I began reformatting the source so that the tags would be indented and so I would be able to figure out if there were any non-terminated tags. The end result? I ended up removing all the DIV tag nestings :p I realized my error only after about an hour of work and then had to go back and work from the original code but actually figured out the problem – it was indeed in the DIV tag nesting and the indenting did help – it’s just that I’d never seen like 20 levels of nested DIV tags 🙂

My friend Robin, who’s probably my closest friend in real-life, is leaving the company for a different company. He joined about a year after I’d been with the current company (the first time I was with them) and stayed on when I left to go to the US and now he’s leaving. Since I hardly go out after work and don’t socialize much, he and I basically associate only at work. Wonder what’ll happen when he leaves? Of course, he and I are pretty similar in that we’ll both pick up a friendship after years but wouldn’t try to maintain the ties of friendship while we are in different places. So we’ll probably drop out of touch unless of course, he happens to be online from his next place of work :p Robin leaving is going to put me in an awkward situation in a way – it is possible that quite a bit of his work is going to come my way and I might not like doing that. I’m tempted to find a different job quickly so that I can leave at the same time as him (not that I’m not looking now mind you – but currently it’s kind of a laid back search … :p) but then again, I don’t know … I guess it’s best to wait and see in this case …

I’ve been playing "Rise of Nations" the last couple of days and if you are a "Civilization" and "Command and Conquer" fan, you’ll probably love the game since it seems to be a cross between the two :p In fact, I’ve only played the game only twice so far – once last night and once today but I’m hooked! The game play is interesting, fast and keeps you moving all over the place – and I’ve only played the tutorials so far :p In a way, the game seems to be what Microsoft tried to do with "Age of Mythologies" (incidentally, this is a Microsoft game too but developed by Big Huge Games whereas AoM was developed by Ensemble Studios) but I feel that this succeeds where AoM failed. I didn’t like the feel of AoM what with the full 3D engine and the kind of blocky looking graphics. While not 3D, "Rise of Nations" looks better and plays better – at least in my opinion. I’ll have to get in to a couple of actual games before I can tell for sure but considering that I started the first tutorial last night around 8 o’clock and didn’t even realize it was 10 o’clock till I started losing <g>, it seems to me as if I’ve found a new addiction :p

Be Sociable, Share!
Tags: Coding, Entertainment, Games, Real Life
Posted by Fahim at 5:33 pm   Comments (2)