Monday, June 25, 2007

Shift Happens!

I didn't expect it to happen so soon... but many times I suprise myself :)

As a result of my attempts to minimize the usage of Google services, I am in the process of shifting my blogs to Wordpress.

The new URL for my Tech Blog is:
http://codeinmybug.wordpress.com

Kindly update you feeds and RSS readers.

Tuesday, June 19, 2007

Bill Gates wins me!

I realized that the title of this post has a contrast with my previous post, only after I wrote the topic. Thus, I feel that it is obligatory to mention that I am still Anti-M$. I still do not support there business model. Phew!
...and yes. The contrast in the names is just a mere coincidence. I know it's tough to believe, but then I don't lie.

Now coming to the topic.
I have always appreciated the way Bill Gates (and, of course, his wife) has spent time and money on Melinda Foundation. I remember posting my views a few days ago on Arpit's blog.

A few minutes ago, I read Bill Gates speech transcript that he delivered at Harvard.
He starts the speech on a light note and calls himself a "bad influence" by reminding that he made Steve Ballmer drop out of B-School (Oh! How I wish that Gates had failed in convincing Ballmer ;) ).
He continues his speech by talking about how ignorant he was about the socio-economic and health problems of the developing nations, when he joined Harvard (and even later.)
The thing that blew me was that for the most part of his speech, he talked about how technology can and should be used for the help of these people.

I won't mention the details. I'd pursue you to read it. I hate to say, but Bill seems to be a bright candidate for my future plans (after he drops out of M$, of course).

Saturday, June 16, 2007

Google Lost Me!

It's strange writing something like this using a service that's owned by Google. :)
But it was long overdue.

There was a time when I used address Google as "Google God" :).
Used to believe a lot that they religiously follow their "Do no Evil" motto. I forgot that as companies grow, there are bound to be employs who are evil by nature.
It reminds me of my Pre-Placement Training during college days when I was "tutored" that, Honesty is not a strength. You are supposed to be honest" This obviously isn't true when people take the excuse of "everybody-is-doing-it-so-why-not-me".
And lets face it.
Money matters!

Anyways, coming back to the topic; I mentioned in one my previous blogs when my Google AdSense account was disabled because of my own mistakes. I took the responsibility and had no complaints. However, when my AdSense account was disabled for the second time, I made a thorough study of their privacy policies. That's when I came to know about their two-faces.
They allow several sites to utilize their services even when they falter with the terms and conditions. One thing common among all these sites was, "they all are High Traffic sites".

As I mentioned, a post on the topic was long overdue. I stopped myself with one or other reason. The latest development, however, made me talk about it.
According to Privacy International's latest report on Top 23 Internet Companies, Google held the last spot (even below M$). This topic, as Privacy International itself admits, is controversial. It's report however, is substantially supported.
You might want to have a look at the post on the same topic on RSnake's blog. Do not miss out on the comments.


Footnote: This post is not an outlet to my anguish. I (mistakenly) had more faith in Google than most of you. Another post on innovativeness of Google technologies is due.
And BTW, I do not mean to say that Google has turned evil. I believe as the company has grown, the motto has changed to "Do no Evil. If there is any, close your eyes".

Monday, June 04, 2007

Dreams... and (huh!) Reality.

Disclaimer: The post may give you a notion that the author has surpassed all the heights of patheticism; which actually is sort of true :D

Have I ever posted that I am a *crazy* person?
Probably a number of times.
This post is another proof; which I am shamelessly sharing with a hope that my *unconscious* realizes the heights of pathetic-ism it has reached. I refer to my Unconscious mind because *the proof* is related to some of my dreams.

To build the foundation, let me take you back to my school days- class 10th.
That was when I was introduced to programming for the first time. Language was BASIC.
Might I boast that I was good.
I remember to be the fastest coder around and to have coded sound and graphics programs in BASIC. That was the time when I wrote my first (and the only game).
Where did I get the inspiration from?
A dream.
No kidding. I saw the algorithm in a dream :(

Scene 2:
I was kind of frustrated during my B.Tech. days when I wrote *factorial* and *Fibonacci* codes in C. The most frustrating event was when my teacher blamed me for *wasting* my time coding a Solar eclipse in C instead of what he asked for; a DDA algorithm. You can find the glimpses of those days here and here.
I do not deny the fact that I could have channelized my frustration and anger; something that I did a little later. I wasted my first 3 years.. (this, however, is not really relevant to this topic.)
During these B.Tech. days, I spent my first summer training (and consequently the second too) learning Java. I somehow fell in love with the language. (Off-Topic: If I don't wish to be thrashed, I must mention that Raga helped me with most of my Java codes (and C codes, and C++ codes, and...) back then. It doesn't mean that I was ignorant though ;) )
There was a time during the training days when Abhu bhaiya tried waking me from sleep and I spoke something in sleep.
I was explaining Java concepts to him :((
...and if I am not wrong, Priyo (my roommate) too *lived* a similar experience.

Several other such events happened in past, which I don't feel like mentioning. I'd rather speak about present.

Dream 1
A few days ago... no weeks ago, I saw a dream
I was coding a cross platform desktop applications in Qt4.

You know what's weird about it?
The fact that I had just *heard* of Qt4 and knew that it was somehow related to KDE. (I am more of a GNOME guy)
That's it.
Nothing less, nothing more.

I scribbled about the dream on my mini-diary, that I use as a portable "To-Do list", and forgot about it.
A few minutes ago, I stumbled across this link:
How To Create a Linux Desktop App In 14 Minutes For Beginners (Using QDevelop and Qt4)

Dream 2
A few days ago, I saw a dream that I am *purchasing* a book on Wireless Security.
It was priced somewhere between 390/- and 400/- (Don't ask me how I remember the price)
Today I bought a book on Wireless hacking... :((
Don't ask me either the price or why I bought it. The price's is anyways not really the concern here.
I really wonder if these dreams are some sort of sign.

Dream 3
You CAN go crazy on the wilderness of my other dream, mentioned below. So you can discontinue the rest part of the article.

Still reading?
Okay! Read at your own risk.

I am appearing an exam.
The syllabus is...... Amir Khusro's composition, "Chhap Tilak sab Chhini ray" :D
I am wondering what sign does this dream carry :(( :(( :(( :((


You cannot even imagine how I feel after writing it here and realizing the fact that this post will not only be read by a number of random people but will also be indexed by bots.


Anyways, now the wish-list part.
If the dreams have to finally turn into reality (in one or other form); then why don't I ever see something good... something romantic. :D
Hey wait!
Does the reverse count? I mean other people seeing me in their dreams... :D [Huge-Grin]

Footnote: The author would like to apologize to all who have are experiencing anger and/or depression . He would also like to thank GOD for what he mentioned in the last line. :D

Saturday, May 26, 2007

An insight into Sun's *crazy* strategy.

I have been reading a lot of discussion on Sun's current market position/revenue versus their *mad* strategy. I have simultaneously been working on Java's history for my book. I thought it might be interesting to post my views on the topic and see what others are thinking. To justify/criticize Sun's current modus operandi, I will talk a little about their past strategies, and their respective outcomes.

The Past

Most of the people know James Gosling as the father of Java. Only a few know that he was also the lead engineer of Gosmacs (gmacs or Gosling Emacs) and NeWS. Now, I won’t be talking about Gosmacs (which according to some people is/was the reason of some conflict between RMS and Gosling. Phew!)
However, NeWS (Network extensible Window System) is of a little concern, mostly because it was arguably superior to X Window System… and because it FAILED. The most important reason for its failure (and X Window’s success) is that Sun kept it proprietary.
Later on when Sun developed Java, some people, especially the genius Eric Schmidt (then CTO-Sun, now CEO-Google), were aware that keeping Java within enclosed fences will lead to similar devastating results. Not to mention that *7 (for which Java was developed) had already failed and Java was still in search of a viable market.

So what did he do?
He focused on making it as open as possible and tried building a *Java Community*. (Google SoC, IMHO, is also a “win-the-community-and-you-win-everything-else” approach. But then that’s a different topic altogether. ;) )

Where were we?
Yeah! So he focused on building a Java Community.
Apart from organizing developer conferences like JavaOne, Sun also encouraged user groups (JUGs), which reached over a number of 400 in year 2000 itself. In fact they went a step further with JCP (Java Community Process) to make the development of Java *as open as possible*.
The reality behind all this community building scene was the fact that the direct control remained with Sun (well mostly).

Everything, however, was running smooth; for Sun as well as the Java developers.

“I envy you. But such a thing is not meant to last.”

--- Persephone, Matrix Reloaded

I guess the above statement is valid for every aspect of human existence.
In early 2004, Jonathan Schwartz, referenced Eric Steven Raymond’s “The Cathedral and the Bazaar” and compared JCP to the “Bazaar”, stating that development of Linux was more like a “Cathedral”. I would not expand on it but this was enough to infuriate ESR :)

ESR wrote an open letter addressed to Scott McNealy, CEO-Sun, with a subject line “Let Java Go”. He accused Sun on several fronts (for which I’d pursue you to read the letter) and appealed to Open Source Java. A few weeks later RMS wrote an essay on Java Trap and appealed the developers to contribute and use open source projects like GCJ/Gnu Classpath etc. Several other appeals/open letters were published (Apache’s Geir Magnusson Jr., IBM, etc.)

A series of events followed before Sun announced that it will be open sourcing Java. There main concern was Microsoft forking Java and hence, destroying its cross platform compatibility (which shows that they really were clueless on how Open source model works/ can work).
They had no other option than to Open Source the *giant*, and they did it.

The Present

The past unarguably affects, if not defines, the present. Sun’s experience since the NFS days to (forced) Open Sourcing Java days taught/reminded them of their most important lesson.
The Community is fruitful!
Build a community and everything else will follow, sooner or later.

So here they are.
Open sourcing EVERYTHING.
Building Community, and making it mutually encashable. It’s obviously not so profitable for them today, but the future holds immense potential.

The way they have been endorsing and promoting stuff is simply adorable. Even NetBeans has its own *arena*.
Not to mention the, so called, developer conferences organized all over the world in a distributed fashion to reach the most number of developers. I, however, have several concerns regarding them. You may read some of them at Amit’s blog. I hope Sun listens to the plea of developers and improves the quality of these summits.

Another amazing strategy, IMHO, is the blogs that Sun employees post regularly. I have subscribed some of them and it’s really amazing to see that how important role these blogs are playing in binding people. They often link each other's (Sun Employees, of course) blogs. You can have a look at the Sun-Blogging homepage to get a feel of the number of hits the folks out there are getting. Now even if I read only one of these, I’d get to know about latest developments. I am not sure whether it’s a part of their strategy, but it’s definitely working as a powerful advertising medium.
Yup! I know that employees of other firms write blogs too and probably get bigger number of hits, but I haven’t seen anyone of them making so much of a difference on an organizational level. (Please correct me if I am wrong)

The Future

I am no Nostradamus and I cannot predict future.
All I can say is the future is (mostly) Free & Open. IBM (previously referred Satan) secured its place (with a Halo on head) by contributing to the Apache httpd project and winning the FOSS community. Now it’s Sun’s turn and they are playing pretty well.
Yes, their revenue might be a concern today; but I don’t really see a reason why there future shouldn’t be bright. :)

Sunday, May 20, 2007

A 13 Year Old CEO!

Yes, you read it correctly. A 13 year old CEO and an 11 year old VP, Sales.

My grandmother is no businesswoman, but I always cite two of her sayings pertaining to business:
  1. Doctors can earn even in a jungle,
  2. People will never stop learning/studying (formal education), at least not in India.
I personally believe very strongly that Education is an arena which hasn't been exploited properly. NOT YET. It has a lot more potential. O'reilly's School of Technology is an additional confirmation to my theory. I even consider Safari, a pretty smart and daring move.

I am also a very firm believer of the power of imparting lessons with fun, visuals or real life scenarios embedded in them. Some of the most prominent examples (that I am aware of) are:
  • The Head First Series from O'reily.
  • The flash/video presentations available all over the net. Coincidentally, Roman Strobl wrote about the great feedbacks he has been getting about his presentations.
I was really happy to come across the news of a new venture called Elementeo, aimed at imparting chemistry lessons with the aid of games. The most remarkable thing about the venture is that it's CEO is a 13 year old kid, Anshul Samar (Indian origin! probably).
I really hope that these kids succeed in convincing some VC and eventually succeed in business too.


Looking at it all, I must say that my moves, that most blamed me for :), are proving to be good too. I am currently co-working on a Java book which will be published by Wiley Publication. The USP of the book, IMHO, is the virtual content. Through these video presentations, we have tried to map theoretical concepts to real (and fantasy :D) world examples. The best one from the presentations, IMHO, is the one where we (actually Rupi came up it :) ) map access modifiers with Duck Tales characters.
However, my favorite is the one where I have done exactly the reverse. I tried mapping my REAL LIFE into CODES. :P

Stay tuned for updates on the book... and wish us luck.

Saturday, May 19, 2007

Rediffmail Bug. Anyone Interested?

The title may lure you to assume that I am going to talk about some security bug. Well, I am not... or I'd rather say I haven't yet thought of any ways to exploit it. If you come up with something, do let us know.

Now back to the topic.
Almost all the huge players are now moving to the AJAX arena. They are in fact coming up with new technologies like Silverlight, Apollo, JavaFx. I am personally not a very big fan of AJAX, but then it doesn't make any difference. I am, however, interested in these new athletes, particularly JavaFx.

One of the major concerns of any AJAX programmer, IMHO, should be to take care of a situation where the user DOES NOT HAVE or DOES NOT WISH to use Javascript. It should be a growing concern when we have plugins like NoScript (Oh! I Love it.) and we have reasons to use it. Apart from the security concerns, it blocks most of the stupid ads that I am not interested in.

Bottom line, there should be a minimal interface to fall back to (like the one GMail has). The rediffmail coders have done the same and provided a.... ummmm BackUpInterface thingy. However, they probably forgot that the *thingy* is there because the person's browser DOES NOT SUPPORT Javascript.

My Story, My Words:
I used the NoScript plugin to forbid rediff.com domain, opened the site rediffmail.com, entered userid and password... and said... Khul Ja Sim Sim. :)

Bingo I was in and was able to read my mails without any fuss. Then I decided to delete some mails... wait a sec! What the heck!
I am not able to.
Move mails??? Nopes.
Compose? Okay.
Send?? Sorry.
Save Draft? Sorry.
Cancel??? Sorry. :(

I concluded that all that looks like a Button uses javascript. However, the links were, fortunately or unfortunately, working.
The Logout's like a link. So it'd obvoiusly work.
click.. click.. clickclickclick.
What the Heck!.
Logout operation calls some javascript function do_logout().

So basically, if I am an average internet user and do not have javascript, I'd log into my rediffmail account, read mails, try composing but won't be able to send... and worse, I won't be able to logout. Not understanding anything, I might close the browser window.
And what if I am at a cybercafe???

I am sure there is way to revive the session even if the browser window is closed (I remember reading of some similar old Yahoo! bug). If you're interested, take on from here. :)

Now for the other people. I would really like to know how many people actually have a rediff aaccount and actually use it .
I have one too... and I login in... say a month.
I am not at all blaming rediffmail service (Okay! A little :D), I am just interested in the figures.

No.OfCrazyPeople

Counter

LocationOfCraz-ies