Meeting you

It was short — we were short — but for me, it was beyond surreal. I could spend years searching for the perfect words to describe how it felt to be with someone like you, but it’s in the past and I suppose that it doesn’t really matter anymore (though I’ll probably never end my search for those beautiful words).

What does matter is that when I realized that our seeing less and less of each other meant that our fling could possibly be coming to an end, I didn’t let it fizzle quietly.

Moving from Eclipse to Intellij Idea

Initial Struggle:

I have been Eclipse user for almost 2+ years. Suddenly one day i stumbled upon intellij idea. Courtesy of my team mates.

Initially moving from Eclipse to Idea was overwhelming. Neither i had patience nor time to learn new IDE with its own set of shortcuts.
Still after lotta of good reviews about it, decided to give it a try. Well at first i failed at it. The reason i was still using eclipse as primary IDE, since Idea shortcuts were completely different than eclipse and they were quite strange that time.

Somehow decided to give it one more shot, and this time it did click with me. I struggled initally but survived. Believe me its worth the struggle. It surely is a most intelligent IDE, especially if you are working with Javascript. Eclipse has worst Javascript support and its pain. I know there are plugins for it, but they are useless.

Idea Ninja:

No one can use IDE efficiently without mastering the shortcuts. Idea has excellent reference for shortcuts. I suggest you look into the complete idea keymap from here

If you are eclipse user, here is the small idea keymap with corresponding eclipse shortcuts.

Action Eclilpse Idea
Code Completion Ctrl + Space Ctrl + Space 

Ctrl + Shift + Space

Ctrl + Alt + Space

Reformat code Ctrl+Shift+F Ctrl + Alt + L
Optimize imports Ctrl + Shift+ O Ctrl + Alt + O
Delete line at caret Ctrl+D Ctrl + Y
Replace Ctrl + F Ctrl + R
Find in path Ctrl+H Ctrl + Shift + F
Replace in path Ctrl + Shift + R
Step over F6 F8
Step into F5 F7
Step out F7 Shift + F8
Resume program F8 F9
View breakpoints Debug View Ctrl + Shift + F8
Go to class Ctrl + Shift + T Ctrl + N
Go to file Ctrl + Shift + R Ctrl + Shift + N
Go to line Ctrl+L Ctrl + G
Recent files popup Ctrl + E Ctrl + E
Go to declaration Ctrl + Click or F3 Ctrl + B or Ctrl + Click
Go to implementation(s) Ctrl+T Ctrl + Alt + B
Type hierarchy F4 Ctrl + H
Show usages Ctrl + Shift+G Ctrl + Alt + F7
Generate code… (Getters, Setters, Constructors, 

hashCode/equals, toString)

Alt + Insert Alt + Shift+S

Tips:

1. Learn to use Ctrl+J
Ctrl+J brings up the Live Template options based on where your cursor is. If you’re in Javadoc then there will be some Javadoc intentions, if you have code highlighted then there will be some surround intentions.

2. Learn to use Ctrl+Alt+T
Highlighting code and pressing Ctrl+Alt+T will bring up the “Surround With” menu.

3. Increase Your Heap Size
IDEA critics (rightly, in my experience) complain that it is slower than Eclipse. Well, your first step should be to increase the heap size. Locate your idea.exe.vmoptions file and open it with a text editer (IDEA works fine). My file is in C:\Program Files\JetBrains\IntelliJ IDEA 7.0.2\bin. Change the -Xmx line to allow a bigger heap. Mine is set at -Xmx512m.

Nokia 5800 firmware v4.0 – Finally Kinetic Scrolling is here

There is a saying “Better late than never” 🙂 thats exactly whats happening with this firmware for 5800. Just when i thought Nokia has ditched its first touch screen phone, here comes the sweet update.

There are some new features in the firmware most importantly there is Kinetic Scrolling. I don’t understand why it took Nokia this late to get this. anyways we have it finally. I’m happy for that, since any touch screen that doesn’t implement kinetic scroling is a crap phone. come on who wants to use scroll bar, when you are so addicted to the scrolling the way iphone or ipod touch does ?

Changelog for Firmware V40.0.005:

– Kinectic Scrolling everywhere except: main menu, application menu, browser
– Homescreen  similar to that of 5530 with Contacts Bar (20 contacts)
– New awesome black theme. Better than Red.
– QWERTY Keyboard Auto Rotation (on text input screens)
– New screen when calls comes. This is only when phone is locked. you need to slide to answer or ignore. Its like iphone lock.
– Touch Screen is more responsive than before
– Ovi contacts is installed. No idea what it is.. Also real player is updated

How to update Firmware ?

One of the following methods should work for you-
1) Via OTA: Just enter *#0000# on your dial screen, then go to options- check for updates.
2) Via NSU: Connect the phone to the PC and check with nokia software updater

Usually this update takes lot of time to reach everyone. so be patient. You can check whether your model has firmare update using this site Nokia Update Finder.  Just enter your model code, found on the back of battery.

However if you can’t wait like me you have a solution.  The updates are based on the product code. There is a way you can change it, so you’ll get the update immediately. Here is the nice post on how to do it. Change product code

This product code should work 0573797 for Indian models. If you’re on Windows 7. NSS gives you lot of trouble giving some product code error, to solve it right click on the short cut, run in windows XP comparability mode. Also select “use virtual colors” option.

What is missing.
For now the rotation from portrait mode to landscape mode is still very slow. I wish this was improved a bit.

Here is the video showing the new features of the firmware

My post on Transform Ubuntu into OSX has featured in WordPress blog of the day!

HomeScreen

Well last saturday on a lazy afternoon, i decided i should write a post on Transforming ubuntu into OSX. I had changed my ubuntu to OSX visual style a month back, i really enjoyed watching it. It almost looked like OSX, except of course the OS 🙂 So i thought people might like it and then i wrote the post, about how to do it. you can check it here

To my astonishment the next day, the post had hit almost 10k page Hits!! and it got featured into wordpress blog of the day. You can check it here, see the 14th one in the list. It also got featured on popurl.com. Im not a professional blogger and i blog occasionally, this was like awesome. I never had these many hits! I hope everyone liked it 🙂

I submitted it to Hacker News as usual after i write something related to technology. I had about 50 comments, most of them didn’t like that ubuntu is converted to look like OSX. I can understand the sentiments but i really liked it. You can read the Comments on Hacker news here If you like this post, do comment on the blog or on hacker news.

Links :

Blogs of the Day July 12, 2009: Top Posts

On Hacker News

Awesome Indian Proverb

There is an Indian Proverb or axiom that says
Everyone is a house with four rooms,
a physical, a mental, an emotional and a spiritual.
Most of us tend to live in one room most of the time
but, unless we go into every room every day,
even if only to keep it aired,
we are not a complete person.”

~ Rumer Godden