Thursday, February 14, 2008

Different?

I have always made a conscious effort to stay away/above from the crowd.. yes I know I sound snobby.. but thats the way it is. I am not questioning my morality or my intellect but the fact that I like the idea of being unique... thats 1 in 6 billion people.

While skimming through my blogroll yesterday I had an epiphany: How different is my life if all of my academic life can be generalized by the PHDComics, my work life by Dilbert and my thought process by XKCD?.. My reaction: D'oh.

Sunday, February 03, 2008

Tiddly oooo...

First of all let me introduce you to my foray into the world of javascript : http://sridharv.net .

I was never too much of a web enthusiast (from a developer's perspective).. the reasons being that presentation is a big part of a web application and I hate spending hours on a wysiwyg editor to get the right look. Also there does not seem to be any consistency in the way the pages are rendered on various browsers.

This website began as an exploratory project into the tiddly world when Paul Reiber introduced me to it at an SVLUG installfest. The prospect of an all javascript website sounded alot more interesting than spending hours on dreamweaver/quanta/bluefish/frontpage etc etc. Tweaking a few if and for statements was all I needed to get the right look (and some occasional div tweaks).

There were a lot of different technologies that went into this website that I had no or little experience with:
  1. TiddlyWiki: This is a microcontent wiki created by Jeremy Ruston. Here's an extract from tiddlywiki.com:
    TiddlyWiki is fundamentally different from a conventional Wiki because it is not based on separate, entire pages of content, but rather items of MicroContent referred to as Tiddlers that live together on the same page.
  2. Tiddlers can not only be used to edit and publish new content but also to edit and modify the source of the webpage itself. This enables a highly modular plugin architecture. All you have to do is write a small plugin to do your bidding or better yet.. import one from someone who has already done it. Check this tiddler out. This small plugin was written by me to fix some rss rendering inconsistencies on IE... simple enough. Websites like tiddlytools provide tons of cool plugins that make adding any snazzy formatting/functionality a breeze on tiddlywiki.
  3. DNS Management: Although this is pretty easy and does not take more than 20 minutes; setting up sub domains, CNAME records, forwarding etc is interesting in many respects (not fun though). It was sort of an educational experience for me. Apparently if you use meta tag information on a page for redirection, Google considers the page as a duplicate and penalizes the page which will reduce its page rank and thats as bad as it can get... who knew.
  4. RSS management: Ok.. I cheated here. I used yahoo pipes to join couple of feeds, imposed limits on the number or elements, made a few cosmetic changes via feedburner and plugged it into the website. Yahoo pipes is one great tool that you have to check out.
One thing that was quite evident while testing the websites on different browsers was that they still have to go a long way towards standard compliance. I developed this website on firefox, IE put quite a fight, Opera was the official loser and Safari turned out to be a ringer. There was a big difference in the way iframes were rendered.

Anyhoo.. do check out my website and let me know if you stumble upon some bug or irritating feature.

Wednesday, January 02, 2008

Happy new year!!

Happy New Year to all you folks.. lets welcome the "Age of Sridhar". I think if I market the phrase enough, people might actually start referring to 2008 as "Age of Sridhar" (Something like Conan O'Brian's JabJab) .. Leaving the weird, obscure humor aside.. Happy new year..

Last year was full of twists and turmoils.. I completed my MS, got a job, moved to CA, skydived (in that order) and took my photography to the next level(which is still very amateurish ). Hopefully this year will be more exciting and dynamic.

Here's my New Year's card to you all.. (esp since social networking websites disabled mass messaging).

Happy New Year!!

PS: This was clicked by me and edited using GIMP. FOSS ftw...

Thursday, December 27, 2007

Problem 1: IP

I have started a small series about the problems I think about regularly and have found no answers yet. Here's the first installment:

For all the non-ComSci folks out there, IP= intellectual property. Its the buzzword used by everyone these days to protect their innovation.

Intellectual Property is the basis of patents, licenses, copyrights and everything guarding unauthorized use of knowledge. If I be audacious enough to proclaim that knowledge should not be hoarded and should be made freely available to all, the age old argument of "reward for innovation" crops up.. nobody can innovate with an empty stomach and it would definitely be bAAAAd to have some smart ass marketing guy steal your years of research and create a million dollar startup out of thin air.

The situation is worse than it seems to be. This became visible to me when I left the academia. Without the academia's massive library at my disposal I need to have ACM and IEEE subscription to get a decent article on any advanced topic. If all the work done by the academia is such a closely guarded secret, how can they even complain about the growing divide between the industry and itself? I refuse to pay $20 for a single paper!! I have been meaning to check the latest in digital search trees and all google, ask.com and yahoo search engines leads me to is some totally shallow ppt or to citeseer, which inturn redirects me again to ACM/IEEE.... Arrrghh

Let me stop picking on academia for a second and focus on the rest of the world. Piracy (of ideas, content) exists when supply does not match the demand. Apple is cribbing about fake iPhones in China, had they launched it there(one of the fastest growing economies), they wouldn't have lost the market . Software piracy falls in the same category.. its very rampant in India, being an Indian I can tell that no one would pay $300 for a genuine copy of Windows on $400 machine that they assembled at home. Most of the sales guy tend to concentrate on only the local markets.. bad strategy in my opinion.

We live in a predominantly closed society. If everything was open, we would have a better chance of surviving the future... Just like Maemo and Ubuntu were spawned off from Debian, some new and better OSes would have spawned from Windows(XP?) and OSx. We would have better algorithms and the knowledge distribution would have been uniform rather than spiked throughout the world. This is not to say that you wont have cheap knockoffs of a Macbook pro.. but atleast it will give Apple/MS an incentive to innovate.. it will be a tougher competition, not lack of it.

Thursday, December 06, 2007

Gadget bonanza...

A week ago on Black Friday, I purchased a Canon Rebel XT DSLR camera. It's not the coolest camera on earth, but it is the perfect entry level camera for a hobbyist and amateur photographer like me and fits smugly into my budget too. I had been busy for the past few days getting acquainted with all its features, terminology and the sheer number of settings to be made to take a sellable pic. Since I hardly get any time these days, I was taking a long time to get "OMG" pictures..

Just when I thought I had my share of toys.. I got another shiny one.. Nokia N800. At Mailshell, we have an annual game event when we play some RPG and the whole company plays against the bots or someone online as a team..but the trouble was that the developers almost never had the "right" operating system and it took ages to get the games working on all the machines.. The CEO, Tonny, decided to give everyone a common platform, a Nokia N800.

Its a neat little piece of hardware running a modified version of Debian. Unfortunately Tonny underestimated the geekdom in the development team :P. The CTO flashed the device and upgraded the OS to a newer kernel. I installed ssh, opened an xterm on it and was apt-getting away to glory, started pairing it with all the bluetooth devices I had access to (keyboard, cell phone)... i.e we did everything, but played games on it. The damn thing wouldn't connect (mostly because we had just hacked the stuff to run on the beta OS)... nevertheless it met its purpose.. we hacked away as a team :D.

I can hardly wait for the weekend to really get dirty with it.. for starters I will install a sniffer on it with crackers and keyloggers to see how much data I can gather during one casual stroll to the neighboring Starbucks :P .. just kidding.