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....

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

“The Binding Handle Is Invalid” error in Visual Studio 2005

Tonight is the first time I began to code a small program in C# again since my graduation in April ‘06. It’s just because I was away from Windows PC, and it’s not easy do a GUI application with Mono on Mac. So it’s not that I hate C# or anything. Anyway, I just installed Visual Studio .Net 2005 Profession edition (non-commercial use) on my home PC, and I encountered a never-seen-before (to me at least) error straight away when I tried to debug/build the program....

June 25, 2006 · 1 min · 202 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....

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

21 June DebSIG

<p class="event-nodeapi"> <p class="flexinode-1-end"> <label>End: </label>2006-06-21 22:00 </p> <p class="event-nodeapi"> <p class="flexinode-1-tz"> <label>Timezone: </label>Australia/Sydney </p> <p class="flexinode-1-tz"> &nbsp; </p> <p class="flexinode-body flexinode-1"> <p class="flexinode-textfield-4"> <p class="form-item"> <b><label>Location:</label></b><br /> Cohi Bar, 359 Harbourside, Darling Harbour, Sydney </p> <p class="flexinode-textarea-2"> <p class="form-item"> <b><label><br /> Description:</label></b><br /> At this month's DebSIG, having wrestled with automated installations recently, Matt Palmer will share his hard-won experience with Instalinux, preseeding, kickstart, and the debian-installer &#8212; both how they work, and how they can be customised to do all manner of unnatural things....

June 11, 2006 · 1 min · 87 words · kenno

Mozilla Thunderbird 1.5.0.4

Mozilla Thunderbird is a free open source email client. It is one of the best program with lots of features which makes emaling safer, and better than ever. This is one of my favorite applications created by the Mozilla Foundation. Recently, the new version of 1.5.0.4 has been released and you could get it from: Mozilla Thunderbird 1.5.0.4. For the full list of new features, please visit: Mozilla Thunderbird 1.5.0.4 release notes....

June 8, 2006 · 1 min · 72 words · kenno

Temperature Conversion v0.2

I just learned how to implement basic command-line argument with Python. Hence, I would like to incoporate this feature in the previous Temperature Conversion program. `# convertc2f.py Version: 0.2 A program to convert Celsius temps to Fahrenheit Date: 4/13/06 by: S. San (Kenno)` import sys if (len(sys.argv) == 2):<br /> &nbsp;&nbsp;&nbsp; celsius = int(sys.argv[1])<br /> else:<br /> &nbsp;&nbsp;&nbsp; celsius = int(input("What is the Celsius temperature? ")) fahrenheit = 9.0 / 5....

April 13, 2006 · 1 min · 125 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....

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

Temperature Conversion

If you get used to read the temperature in Fahrenheit scale like me, you may be confusing to see the temperature in Celsius scale given in weather forcasting on Australian or New Zealand televisions. So today, I’m gonna show you a small Python program which can be used to convert the temperature scale from Fahrenheit to Celsius. As my Python programming skill is very limited at the moment, the program is going to perform very basic function....

April 6, 2006 · 1 min · 166 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