Archive for the ‘misc’ Category

Weird git gui startup problem

Sunday, November 9th, 2008

This has happened to me for a while every time after I build and install the latest git, but I didn’t really get to the bottom of it until just now. My tinfoil hat umask setting, 0027, finally came around and bit me! more…

But Then There Is Also Unnecessary Coupling

Monday, August 18th, 2008

Jeffrey Palermo writes an interesting post about Inversion of Control is NOT about testability. I guess this is one of the scenarios where I agree with the conclusion, but not necessarily how it is arrived at. :) more…

Manage Local Versions with Git

Thursday, July 31st, 2008

In almost every project I have worked on, there were always a couple of files here and there that are checked into the version control, but have to be modified according to everyone’s local environment. With conventional centralized version control, they can become quite a pain to manage — we have to condition ourselves to remember to ignore them during diff’ing, always be careful not to check the local versions in, and deal with the mess when we have to actually check into those files changes which do need to be shared. This blog post tries to present a approach that makes it easier and less error prone, using git.

Ditz: Distributed Issue Tracking

Monday, July 28th, 2008

Ditz is a little (ruby) gem I ran into today. It allows every developer to maintain their own issue tracking database, saved in human readable YAML files, which can be easily exchanged along with the corresponding code changes through a distributed version control system, such as git.

As the latest version number, 0.4, implies, ditz is still at an early stage, but the idea of distributed issue tracking and managing the issues themselves as part of the codebase sounds very interesting to me.

Vmware to Virtualbox Migration Issues

Tuesday, May 20th, 2008

In my Kubuntu, I have a Windows XP Professional virtual machine running in Vmware that I use from time to time. Recently I decided to migrate it to VirtualBox. Eventually I got it working, after going through a number of issues. Here goes a recount of them: more…

There Is A Geek In Every One Of Us

Tuesday, March 18th, 2008

Nick Tosches recounts his year-long quest to find out where the Windows wallpaper ‘Autumn’ was originally taken, and by who.

An Odd Netflix Recommendation

Thursday, August 9th, 2007

Caught this “Movie you’ll :heart” recommendation from Netflix today. WWII submarine && King Lear Japanese Edition && modern American office parody => documentary on insects?
Thrown-off Netflix Recommendation

Uncomment RewriteBase in Mambo

Wednesday, January 25th, 2006

After fresh installing Mambo 4.5.3, I went ahead and switched on “Search Engine Friendly URLs”. Mambo was user friendly enough to remind me twice that I needed to rename the included htaccess.txt to .htaccess in order to make the mod_rewrite kick in, which was nice and I heeded the advice. Then I still started getting 500 Internal Server Errors when accessing some of the menu items. Turned out that I also had to uncomment the RewriteBase line and change the URL to the actual path. It would be even nicer if Mambo could go all the way and include that part in the reminder message.

do {} while (false)

Friday, February 20th, 2004

This is not a useful trick (OK it may be useful for whoever still thinks C is the most beautiful language in the universe).

So here is the “fun” with do {} while(FALSE);

Yankee Clipper

Tuesday, January 6th, 2004

A nice free clipboard tool I’ve been using for a couple of months. It sits on the tool tray quietly, capturing the clipboard content everytime you copy something to it. The previous content is not overwritten, but rather is kept in a history list. You can bring up the Yankee Clipper window at any time with a hotkey, pick an entry from the history, and double click to bring it to the clipboard. As the cream on top, my favorite feature is “shoot”. It allows you to select an entry, press F8 (or click on a toolbar icon), switch to the application where you want the entry to go to, and just wait for a couple of more seconds — ta-da! the text is “shot” over to the target application as if it is typed in.

[edit - 04/30/2005] since my original post, the developer of Yankee Clipper has created a more powerful commercial version, YCX, which charges a meager $14.95. The freeware verion, YC3, is still accessible from the same web site.