The world, how it works, surroundings, myself, etc.
Sunday, February 26, 2006
Google Google everywhere
With so much attention focussed on a single organization, Google has raised the eyebrows of all the evildoers. All their efforts are directed to demolish this leviathon. Will the Google magic stay? Or it's just an ephemeral dream? In which case I'd rather not wake up. Therefore, I hope Google remains unvanquished with their "Do no Evil" ideology. Touchwood.
Friday, February 24, 2006
World vs. Blog World
For instance, in a worldly society, some people talk while others listen. In the cyber society bloggers write while others read -- communication.
In a worldly society, people respond to talks, ask questions, volunteer comments. Likewise, in the cyber society, readers post comments to blogs, ask questions, volunteer suggestions, etc. People respond similarly in both worlds. Worldly society or cyber society, if taunted, one feels bad; if challenged, one feels charged; if accused, one feels hurt; if congratulated, one feels happy.
When the no of guests visiting you become large, one hires assistants (secretaries, PAs). Likewise, when the no of posts and comments becomes unmanageable, you resort to RSS feeds, and blogreaders.
Stepping further, in worldy societies, we have chaos when everyone starts shouting at the same time, mostly when their speech doesn't make sense. In the cyber society, a similar confusion results from a cluster of unconnected, senseless posts -- sum total 'zero'.
Therefore, when someone calls me unworldly, I don't exactly acquiesce. I'm worldly in my cyber-sense. I ain't social. I'm cyber-social. I'm blog-social. So what if I don't visit others' places, can't respond energetically while talking face to face? I visit others' blogs and can comment. That's cyber-expression. I'm cyber-worldly.
Tuesday, February 21, 2006
Sending mails with php
PHP has this mail() function to send mails. However, it's more than
plain vanilla to use it to send mails, esp if you don't have a fully
qualified domain name (FQDN), i.e. all systems on the LAN. Of course you
could use network/socket functions to connnect to the smtp port of your
mail server, but below I describe something simpler.
1. Edit /etc/mail/sendmail.cf to add your relay server:
You should have a line beginning with "DS"
Append to it your mail server.
DSmail.iiit.ac.in
2. Start sendmail
3. Use the mail() function, as is.
Note: Of course, this works only if the mail server allows you as a
relay host. i.e. your system must be trusted. All systems on the LAN,
generally, are.
Saturday, February 18, 2006
Fed up with windows.. for the Nth time
Today, I got fed up with windows, for the N-th time again. I wished to
get the Volume License keys for WinServer 2003 (IIIT has a paid MSDN
subscription). I have the username/passwd and I know it's available on
their site. But all that I get after logging in to the msdn subscription
page are advertisements to their products, features-list, and junk. As
if we paid for the subscriptions just to view their ads. There's a pile
of junk CDs (of softwares, apps, everything from M$... all legal)
available in the server room. They gather dust.
I roamed around on their site, and I landed to all places except where I
could possibly find anything useful. Junk Junk Junk everywhere. And
their ads at other places. Going to a crack-page and getting a key
appears quicker. I fail to realize how people can tolerate such stuff
from M$ after all the money that they pay.
Friday, February 03, 2006
Movie: Home Delivery
The effort, a confused mixture of all possible genres, is comparable to a retard who discovers a box of colors for the first time and overturns each and every color on his first drawing.
(liftoff from my yesterday's diary entry)
Friday, January 27, 2006
When Indian Politicians start blogging
I'm sure AB Vajpayee would leave lots of white space between *sentences* to compensate for the temporal latency in his speech. L K Advani would have tonnes of Hinduism-propaganda speeches on his blog, but he'd be careful enough to slip in praises for Jinnah, in one corner. The entire RSS *workforce* would get angry and bombard his blog with spam-ic comments, but he'll still continue to be at the top (it's adsense, you see). Sonia Gandhi would write in Italian, but we wouldn't have understood any of her anyway had she written in plain English. The rest of the Gandhi dynasty (Rahul, and siblings) will post flattering comments at their dear mummy's words of wisdom. Manmohan Singh would have his *own* blog (at the request of Sonia), but most of his posts would be symlinks to Sonia's. Yes, I know, he's intelligent. That's why I said *most*. The remaining rest would have some intelligible junk on economy, gathering flies, as the CPI would force him to keep them offline (the CPI don't blog -- they can't actually, it's a bit too revolutionary for them to digest). Who else.. ah... how can I forget Lalu! He'd have his blogpage on a Yadav's server, with free internet from a Muslim ISP. The wallpaper would be adorned with cowdung, and his posts would consist primarily of bullsh*t. The domain-name would be registered in the name of Rabri (yeah, for name-sake only). In cooperation with Congress, he'd enforce a 40% reservation for OBCs for posting comments on his blogpage.
There'd be some nice blogs too. Blogs of youngsters like Arun Jaitley, Chidambaram, Mahajan would make sense. Uma Bharti's blog would be in Saffron fonts but she'd be confused with supporting the posts of BJP or her esteemed Guruji. She'd keep switching between the two, until at one time the BJP kick her out permanently from their blog-circle.
In essence, our politicians will be a lot more interesting and little less pathetic, if they take to blogging. And not to mention, WE, the people of India, would have at least some say on their posts (thru comments, that is).
Tuesday, January 10, 2006
My phone too is being tapped
First it was Amar Singh who complained about his phone lines being tapped by Congress. Down south, Jayalalitha joined in support with similar grievances. Chandrababu Naidu too acquisced but insisted that he'd join the fray totally only when he had proof. L K Advani too had a gut-feeling that his phones were being tapped and that he suspected it was Congress. After so much attention-tapping, I thought I can also garner some share of the pie. I too have a gut feeling that my phone is being tapped -- so what if I don't have a phone! It doesn't really matter, does it? It's blame blame game; and I'd too like to blame it on Congress. Come CBI, get to action, start hunting for the culprit. :)
Sunday, January 08, 2006
Bihar beckons
Saturday, December 24, 2005
My third job offer
I received my third job, this time from Nvidia, Pune. The interview, scheduled at 9:00 in the evening didn't start before 10:30, and that left me enough time to grab two episodes of F.R.I.E.N.D.S. on a vacant PC I found near the interview spot. The interview began with one of my projects, video streaming to a (wireless) PDA and the interviewer delved into Multimedia-related questions (what factors affect the bitrate of a video stream, what's q-value, how does it affect the bandwidth requirement....). This was followed by a question that I did not answer in the written test (which I did solve then), and a simple question on probability -- that's it. 1:30 AM -- results out.
Thursday, November 24, 2005
gdb generic error
I had gdb-ing my application to figure out the reason why it had been
misbehaving for long. It had been so long that gdb tried to console me
with: "Cannot find user-level thread for LWP 7912: generic error"
I didn't particularly like the "generic error" phrase. What was it
trying to say? Is it trying to console me by stating that this error is
a generice error -- as in, everyone gets it -- and that I need not get
so annoyed? As if to say, everyone has a bad day -- just that it's yours
too today!
Sunday, November 20, 2005
gcc commentary
Gcc has some humorous commentary built into it. I tried the datatype "long", and then tried "long long" and just for fun tried "long long long" and here's what it says:
error: ‘long long long’ is too long for GCC
Curiously enough, gcc doesn't remark similarly for "short short". I expected it to say: error: 'short short' is too short for GCC!
Interesting.
Tuesday, November 15, 2005
I eat shocks.. everyday
There are some strange observations about this phenomena:
- This phenomenon started only after I returned back from home after my Diwali hols. I was perfectly okay before that. I used to wear the same clothes and eat and sit similarly. Did I burn a bit too many crackers in Diwali? Or do I have an evergreen Diwali with me now?
- I get up 1-2 times before finishing my meal to load some more things from the counter. On these occassions, I don't get any shocks as I pick up my plate. It's only when I'm finished with my meal, my stomach is filled, and I get up finally, that I get these shocks. As a hit-and-try experiment, I once retired my meal without having filled my stomach, and lo..I did NOT get the shock. However natural this electrostatic discharge phenomenon be, how does it predict if my tummy is unfilled?
Saturday, November 05, 2005
Being Bangalored ... interesting
Strange but true. "Bangalored" is a verb which has been recently accrued in the english vocabulary. A person is said to be 'bangalored' if he lost his job because the work got outsourced to bangalore or any other city in India. "He got bangalored last week" is an example of its usage.
I ain't kidding people. Google it up I say. Lot of people in US got bangalored that it became an issue during the US presidential election. Thats exactly when this word was coined.
Dictionary defintion :
Bangalored adj. (said of a corporation, project, or employment) having been relocated to India; having lost business or employment due to such a relocation.
Here are some quick links to 'Bangalored'..hmm it feels really awkward to even pronounce it.
Click: A and B.
And guess what..one such similar verb is "Shanghaied" which means kidnapped. "Shanghaied" - this word even exists in Webster's dictionary. Try and see yourself. Shanghaied has been known since about 1870, at first in the sense of kidnapping a person to make up the crew numbers on a ship, but now more generally to be for ced into doing something against one's will. There is one more... 'Sodom' from the Bible.
Saturday, October 08, 2005
Morality and the Constitution
In other words, the government can do whatever it pleases. The Supreme Court, the highest court of appeal in India, will keep expressing discontent, but they can't do anything either. Their hands are tied. They are just supposed to interpret the constitution -- not act as per righteousness. In such a scenario, I feel that the government is actually very very moral whenever it does anything. What else, if not morality, stops it from modifying the constitution to make amendments that ensure that the same party keeps winning every time? What else, if not morality, stops them from framing laws making their rule permanent? Nothing. Pure morality. All strong words like sovereignty, democracy, liberty, et al, combined don't have enough power to stop this -- and yet, we have the government performing at least some degree (+ve or -ve).
G B Shaw mused:What recently happened in my home-state, Bihar, raised similar demands for moral ownership. A "constitutionally elected" assembly was dissolved because the governor did not deem the majority party deserving enough. That was on 23rd May. Four months later, the Supreme Court wakes up (why??) to announce that the governor was wrong. It was constitutionally wrong, but nothing can be undone. Who owns the constitutional responsibility in this case? Oh, I see -- The can-always-be-blamed Mr Nobody. The opposition, unfailingly, has again renewed its demands for the government to own moral responsibility! And the prime minister, it seems, has agreed that he cannot disown moral responsibility. Oh, how cute. I love you. Please go to hell (on your own money).
Democracy is a device which ensures we shall be governed no better than we deserve.
So hopeless is the nature of the holy constitution of the largest democracy of the world (yeah, it's India) that I wonder -- Isn't this collection of 395 articles no more than a huge and perfect crap-book? What's the use? I tried to reason out some possible uses of the bulky constitution.
-
Use as Toilet paper
-
Use for literature study
"Article 32 confers upon the citizens of India the right to constitutional remedies. ...."Ah, don't worry what this right is -- 'tis too impractical. This is the only place in my 22 years of life that I have seen the "confers upon" phrase being used, and I find it sweetly poetic. Perhaps the makers of the constitution mistook this exercise as an endeavor towards the Nobel Prize for Literature. They didn't get it -- and they died of shock. "We, the people of India, having solemnly ....." is another favorite and by-heart.
-
Use as a flare
-
Making Kites
That's it. No more practical uses of the crap called the Constitution of India. Sorry founding fathers. None that I can think of presently. And no -- it does not deserve the Literature Nobel, either!
Al Qaida's Hiring
I had heard and read that the economy was going strong, that the bears were unable to hold back the bulls who had been raging the stock market with each passing day. But that the upbeat mood has tingled till Al Qaida too still trickles me. So, they've placed proper advertisements asking people to join their force.
Someone please take up the issue with our placement officer. Schedule a Pre Placement Bombing (akin to PPT) soon. :-)
Wednesday, October 05, 2005
Thy OS is thy religion
Imagine the Year 2015 AD: Barely 10 years from now
The world is casted based solely on one demarcation: your religion,
except that it's not actually Hinduism or Christianity, or Islam but
instead your OS. Your OS is your religion; it represents you, teaches
you, guides you and inspires you. There are great heroes to sing of --
they've done groundbreakingly significant work in the upliftment of your
OS (Linus, Jobs, Gates to name a few). The preamble of the crappy
Constitution of India is rewritten to include the term "equality of all
Operating Systems". To the phrase "equality in protection by law
irrespective of caste, creed, color, sex, sect" is appended "or
operating system".
There'll be some secular political parties, some pseudo-secular, and
some infamously communal (with deep religious attachment towards their
OS-es). There'll be communal wars in the name os OS-es.
And then there'll be some Nazis who won't tolerate any disgrace to their
religion -- either use their OS, or die! Takeovers follow when some
profilic superpowers try to spread their religious colonies throughout
the globe (or every other planets perhaps). Divide-and-rule based on
your OS still works. There is widespread anarchy in the name of one's OS.
Then there'll be a Mahatma. He'll be too lazy to attach himself to any
OS -- if you format his system and install your OS, he'll acquiescedly
offer his other PC as well (his forefathers used to offer the other
cheek when slapped on one). He'll be assassinated by a virus of the same OS.
Children's names rhyme with the OS internals -- Kernel Prasad, chmod R
Shastry, Insmod Pandey, Modprobe Chaurasia, Ipod Vidyadhar, Zotob Gates,
Bill Nimda, etc. Marital and funeral rituals are tied closely to the
nature of booting and crashing of your OS, respectively.
Whoosh! I'm waiting for 2015.
Wednesday, September 28, 2005
Halting the gears

It's general knowledge that glxgears can be used to get a quick peek of a graphics card's performance. glxgears is fill-limited, that is, the frames-per-second (FPS) depends on the size of the window. I describe here a small exercise with glxgears: Halting the gears.
Increasing the window size decreases the FPS. However, the perceived sense of rotation (clockwise or anti-clockwise) of the gears appears to switch as you increase the window size. That is, as you drag the corner of the window and make it larger, the gears will appear to be rotating clockwise and then at a point they'll apear to be moving anti-clockwise and then again they'll appear to moving clockwise at a point... and so on. This is akin to the rotation of a fan wherein you can sometimes feel the blades moving in a direction opposite to the blades' actual direction of motion. So, after making x no of rotations, if a point p on the periphery of a gear lands ahead of it's original place, the perceived sense of rotation is the same as its actual rotation direciton. However, if the point p falls short of its original place, the gear will be perceived as rotation in the opposite direction.
The Exercise: Drag the corner of the window to increase the size and bring it to the point such that the perceived sense of rotation of the gears is just about to change. At this juncture, it'll appear that the gears aren't even moving -- as if they're halted. It's a bit difficult to manouvre the size to a perfect standstill, but it's worth the pains!
Tuesday, September 27, 2005
Techies' In-expressive-ness
With the breed of Geeks, the situation is even worse. Talk to them for a minute and you'll realize how inarticulate they can be. Ask a computer geek a doubt and he'll answer you back with a string of technical jargon, most of them obscure commands, and this array will be terminated by a broad grin (if you are lucky) emanating out from his bespectacled face. Needless to say, you didn't understand a thing and you are left with a similar doubt, only transformed a different and unfriendly space. Actually, they are not to be blamed too.
-- PS: Exceptions are everywhere. I'm not referring to those.
My short tryst with Death
First, a direct lift off from my yesterday night's diary entry:
Glass Cleaner is dying
One of my fishes, the one that used to spend most of its time stuck to the aquarium's glass walls, is dying right now. It had jumped out of the water and onto the floor, a shock for me when I returned back to the room. I put it back in water, but its fins are stuck. I can still see the to and fro movement of its lungs as it breathese, but the fins are still stuck. It cannot move its body. Though it seems to be trying hard for survival, gasping for breath, I don't think it can. By the time I'll be awake tomorrow morning, it'll be dead -- and I can't do anything about it! Oh! no. Even as I'm just writing this, it made a desperate attempt to move and has changed its place to the other corner of the aquarium. But why is it trying to reach the water surface? Please don't jump out again. Please don't die like this before me! I've covered the top of the aquarium now and put in some fod. The other two fishes are having their feed, whereas the subject of this writing is standing almost vertically on its tail, its body still appearing stiff. How painfully it must've writhed on the floor -- why did it jump out? Why does it want to change its silent life to a painful death? Why does it still want to jump out?
The smallest fish, a tiny body with a tiny mouth, is nowhere to be seen. Where did it go? Did it too jump out? I searched everywhere on the floor. I cannot find it. Instead, what I find is some flies and random insects sitting motionless. Oh! no, they too are dead. One is a more than usually large beetle, black and upside down -- its arrangement of legs are silent. Another is a black but grasshopper-like flying insect -- it can't move, its dead. There are innumerable other small flies, worms, ants too! What happened in my room -- did Yamaraj make a visit? And where must've the little fish jumped off?
I now look back at the aquarium, and find a black and white strip of body below some yellow stones. Oh! no, that must it be -- that is it. It's dead. I take it out of the water. Oh! my God, it's abdomen is eaten up -- it's completely hollow -- what happened? I cannot see what's inside and I throw it out.
But what exactly happened in my room? I remember well that everything was fine when I left it some 3 hours ago. Death, it seems, danced its way in my room. If I sleep, will I wake up? Has death left or ....?
Back to this blog:
I was scared like hell yesterday night. Luckily, when I woke up this morning, the glass cleaner fish is alive. It has survived. And so have I.
Monday, September 19, 2005
What's a "hi"?
I thought Hi was no more than a salutation. But seeing the overuse of this small word, I have reason to believe that it is being abused for varied purposes. You see it everywhere. A signification multitude of my mails have the subject "Hi", primarily used by someone who wanted to send me a mail but wasn't sure of the subject, but still didn't want to leave the subject line unfilled. I just got a mail which dealt with a sysadmin-related problem, but even this was greeted with a "Hi" in the subject line. The rest of the mail was entirely unrelated to the preamble of Hi. Don't people realize -- it's perfectly ok to leave the subject line blank instead of filling it up with the unnecessary Hi.
Looking at various other instances of Hi, every chat session invariably begins with a Hi. Actually, it's nice. Follows the KISS principle. Want to begin a letter, say Hi. Want to start a conversation, say Hi. Wish to start a speech, say Hi. Wish to write an invitation, say Hi. The problem is that it's not used as a salutation but as an opener, as if to get things in motion. We don't begin with a Hi because any other thing wouldn't suffice, but rather just to begin -- akin to clearing one's throat before a conversation. What would happen if everything began with a Hi? God would invent you and say -- Hi (instead of tathastu). The first thing you'd speak to a newborn would be -- Hi. Yamaraj would land at your doorstep and say -- Hi. Imagine every research paper beginning with a -- Hi. The morning newspaper starting with a Hi. The PM addressing the nation on 15th Aug and starting with a Hi. Often people look at you with awe and astonishment if you utter the name of one-who-must-not-be-named. But with the growth of Hi, people around you would be sent shuddering with astonishment if you _did_not_ begin anything with a Hi (one-that-must-be-named). Your examination paper question paper would start with a Hi. The answer-sheet will have a Hi already printed. Even then a student will append a Hi. A lawyer would drop the usual "Your Honor" salutation and begin his legal proceedings with the quintessential Hi. The judge, instead of saying "Objection sustained" would say -- "Hi, Objection sustained". The convict, standing before the jury would start with a Hi.
It gets even more painful. Even advertising isn't spared. Hutch is so confident about the applicability of Hi that they pay for gigantic billboards but use only a tiny corner of it to say -- Hi. Probably if Hutch had it's way, when you receive a phone-call, everything else would be proceeded by a machine-generated automatic Hi for bot the caller and the callee.
PS: Even this post begins with a Hi.