
Yes; of course I upgraded to OSX Lion on day one. To quote myself from twitter:
I am happy in the warm coziness and stark whiteness of Steve Jobs’ monoculture.
Regardless of that though, I had very few hiccups with Lion itself — but a few things you need to deal with going in:
- Be on a high bandwidth connection. The downloads you have to make are huge.
- XCode 4.x is now free in the App Store — you need this — the first thing you need to install after Lion is the latest version of XCode from the App Store, if you do this, all your virtualenvs, your homebrew environment (at least mine) just Keep Working. Save yourself some pain.
- Side note: @kennethreitz, gentleman scholar, has actually done a custom osx-gcc-installer — this contains a system install of GCC and all the goodness you need (such as install_name_tool) for Python hacking. So you might be able to skip the massive XCode install.
- When installing XCode, for some unknown unholy reason, if you have not quit itunes, and itunes helper (see activity monitor) prior to starting the XCode installer, the install will hang. Do yourself a favor and kill it with fire.
- Remember; the binary directory for the dev tools is in /Developer/usr/bin/ — this includes gcc-4.2
- Do yourself a favor, drop “export ARCHFLAGS=”-arch x86_64”” into your .bash_profile.
- If you’re running homebrew; after the upgrade, I recommend a brew update && brew upgrade
- If you use mercurial — you need to install the updated version found here.
- Just for good measure, do a global (sudo) reinstall of virtualenv; virtualenvwrapper and pip. Make sure they’re pointed at the write default Python (in my case the system one).
- If you are using VMWare Fusion: You really need to be running the latest version of 3.x.
Other than the above; my dev environment pretty much just kept rocking — Lion’s default Python install is a healthy Python 2.7.1 — double nice++ — MacVim, editor of choice just kept plugging away, although I have not tried the “official unreleased” version they have for Lion. I have a slight aversion to running beta builds of my editor.
Some of you are going to run into some annoyances; I can’t help you with all of them, but I can help you with the two interface changes I could not deal with (I actually like all the other ones).
- First; go into system preferences > mission control and uncheck “Automatically rearrange spaces based on most recent use” — trust me, you’ll thank me.
- Second, there’s this … annoying animation when you make new application windows (See the Ars Lion Review | kindle version). The animation offends me on a cellular level. You disable it by running: “defaults write NSGlobalDomain NSAutomaticWindowAnimationsEnabled –bool NO” on the command line.
- Show hidden files in finder: “defaults write com.apple.finder AppleShowAllFiles –bool YES”
- Show full paths in finder: “defaults write com.apple.finder _FXShowPosixPathInTitle –bool YES”
Other than that; I’m a happy camper. The new scroll behavior on the trackpads is amazing, if not jarring when using a mouse. Everything just pretty much kept working for me. But then again, I’m pretty easy to please.
See also — “Four Lion Terminal Hacks” from Macworld and “Top 10 Secret Features in OSX Lion” from Lifehacker — if you really, really hate the UI changes, see “How to de-IOSify” from Lifehacker.
p.s. I originally forgot to mention this — but the full disk encryption in Lion is implemented damn well — it’s easy for users to “get” — seamless, and transparent. In my honest opinion, this is worth the price of upgrading alone if you have a laptop. It’s so well done, and it simply shows how crappy filevault was — it also goes to show that if you make crypto easy and transparent for users, they might actually use it. See the Ars Review for a deeper dive. See also “PGP WDE vs. Lion Disk Encryption”
Yes; of course I upgraded to OSX Lion on day one. To quote myself from twitter:
I am happy in the warm coziness and stark whiteness of Steve Jobs\’ monoculture.
Regardless of that though, I had very few hiccups with Lion itself – but a few things you need to deal with going in:
Be on a …
-
Thanks for the tips. Did you run into any problems with MacVim not remembering its window size after a relaunch? (I don’t want to :set columns and :set lines because I sync the config between computers with different resolution displays).
-
Nope, but I set columns and lines…
-
Thanks for the shout out!
Also, since Lion is 64bit-only, I think only “export ARCHFLAGS=”–arch x86_64” is necessary.
-
Thanks! Amended, I had forgotten I swapped to x86_64 only
Orginalpost: Quick Python/Developer tips for OSX Lion
Related posts:
- iPad typing tips: how to get quick caps, rapid numbers, and instant apostrophes
- bolstad: RT @ronnestam: Grey is the new black (or at least 10% of it) #lion #wordpress
- bolstad: @PeterRosdahl Nej, men jag vill ju köra Lion när det den väl kommer. Så jag väntar på släppet …
- bolstad: RT @mdhughes: #WWDC keynote predictions: iOS5 runs on potatoes, no more batteries! iCloud allows teleportation-over-IP. A real lion will …
- Handlink Wi-Fi Base Station: Quick Net Access at Drop of a Coin [Wi-Fi]
