Using native Objective-C methods for C Callbacks

For the modern Macintosh programmer, given the incredible power of the Objective-C programming language combined with the fact that you can inline C code directly in the Objective-C code, there are few things left wanting … almost.
One of these stickly issues is the use of C callbacks; passing the reference of a function to a [...]

Fitting a curve to three points.

UPDATE: I’ve posted a better version here using only vector math.
I recently had a need to fit a curve to three points. The geometry can get somewhat complex due to the limits of finite math, however, here is JAVA applet I’ve created with a relatively simple solution to the problem:
Drag the green points around to [...]

Posted in: Programming by Mathew Eis No Comments , , ,

Schwinn Tailwind

When we are done with college, if we can manage to live somewhere close to the office, I think I will invest in one of these:

This would be a fantastic way to save on gas money, and commute over longer distances that a normal bike wouldn’t allow for. The official website is here: Schwinn Tailwind

Posted in: Environment by Mathew Eis 1 Comment , , , ,