Saturday, December 5, 2009

Iktara, the missing track!


For reasons better known to Dharma Productions or Karan Johar, they decided to leave out a rather wonderful version of the amazing song, 'Iktara' from Wake Up Sid's OST.

I managed to get this track from Karan Johar's tweet, and decided to upload it on my blog to make it a quick share! Spread the word people... share this song. Its really cool.

 

Tuesday, October 20, 2009

Interesting experiment from Google

Known for its simple and a clean user interface, the Google Search Homepage has not been touched for over 10 years. Apart from the only change that happens to Google logo/ Doodles, Google has never experimented with its homepage.


But, after more than 10 years, comes Google's first experiment on its homepage... Fade out effect!


I don't understand the value addition of this feature and at first, when I saw it, I thought it was my browser that is infected by some spyware. Such strange things can happen only when a spyware infects your machine. The strange thing was, the "Search" and the "I'm feeling lucky" buttons were missing on the homepage. All I could see was the Google logo and the search box


A little mouse over, and the fading effect comes into picture and brings other links on the screen, but the buttons still are missing :-)


A Google Search, and I figured, it was not my browser that was corrupt, but the fact that I am amongst those select few users, who is being given the opportunity to test this new experiment by Google.


My verdict... I don't really like it !!! No value addition. Although, it is true, that most of us don't even click on that search button. We always let the cool "Google Suggest" feature to prompt us the closest search string in our mind and navigate further... Well, Google, we certainly love you a lot for this cool feature, which was then an experiment in Google Labs!


Don’t feel bad if you don’t have the new, highly streamlined page — this is apparently part of a Google bucket test, which means only a small subset of users have access to it. It’s entirely possible that the new design will never be released broadly too, so don’t get alarmed if you hate it.

Note: If you have installed Silverlight, you might not be able to see this effect! In other words, if you don't want this effect, install Silverlight :-D






Saturday, August 8, 2009

K3b and MP3?

If you installed K3b, you'd probably be getting a warning message, every time you start K3b. A message informing that no MP3 plug-in has been found, and that you won't be able to burn Audio CD's from an MP3 file.

To get rid of this message, and to install MP3 support, type in the following in terminal:

yum install k3b-extras-nonfree

Restart K3b and that message won't be displayed any more!

Saturday, July 25, 2009

MP3 Support in Fedora 11

Because MP3 formats are patented, and the patent holders have not provided the necessary license Fedora 11 cannot include MP3 support out of the box. However, installing MP3 support is quite simple!

Follow these steps: (Log in/ su as root and install the following repos)
rpm -Uvh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm
rpm -Uvh http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm

Additional Plug Ins
yum -y install gstreamer-plugins-bad gstreamer-plugins-ugly xine-lib-extras-nonfree

Install XMMS Multimedia Player and make is MP3 capable ;-)
yum install xmms xmms-mp3

That's it! type
xmms in the terminal, and you can now play MP3 on your Fedora 11 installation!

Adding/ Mounting NTFS partion in Fedora 11

The best way to mount an NTFS partition in Fedora 11 is:

su -c 'yum install ntfs-3g ntfs-config'

The ntfs-config package is as small as 367 kb. Once installed, simply take a backup of the existing fstab file, just in case if you happen to encounter some screw up!

cp /etc/fstab /etc/fstab.original

Now run:

su -c 'ntfs-config'

You will be presented with a nice UI and am sure, it is quite simple to understand what needs to be done, once the application is running :-)

Update Firefox on Fedora 11

So you just installed Fedora 11 and wish to upgrade the pre-installed Firefox 3.5 RC 4 to the stable version, ha? Well, its quite simple! Type in the following command:

su -c 'yum update firefox'

Its about a 28M download. Simply restart your Firefox browser after yum finishes doing its business and you are good to go!

Thursday, July 9, 2009

Tourist Pass

So you are new to Mumbai and want to explore the city, but you are extremely scared to travel in our Mumbai local train. You also look at the first class, and think twice... is it really worth spending 90 odd bucks for a single way ticket from Bandra to Churchgate or Bandra to Borivali?


Enter 'Tourist Pass'. Yes! Western Railway has introduced a day Tourist Pass for tourists and people of Mumbai, who just love the city! And a First Class, Unlimited Day pass is available at a dirt cheap INR 170! Yes... can you believe that? Travel throughout the Western line, in your day pass... Enjoy the awesome bandra evenings at Bandstand, or the Churchgate rush hours in the morning... Visit the Dadar market or the over crowded Andheri, or just simply, travel from Churchgate to Virar, in first class. All this for only 170 bucks! Is that not cool?

Tuesday, April 28, 2009

O&M creates ‘ZooZoos’ for Vodafone

If you are following IPL 2 on Set Max, you probably have come across 8 to 10 unique Vodafone commercials. These commercials are just so funny! Indeed, O&M has created some fantastic commercials for Vodafone... whether it was the cute li'l pug running after his buddy or these cute li'l new Zoozoo's!

Wednesday, April 8, 2009

Google Easter Egg

If you want to see some cool Google Easter Egg, check this link [Google Maps]. Once there, make sure you are in StreetView. Navigate the streets and see the entire Google team! The entire Google Team, nerds, geeks standing right next to Googleplex. It is just so awesome! This was when the Google StreetView went live. Indeed, what an awesome feature! I just love and respect this company a lot!

Tuesday, March 10, 2009

Change Display Font Size on Lotus Notes

I always liked smaller display fonts on my applications... but ever tried to change the font size on your Lotus Notes? Well, you can change the font, but not the font size! Is that not funny? IBM guys, hope you read my blog ;-)

By the way, if you want to reduce the font size... do this...
Under the \Notes directory, you will find a file 'notes.ini'. Edit that file and put the following entry to change the font size:
....
EnableJavaApplets=1
EnablePlugins=1
...
Display_Font_Adjustment=1

The one in BOLD above is the entry you need to put to adjust your font size. Higher the number, bigger the font. You can also go in negative to reduce it further. e.g. I love the Georgia font, really small i.e. about 8pt. The above numbers are in pixels (I guess), so go as low as -1 or -2 to have a really small display!

Friday, March 6, 2009

Retrieve BLOB column in Sybase

In one of my recent projects, I was expected to explain something to client, which involved retrieving binary large object data from Sybase! So, you might think, what was the big challenge in this? It's BLOB! Just use the JDBC API and call the getBlob() method of the ResultSet!

Yeps, so, why don't you try that? Give it a try. I used the jconn3 driver to connect to my Sybase database. Driver Class being 'com.sybase.jdbc3.jdbc.SybDriver'. The moment you try to call the getBlob() method, you will get a nice exception stack trace, informing you that this is an unsupported operation! Yeps, its not as straight forward as that!

But don't worry, it actually is even more simple! For fetching the BLOB data all you need to do is:

// build a byte array
byte stuff[] = resultSet.getBytes();

// check the size of the data now
System.out.println("BLOB Size: " + stuff.length);

Congratulations! You have retrieved the BLOB data from a Sybase IMAGE column!!!