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.
Continue Reading »
Tags: Cocoa Touch, Constants, Design Patterns, iPhone, Objective-C
Posted in Apple/OS X, Objective-C, Programming, Tech • No Comments »
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 [...]
Continue Reading »
Posted in Apple/OS X, Tech • No Comments »
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.
Continue Reading »
Posted in Apple/OS X • No Comments »
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 [...]
Continue Reading »
Posted in Apple/OS X, PHP, Tech, Web Dev • No Comments »
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]
Continue Reading »
Posted in Apple/OS X • No Comments »
After four months of using OS X, I still do not feel comfortable with it. Here’s why.
Continue Reading »
Posted in Apple/OS X, Tech • No Comments »
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 [...]
Continue Reading »
Posted in Apple/OS X, PHP, Web Dev • No Comments »