OWC Data Doubler Review

A few weeks ago I purchased a new MacBook Pro. My old machine was plenty fast, but it has developed an overheating problem related to the x1600 graphics card and it can’t stay stable under normal use, to say nothing of attempting to play a YouTube video. But it lasted a good 4+ years as my everyday machine and has held up better than any Thinkpad that I ever used, which is saying something. I think Thinkpads are fine machines, built to take a beating, but my MacBook Pro lasted better than any of them.

Given that I can’t have my development machine locking up several times a day I procured a new Macbook Pro from Expercom, the local Apple shop. They are much closer than the Apple store and have much, much better parking than the mall.

I had intended to buy a 15 inch machine. But when I began to add up the cost of getting the anti-glare screen (a must for me) and the high resolution upgrade I began to wonder why I wasn’t getting a 17 inch instead. I don’t travel much so portability isn’t a huge issue, and I’d get all those extra pixels plus an express card port. So a 17 inch with 8GB of RAM it was.

Sitting in my old machine though was my secret weapon. A Crucial C300 265 GB SSD. Given that I’m doing data mart development having a drive than can plow through random reads is a huge benefit. So I wanted to move it over to my new machine. As I thought about it more though, what I really wanted was to have the storage of the 750 GB hard drive that was already in the machine as well as the speed of the SSD. So I began to look at the options for putting a second drive in the optical bay. I really rarely use the DVD drive anyhow and I’d rather occasionally plug in a DVD drive than always be plugging in the SSD.

So I did a bunch of googling and found several options, all with various pros and cons:

1. MCE Optibay
2. Lots of cheap, generic caddies on Amazon, eBay, and Buy.com
3. PowerBookMedic Dual Drive
4. MaxUpgrades.com Optical Bay Kit
5. OWC Data Doubler

Here are my thoughts on each of the options.

From what I can tell the MCE Optibay is the most popular product, but there are some reports of terrible customer service, and of caddies not working or not fitting well. It costs $99 for the empty Optibay and that includes an enclosure for your now homeless optical drive.

The generic caddies are a compelling option if you are price sensitive above all else, but from what I could tell they don’t allow you to screw the hard drive into the caddy. It is secured by the SATA plug and perhaps some duct tape if you want to apply some. I just dropped a ton of money on a new laptop, and I’m not about to secure my $800 (at time of purchase) SSD with tape. Also, it seems that on most of them you have to rip parts off of them in order to make them fit. Prices range from $9 to about $20.

The PowerBookMedic Dual Drive looks like it might be a step up from the generic caddies but for $59. It wasn’t clear to me if you could bolt your drive into it or not. I’d actually be inclined to try the $8 generic model before this one as they look so similar.

MaxUpgrades.com is interesting. They appear to have the same (or nearly the same) adaptor as the OWC Data Doubler. It is a simple metal frame with holes to secure the drive and other holes to secure it to the case of the computer. The adapter alone costs $72.75. But the interesting, and compelling thing is the super drive enclosure. If you add that the total comes to $89.00. This is by far the best looking enclosure I saw in all my searching, and it is built for slot loading drives. By itself the enclosure is $24.95. I wish I had bought it. The only downside I see here is that the design of the MaxUpgrades.com site is pretty terrible. Rather than having a page for each product they have a giant page with a ton of extraneous info and then a drop-down to order a particular product. That didn’t inspire confidence. Perhaps I’m judging a book by it’s cover.

Finally I’ll discuss the OWC Data Doubler. After all my searching and seeing complaints about all the various adapters I was very impressed by both the apparent quality of construction of the Data Doubler and the fact that you could secure the drive to the frame and the frame to the computer. It even comes with screws to bolt your drive into it. But what put it over the top were the installation videos which demonstrate installing the product in a variety of machines. This not only let me see the product from a variety of angles, so I knew what I was getting, but it also showed my exactly how it would install and fit. This was a huge selling point. I had some confidence in them as I’ve ordered from them before, so I went ahead an ordered the product. I also ordered an enclosure for my Super Drive and got the cheap tool kit as my current tiny screwdrivers are getting a little stripped and I didn’t have a spudger.

And now for a brief digression…

I had understood that both the hard drive SATA port and the SuperDrive port were SATA3 ports capable of 6gbps. This would have given my C300 SSD a nice performance boost. The plan was to leave the original hard drive alone, clone it onto the SSD, and put the SSD in the optical bay. The would leave the hard drive with its little rubber shock absorbers, giving it some additional protection from drops and bumps, and avoid any thermal issues that might arise from putting it in another location.

It turns out that the SATA port to the optical bay is a SATA2 port capable of 3gbps. So perhaps I wanted to put the SSD where the hard drive was. I wasn’t excited about this but was considering it.

But then I learned that lots of people are reporting issues getting 6gbps SSDs to work in the hard drive spot. There seems to be an interference issue with the cable for the battery indicatory lights. OWC is selling a little bit of shielding for the wire that resolves it for some people but I decided not to mess with it.

So I resigned myself to the fact that I wouldn’t be getting full performance from my SSD.

The kit came and I commenced a series of backups using SuperDuper to get my old computer backed up and then to put the image of the new system on the SSD.

I ran the video from OWC as I disassembled the new MacBook Pro, removed my optical drive, and installed the Data Doubler with my SSD. The only issue I encountered was that the connector cable in my 2011 machine seemed to be a little different from the one in the video, which shows a 2010 machine. In my machine the SATA adapter cable is attached to the frame or the motherboard solidly. So I just popped one end out of the Super Drive and left the cable in place. Then I attached it to the Data Doubler as I slid it into place.

The whole thing took about 15 minutes and was a great deal easier than replacing the drive on my old MacBook Pro, which involves a great deal more screws and seems to take about twice as long.

I held down the option key as the machine booted and it let me select which drive to boot from. I selected the SSD and now it’s off to the races.

64 bit matplotlib (and pylab) under Mac OS X 10.6 Snow Leopard and Python 2.7

I’ve purchased a new machine and have decided to rebuild my development environment from scratch and upgrade to more recent versions of the libraries I’ve been using as in some cases getting copies of the old ones installed is becoming more difficult and in some cases I’m several years behind on some of the key libraries that I use.

One of these is matplotlib.

Part of the reason that I’ve avoided upgrading is that it was a huge pain to get it working the first time around. It isn’t so bad on Ubuntu but on OS X it is terrible. I’ve had issues with the fact that I’m using xCode 4. Issues with Python2.7. Issues with 64 bit. Issues with Fortran. (shouldn’t fortran be a solved problem in 2011?) Issues because I’m installing into a virtual environment. Issues installing each of the many dependancies with the above constraints. The list goes on and this has taken about a day and half. Unacceptable.

Here are two sites that provide walk-throughs for the process. They are much more useful than the scipy and matplotlib sites which basically say, “Use Enthought.”

Stefan Sofa: http://stefan.sofa-rockers.org/2010/11/17/building-numpy-scipy-matplotlib-python-27-snow-leo/

Hyper Jeff: http://blog.hyperjeff.net/?p=160

By the time I found these I already had a number of the problems solved on my own. I did have two more final problems. One is that I had to modify my path to point to the freetype2 headers which in my case live in /usr/local/include/freetype2/

I also had to edit matplotlib’s make.osx file. It was pointing to my binary of python2.7. Which would have been fine except I was in a virtual environment and running python2.7 would run try to install outside of the virtual environment. I modified the line:
PYTHON=python${PYVERSION}
to be:
PYTHON=python

And then the makefile was able to find numpy and the other stuff that had been installed in the virtual environment.

Given the number of mac laptops I see at PyCon I would have guessed that people would have provided more robust fixes for all these problems by now. I guess all the matplotlib types are running Ubuntu or get free access to Enthought.

Texturetool tip

I keep messing this up, so here it is, as a note to myself, so I don’t waste any more time:

texturetool -e PVRTC --channel-weighting-linear --bits-per-pixel-4 --alpha-is-opacity -m -o buttontex4.pvr -f pvr -p test.png rect2987.png

A New Game: Grid Warrior

My son really wants to make a game with me. So we’ve been working on something called Grid Warrior for a few weeks. it is a version of the classic snake game in that you’ll be drawing a long line and trying not to run into your tail. But it will be in 3d, run at 60 frames a second, and be crazy fast.

We’ve got a proof on concept ready. A round arena with a single player. It doesn’t look like much as there are not textures or effects, but it is actually pretty fun to play with as a toy.

Asteroids & Arithmetic Video

There’s a big update that should go live today for Asteroids & Arithmetic. I made a video describing the new features. This version allows you to pick which type of problems to solve and what difficulty level they should be. Which is cool and makes the game appropriate for a wide audience.

But the big change is the addition of the scratchpad. This lets you doodle on the right side of the screen. So you can write out the solutions to difficult problems before keying in the answers. So practicing long division is practical and you don’t have to grab pen and paper to solve 68 x 39. This works well on the iPhone but is absolutely great on the iPad.

I’ve used this to teach my son how to do long addition. He picked it up right away and is now doing subtraction at level 20 and addition at 99. But the part that he really likes is when your work explodes once you answer the problem.

Useful Postgres Performance Tool

I’m posting this for my own sake as much as for any readers of this blog. The hard to remember site http://explain.depesz.com/ provides an excellent tool for understanding what is happening in your PostgreSQL queries.

Here’s what you do. Grab the SQL statement for a poorly performing query. Run it from psql but put EXPLAIN ANALYZE before the command. You will get output describing exactly what the database is doing when it runs your query. But that output isn’t the most legible thing in the world. So copy it and paste it into http://explain.depesz.com/ then hit the submit button. Your eyes will thank you. Repeatedly, since you’re probably going to be tweaking the query and running it again and again.

Asteroids & Arithmetic

Asteroids & Arithmetic is an educational game for iOS devices. It provides an exciting 3D space combat game with a set of ten flash cards before each level. Correct answers to the math problems earn the player enhancements to their ship.

Please leave feedback and suggestions for the game here.

Where Online Apps are Headed

I’ve been looking at a new online diagramming and charting application from Lucid Chart. You can think of it as a web based Visio. But instead of being expensive you can start using it for free and even heavy usage is cheap.

Not only that, but you can use it for live collaboration.

At first it sounds like Lucid has done for charting what Google Docs did for other office productivity applications. But take some time and look at the application. This doesn’t look like a lot of the web based software you’ve seen in the past. No matter how much AJAX goodness other applications have they seem to scream, “HTML!” as loud as they can. By this I mean that they are in essence a bunch of HTML with a lot of CSS applied to them. Lucid is different. It is using the javascript canvas object to render its own UI directly. This gives it an amazing level of control over the look and feel of the application as well and a the interactivity that a graphically intense application demands.

This is where online applications are headed, especially those that are graphically rich. It will be interesting to see how things evolve from here and how others use this technique to build dynamic websites that allow for instant collaboration.

IE GET Limits Bite Me Again

IE has relatively short limits for how long an HTTP GET request can be. I’m working on an application that can have very long query strings. So long that they occasionally exceed IE’s length limits for GET. So we wrote some javascript that detects IE and converts a GET to a POST. Problem solved through an abuse of POST.

Well, one problem solved, now wack-a-mole begins.

Turns out that our caching system uses GET parameters to generate a key but not POST parameters. This is a problem. Now application doesn’t work under IE again.

So there are two options. Do the caching manually to detect the parameters whatever form they are in or convert the POST back to a GET before the simple caching runs. Neither is pretty, and once again IE has wasted an afternoon for me.