Saturday, June 21, 2008

Yeah, That'll Do It

From The Hindu:
...the general apprehension is that of yet another bout of monetary policy tightening by the RBI - which could lead to increases in lending rates with respect to automobile, housing and consumer loans.
New loans will become dearer, alright, but how's this going to have a direct bearing on the family budget? OK, I get it, below-poverty-line families thinking about buying a car, a house, or a flat-screen TV will balk at the high EMIs, and will therefore have more disposable income to spend on luxuries like food, thereby offsetting the pinch of higher prices. Bottom line is, this will not have a first order impact on inflation: the fuel prices hike is too much of a countervailing force on the other side.

On a side note [*], now that the inflation rate has reached truly alarming levels, the captains of industry have woken up. Not out of concern for the common man, but about sustaining economic growth:
Inflation is not only a concern for the government but also a concern for the industry.. [the unabated rise in prices] reduces the space for fiscal and monetary policy maneuverability without seriously impacting growth.
[*] Come to think of it, the concern over a rise in lending rates for say, flat-screen TVs, actually ties in with the worry about sacrificing economic growth. Silly me.

Quote of the Day

From a letter in today's Hindu:
The message that is loud and clear is: if you want a free helicopter ride plus your photo on the front page of national newspapers, sit tight on the main railway track and hold the nation to ransom.

Friday, June 20, 2008

Spot the Irony

Obama has to vehemently deny the 'slur' that he's a Muslim, while the EU is being chastised for blocking Turkey's entry into the Union:
All this is wrong-headed. Turkish membership of the EU is important - Bush is right about that - for historical reasons as overarching as Europe's debt to the nations Yalta imprisoned. No more important bridge could be forged at this moment between the Christian and Muslim worlds.

Thursday, June 19, 2008

Fsck You Fridays

Dear cubicle dweller,
  1. Tired of having to put up with colleagues who refuse to respond to your emails unless you copy their supervisor in the email and/or tag a return receipt notification?

  2. Do you feel like smashing your fist on the face of the punctilious jerk who a) rejects your IT request form because you had selected the wrong category and b) refuses to respond to emails asking him to enlighten you as to what the fricken correct category is?

  3. Are you sick of HR folks whom you talk to 24 hours ago about your problem, but who feign complete loss of memory and ask you to start from the beginning all over again?
Fret no more, because 'Fsck You Fridays' is here. Every Friday, between 3 and 4 PM, one workstation on each floor will be open to you and your fellow cube-dwellers for you to express your unalloyed love for the above-mentioned folks. Just walk up to the screen, type in the employee number of the person you would like to bless, a short description as to why you love them, and press 'Submit'. The object of your affection will instantly receive a missive (anonymous, of course) that encapsulates your sentiments, accompanied by a cheap plastic hand (life-sized) performing a one-finger salute.

Thrilled? Jumping with joy? Wait, there's more. Employees winning more than ten tokens of affection in a month will be entered in a monthly 'Screw You Sundays' raffle where...

Regards,
Corporate Cross Functional Team on Motivation and Employee Empowerment (CCFTMEE)

REST

I have been coming up to speed on REST for the last couple of days or so. Some obvious and some not-so-obvious things I've learned:
  1. REST may be the architectural style on which the World Wide Web was built, but it's not exactly tailor made for web applications (accessed by humans from browsers).

  2. Since REST favors a stateless mode of interaction, transactions will have to be done outside REST (not even sure if this is possible), or we'll have to treat each service invocation as atomic, and build compensating transactions a la BPEL.

  3. REST mandates that we model the application in terms of resources and representations. Not sure how well can this be mapped to the domain we are modeling. It's easy to say 'think in terms of resources, not services', but dressing up an itinerary creation service as an itinerary creator object (sorry, resource) doesn't cut it, IMHO.

  4. We need an HTTP client to program to a REST service; support for PUT/DELETE in browsers is not available (yet?). Don't know whether this can be done in JavaScript.

  5. If we want to architect a web application whose service layer is implemented in REST, we will need two web/application server layers -- one to receive the request from the browser client, and another that actually implements the service. The two layers can be collocated, of course.

  6. This is a minor nit: since one of the strengths of REST is the uniform interface, there is no interface specification (equivalent of WSDL), and we cannot generate the service invocation code automatically.

  7. More network traffic as we need to transport more information to the service because of its statelessness.

  8. Authentication information needs to be sent with each request. This implies that the first layer in point #5 will have to manage the session data if it is servicing a user logged in from the browser application. The scalability benefits are therefore not available to this layer.

  9. Issues like locking, concurrency, etc. seem tricky. I haven't thought this through yet, but off the top of my head, things like including a timestamp field in the representation seem necessary.

Saturday, June 14, 2008

That's a new one

Spammers/Hackers have now taken to insulting their potential targets: there's an email in my spam folder with the subject 'You look really stupid rajesh.jayaprakash' with a link to a Windows executable called video.exe, which is probably malware.

Commitment

Yuvraj Singh has agreed to present the Man of the Match award at a Euro 2008 match on Sunday. Nothing of significance here -- he is supposedly a Man United fan and would love to meet Ronaldo -- except that if the Tri-Nation final on Saturday spills over to the reserve day, i.e. Sunday, there will be a conflict in his schedule.

Turns out that Carlsberg's first choice was Dhoni, but he declined on account of the above potential schedule conflict. Considering that Dhoni is also a keen football fan, this says something about his commitment, doesn't it? Or does it have more to do with his being the captain of the team?

Friday, June 13, 2008

Thursday, June 12, 2008

It's Ten Years Later

... and Bilic is now standing in the Croatian team dugout, not as player, but as team manager. Managers are getting younger all the time -- Southgate is another player-turned-manager who comes to mind -- but it still feels odd to see Bilic, earring and all, try to appear comfortable in a suit.

Incidentally, Bilic is best remembered (at least by me) for being given hell by the French fans in World Cup '98 for making Laurent Blanc miss the final because of an ill-deserved yellow card acquired on account of Bilic's histrionics.

Monday, June 09, 2008

My VA Smalltalk Experience

  1. You need to register to download an evaluation copy. Strike one.

  2. The setup program complains about the non-existence of '/usr/local/VASmalltalk/7.5', which needs to be created manually.

  3. Run the setup program; hit error "Runtime Error -- couldn't open file with UnixProcess". Readme.txt says you need csh, or you can try fooling the installer by creating a symbolic link to bash and naming it as 'csh'. Strike two.

  4. Not wanting to cut corners, you install csh. The error goes away, and you are able to complete the installation.

  5. OK, how do we start VA Smalltalk? Turns out you are not done with the installation yet. Need to run a program called 'vasetup'. This creates a copy of the image and other files.

  6. You try starting VA by running the command 'xterm -sb -e abt&'. Nothing happens, except for the screen flickering for a moment. Go back to the documentation, and find that there are a number of things you still have to do, starting with tweaking the abt.ini file followed by changing the ownership of the manager -- whatever that means -- and a whole lot of other things that may be necessary with Linux.

  7. By now you are pretty much at the end of your tether and decide that it's simply not worth it. Strike three. rm -rf /usr/local/VASmalltalk
It's 2008, and the fact that I'm using Linux shouldn't mean that I need to jump through so many hoops. These guys need to make things way, way simpler. They can look at how VisualWorks does things, for starters.

Thursday, June 05, 2008

The Left is at it again - Part 2

They will not be man enough to walk out of the government and bring it down, but still want to earn brownie points with the public through protests and bandhs against the fuel prices hike. Fscking hypocrites.

Wednesday, June 04, 2008

Blah?

I received the latest VMWare Corporate Email Newsletter today. By definition, there's bound to be a lot of corporate blah-blah in it, but it was quite surprising that somebody in VMWare itself seems to think so:



The culprit (if you could call it that) is Gmail; since it doesn't display images by default, the alt text is all you see when you open the email.

Sunday, June 01, 2008

Movie Review: Indiana Jones and the Alien Skull

(I know, the name is not quite correct)

I've either reached the limits of my tolerance for these action flicks, or the latest edition of Indiana Jones really sucks. Either way, not the most enjoyable way to spend a Saturday afternoon.

For a change, let me try being more objective about my review; I'll lay down the parameters for evaluation and their respective weightages first, then rate the movie along these parameters ( * cough enterprisey cough *):
  1. Ability to hold viewer's attention (25%)
  2. Quality of stunts/effects/action sequences (15%)
  3. Crispness of dialog (15%)
  4. Clicheness index (15%)
  5. Originality of the plot (10%)
  6. Believability of the plot (5%)
  7. Quality of the cast and their acting (15%)
Ability to hold the viewer's attention: Though the movie doesn't grab your attention and refuse to let it go, it doesn't drag on, either. Three stars.

Quality of stunts/effects/action sequences: I expected better from an Indiana Jones sequel. Pity that they couldn't come up with something decent even for the climax. Two stars.

Crispness of dialog: Some of the dialog between Dr Jones and Mike raises a few chuckles, but pretty lame otherwise. Two and a half stars.

Clicheness Index: Exhibit A: Old couple on an expedition bickering with each other even as they save each others' lives. Exhibit B: Expedition goes into a cave in the climax, expedition does something inside, everything comes tumbling down, expedition (minus expendables/villains) hauls ass. Been there, done that. One star (the parameter name is misleading, actually; the higher the stars, the better the movie. Please send me a change request -- please use form CCRF020 -- filled out in triplicate, and I'll see what I can do).

Originality of the plot: This is the fourth (?) movie in the franchise. Need I say more? Two stars.

Believability of the plot: I'm willing to cut some slack here, this is Indiana Jones, after all. Two and a half stars.

Quality of the cast and their acting: I like Harrison Ford quite a lot, but he seems to be getting too old for this kind of stuff. The rest of the cast just seem to be along for the ride, except maybe for the Russian lady villain. Two stars.

Overall rating: 2.2 stars

Now for the subjective part:
  1. Is it just me, or was there an attempt to revive the Cold War propaganda? I'm talking about the evil Russians who slaughter innocent indigenous tribes and cut down the rain forests.

  2. Which kind of idiot tries to use a snake as a rope to rescue people drowning in quicksand? Staying on the subject, Dr Jones' exposition of the difference between quicksand and drysand even as he is being sucked in was instrumental in taking away half a star from the Believability parameter.

  3. Every movie has a satori moment, a sort of tipping point when (a) you realize that the money spent on the ticket was worth it or (b) you want to slap yourself on the forehead (a la Priety Zinta in the IPL semis). For me, this moment occurred with Professor Oxley's "They are in the space between spaces" comment. I leave it as an exercise to the gentle reader to figure out whether it was in the context of (a) or (b).
On second thought, I'm going to deduct 0.1 stars because I couldn't get the irritating theme music out of my head till 11:30 PM.

Saturday, May 31, 2008

How does a breeze become a wave?

Is Thomas Friedman writing editorials for Deccan Chronicle now?
The question of majority thus satisfactorily resolved, the stage was set for the birth of the first BJP government in South India: the saffron breeze that swept the north has begun to blow in the south. However, no one will take a bet on whether the breeze will convert itself into a wave in the coming years and bestow on the BJP the status of a major political player in the South as well.

Sunday, May 11, 2008

How to Retire Early

The latest issue of Outlook Money has a story on how to retire early (no, it doesn't advise a glass of hot milk at 8 PM). It features the stories of five people who managed to do this successfully. Being the skeptic I am, I didn't have much confidence in their advice, but I wanted to see what these five people had done.

To cut a long story short, if you want to retire early in life, do one (or all) of these things:
  • Get a golden parachute, and let your wife continue to work (retiring early doesn't apply to your spouse, apparently)
  • Spend a lot of time overseas, leverage the exchange rate, quit your high-paying job and become a consultant
  • Make your fortune as a partner in a PE firm (that's private equity; yeah, three months back I too would have gone 'huh?')
  • Buy two houses (live in one; use the rent from the other for living costs)
  • Sell your stock options
In other words, if you want to become rich, you should make a lot of money. Gee, thanks a lot, I only wish I had known this when I was starting out on my career.

Saturday, May 10, 2008

Staying on the IPL

... I think the way the commentators mention the name of the sponsors every chance they get ("DLF Maximum Sixers", "Citi Moment of Success" and so on) is simply disgusting.

Kapil on the IPL

Today's Hindu has an interview with Kapil Dev. As expected, it's about his take on the IPL. There is a hint of sour grapes ("What stops film stars from playing a T20 match in the IPL"), some doomsday predictions ("...club culture will command a bigger loyalty than State or even country") and a dash of wishful thinking ("The BCCI is finished as an organisation"), but we should give credit where it' due: no one can deny Kapil's efforts in lighting a fire under the BCCI's ass with his ICL initiative. To rub salt into his wound, some BCCI official even had the gall to say that he had been dreaming about the IPL for years. Considering Kapil's contributions to Indian cricket -- his 1983 World Cup triumph is about 1,743,449 times worthier that the Twenty20 World Cup victory, notwithstanding all the hype surrounding the latter -- the least the BCCI should have done is to have roped him into the IPL in some administrative capacity.

Thursday, May 08, 2008

Amen to that

I've always felt that the talkers were winning (or have already won) the battle against the doers, and this quote from Sam Smith (via Xymphora) nailed it for me:
We have created an economy based not on actually doing anything, but on facilitating, supervising, planning, managing, analyzing, tax advising, marketing, consulting or defending in court what might be done if we had time to do it.
India is not there yet, but give it just another decade or so.

WSIF Provider for Spring

Rather than have folks leave a comment or email me about my WSIF Spring Provider implementation, I have uploaded the files (sources and sample WSDL) to my web site.

Thursday, May 01, 2008

KDE 4.0

Reasons I don't like KDE 4.0:
  1. No way to customize the panel - can't change the size, transparency, auto-hide, etc.
  2. No way to change the menu to, say, the classic view.
  3. Speaking of the classic view, changing the icons does not change anything.
  4. Limited options to configure the clock. It's now on a par with the %$^# Gnome clock (one of the reasons I switched from Ubuntu)
  5. Cannot manipulate the contents of the system tray.
  6. Cannot move the icons around in the panel.
  7. Where do I specify shortcuts for the menu items?
  8. The options for keyboard shortcuts is a subset of what I used to see in 3.5.
  9. Where is the option to hibernate?
  10. On the whole, it's just a Vista wannabe - widgets and all.
While I'm on the subject, I might as well bitch about Firefox 3 as well - the GrayModern2 theme is yet to be ported to v3; I am left with a poor substitute: Phoenity Modern.