Category Archive for 'Apple/OS X'

Constants in Objective-C

If you’re a Java programmer developing on the iPhone platform, you’ve probably wondered about how to set constants in your programs. Undoubtedly, you have have come across the #define preprocessor macro, and maybe a few other methods, but I’m going to show you my approach to this problem using the singleton design pattern.

OS X Inconsistencies

Many people are surprised to hear me say that I don’t think OS X has a well-designed GUI. As one of my professors puts it (I paraphrase):
Criticism is good. Criticism leads to change. Criticism makes things better.
In this post, I will try to do my part in making OS X better. The following [...]

BootCamp still in Beta?

BootCamp makes users reinstall OS X or buy software that shouldn’t be needed, in order to load another operating system on Apple hardware. My frustration with Apple products — particularly with OS X — is slowly but surely raising my blood pressure to levels I have never seen during my marriage to Windows.

OS X .htaccess

For some reason, I could not get .htaccess files to work on my system for the longest time. I’ve since upgraded to Leopard, and I eventually just gave up on it (I could do that, since I’m only running a development environment).
Anyway, the solution depends on which version you’re running:
For Tiger, edit /private/etc/httpd.conf AND [...]

OSX, Octave, Gnuplot

To lessen the pain, here’s a tutorial on how to install gnuplot with Octave on OS X:
http://island94.org/setting-octave-and-gnuplot-osx
[EDIT: This method may be obsolete now]

…Four Months Later

After four months of using OS X, I still do not feel comfortable with it. Here’s why.

I’m back from my surgery. Thankfully, the laptop from my new employer arrived just in time to keep me occupied during recovery. It’s a 17″ MacBook Pro with the 1920×1200 resolution screen (Sah-weet!). 4 GB of RAM. I must say, this is probably the only machine that could have EVER switched [...]