Author Archives: ayn

Finally reverted Lion’s clamshell setting back to that of Snow Leopard

Lion has this feature to switch to the external display when you close the lid of your Mac laptop. It seems like a welcomed feature at first. I do a lot of screen sharing over iChat/Messages Beta, and had to switch from dual-desktop to single-screen for screen sharing to work nicely. In Snow Leopard I had to close the lid, wait for Mac to go to sleep, and then wake it up with my keyboard or magic trackpad. However, there’s a huge problem with the new clamshell setting in Lion – the machine gets very hot when used in clamshell mode, especially when you do development on it such as hacking in Xcode, with the iOS app running in the simulator, the app itself talks to a local Rails app served up with Pow, and the Rails app also talks to MongoDB or MySQL running on the same machine, Redis, and a whole lot of other standard techs we use to get things done.

Today I finally got fed up and switched back to the way Snow Leopard worked, there really isn’t a documented way to do this, but you can get the old behavior back by changing the nvram boot arguments:

sudo nvram boot-args="iog=0x0"

Bounce the Mac after that and you’ll get the behavior back.

“Please be good to each other, and your self.” /via @paultoo

What’s most important is that we are good too each other, and ourselves. If we “win”, but have failed to do that, then we have lost. Winning is nothing. This doesn’t mean that we can’t push ourselves or stretch our own limits. Those things can be very healthy, but only when done for their own sake. Ultimately, the people who learn to love what they do who will be the ones who accomplish the most anyway. Those who push only for the sake of some future reward, or to avoid failure, very often burn out, sometimes tragically. Please don’t do that.

Please be good to each other, and your self.

via Paul Buchheit: Eight years today.

Stowa Flieger Type B Limited Edition with ETA 2801 movement

I have a Stowa Flieger incoming, it’s the Type B dial with ETA 2801 manual hackable movement and display back. Estimated delivery is mid-May, that’s a 5-month wait! At the official Stowa forum, someone started a thread called See a Stowa in Real Life before you buy – thread for details of people willing to show their Stowas. A couple of PMs later I found myself having drinks with 2 SF members. I also got to see almost the exact watch I ordered, got to tried it on and everything, it’s an amazing watch, and it’s relatively inexpensive compared to most other brands with an advertising budget, I can’t wait to get it.

A couple of snapshots of the No. 09/33 FOLE:

Flieger ETA 2801 LE

Flieger ETA 2801 LE

Flieger ETA 2801 LE

Flieger ETA 2801 LE

09/33

Flieger ETA 2801 LE

These were shot at high ISO and handheld, a lot of them were at unsafe shutter speed. The crazy image stabilization on the 100L is really amazing.

5D Mark III sample images and videos at Canon jp

They look very impressive.

My biggest gripe about the 5D2 is the AF pattern, looks like they’ve fixed that in the best possible way, the GPS accessory is also nice, too bad it’s an attachment and not built into the body. Most likely I’ll be getting an 5D3. I’m not shooting professionally anymore, and I’m actually really happy with the 5D2, so not in a huge hurry to upgrade. (That said, I’ll probably jump on Amazon pre-order as soon as that’s available, pretty easy to pick up a freelance photo gig to pay for the upgrade. 🙂 )

Update: Pre-order now available on Amazon. I just pre-ordered one.

If you see weirdness when using jquery.iframe-transport.js and/or remotipart…

This took a while to figure out. Remotipart overrides the render function in Rails to return the response in a textarea that jquery.iframe-transport.js expects to see, if you’re working with JSON (and who isn’t?), make sure you don’t have any type of JSON pretty-formatter browser add-on/plugin/extension installed.

That is all. And AJAX file upload still is a pita to do.