Archive | September, 2010

C programming sucks

I really love all the cryptic errors you can run into in this fantastic language. void replayAllPastEvents(DumbThing *dumbThing){ // read events from disk, bla bla bla apply(dumbthing, event); // <- explosion in this call // … } The code did compile but crashed due to a segmentation fault in the apply function. Can you spot [...]

Comments { 0 }
server-side-solution

Solving the html word wrapping problem in DayPilot Lite

A while ago I ported the DayPilot Lite calendar/schedule control into a Monorail view component and everything went smooth except for the word wrapping. Whenever an event in the calendar/schedule contained a word that did not fit the placeholder the entire description was hidden from the end user. It looked like this: When it should [...]

Comments { 0 }