Thursday, November 23, 2006
Closures and adding complexity to Java
"Speaking of Closures, its hard not to agree with Josh Bloch on the new Closures proposal. He expressed serious concerns in his interview about further changing an already complex type system just to accommodate Closures. The current proposal seems more like engineering for the sake of it without thinking about the learning curve for a newbie. Open sourcing java will be mostly futile if we go the C++ way by introducing unnecessarily complex changes to the language based on the whims of theorists (even if they happen to be the pioneers in language theory). We need a more pragmatic solution that keeps in mind (the barriers to entry for) the average "Joe Java" as Josh says. The same way in which generics weren't over engineered to ape C++, we need a more practical approach to implementing Closures instead of merely looking to satiate the engineering appetite of a few individuals. "
The power of Java lies in its simplicity. We'd be killing the language by dragging it along the C++ path.
Sunday, November 19, 2006
Renaming Bangalore to a toilet
From being a world renowned technology center (that never lost touch with its culture, mind you), we are now the laughing stock of the world with toilet in the name of our city. Not to mention the crores of rupees spent on the exercise. The possibilities of using the same cash for developmental efforts in a city groaning under its own weight are, to say the least, countless. Instead, the taxpayers money will now be swindled in the name of restoring Bangalore's pride. And this proposal comes from the same %$^* writer who also opposed English as an additional language in lower primary schools. The one person who's being doing Kannada and Karnataka great service, Mr.N.R. Narayana Murty, has exactly the opposite view on English in schools. But his exhortations fell on deaf ears. The greatest asset of the tech population (including locals) of Bangalore is the ability to converse in English effortlessly. And we will now be isolating ourselves from the rest of the world by imposing such draconian rules. We're marching towards being an incompetent, narrow-minded and, oh yes, "proud" culture.
I'm now well and truly embarrassed of my "culture".
Tuesday, October 24, 2006
R.I.P, vold
Friday, October 20, 2006
Google's awesome quarterly results
Saturday, October 14, 2006
One at Sun
Monday, September 25, 2006
Swing painters, filty rich clients and "Ajaxified" Swing
- Joshua Marinacci introduces painters
- Romain Guy's clients get filthy rich
- Richard Bair speaks of the marriage between XMLHTTPRequest and Swing
Friday, September 22, 2006
Interesting quote on performance improvements
Interesting quote from Bryan Cantrill on performance improvements:
"...More than anything, what we (or at least I) learned
from DTrace is that if you want to get big wins, you don't make it
incrementally faster to do existing work -- you eliminate work entirely by
addressing its source higher in the stack of abstraction."
Thursday, September 14, 2006
Finding open locks in Postgres
Found a useful query to find open locks in postgres:
select pg_class.relname,pg_locks.* from pg_class,pg_locks where pg_class.relfilenode=pg_locks.relation;
Sunday, September 03, 2006
India an economic super power? Fat chance.
She says, "Still, I'd rather live in a future where India keeps China's rapacious growth in check."
Its rather ironical that the world expects so much from India when we're going from bad to worse - caste based reservations in universities, poorly taught undergrads being churned out by the ten thousands every year by the universities, corruption, red tape, lack of access to good quality higher education, fast vanishing flora, fauna and natural resources, attempted withdrawal of the right to information act etc. Such pseudo democracy is only slightly better than communism country. Only slightly.
Just this evening, it took me 2.5 hours to negotiate 12 KMs because a huge rally was organized by the ruling Congress party in Bangalore. Villagers were brought in 9000 buses to "participate" in the show of "strength" by that political party. Apart from the physical stress I went through, my car also suffered a few scratches thanks to the bumper to bumper traffic. TV channels reported a 40 KM long traffic jam on the highway connecting Bangalore and Tumkur(60 KM away) due to this event. Even the cops were mute spectators (as usual) to this event.
Some democracy we have. Who the hell would want to live in such a country?
And we hope to give China a run for its money, huh?
Technorati tags: India, China
Friday, September 01, 2006
USB devices in Solaris 10
Technorati tags: Sun, Solaris, USB
Monday, August 21, 2006
The state of Indian cinema
Saturday, August 12, 2006
A perfect evening in T.G. Halli
Monday, July 17, 2006
Google's hiring process: Boon/Bane?
What was the resume submitted for? Couldn't those guys look at the college name/marks right then and figure out that his "pedigree" was "good enough" for them? Why waste his time, effort and mental energy on this futile exercise and shut the door in my face?
Moral: Don't dream of goog unless you're from an elite college and you've maxed all your exams in college. You'd be wasting your time.
digg story
Sunday, July 16, 2006
Monday, July 10, 2006
More Argentine match replays: Maxi Rodriguez's goal
Saturday, July 08, 2006
Green lost in the gray
Thursday, July 06, 2006
Microsoft to support ODF!
World cup soccer rewind: Argentina 1986
The other goal that defined Maradona. This one seemed to use the feet of god himself. |
Saturday, July 01, 2006
Soccer World Cup '06 is over
Tuesday, June 27, 2006
Messaging is just degenerate RPC?
"Messaging is degenerate RPC: If you want messaging, by all means, go for it! It is a very useful technique. However, it must be seen for what it is; degenerate synchronous RPC: i.e. a tiny subset of the functionality that is possible with distributed objects."
It's good to be passionate about the remote invocation approach that your project uses, but its plain daftness to make silly claims like "this is the right way of implementing a distributed system". For the same reason, I won't pass a judgement. I'll let you consider a few points and arrive at a conclusion for yourself:
1)Could google's apps have scaled with synchronous RPCs?
2)What's better for a high perf distributed system - blocking on a synchronous RPC call or continuing processing until the response to a remote message interrupts you on another thread?
3)In a supply-chain kinda web app, once you receive order confirmations, do you make RPC calls to place orders for shipping each component, or simply queue up the request in a message queue (which a "down-stream" app could just read off and dispatch orders)?
4)Ever heard of "decoupling" applications?
5)What's easier - a 1:n messagetopic (in JMS) or a similar rpc invocation on 'n' remote objects?
I could give you a zillion more examples like this where async messaging scales much better. And "what if the underlying implementation uses rpc's" or "email is just rpc" are very lame refrains: you're generalizing an implementation approach adopted by a messaging system used by humans and extending it to apply to those used by fast applications relying on asynchronous messaging. How're you so sure that the 2 must be implemente similarly?
Friday, June 23, 2006
Sunday, June 11, 2006
Sunday, April 30, 2006
The sinking "Itanic"
Itanium’s support ebbing away
Technorati tags:
Itanium
HP
Sun
Tuesday, April 18, 2006
Monday, April 17, 2006
Java for the Browser
Friday, April 07, 2006
Classifieds with Google Base
Friday, February 24, 2006
Cool Quote
Monday, February 06, 2006
Sun's technologies: New perceptions/trends
http://www.redmonk.com/jgovernor/archives/001247.html
http://www.redmonk.com/sogrady/archives/001251.html
Sunday, January 08, 2006
Mining at Kudremukh:Why the SC should stand firm
2) The reclusive Lion tailed macaque, whose numbers are fast dwindling, is found primarily in the Bhagavathi range of Kudremukh.
3) The KIOCL, since its inception has damaged hectares of virgin rainforests of this range and believes that creating rose gardens or eucalyptus groves amounts to “reforestation”.
4) Tons of iron ore sludge was leaked into the forests due to the company’s oversight.
5) All rivers starting at Kudremukh are now witnessing increased levels of contamination in various forms. – Check this PDF.
Speaking of point 2 above, one might ask, “Why does preserving any animal species assume such importance? We just need enough green cover, right?” – Wrong.
There is such a thing as ecological balance, wherein the flora and fauna are equally important to each other’s (symbiotic) existence. Take out one from this feedback loop and the other vanishes. And if the forests vanish, so do the rains (remember, the ocean currents are not the only ones that bring us rainfall) and the rivers that are fed by them. With that ends our source of water, energy and the climate control that the Western Ghats are - which brings me to the point of our flawed understanding of “Human rights”: as much as the 20,000 in Kudremukh have a right to 2 square meals a day, future generations have a right to clean air, water and food – which only a balanced ecosystem can guarantee us for centuries to come (I’m just quoting from articles (this and this) by Bittu Sahgal – and he should know?). So, it’s imperative that we do our bit (for our own good) to preserve what is a basic necessity for a flourishing civilization (and economy). When you see a greedy businessman plotting to wipe out our future in the name of “development”, stand up in whatever way you can against such a force. Express your opinion through the media that matter, lend your voice to the few frail voices that now dare to oppose the “development” cartel and lend your spare time for a worthy cause. Don’t expect someone to lead you by the finger and answer questions for you like “Where do I start?”
If we have the will to stand up & be counted, intend to lend a meaning to our self-centered lives, and amount to something, we will find the means to achieve a worthy goal. Merely saying, "I love nature" or "I'm an avid trekker" amounts to zilch. What have you given back to the forests that have played host to yourinnumerable treks all these years? So, start now, write about it in your blog, write to people who you think can have a significant influence on decisions in future, persuade people, contribute through your time (or money - one can subacribe to magazines like sanctuary wherein the subscription fee will be used for the field work of these organizations).