Mac


The newest Mac OS, Mac OS X 10.7 Lion, was released last week. See John Siracusa’s review for a extremely detailed look at the new features in Lion. AstroBetter posted some thoughts on Mac OS X 10.7 Lion along with a comment thread from users about how it has affected specific astronomy packages.

My thoughts from using Lion for a few days on my home computer (I haven’t upgraded work computers yet):

  1. IDL seems to work fine, though I haven’t done much on my home computer besides a few sanity tests.
  2. Lion is the first Mac OS X update I have thought felt slower than its predecessor. I think it is mostly due to the new window creation animation. The extremely useful Secrets website says that the following should turn off the animation: “defaults write NSGlobalDomain NSAutomaticWindowAnimationsEnabled -bool NO“.
  3. Spaces have been changed a bit to work with the new Mission Control feature. I had a 2 x 3 grid of spaces previously, but Lion only supports a 1-dimensional array of spaces, so now I have a single row of six spaces. This is what I’m missing the most so far, since my 2-dimensional mental model of the purposes of the spaces allowed quick switching between tasks.
  4. Scrolling is, by default, backwards from the current direction, but there is a preference value to change it back to the Snow Leopard way. I suppose if I had a Magic Trackpad I would give the new way a try, but I use a regular mouse with a scroll wheel, so I stuck to the old way.
  5. Most people are reporting an easy installation from the Mac App Store, but I had some difficulty. After Lion was downloaded, my Mac rebooted and the installer hung. It reported that it had 33 minutes to go for several hours. I tried again and it appeared to hang again, but I left it going all day as I was at work. When I come back, it had installed. Not sure how long it took, but it was definitely way longer than 33 minutes.
  6. Rosetta support is gone, luckily all my applications are native now.
  7. The UI is generally more muted and fading into the background, which I really like. On the other hand, iCal and Address Book got the skeuomorphic treatment, which I really don’t like.
  8. For a few months, the new version of XCode cost $5. The new Lion version is free again.

Homebrew is a packaging system for Mac OS X, similar to Fink or MacPorts. I have used both Fink and MacPorts, but do not like having an entirely separate system of installs. Homebrew can install in /usr/local like a normal, well-behaved installation.

I installed Homebrew in /usr/local with the recommended commands, except I used sudo instead of changing the owner of /usr/local as shown in the Homebrew docs:

$ cd /usr/local
$ sudo git init
$ sudo git remote add origin git://github.com/mxcl/homebrew.git
$ sudo git pull origin master

Then installing a new formula is as easy as:

$ brew search svn
svn
$ sudo brew install svn

People can contribute new formulas; they are Ruby scripts that do the steps required to build the package.

I haven’t used this a lot yet, but this looks like a good solution to the problem. Any one using this yet?

AstroBetter has an article on on a FITS QuickLook plugin for Mac OS X by the author of the plugin. Looks incredibly useful if you use a Mac and FITS files. QuickLook plugins for more scientific data file formats would be really nice. Any one have an HDF 5 plugin?

I installed Snow Leopard when it came out last Friday and have been using it exclusively since then. The only thing related to IDL that has been a problem for me so far has been that the IDL 6.4 Assistant (the old online help which I still use when working from the command line) requires Rosetta, which is no longer bundled by default with Snow Leopard. The install process rolls your X11 version back a bit and a Snow Leopard update is not available from XQuartz yet, but I experienced no problems from this.

Overall, this was much smoother than Leopard, where it was months before everything was smoothly working again. After upgrading several applications that came out with Snow Leopard updates on Friday also, everything is now working as well as (and in several cases, better than) with Leopard.

UPDATE 9/13: We have had problems installing IDL 7.1 on Snow Leopard; the installer is evidently not Snow Leopard compatible.

UPDATE 9/21: Installing Rosetta should fix the IDL installer issue.

UPDATE 9/28: M. Katz reports on comp.lang.idl-pvwave that IDL 7.1 is two times faster on Snow Leopard.

Mac OS X 10.6 “Snow Leopard” is available for pre-order from Amazon.com for $29. One of the features of Snow Leopard, is OpenCL, basically a wrapper around CUDA which is emerging as a standard for writing GPU processing code.

I made a few changes to my 1RM Mac OS Dashboard widget. This computes a theoretical one-rep maximum given a weight and number of reps for the lift. This update brings full Leopard compatibility (the “Done” button on the back was screwed up a bit) and a tweak to the formula so that the 1RM of a lift done once will be the same as the weight.

download

Apple’s science page has a collection of Keynote templates. They even have a short video about using the templates. (OK, 3D marble bar graphs are probably not the best, but you were going to make your graphics in IDL and import them anyway, right?)

ITT VIS announced an update for IDL on OS X today:

A new update for IDL on Macintosh computers is now available. The IDL 7.0.4 release adds support for Macintosh Intel 64-bit architecture on OS X 10.5. IDL 7.0.4 also fixes two issues that impacted all supported Macintosh platforms: CR49844 – “Creation of Semaphores Fails under Mac OS X 10.5″, and CR51198/CR51412 – “CURSOR/RDPIX Procedures not Working Correctly on OS X”.

Download, full release notes.

X11 2.3.1 addresses X11 issues in Mac OS X 10.5.5.

In general, keep your X11 updates around after installing them because you need to re-install it if you install OS or security updates through Apple’s Software Update.

Versions.appI just got the beta release of Versions, a Subversion front end for the Mac. I use the command line interface for Subversion for most of day-to-day work, but occasionally I like a visual interface to do comparisons, show timelines, etc. The Subclipse plugin for the Workbench works fairly well for this, but I don’t always have the Workbench running and it’s slow to start. Versions provides a very Mac-like experience to version control.

I didn’t see any mention of the price; I’m hoping they intend to make their money selling Subversion hosting at Beanstalk.

older posts »