Archive for the ‘Coding’ Category.

Interesting Databinding Behavior

Earlier today, while I was trying to bind a collection to a drop down list, I got the following exception: Continue reading ‘Interesting Databinding Behavior’ »

My Favorite Program of All Time

I remember that in one of my graduate school classes at University of Wisconsin – Madison, professor Rastislav Bodik (he had left UW Madison and gone to UC Berkeley since) showed us this article Reverse Engineering the Twelve Days of Christmas from Microsoft Research while explaining some compilation theories. Continue reading ‘My Favorite Program of All Time’ »

GRUB Error 17, LILO Rules

Ubuntu and OpenSUSE have been my top choices of Linux distros over the years. Continue reading ‘GRUB Error 17, LILO Rules’ »

Weird Master Page Problem

I recently ran into a very strange problem with ASP.Net 2.0. I have used master pages for a couple of years now, and this is the first time I encountered such an odd problem. Continue reading ‘Weird Master Page Problem’ »

MATLAB 7 under WINE

When I tried WINE many years ago, there were not that many large applications that could actually run smoothly without some sort of hacks. Continue reading ‘MATLAB 7 under WINE’ »

A TIFF Merge and Split Utility

Here is a tool that I created (in C#.Net) which comes in handy when dealing with multi-frame TIFF images. Continue reading ‘A TIFF Merge and Split Utility’ »

Understanding “A generic error occurred in GDI+.” Error

When dealing with GDI+ in .Net (e.g. certain objects in System.Drawing namespace), we would sometimes get the following exception: Continue reading ‘Understanding “A generic error occurred in GDI+.” Error’ »

GDI+ Unable to Handle JPEG Compressed TIFF Images

A few weeks ago, I wrote about the lousy error message handling in GDI+. Apparently, it is not only just lousy, but incomplete as well. Continue reading ‘GDI+ Unable to Handle JPEG Compressed TIFF Images’ »

A Stange Post Back Problem

A few days ago, I was deploying a Website at work and ran into a very mysterious problem. Continue reading ‘A Stange Post Back Problem’ »

Lousy GDI+ Error Messages

I have heard many people complaining about how GDI+ handles errors. Continue reading ‘Lousy GDI+ Error Messages’ »

A Physical to VM Backup Strategy for Ubuntu Server

One benefit of using a Linux environment is that the whole system back up is extremely easy. Continue reading ‘A Physical to VM Backup Strategy for Ubuntu Server’ »

Apache Log Rotation on Ubuntu Server

Interestingly, the log rotation utility rotatelogs which came with Apache does not work with Ubuntu 7.04 installation. At least not when the Apache is installed via apt-get. Continue reading ‘Apache Log Rotation on Ubuntu Server’ »

On OfficeLive Beta

After reading Mary Jo Foley’s article on ZDNet, I thought that I would give OfficeLive a try. Of course, my first experience was not all that impressive. Continue reading ‘On OfficeLive Beta’ »

Dynamic Event Handling Using Reflection

Download DynamicEvent.zip

In an article earlier, I discussed how to dynamically load an assembly and execute it via the contract of a predefined interface. Continue reading ‘Dynamic Event Handling Using Reflection’ »

Generic Custom Configuration Handler in .Net

Sometimes we find App.config inadequate in addressing our problems and need to have a generic solution in creating strongly typed configuration files. Continue reading ‘Generic Custom Configuration Handler in .Net’ »