One more gadget

I have added one more to my list of electronic gadget and this one is the costlier of all. Yes I have a new little cute black beauty with me now – 30GB iPod Video 5G.

ipod Video

Today is my first day of ownership and I should accept that I have fallen in love on first sight itself. I am currently installing iTunes so that I can export some of my audio and video collection into this new cutie.

I am not very much into listening to music when I am traveling, but now I can listen to podcasts during my one and a half hour travel to office every day. So suggest me some good podcast shows.

I am going to listen to some nice tracks now and I will write about my experience with iPod after I use it for some time.

Posted in Apple/Mac/iDevices, Gadgets | Tagged , , , | 7 Comments

Google + Writely = Microsoft Office killer

Well, the news is out. Google has acquired Writely – The web word processor. I expected this to happen, but when I read about it for the first time at TechCrunch, I was little bit skeptical due to my experience with the Technorati acquisition rumor. I wrote about Technorati acquisition in this blog and then only realized that it was just a bit of Google Juice.

Now that both Google and Writely have confirmed the acquisition I can put down my thoughts on this acquisition.

When the rumor was out at Techcrunch, lot of people were of the view that Google doesn’t need to acquire Writely, but can build an in-house web word processor by just using the Gmail and blogger code as the base. But I think that Google did this not because of its inability to code but just to keep its competitors away.

I have been using Writely for nearly 4 months now and I should say that I am a satisfied user. The main reason for me to choose Writely was the ability to share my documents between my home and office computers. I was also using Writely to jolt down notes as and when I found something interesting when I am hooked on to the net. Previously I used to compose a mail in Gmail and then save it in the draft or send an email to myself to share my documents and notes between my home and office computers.

With Google Calendar under beta testing I think Google is going to roll out lot of features with this merge. Some of them could include the integration of Writely with Gmail for composing and the ability to open & store attached word documents in Gmail with Writely and the possibilities could be endless. So as a user of both Writely and Gmail I am very much happy about the merge and I am looking for some cool features in the future. It’s just a matter of time before they buy or develop the online Spreadsheet like NumSum and integrate it with Google Calendar and Writely to provide a full fledged online Office suite, the dreadful Microsoft Office killer.

But this doesn’t stop me from being skeptical about the possible privacy issues. I some how get a feeling that people have started to believe Google too much. But whether Google is keeping the belief is a different story. For instance right now Google know who are my friends (Orkut), my email correspondence (Gmail), my conversations with others (Google Talk), the web pages I search for (Search History), the feeds that I read (Google Reader) and now all my documents (Writely). Will Google keep up their motto “Don’t do evil”? I don’t know, but let’s hope they keep it up.

Links

Posted in Google/Yahoo | Tagged , , , , | 10 Comments

Google Calendar – CL2

The long waited Google’s version of calendar is out for some beta testing now. It’s been named as CL2. TechCrunch has some exclusive screenshots. Looks really sleek and a lot similar to Gmail. It’s also said that it will be very tightly integrated with GMail (which is expected).

Here is the expert about CL2

CL2 makes it easy – even effortless to keep track of all the events in your life and compare them to what your friends and family have going on in theirs. We’ve designed a calendar that works for you, helping you add events from email, friends, and other public calendars so you don’t have to spend all your time maintaining your schedule. CL2 even helps you discover new events you might be interested in. We think it’s a great tool for managing your daily schedule, keeping track of what everyone in your family is doing, organizing events for a club or team, or creating public events that you can promote to the world.

Lets hope that it is released to public soon. πŸ™‚

Posted in Google/Yahoo | Tagged , , , | 1 Comment

Self-Join sub query

I came across a unique requirement at work for which I struggled a lot to write the SQL query. Then after some googling and tips from my DBA friends I finally came up with the query. I never came across this query before, so I thought of posting about it here, since some of you might benefit from it.

Since I cannot tell you the exact requirement or the table structure I mapped it with the classic emp table to illustrate the query.

Ok so consider the following table structure

SEQ_ID - unique sequence number
EMP_ID - unique emp id
DEP_ID - department id (from a master table)
SAL    - salary

And now the requirement is to find the employee with the max salary in each department.

The query

SELECT dep_id, MAX(sal) FROM tbl_name GROUP BY dep_id

will give me the maximum salary in each department, but now the real problem is to find out the person with that maximum salary in each department.

So finally I came up with this query

SELECT * FROM tbl_name WHERE (dept_id, sal) IN (SELECT dep_id, MAX(sal) FROM tbl_name GROUP BY dept_id)

The reason why I found this syntax to be strange for me is that I have never used two parameters in the IN clause.

The above query works, (atleast for me in Oracle 9i) but I am not sure whether it is the most optimal way of doing it. So if any of you know a better solution then do let me know.

Update:Jeff in the comments has specified that the equivalent in SQL Server is

SELECT A,* FROM tbl_name A
INNER JOIN (SELECT dept_id, MAX(Sal) AS Salary FROM tbl_name GROUP BY dept_id) B
ON B.dept_id = A.dept_id AND B.Sal = A.Sal

Posted in Database Programming | Tagged , , , | 2 Comments

Why no AJAX?

I was viewing the score for the cricket match between India and England from Yahoo! India Cricket portal. The problem being a web programmer is that you always tend to look at each web page from the development perspective and something grabbed my attention. The web page was refreshing every 60 seconds to get the latest score and a new request/response is generated every time. (Ok so have you got what I was thinking about?) Why are they not using AJAX to refresh the scores rather than refreshing the whole page every time?

The web developer inside me got out and I immediately checked the other sites which are also offering the cricket scores. I checked Sify and Rediff. Even they are not using AJAX and are refreshing the whole page every time. But the refreshing interval was different. Here is the refreshing interval which I got by looking at their META tag.

Rediff 480 seconds
Yahoo India 60 seconds
Sify 60 seconds

The obvious advantage in using the AJAX approach (XMLHTTP) is that the amount of data that is going to get transferred from the server is going to be less and it’s going to save the bandwidth by leaps and bounds.

I would be really happy if any one from either Sify or Rediff or Yahoo! India reads this and just gives a thought about it. And do any of you guys know how to get the raw data about the scores and the license requirement (if available). I am thinking of giving it a try and build a POC (Proof of Concept) app, if the data is available.

Oops!, by the time I could compose this post, the match has been stopped due to rain πŸ™

Posted in JavaScript/jQuery | Tagged , , , , , , | 6 Comments

I am tagged

I was just informed by Aswin that he has tagged me. πŸ™‚

It sounds to be little different. The rules are already established. So I am just coping them.

Rules of the Game

  1. The tagged victim has to come up with 8 different points of their perfect lover.
  2. Need to mention the sex of the person.
  3. Tag 8 (or as many as possible) victims to join this game & leave a comment on their comments saying they’ve been tagged.
  4. If tagged the 2nd time, there’s no need to post again.

My Target: Female

  • Ability to express herself (No, I can’t make out from signs left by girls πŸ™ )
  • Talk Talk Talk !!! (Otherwise it will be very difficult to stop me from talking)
  • Should be able to laugh at my poor jokes (or atleast she should bear with it)
  • Be herself (at all times)
  • Should be bold (Otherwise it will be very difficult to tackle me πŸ˜‰ )
  • It will be nice if she believes in God (so that I can continue with my atheist arguments all through out life.)
  • Smile .. (it ends all arguments and is the best medicine in this world)
  • And above all, to be my good friend (till the last breath)

Spread the word

I am supposed to tag 8 people. But I am falling short of people to name them here. So guys I am tagging all you people who are reading this and so do write about it in your blog.

Happy tagging πŸ˜‰

Posted in Random/Personal | Tagged , , , | 2 Comments

Comment on coComment

Well if you know why people use Bloglines, then I am sure you would have heard about coComment. For others, it’s a new Web 2.0 (ok don’t scold me for using this word.) app which allows you to track the comments that you leave on others blogs.

coComment is an excellent example of Viral Marketing. Instead of just writing about it in the developer’s blog or releasing a press release, they made people like scoble to talk about it and it reached the peak of fame in a matter of hours. Even I was one among them who got really exited after hearing about them. I was looking for way to handle and follow up after I leave comments on blogs that I read.

The guys who are behind it are putting in lot of effort and are rolling down new features almost every week. Even today they have released some new features. And I got really impressed with them when they listed their direct competitors on their own blog. That’s the way to do business. Hat’s off guys!!

But I some how feel that you people miss the very important feature. Yes I am talking about comment crawling – the ability to follow up the comments which are entered by people who are not using coComment also. It may act as a big marketing opportunity as of now, (because, I myself have recommended it to lot of people so that I can follow up their comments too) but it may not help them in the long run.

If any of you from coComment are reading this, then I have a small idea of implementing it (in WordPress blogs at least). Every blog post (in wordpress) will have a corresponding RSS feed for the comments. So you can grab this feed every time a person leaves the comment and by just reading this feed you can get the latest comments left by other people. I actually tried to implement it some time back but didn’t found enough time to complete it.

And I found one smaller itch when commenting in blogger blogs which have enabled popup comment forms. I am not able click the coComment bookmarklet since the comment form opens in a popup and the bookmarks bar is not displaced. I used to copy the url and remove the ‘popup=ok’ part from the query string and then it works.

Apart from it, I am very happy with coComment and let’s hope that they add comment crawling soon. In fact they have also mentioned in their blog that they are currently working on it.

Posted in WordPress | Tagged | 8 Comments

Happy Birthday, AJAX

Well it’s being one year since Jesse James wrote his (in)famous article and coined the term AJAX.

This particular buzzword (and technology) has taken web development world by storm and within just one year the usability that you can expect from a web site has increased by leaps and bounds.

Happy birthday, AJAX and hoping for more from you this year too.

Posted in JavaScript/jQuery | Tagged , , | 3 Comments

Play a game of tennis with Sania Mirza

Have you ever wanted to play a game of tennis with the Indian tennis star Sania, and then here is your chance to do so.

You can do it at Kingfisher Signature Tennis Centre, Cubbon Park Bangalore on 15-Feb-2006. Check out the listing from eBay and place your bid as soon as possible. Currently the highest bid is Rs. 99,000 and the bidding ends in another 2 hours.

Posted in Random/Personal | Tagged , | 2 Comments

ICICI Bank now supports Firefox

It’s been nearly a year since I moved from IE to Firefox and I never returned back, expect for certain sites that have the “IE Only” tag. Once such website is ICICIBank.com. They used ActiveX heavily and it was rendering only in IE. I installed the IEView Firefox extension to automatically load it in IE, whenever I type the url.

But recently I have noticed that they have started to support Firefox too. That’s really great news for me and for Firefox too. The other day Asa was saying how Korea’s largest portal/search site Naver.com started to support Firefox. Probably he should even ICICIBank.com to that list.

I would be really happy if even the BSNL broadband site also starts to support Firefox, as it is the only site that I view in IE.

PS: BTW have you ever wondered what is the full form of ICICI, it is actually Industrial Credit and Investment Corporation of India. Thank Sushhubh.

Posted in Random/Personal | Tagged , | 4 Comments