Using OpenBSD’s OpenSMTPd for Email

As many readers may be aware, the venerable Sendmail has been the default mail daemon in OpenBSD for years. This is largely because it is the only reasonable BSD-licensed mail server around. Personally, I have never trusted Sendmail enough to use it on any of my hosts – despite the fact that it has been [...]

jQuery Freebase Suggest In Place

I just finished my hack of JQuery In Place Editor to work with Freebase Suggest. I call it “JQuery Suggest In Place”. Its pretty much the same as JQuery Edit In Place, except it is stripped down a bit to only give you an input text field with a bound Freebase Suggest. You can pass [...]

CrossFit and How I Got My First Muscle Up

Back in Febuary 2009, I got my set of gymnastics rings from Ringtraining.com [affiliate link]. That was at the time when I started thinking that I would like to be able to do a muscle-up. Some of you may remember my post on strength training with gymnastics rings. For those of you who aren’t familiar [...]

Read a file line by line in C – secure fgets idiom

A pretty common thing to do in any program is read a file line-by-line. In other interpreted or managed languages this is trivial, the standard libraries will make it super easy for you. Just look at how simple it is to do this in Python or Perl or even Shell. In C its a little [...]