Apache Restart Error In OS X

I know quite a few of you are using OS X for your ColdFusion development so I thought I would post this in case anyone else has run into it.
On My new iMac, I was making a few changes to the apache config and issued a restart using the apachtctl restart command. I was greeted promptly with the following error:

/usr/sbin/apachectl: line 82: ulimit open files: cannot modify limit: Invalid  argument

Now I know this works, I had been using it on my MacBook Pro to restart apache. So I did a little digging and apparently in the OS X 10.6.5 update, the apachectl script was updated and a bug was introduced. Luckily its a simple fix, head to line 64 of the /usr/sbin/apachectl file and change the following line:

ULIMIT_MAX_FILES="ulimit -S -n `ulimit -H -n`"

to this:


Save the file and your apachectl script should work without issue.

My Take On The iPad

Yeah it sure created a stir alright, with Fanboys and haters alike! It seems the iPad is certainly dividing camps and Im not really sure why. Yeah I have to admit I was watching the live blogs during the event as I always do. Anticipating something that would be revolutionary. I have to admit though, my expectations were not super high. I have never been interested in a tablet PC. I owned a netbook for 2 months and hated the damn thing with a passion. So I was just watching hoping for something that would allow me to browse the internet while sitting on the couch without unhooking everything from my Macbook Pro in the office.
After seeing it, I thought like alot of people, “its just a big iPod Touch”. But after seeing the iWork demos, I started to think bigger. I still wasnt sold yet. Here are a few of my initial gripes, notice I said initial because after thinking on it a few days, some of them have changed.

  1. No iSight camera
  2. Runs the iPhone OS, really?
  3. $130 upcharge for 3G
  4. No Flash support
Now after thinking on this for a few days and reading plenty of other gripes about the iPad, I have changed my feelings on at least 2 of these.
First, I thought the idea of running the iPhone OS was just rediculous. How could a tablet be functional without a real operating system? How could I get any work done on it if I cant run Textmate or any of my other applications. But I started to realize, its not meant for work. Its not meant for people like us (developers) to replace our work machines. Steve Jobs stated at the beginning of his presentation that the device was to fit between the iPod and the laptop. Not replace the laptop. And given the fact that there are what, 7 million iPhone and iPod touch owners it just makes sense given the amount of apps out there already.
I think this move will make the iPad more accessible to more people this way. Again, this thing wasnt aimed at being our mobile development platform!
As far as no flash support, I know there are alot of people screaming about that right now and I admit every time I try to visit a flash enabled site on my iPhone Im further annoyed. However, let me make this point. Every time I load a page on the web that uses Flash, the CPU on my Macbook Pro spins up to 80% – 90% until I browse away from the page. I know Im not the only one since I have seen a few others ask about this on Twitter as well. Now if Flash Player does that to a 2.53GHz Core 2 Duo processor, whats it going to do to a 1GHz processor? Not to mention the battery power it would consume. I certainly wouldnt want this happening on my iPhone.
Now Im not saying any of that is the reason for lack of Flash support. There are even posts on MacRumors as well as a few others stating that Flash may be enabled on the iPad. None of us will know before 60 days unless Apple publicly states otherwise.
I will buy one. My kids are going crazy for the thing. However I learned a lesson from being an early adopter of the iPhone. I will not spend the big bucks for the high end model. Not yet. I will buy the cheaper one without 3G so we can play games on it and browse the web from the living room. But I suspect that we will see a second version following this one that will have the camera and alot of the other things people are complaining that is missing.
I think as being tech people though, we look at things from a skewed perspective. And thats the biggest reason that the iPad seems lacking at this point.

Macbook Pro Power Adapter Melted! BEWARE!!

I have to write this fast, Im almost out of power. I plugged my magnetic power adapter into my macbook pro this morning and almost immediately it start smoking from the cord behind the magnetic head.

I snatched it out and immediately unplugged it from the wall. Needless to say I was a bit freaked out. I went to the online apple store to check on a replacement and I was quite disturbed to find that this is a VERY common occurrence based on the reviews! So Im off to the apple store to buy another one at $80 which Im not really happy about.

If you have a macbook pro, keep an eye on the plug. Im glad this didnt happen while it was plugged up overnight. Scares the shit out of me that it could have caught fire!

New SVN Client Versions for OS X Rocks!

I was visiting one of my clients a few weeks ago and one of his ColdFusion developers is a mac user and we got into the topic of SVN clients on OS X. Its a shame that the best SVN client for OS X is still Subclipse for the Eclipse platform.
Well that is until now! He told me about a new SVN client for OS X that was in development called Versions. The beta was yet to be released but based on the screenshots I saw on the site, I quickly gave them my email to notify me of the beta being released.
Yesterday, that email arrived. Its a time limited beta release, it expires on July 1 but right now I dont care! This thing is amazing.
It uses the native OS X interface and man is it beautiful! I havent had too much time to devote to putting it through its paces completely but what I have used so far is awesome. My single favorite feature so far is the Timeline view of the repository. Its much like the timeline view in Trac, where it lists the revision number and the files affected in that revision as well as the commit messages for that revision. Its very clean and easy to read.
If your using OS X and SVN, you owe it to yourself to check out Versions!