ILoggable

A place to keep my thoughts on programming

Monthly Archives: March 2005

Live For Speed InSim API 0.01a

I’ve been playing Racing Simulations for a while. I have an Act Labs Force RS, a wheel I truly enjoy, even though Act Labs has decided to get out of that market. My true love was Need For Speed: Porsche … Continue reading

March 30, 2005 .net, geek ,

C style strings into C#

I’ve been spending some time building an Object Model around an binary wire protocol. It uses traditional C style strings which are null terminated. C# strings have no problem ‘\0’, so i was getting some funny text messages, as well … Continue reading

March 22, 2005 .net

System.Windows.Forms.ListBox bug with BeginUpdate()/EndUpdate()

Came across an annoying bug with ListBox. If you use BeginUpdate() and EndUpdate() and only add a single item to a cleared Item collection, then that Item does not show up on Refresh. However if you leave the BeginUpdate()/EndUpdate() out, … Continue reading

March 8, 2005 .net

Image Clipping and Alignment with CSS

The clip attribute in CSS is not what I would call the simplest to understand. Never mind that the rect() function uses a space separated list instead of a comma separated one, but that some browsers still understand comma separated. … Continue reading

March 6, 2005 javascript

log4net filepaths and how to get at Appenders at runtime

Just a note of something simple and silly enough that I shouldn’t forget it again: Filepaths in log4net configurations still have to escape the DOS separator backslash. I know it should be obvious, you use \ in a text file, … Continue reading

March 5, 2005 .net

IE compatibility

Quirksmode is a very useful site regarding javascript and css compatibility across browsers. Using the snippet regarding mouse coordinates, both of the pages mentioned in the last two posts now work in IE as well.

March 3, 2005 geek

More fun with Javascript and CSS

Working on a little example of panning images with javascript. So far it doesn’t do image boundary detection. It also just pans one large image, not a tiled and continously loading set, like Google Maps.

javascript