Software that doesn’t work with Mac OS X Lion

Since upgrading to Mac OS X Lion I’ve found the following software on my System that no longer works.

Games & apps that require Rosetta (PowerPC compatibility)

  • Age of Empires 2 Gold
  • Baldur’s Gate 2
  • Diablo 2
  • DooM Legacy
  • Railroad Tycoon 3
  • Starcraft

Games and apps that crash on start

  • The Dig
  • Indiana Jones and the Last Crusade
  • Guitar Rig 4 64bit (patch expected soon)

Use the right cable.

Lately I had become somewhat dissatisfied with the speed of my QNAP 509 Pro NAS. In particular with the speed of transfers to and from it. I was thinking about getting another one, or replacing the drives in and effort to speed it up.

But then I gave it some thought and figured I should probably first do some more testing and research.

QNAP advertise the NAS I have as being able to get a sustained 60 megabytes per second in file transfers over a single gigabit ethernet link. This is pretty respectable. However, I was only getting at most 12MB/s. At first I thought that my iMac not supporting “jumbo frames” could be the problem. But with a little more digging I discovered the QNAP doesn’t support jumbo frames either so that wasn’t going to help me anyway.

In an effort to rule out the iMac as the problem I hooked up my MacBook Pro, which is normally only connected via Wi-Fi, to the Apple Time Capsule that is serving as my gigabit ethernet switch and did some more testing. The MacBook Pro was having similarly bad performance transferring to and from the QNAP. In an effort to discover if data transfer performance was just generally bad or if it was just the QNAP that was suffering bad performance I tried transferring files between my MacBook Pro and my iMac. This is where things started to get interesting. My MacBook was happily transferring data to and from my iMac at around 60MB/s.

It was at this point that a silly thought popped into my mind. Perhaps the cable connecting the Time Capsule to the QNAP just wasn’t up to snuff when it came to gigabit ethernet. So I changed it, and things got better. Fast.

Afterwards I realised that the cable I had been using all this time, to connect my QNAP to the rest of the world, the cable that I had just randomly selected from the large collection I have, was a cable I made myself a long time ago when CAT5 and 100MBps networks were the norm. The cable I replaced it with was a professionally made, modern, CAT5E cable. One designed to work with gigabit ethernet.

What a difference using the right cable can make.

Foggy CarrierWave Nokogiri woes on Mac OS X Snow Leopard

I’m developing a Ruby on Rails app on my Mac running Snow Leopard. Tonight I wanted to use the fog gem with CarrierWave to upload files to Amazon S3.

Fog is a Ruby wrapper around different cloud services and CarrierWave provides a very nice API for handling file uploads in Rails apps.

Fog has a dependency on the Nokogiri HTML/XML parsing library, which has a dependency on libxml2, libxslt, and libiconv.

Welcome to pain and suffering…

The versions of libxml2 and libxslt on MacOS X are a little out of date. And when trying to install the nokogiri gem with:

sudo gem install nokogiri

You will get an error like this:


ERROR: Error installing nokogiri:
ERROR: Failed to build gem native extension.
...
checking for libxml/parser.h... yes
checking for libxslt/xslt.h... yes
checking for libexslt/exslt.h... yes
checking for iconv_open() in iconv.h... no
checking for iconv_open() in -liconv... no
-----
libiconv is missing.
please visit http://nokogiri.org/tutorials/installing_nokogiri.html
for help with installing dependencies.
-----

Now, libiconv isn’t missing. It is installed with MacOS X. But nokogiri’s build script can’t find it for some reason.

The Nokogiri install instructions suggest installing newer versions of libxml2 and libxslt to solve this problem. They even kindly provide instructions for a number of operating systems including MacOS X.

Unfortunately none of them worked for me.

I’m using homebrew to manage my additional source packages on my Mac. Installing libxml2 via homebrew is easy:

brew install libxml2

Installing libxslt, not so much.

There is no brew formula for libxslt in the default homebrew git repo. I have no idea why. Perhaps something to do with homebrew’s policy not to dupe stuff bundled with MacOS X. Not sure why they provide a libxml2 forumla then as it comes with MacOS X too.

So to install libxslt I did the following:


curl ftp://xmlsoft.org/libxml2/libxslt-1.1.26.tar.gz -o libxslt-1.1.26.tar.gz
tar zxfv libxslt-1.1.26.tar.gz
cd libxslt-1.1.26
./configure \
--prefix=/usr/local/Cellar/libxslt/1.1.26 \
--with-libxml-prefix=/usr/local/Cellar/libxml2/2.7.7
make
make install
cd .. && rm -rf libxslt-1.1.26 && rm -f libxslt-1.1.26.tar.gz

To install nokogiri I then used the following command line.


sudo gem install nokogiri -- \
--with-xslt-dir=/usr/local/Cellar/libxslt/1.1.26 \
--with-xml2-include=/usr/local/Cellar/libxml2/2.7.7/include/libxml2 \
--with-xml2-lib=/usr/local/Cellar/libxml2/2.7.7/lib \
--with-iconv-dir=/usr

Now everything seems to be working ok.

Arrogant geeks with zero interpersonal skills.

What is it about certain arrogant geeks and their crappy attitude?

Exhibit A:

A melbourne Cocoaheads regular who works for an Apple Reseller, posts an nice offer of big discounts on older (refurbished and run-out model) Mac gear to the Cocoaheads Australia mailing list.

He gets this response from Andres Kievsky:

50% off? Too good to be true, hence they are most likely scams, or old discontinued models.

Are you sending spam, Mr. Snowden?

I send Mr Kievsky this response (off list).

Dude. Get off your high horse.

Matt is a Melbourne Cocoaheads regular that works for an Apple Reseller and is willing to do some good deals on clearance (older model) Macs for Cocoaheads devs. It is not random spam.

Also, if you have an issue with something someone posts to the list, take it up with them directly off-list rather than adding more noise to the list.

Regards

And this is Mr Kievsky’s oh so mature response to that:

Suck my balls, Oliver.

Don’t you send me any more shit ok? Thanks kid.

Not content with abusing me once, he followed up with:

And by that I mean I don’t want to get any more emails from you, kiddo, whoever the fuck you might be.

Thanks again! and have a wonderful day in fantasy land.

What a wonderful guy he must be in person.

Update: Oh, and on his Facebook profile, for shits and giggles he lists his schools as Virginia Tech, and Columbine High School for the years in which crazed gunmen murdered many an innocent bystander. How hilarious! Not.

Why I buy Apple computers.

I recently saw this post on TUAW about why the author stays with Apple gear even when it annoys him. I thought I’d add my voice to the chorus by relating my recent experience dealing with Apple customer service and describe why it is just so damn awesome.

In 2009 my father had a very bad accident and was in hospital and rehab for months. As such he wanted a laptop computer to use. So I bought him a MacBook Pro 15″. I kitted this Mac out with a few options making it quite an expensive purchase.

A few months after purchase my father returned home with this laptop and we discovered that the Airport Express card in the laptop was unreliable. My parents live in a small town in New Zealand and there is no local Apple store. There is however a reseller and authorised service provider. We handed the Mac over to them for them to replace the Airport Express card which they did under Applecare for no cost.

Unfortunately after the Mac was returned to my father it became less and less reliable. My father though, not being the complaining type, didn’t express exactly how bad the problem was to me. It wasn’t until this Christmas when I was visiting my parents that I discovered how bad the problem with the MacBook had become. It was locking up very regularly.

Unfortunately by this time the MacBook was out of AppleCare. So I just bought my father a new MacBook Air and took away the MacBook Pro. The MacBook Pro was only two years old but I was not hopeful about getting the problem with it solved.

With that in mind I visited the Apple Store in Chadstone to talk to them about getting the MacBook fixed. Fortunately for me I could demonstrate the problem with the laptop in front of the Apple Genius I spoke to and he was more than happy to make an exception and accept the MacBook for repair at no cost to me. Keep in mind that I did not have AppleCare for this MacBook anymore.

About a week later I was telephoned by the Apple Genius doing the repair work and informed that they had discovered what the problem was. It all stemmed from the original AirPort Express card “repair”. It had been completely botched. When they disassembled the MacBook for this original repair they had broken the connector between the mother board and the hard disk drive.

Because of this botched repair the Genius had decided to investigate further and had discovered more problems. The original “repairer” had also damaged the connector between the LCD panel and the motherboard. They had also not applied the thermal grease that should have been on the AirPort Express card to improve heat dissipation.

While these parts where not at present “broken”, the Genius, realising that this repair was all covered for no cost even outside of AppleCare, decided that the LCD panel and AirPort Express should be replaced “in case they failed in future”.

So today I’m going to pick up my dad’s old MacBook Pro that has had nearly its entire guts replaced. The only thing left of the old unit is the case, keyboard and optical drive. All of this outside of an AppleCare warranty and at no cost to me. This is real customer service.

In contrast to this, my 18 month old PlayStation 3’s power supply recently failed. To get this fixed I had to fork out $250 to Sony for a replacement refurbished PS3.

Also, my brother’s HP laptop (again only 18 months old) keyboard failed. HP would not cover this $45 replacement part or do the 10 minute repair job to replace the keyboard.

Window Management in MacOS X (Part 1)

My father is a fairly in-experienced Mac OS X user. In order to help him out I decided to create some tutorial screen casts describing some of the features of Mac OS X he has trouble with or doesn’t know much about. I’m guessing that these screencasts might be useful to more people, so I’ll be posting them here via Vimeo.

Here is part one of a tutorial on Window Management in MacOS X.

You can watch in high definition on Vimeo.