Chorn Sokun's Weblog

Conquer inner fear, push it to the limit!

Archive for the ‘Tools’ Category

Visual Studio 2008 stink without ReSharper

with one comment

Oh ! man I though VS2008 will give developer more productivity I was wrong.
Without ReSharper I feel like I take my time writing stupid code that do nothing.

VS2008 Refactoring tool is suck !

However the ReSharper 4.0 for Visual Studio 2008 is not yet release, but I can install the 3.1 with the following command

msiexec /i ReSharperSetup.3.1.Full.VS80.msi VSVERSION=9.0

And here we go all the goodness command are come back to me.
If you don’t believe me watch demo video feature highlight.

Written by Chorn Sokun

January 7, 2008 at 8:29 am

Posted in Installation, Tools

Tagged with ,

OpenOffice.org 2.3 & Khmer Unicode : hang when end of line reached

leave a comment »


As you can see from the screenshoot OpenOffice.org Presentation just hang when the type reach the end of line. Is it a bug? I hope someone could tell me what the hell is going on???!?!

Written by Chorn Sokun

October 21, 2007 at 3:56 pm

Posted in OSS, Tools

Tagged with ,

Linus Torvalds on git

leave a comment »

Linus Torvalds visits Google to share his thoughts on git, the source control management system he created two years ago.

Written by Chorn Sokun

October 4, 2007 at 4:48 pm

Posted in OSS, Tools

Tagged with

Open Source need love

leave a comment »

Well, as far as I hate to work on desktop application. I can’t avoid support & maintenance legacy desktop applications (VB6) used. One in a while I received a nicely call from provincial staff report bug in the system – “report x missing budget code? …”. Well fixing the bug is not a big deal as long as it can be reproduce. Once the bug is fixed I need to upload the setup.exe to our web server so everyone can access to the latest version. The problem is the size of the setup file it has to be as small as possible. To make this possible I had tried various softwares and it get down to the following tool.

The open source project :) it so sweet take as much as you want (oh! and your kin as well).

What I got from the combination?

  • Easy to use – code NSIS script within eclipse IDE rich commands
  • Small setup file
  • You decide which file to deploy which I like the most.
  • it FREE

Cons:

  • These tools are not bundle
  • I had trouble write a proper script for the first time

Written by Chorn Sokun

July 27, 2007 at 10:03 am

Posted in OSS, Tools

Freedom Mission "Reclaim my Port"

leave a comment »

Being a geek, I do not want to fall in out of control situation while still standing on the cutting edge.
What you say running multiple web server on a single machine? Can I run multiple web server simultaneously? Yeah, why not? no big deal … okay

But hey! Do I really need all web servers to run concurrently? for me I do not opt for that.
My ego is to load service as minimum as necessary to perform a certain task.

Anyway now look at what I got?

  1. IIS 5 – for ASP.NET development
  2. XAMPP – for PHP4 or 5 development + some other scripting
  3. Tomcat 5.5 – well since my favorite IDE(s) love it so much why can’t I do it a favor?

Am I nut? why not configure all the development with single web server let say IIS.
Because I do not want to waste my time tracing out problem where it shouldn’t occur… let children stay with their parents.

What the problem anyway?
Well simple, each web server will fighting for their seat “port(s)”. IIS & XAMPP will try to take over ports 80, 443 etc where in case Tomcat 5.5.x is more polite by asking for a safe seat.

So what I do?
Okay, I pretend to be a traffic police officer by simply say …

  1. IIS – listen at port 8080 (http) & 443 (https)
  2. XAMPP, Apache – listen port 80 (http) & 8443(https)
  3. Tomcat 5.5.x – this guy know that he always come last so he ask for higher port but I simply give it 8181 (http)

To spare my laptop batter non of these guy will ever load without my permission.
Even now it safe to load all web server simultaneously, I prefer not to do so.

I am a happy man?!
Yeah, I do until today I need to work on my PHP project suddenly XAMPP, Apache just ignore my command and complaint I giving it ports to another guy???? what the heck?
Anyway, checking Event log confirm that port is already in use. Who dare use the ports without asking me? by invoke portcheck tool ship with XAMPP I found that Skype 3.2.0.145 had take over port 80 and 443 aha…

Now it time to fight for freedom, I simple reclaim the ports back by disable listening port in the Skype: Tools > Options > Advanced > Connections…

Lucky that Skype only take these port as an alternative otherwise trouble.

Written by Chorn Sokun

May 19, 2007 at 10:58 am

Posted in Tips & Tricks, Tools, Website Development

Tagged with

I’ll be late to the party

leave a comment »

A few month ago I had planed to migrate an open source application “KhmerConverter 1.1” developed by KhmerOS to .NET, since then I started getting busy with various projects

Kakada a member of KhmerOS just release an improvement version of KhmerConverter 1.1, congratulation to the team.

I might be late to the party but I promise I’ll be there.
Until then

2007-01-22: Get ready for the party work in progress check it out @ http://code.google.com/p/fontconverter/

Written by Chorn Sokun

December 12, 2006 at 9:41 am

Posted in OSS, Tools

XAMPP, ApacheFriends

leave a comment »

XAMPP, ApacheFriends – is an open source project that make it possible for newbie to get start with Apache, MySql, Perl or PHP as fast as possible.

I have been use it for a few month now and I have to say that this project rock. Since the XAMPP tool have MySQL bundle with in it installation package it quick tricky for me to setup XAMPP without using MySQL server that bundled (I prefer to use MySQL from a standalone installation, I might change my mind later but that just for now.).

The following step I have been use to setup XAMPP and MySQL 5 to work together.

  1. Install MySQL 5.0.27 download from MySQL.com
  2. Test Make sure MySQL service work properly(running MySQL Command Line tool)
  3. Download XAMPP from apachefriends.org
  4. Install XAMPP until the point that it askto install service
    (Apache, MySQL etc..)make sure you click No
    (you will want toconfigure this service later).


PHP version 5 is activated by default, in my situation I want to work with PHP 4 so what I do:

  1. Double click on the XAMPP Control Panel on my desktop and stop Apache service
  2. Start -> Program Files -> apachefriends -> PHP Switch
    (follow instruction on the screento switch PHP version)

Ok, now I got Apache with PHP v4. My next problem is phpMyAdmin can’t establish connection to MySQL server. This error because PHP 4 using need to use MySQL old password algorithm.
So again I need to make some change on MySQL server:

  1. Launch MySQL Command Line
  2. Login with password
  3. Type: SET PASSWORD FOR’root’@’localhost’ = OLD_PASSWORD(‘my_password’)

Viola, mission accomplished.

Written by Chorn Sokun

November 14, 2006 at 4:28 pm