Category: Geek

Java 4 Ever

Posted by – 27/06/2010

Very funny video about Java against .NET. It would be great, if It’s becoming a real film.

Erawat.

Refactoring

Posted by – 26/06/2010

From the last entry, I mentioned about Refactoring which is a technique that changing a source code of computer application while the application has been being developed.

The Refactoring is about:

  • Improving the design of existing code
  • Refactoring is not supposed to modify/change any behaviour of the existing code

Refactoring increase the cleanness, flexibility and extensibility of the code and it improves the design of the code.

Example of Refactoring:

  • Rename
  • Move classes
  • Extract method
  • Extract superclass

Reference
Agile Software Development, Principles, Patterns, and Practices

Erawat

Test Driven Development

Posted by – 26/06/2010

Today, I opened my notebook and found a short note that I wrote about Test Driven Development which I was trying to summarise the definition and process of it.

Test Driven Development (TDD) is a simple software development technique that can be divided into three simple stages:

  • Write a test first
  • Write the code to make the test pass
  • Repeat (using Refactoring)

Additional details
- Introduction to Test Driven Design (TDD)

Erawat

Pragmatic Programmer

Posted by – 26/06/2010

I have received a book called “The Pragmatic Programmer“, which is written by Andrew Hunt and David Thomas, from Amazon.co.uk.

Pragmatic Programmer

I suggest that every programmer should read this book. The book is like a bible for programmer which will enable novice programmers to be an effective and productive programmers. Additionally, the book is one of 6 books that programmers should own.

So, This book normally costs £28.99 but I ordered on Amazon.co.uk and the price is reduced to £15.72 which means that I could have £13.27 (46%) (information from Amazon) and I also got FREE delivery in the UK. It took 3 days after I ordered to delivery the book to me at my door.

If I’m going to buy more books, I will use Amazon again because of prices and its service.

Erawat

How to disable Pidgin notification popup

Posted by – 21/05/2010

Ubuntu 10.04 (Lucid Lynx) comes with EMPathy IM Client. However, I still prefer to use Pidgin for the my default IM client.

One default feature of Pidgin is a notification popup. It is always annoying me when I use it as you can see in a following picture.

nottify

The notification popup is always pop when new contact is online.

To disable this feature:
1. Click Tools and then click Plug-ins (or use Ctrl + U)
2. Tick Libenotify-popups plugin off as it shows below.

pidgin_plugin
Click to enlarge image.

Then you will never see the notification popup any more.

Erawat.