Category Archives: Programming

How to Install gcc 4.7 on Mac OS X

How to Install gcc 4.7 on Mac OS X using MacPorts. Continue reading

Posted in Computer, Mac, Programming | Tagged , , , , | Leave a comment

GPS Resources

These are various notes about working with GPS. Summary GPS is a bit of mess. ESR has a great summary of the problems in his article Why GPSes suck, and what to do about it, which includes a good overview … Continue reading

Posted in Programming | Tagged | Leave a comment

Including Libraries in the Arduino IDE

Any Arduino libraries that are needed by the files outside of the sketch (.ino) file must also be listed in the sketch file itself. Continue reading

Posted in Micro & Hardware, Programming | Tagged , , , , , , | Leave a comment

C++ Polymorphism vs. Arduino

For polymorphism to work in C++, you have to pass pointers to class instances, not references. Continue reading

Posted in Micro & Hardware, Programming | Tagged , , , , | Leave a comment

Multiple Source Files with the Arduino IDE

How to use multiple files in an Arduino sketch. Continue reading

Posted in Micro & Hardware, Programming | Tagged , , , , , | 1 Comment

What is Unicode?

A brief explanation of Unicode and UTF encoding methods. Continue reading

Posted in Programming | Tagged , , , , , , | Leave a comment

Handy Unicode Tools

In my internationalization and localization work, I have to ensure that UTF-8 is being correctly generated and stored. The hixie.ch UTF-8 decoder is very flexible on the input it accepts and shows the internals of the decoding. The rishida.net conversion … Continue reading

Posted in Programming | Tagged , , , | Leave a comment

How to Extract a Subdirectory as a New git Repository

This is how I split a subdirectory in a large git repository off into its own git repository.
Continue reading

Posted in Programming | Tagged , , , , , , | Leave a comment

Getting the Executable’s Directory at Run-Time (.NET)

Nitty-gritty on .NET and executable paths. More than you wanted to know. :) Continue reading

Posted in Programming | Tagged , , , , , , , , , | 2 Comments

Get PyDev Eclipse to Find zmq

If correctly installed, Python on the OS X has no trouble finding the ØMQ Python bindings. However, the Eclipse PyDev by default will not locate the zmq library within the Eclipse IDE. Therefore, if you include the following in your … Continue reading

Posted in Programming | Tagged , , , , , , , | Leave a comment