Here goes...
Chapter 1: Firefox and assorted extensions...
Recently I picked up a couple of cool extensions for Firefox, the browser that I, at any rate, can no longer live without. The coolest one of these is called Greasemonkey(man, I love these names...). Rather than toss out some half-assed description, I'll just quote the website:
The practical upshot of this is that I can rectify all the little shortcomings that website authors haven't got around to fixing, haven't recognized as problems, or which just happen to get on my nerves. Actually, I *personally* haven't learned how to hack Greasemonkey yet, so I have to depend on the web for all the user scripts I'm using so far...that's something I intend to take care of once the exams end - all the scripts I've seen so far look like variants of JavaScript, so it shouldn't be too difficult to learn. The legendary Mark Pilgrim has already provided the perfect resource with this neat online book. So that's one interesting thing to do in these holidays...
Greasemonkey is a Firefox extension which lets you to add bits of DHTML ("user scripts") to any web page to change its behavior. In much the same way that user CSS lets you take control of a web page's style, user scripts let you easily control any aspect of a web page's design or interaction.
For those who still haven't got it yet, I cite the example of Linkify - the first script I downloaded. You know how you often run across a web page or a forum posting where some guy has typed in a link, but lack of HTML support relegates it to the status of plain old text. This means you have to go through the drudgery of copying and pasting it into the address bar...gets a little tedious after a while. The TopCoder forums suffer from this very problem, so this problem hits even closer to home...Anyway, what Linkify does is turn any piece of text that contains a web address into a clickable link. What this boils down to is that I can click on plain text links, even if they are in .txt files, as long as I open them in Firefox. Brilliant!
A relatively minor one is URL Alias, which allows you to bind a few words to a URL, so all I need to do is type 'matches' and hit Enter - and voila, the TopCoder match editorial index is displayed, saving me three clicks and a few seconds of navigation...
The newest one goes by the name of StumbleUpon and has a really cool premise. Most people who come upon a really great site tell all their friends. This takes that concept to the next level by building a network of people united by similar interests, and allowing them to stumble upon each other's discoveries...If I'm in the mood for a little surfing, I hit the Stumble! button in a little toolbar at the top of my screen, and I'm instantly relocated to some website a similarly minded chap found a while ago...
Seriously, I've never felt so much power since I first learnt how to program...long live Firefox! Maybe one day I'll try writing an extension myself - might be educational...
Right, on to other things...
Chapter 2: Music and how linguistic differences manifest
Just downloaded a nice new Persian song by Arash called Boro Boro...it's not exactly great on content, and happens to be heavily repetitive, but it's hugely catchy and fantastic to listen to if you're coding...It also has a lot of beautifully synthesized and mixed music - my compliments to the sound engineer for doing such a terrific job...
Now, my sister and I first ran into this song on the radio, and after a little deliberation, we both reached the conclusion that the language used must be Arabic. My sister, who isn't exactly a deep thinker(at least not on these subjects...) let it go at that, but I was a little doubtful. Though I don't speak or understand Arabic, I can read it perfectly(well, if you throw the vowels in, as is compulsory with Quranic text) and after having read all 114 chapters of the Quran twice, I have some idea of how it sounds. (BTW, this was one of those dumb religious rite-of-passage type rituals - I always figured it would make far more sense to read it in a language I understood rather than just making weird sounds, but I was young and insufficiently stubborn, or rather, insufficiently logical...) The point hidden behind all this rambling is that the stuff the guy was saying didn't sound much like arabic to me, except for one tiny feature, which we'll come to presently...
Anyway, I eventually looked up the lyrics, and sure enough, in less than 30 seconds it was obvious to me that this definitely wasn't Arabic. If you listen to the song, you can tell from the lack of throaty sounds(don't laugh, it's true) that Arabic is definitely not a plausible option...
So what was it that sent me and my female sibling down the wrong track? One simple sound, that's what. I'm not exactly sure how to represent it here - the concerned Arabic and Urdu letter is usually transcribed(not sure if this is the right term) as Qaf. Pronouncing it is fairly subtle - 99.9% of my friends can't do it, and a large proportion of those can't even hear it - all they seem to get is a 'kh' sound, which happens to exist in all North Indian languages. I haven't really tried it on any South Indians, but I don't think they have the sound either. The usual example given to speakers of European languages is that of the French 'r', but that hardly seems right to me...
Anyway, the point is that this sound turns up in Arabic, Persian and Urdu(which evolved from a mix of royal court Persian and old fashioned Hindi). Since we'd never heard spoken Persian before(much less a Persian song), we didn't consider it. I actually thought for a moment that it might be Spanish - the Spanish 'j' is practically the same as the aforementioned 'Qaf' sound. Still, the fact that I couldn't make sense of anything else eliminated that - if I'd been smarter, I would have thrown out Arabic as well...
What strikes me as really interesting is the way that mature human ears seem to glide over the sounds that they are unfamiliar with, as in the case of my friends who can't tell the difference between the 'qaf' and 'kh' sounds, or the famed East Asian confusion of 'r' and 'l'. Since people are usually more concerned about their differences than their similarities, my 14 year old self found this *special ability* of mine an endless source of fascination. I once spent an hour and a half teaching a determined Punjabi friend of mine to pronounce 'qaf', and when he was done, I gleefully informed him that there was another Urdu/Arabic/Persian sound beyond his vocal capabilities - it's a sort of 'qaf' with a hard 'g' rather than 'k', if that makes any sense. Needless to say, he gave up and acknowledged my vocal superiority, inflating my already enormous teenage ego...
Right, moving right along...
Chapter 3: Geeks, nerds and Prometheans in general...
Nowadays I've begun to feel rather proud of my geekdom. Let's face it, we've been playing bigger and bigger parts in history ever since the Industrial Revolution. At this very moment, I'm sitting in a house over 50 feet above the ground(and unlike Tarzan's, it's not in a tree), surrounded by little marvels that amplify my body and mind to an unbelievable extent. By hitting a bunch of keys in India, I'm transmitting my thoughts over to a server somewhere on the other side of the world, where millions can potentially see them. These millions could be anywhere - from Toronto to Timbuktu - but they can all see the same thing without stirring from their rooms. How? The power of the geek, that's how!
The crystallized thoughts and vision of some guy, who was probably socially inept and more often than not deemed *weird* by his peers, now sit in the palm of your hand, or on your desktop, or in your kitchen. The fact that you don't live in a dingy, smelly old cave is because some protogeek millenia ago decided that he wasn't going to put up the substandard goods that nature had provided. This Promethean chap looked around and realized that what he needed was right there for the taking - all he needed to do was rearrange it into the form he wished. And from that realization came mud huts, and hovels, and cottages, eventually giving rise to Rennaissance villas and culminating in the skyscraper. And let's not forget the witch doctor yelling in the background, screaming at the creative geek that he would incur the wrath of the gods for the sin of achieving power over nature, gloating over his every setback and rousing the masses against the geeks(yes, they were beginning to band together now) whenever he could.
Time now to say something highly controversial - this is probably going to annoy quite a few religious people, including some family members, but it's my opinion and my blog, and quite frankly, no power in this universe(or any other, for that matter) has the right to tell me to shut up. As long as I don't go shouting my views into everyone's faces(for a classic example of how this is done, just check out any religious evangelist), it's perfectly fine. So if the following stuff offends you, I don't really give a damn...go read something else if you don't like it.
One of the most annoying things that religious people do is trivialize any achievement by dragging one or more gods into the fray. Apparently, God gets credit for anything great you happen to do. What does this translate into? A bunch of ingrates who scoff at the greatest products of the human mind, since God could obviously do a bazillion times better if he could only be bothered to stoop so low, and he was responsible for it all anyway..."Oh, you built a spacecraft that went to the moon? How interesting...you should thank God for everything..."
Gimme a break. I don't mean to make fun of anyone's beliefs here, but I think people ought to be more fair to the guys who did it all. To pull God into the picture in the way that such people often do, is to trivialize the huge effort, both physical and mental, that these guys have put in. Let's face it folks, God is not a fit standard to measure human achievement against. Human perfection is the true standard - not divine perfection, which, by definition, we can never hope to reach. (Though you can see that the fundies are really afraid of just that - witness the huge outcry against cloning with shouts of "Playing God!"...)
Looks like I've been digressing heavily again...this wasn't even on the original plans for this post. Still, it crops up often enough that I should give it some time somewhere. The point obscured by all my rambling is that true thanks ought to be given to the geeks who made human civilization possible. Dedicate your new achievements to them and give their achievements the reverence they deserve - the same reverence you reserve for your moments in churches or temples or mosques, or wherever. The gods definitely have no need of anything from an insignificant mortal. Give your moral sanction to those who really sustain the human race.
And before I forget - don't neglect the contribution of those who sustain the sustainers - the ones who create art and literature that shows us just how great we can truly become, and what godlike heights we could reach if we only dared.
Looks like I've really gone overboard this time...still, it was kinda therapeutic sitting up late and writing all this...leaves you with a nice, unburdened feeling...
This will probably be the last blog in a while, until the exams end. I might blog a bit in the middle of those, but it doesn't seem very likely. And now, it's off to bed for me....