Joined January 2013
·

Ian MacLeod

Google
·
San Francisco, CA
·
·
·

@jmzc oh, sorry it's not clear - those are the keystrokes you need to make. A newline followed by ~.

I'll update the post to clarify :)

@clord that's only stable as long as you don't allow removals from the list; but yeah, simplicity is often the best design!

Posted to Improved concurrency for Heroku Dynos over 1 year ago

Just a +1 here for Puma. You've got to spend more effort in making your app thread safe, but the pay off is huge.

Posted to 'git pull' is evil! over 1 year ago

Don't forget about git pull --rebase as shorthand for the approach you describe here, too

Be careful: without a slight tweak, this approach is making your canvas slightly blurrier for non-retina users, and making them do much more computation than necessary!

Rather than hard coding the 2x size increase, read the multiplier from window.devicePixelRatio (default to 1 if undefined).

Boom, now you support every resolution and DPI.

Sometimes I wish more Rails features were opt-in - but then I'd spend a week customizing each project ><

Achievements
902 Karma
89,495 Total ProTip Views