My Take on Intel Core 2 Errata

June 30th, 2007 by kwong

A few days ago, a post by Theo de Raadt analyzed the newly publicized Intel Core 2 bugs. And in just a couple of days quite a few different opinions (see http://blogs.zdnet.com/Ou/?p=559, and http://undeadly.org/cgi?action=article&sid=20070630105416) emerged. In this post, I will try to analyze from my point of view.
Read more »

Posted in Technology | No Comments »

Redirecting StandardOutput

June 23rd, 2007 by kwong

Sometimes it is necessary for a main program to invoke other executables during runtime.
Read more »

Posted in Software | No Comments »

Populating Object from Text Files via Reflection

June 20th, 2007 by kwong

Download readfileviareflection.zip

In .Net, an XML file or even a CSV file can easily be mapped to an object using proper attributes. Using the reflected object type, such XML or CSV files can easily be deserialized into the corresponding object.
Read more »

Posted in Software | No Comments »

File.Exists and UNC

June 12th, 2007 by kwong

If you have used System.IO.File.Exists in ASP.Net, you probably have found out that unless the account under which ASP.Net is running (e.g. ASPNET for Windows XP and IIS_WPG for Windows 2003 Server, etc) has access to a networked location (either a unc or a mapped drive, File.Exists will always return a false no matter whether the file actually exists in the location queried or not. This behavior has caused a lot of headaches for Web developers.
Read more »

Posted in Software | 1 Comment »

FreeBSD Ports Upgrade Nightmare

June 5th, 2007 by kwong

I have a FreeBSD 6.2 box at home mainly for developing some UNIX/Linux based applications.
Read more »

Posted in Miscellaneous, Software | 1 Comment »