Play@Work

Tuesday, May 23, 2006

Sahi sahi

... and let the flash demo do the talking

ps: although my arm was twisted to blog about this, I think its one super demo of Sahi (an automation and testing tool for web apps). Awesome work Narayan !!

Monday, July 18, 2005

What is faster - LinkedList of ArrayList?

What is faster - LinkedList of ArrayList ?

Check out this link for more Java Specialists' NewsLetters

Thursday, June 30, 2005

Going from Red to Green

Damn ..

Whenever you come across a bug, write a test that will reproduce that bug first.
Before you start writing one line of code to fix it make sure there is this failing test which will capture the scenario.

- Turnaround time is much faster. You can see immediately what your code is doing. The "fix-build-start app-verify fix" is just a "run test" now. Much much faster.
- The test(s) document the bug. - No chance of the bug reappearing.
- No question of laziness and not writing a test once the fix is in place. Sometimes writing unit tests is not that easy and like all good things in life, its easy to say "aww .. Let me skip writing a test this one time .. it can never break anyways"

- Going Test First tends to make your code better(generalizing I know)
- Writing a test after the fix, sometimes, does not catch some of the obscure scenarios that you fixed using some weird logic in the code.

Been bitten by this more than once.
Damn, its so easy to convince your self that you will go for that jog tomorrow .. umm I mean .. write that test later ;-)

Friday, June 24, 2005

checking out RSS Mojo...


My Rojo Page with a few things that I liked highlighted.

Totally fed up with having to read blogs only on the Laptop and that too on Windows.
So If I wanted to read blogs I had to have my laptop and had to have booted into windows.
Soooo ... was looking for a web enabled Blog aggregator.

came across Rojo (RSS Mojo)
Nice UI. Decent Features.

Wednesday, June 22, 2005

Checking out ...




am on the Lookout for a nice web based Blog Aggregator/Reader. Some how I donot like Bloglines. I find their UI too cramped (reminds me Altavista.com in the older days [BTW check out Altavista.com, the UI has changed. Looks exactly like another search engine, cant think of which ... ;-) ]).

Stumbled upon Rojo (RSS Mojo). The UI looks pretty decent. But still ...

Sunday, June 19, 2005

Linux Kernel Development

Was killing some time in Landmark recently.

Wow. Now thats a book store. Awesome variety of Books. Awesome. Wanted to pick up tons of books, but my to-read-stack has already hit the ceiling.

But could not resist picking up this book




Linux Kernel Development - Robert Love (this dude is a Kernel Hacker at Novell.)

Interesting read (am currently in the Third Chapter). So far its been a pretty easy read. The concepts are clearly explained and his examples kinda hit the spot. And no obscure code sprinkled all over the book. (Did you know that a 'nice' value for a process is used to determine how 'nice' that process is to other processes. So basically a higher 'nice' value basically means thats its a lower priority process and it gets a smaller time slice or another process might get selected over it whilescheduling ).

Wish we had this as our text book in the Final Year instead of "Linux Kernel Internals"




Although Linux Kernel Internals is a pretty neat book, not in the context of an education system which expects you to reproduce the Linux kernel code which was there in the book, in the exam !! Aggghhh ... I still remember studying for that paper. Most common thought was 'what the hell is this piece of code doing here ??'.

Such a bad introduction to such a lovely subject. Sigh.

[a side note] Fedora core 4 has been released. Waiting to download it so that I can check it out.

Thursday, June 16, 2005

w.blogger




the_next_iteration pointed me to w.blogger
pretty neat.

But then desktop apps is not the way to go.
Although I am using w.blogger to post this entry, I would not bother installing it on the next machine from which I am going to be posting an entry. Web enabled man .. get web enabled.