Posts for Mac Os X

Connecting to a safe@office vpn on a Mac… - 2010 March 11

Let me start off by saying that I started using a Mac several years ago because I finally reached a tipping point. I knew I wanted to get more into ...

Knswledgable? - 2010 March 11

C’mon on Apple! Really? Knswledgable?

bzr-keychain - 2010 March 09

I’ve been meaning to look at this, but haven’t had the time until recently. bzr-keychain provides the ability to save your credentials into Mac OS X’s keychain. The trick is ...

Nifty script to pick which JDK you want to use… - 2009 July 15

Charlie Nutter was kind enough to update pickjdk.sh to look in the right place for Mac OS X. Get it here.

Test run using Mach-based sempahores in Python on Mac OS X - 2009 June 13

Just did a quick hack to make Python use native Mach semaphores for the GIL instead of the mutex/condition variable pair, and got sizable speed up (13%) on David Beazley’s ...

Stepping up my ssh game - 2009 January 17

In the past, I used ssh almost solely for remote administration of a couple of boxes, which were well within my physical control (in the server room at work, the ...

Installing Python modules to your home folder on a Mac - 2008 March 27

It turns out that by default, on Leopard, Python 2.5 looks at ~/Library/Python/2.5/site-packages for Python modules. The problem is that nothing installs there by default. However, distutils (and setuptools) will ...

My first dtrace script… - 2008 January 10

I had a misbehaving application (I believed it was connecting to the wrong port based on a preference setting), so I figured I’d give dtrace a try and see if ...

Installed Leopard! - 2007 December 19

Nice to see that Mac OS X shipped with Python 2.5. I need to figure out how to migrate a number of my Python modules to the mainline tree though. ...

Still broken… - 2007 June 22

I’ve had zero success in trying to recover from 10.4.10’s brokeness. I’m know going to have to attempt an “Archive and Install” to get 10.4.8 on the system, and then ...

Updating to 10.4.10 on Intel… - 2007 June 22

In a few words, don’t do it. Many things are now broken on my nice Mac Pro box. USB Flash drive doesn’t work. VMware Fusion is broken (yes, I even ...

Number of active cpus on a Mac… - 2007 February 07

One nifty feature on most modern macs is that you can disable processors on the fly. Up front, that doesn’t sound like much of a benefit, but in reality it ...

Mac OS X and the ram disk dilemma - 2006 May 26

Apparently something changed on a recent update. I had a script that used to the following: hdid -nomount ram://size newfs_hfs -v "Volume Name" /dev/rdiskX hdiutil mount /dev/diskX That doesn’t work any ...