UrlGenerator

I’ve been very bored, doing nothing interesting, and at the same time my programming skill is no longer as polished as before. I was kinda panic, and then I realize that if I don’t wanna lose the skill, I better continue coding. A while back, I wrote a code that generate the batch-link of website addresses. Example, I wanna grab all the images at a website from: http://www.example.com/image01.jpg to http://www.example.com/image10.jpg. In a simple way, we can just copy and paste, then change the number from 01 to 10. But what if you have to change the number from 001 to 100? Well, it’s gonna be tiresome. But, not if I use the program I wrote- UrlGenerator. It was a console program, written in Java. It doesn’t loo nice (as the matter of fact, it doesn’t have a look). ...

July 1, 2006 · 2 min · 256 words · kenno

VS 2005 project is not rebuilt despite changes in source code

Having fixed a problem with Visual Studio (VS) 2005 the other day, there is still another problem. The project does not recompiled/rebuilt automatically after the souce codes of some files have been changed. Usually, if we make changes to the souce code, those files will be recompiled if we press Ctrl+F5 or F5. At first I thought this could be the new behavior/feature in VS 2005. But after discussing with a buddy of mine who’s currently using VS 2005 for his assignment, he told me that VS 2005 should rebuild the code automatically. ...

June 27, 2006 · 1 min · 181 words · kenno

My Linux Phone: e680i

After waiting about four or five months, I finally could get a hold of my new phone. The phone was purchased in Cambodia as a gift from my brothers. I would like to thank three of them who had put some efforts in making my wishes come true. In addition, a big thank also goes to my girlfriend for delivering the phone to me. In fact, e360i phone is a pretty old model. It was manufactured by Motorola as one of their first mobile phones running Linux as the operating system. About a year a half ago, Ed, a friend of mine from New Zealand, introduced me to his phone. He urged that I should get one, as well as convinced me that this phone was way better than my Nokia ones. Guess what? I should have believed him, this phone is awesome, entertaining, functioning and butt-kicking. So, Ed, thank you a lot too dude, if you happen to read this post. I appreciate also that you spent time teaching me all the nice tip and trick about e680i. ...

June 17, 2006 · 1 min · 211 words · kenno

Using Java 5 on Mac OS X Tiger

Mac OS X Tiger still uses the J2SE 1.4 as default Java virtual machine and compiler. If you need to upgrade to JDK 5, you have to download it from Apple download site. After you install it, you need to change a symlink to point to the JDK 5: $ cd /System/Library/Frameworks/JavaVM.framework/Versions/<br /> $ sudo mv Current Current.old<br /> $ ln -s 1.5 Current<br /> $ mv CurrentJDK CurrentJDK.old<br /> $ ln -s 1.5 CurrentJDK ...

April 7, 2006 · 1 min · 110 words · kenno

Hello World &#8211; Python

I’ve been hearing a lot about “Python”, so I decided to pick up a book “Python Programming for Absolute Beginner” by Michael Dawson. Today, I’m going to share with you how to write classic “Hello World” program in Python. Fire your favorite text editor program, in my case I use vim. kenno$ vim helloworld.py Then type the following code: # Hello World<br /> print "Hello World!" Save it, and execute it with the following command: ...

April 5, 2006 · 1 min · 86 words · kenno