Links for 12-9-2011
Consistent Hashing in memcache-client
paperplanes. The Simple Magic of Consistent Hashing
Welcome to the Age of Overparenting - Boston Magazine - bostonmagazine.com
You've Probably Read Enough | Ben's Blog
To get started on one of your lingering interests, you probably don’t need to read about it as much as you think. Go. Do it. And learn from there.
Profiling Rails startup with DTrace – Tender Lovemaking
Twine : Listen to your world, talk to the Internet by Supermechanical — Kickstarter
Knyle Style Sheets — Warpspire
I heard you liked files (Episode #228 - December 6, 2011)
Riding Rails: What's new in Edge Rails: EXPLAIN
You Aren’t Who You Hang Out With | Mike Industries
Don't Be A Free User (Pinboard Blog)
Creating an API // RailsTips by John Nunemaker
Adds test spies to mocha
monitor your rack apps in production
fancyBox - Fancy jQuery Lightbox Alternative
fancyBox is a tool that offers a nice and elegant way to add zooming functionality for images, html content and multi-media on your webpages. It is built at the top of the popular JavaScript framework jQuery and is both easy to implement and a snap to customize.
Custom File Inputs with a Bit of jQuery | Viget Inspire
File inputs are notorious for being a pain to style across all browsers.
Fast, easy, realtime metrics using Redis bitmaps «
A resque plugin; provides retry, delay and exponential backoff support for resque jobs.
Configuration for Rails, the Right Way | The Carbon Emitter
One little known secret is that Rails 3 allows you to define your own configuration elements trivially.
You don't need a merchant account or gateway. Stripe handles everything, including storing cards, subscriptions, and direct payouts to your bank account.
Solving Cucumber's Problems — Elabs
Turnip parses Gherkin feature files and runs them in RSpec. You run your feature files the exact same way you would run a normal spec file, and they are automatically run when you run your RSpec suite.
PhantomJS: Headless WebKit with JavaScript API
PhantomJS is a headless WebKit with JavaScript API. It has fast and native support for various web standards: DOM handling, CSS selector, JSON, Canvas, and SVG.
Don’t Call Yourself A Programmer, And Other Career Advice | Kalzumeus Software
tallgreentree/omniauth-37signals - GitHub
37signals OAuth2 Strategy for Omniauth 1.0
Moment.js is a lightweight javascript date library for parsing, manipulating, and formatting dates.
Stacking the Bricks « Unicornfree
This lesson was specifically crafted for you: The smart person who has the skills and the know-how to execute… but isn’t sure where or how to get started on what seems like a gargantuan task.
glennr/uber-glory-tmbundle - GitHub
Uber Textmate macros to make your life glorious. Well they mostly strip whitespace.
The Social Graph is Neither (Pinboard Blog)
My hope is that whatever replaces Facebook and Google+ will look equally inevitable, and that our kids will think we were complete rubes for ever having thrown a sheep or clicked a +1 button. It's just a matter of waiting things out, and leaving ourselves enough freedom to find some interesting, organic, and human ways to bring our social lives online.
We like playing music at the GitHub office. Everyone has their own library on their own machines, and everyone except for me plays shitty music. Play is designed to make office music more palatable.
Rich Hickey emphasizes simplicity’s virtues over easiness’, showing that while many choose easiness they may end up with complexity, and the better way is to choose easiness along the simplicity path.
Day-O is a simple menu bar clock replacement with a simple calendar for your Mac.
Mud Rooms, Red Letters, and Real Priorities | 43 Folders
Yield Thought, I swapped my MacBook for an iPad+Linode
Fast Rails Tests - Corey Haines - Golden Gate Ruby Conference 2011
In this talk, I will go over some techniques for keeping your test suite lean and fast. Along the way, we'll discuss the design improvements that come out of these changes.
Hyperbole and a Half: Adventures in Depression
And that's how my depression got so horrible that it actually broke through to the other side and became a sort of fear-proof exoskeleton.
CSS: Taking control of the cascade - (37signals)
Using CSS sprites with Rails helper methods - (37signals)
Why We Moved Off The Cloud at Mixpanel Engineering
After getting fed up with variable cloud performance, I decided to make the move to dedicated hardware.
For the past year or so we've been telling people about Hubot, our amazing Campfire bot. We have a lot of fun working on Hubot. He makes us laugh, he ships our code, he is the interface to our CI server, and a whole lot more. Over the last year, he's grown bigger and messier. So we decided to rewrite him from scratch, open source him, and share him with everyone.
Over the years we've added quite a bit of stuff to GitHub. Sometimes we ship huge features, sometimes we ship small, lesser-known bonus features.
A Modern Guide to Threads | The Carbon Emitter
"Algorithm" is Not a Four-Letter Word
Web Development Blog | Ruby on Rails Web Development | Viget Extend
When solving a particular problem in an OO language, it often makes sense to take a step back and think about the conceptual entities involved and how they collaborate with one another. By adhering to some basic design principles, notably the separation of concerns and encapsulation, we have a solution that is easier to understand and maintain.
Understanding the Rails Logger | Grinding Gears
Introducing the YouTube Insult Generator
Why Bundler 1.1 will be much faster - Pat Shaughnessy
iOS 5: Tips, Tricks & Hidden Features
Daring Fireball: The iPhone 4S
Why programs become territorial - (37signals)
Until you’re ready to delay things you really want done, it’s fruitless to bemoan that parts of the code base territorial.
Steve Jobs and drug policy - Salon.com
MicroGems: five minute RubyGems - Jeff Kreeftmeijer
An 8 hour work day with exercise is more valuable than an 10 hour work day without. Justifying daily exercise as your number one priority is such an easy thing to do. If exercise isn’t your number one priority, your priorities are wrong.
Rands In Repose: Building Serendipity
The training wheels came off | Aslak Hellesøy
What’s So Great About Siri? | Cult of Mac
Steve Jobs, 1955 – 2011 | Epicenter | Wired.com
14km - Mocha doesn’t play nice with Rails 3 & Bundler
After an hour or two digging around, I stumbled across a post on the Mocha mailing-list that mentioned ordering problems with Mocha and Test::Unit. Sure enough, if I rearranged the modified require lines so that Test::Unit was loaded after Mocha
How I name my apps - Zach Waugh
bassnode/bundler_timer - GitHub
Logs the time you spend waiting for bundler
#101: Wiki page explaining how to use rbenv in production .. - Issues - sstephenson/rbenv - GitHub
Read on (Sinatra: New feature release, Contrib and Recipes)
Timelines.com Sues Facebook, Says Its New Timeline Feature Could “Eliminate” Them - TechCrunch
Kinda cranky pizza guy - chicagotribune.com
Amazon Kindle Fire explodes onto tablet scene - Chicago Sun-Times
detailed account (Drift: an iPad app for GitHub Gists)
Large Ruby File Downloads Done Right! - Dan Watsons Coding Zen
What is needed is to download and stream the file directly to disk leaving the RAM well alone.
textmate/ruby.tmbundle - GitHub
TextMate support for Ruby
Jason Fried on Learning What Your Employees Really Think | Inc.com
sstephenson/rbenv-vars - GitHub
An rbenv plugin that safely sets global and per-project environment variables
Bundler’s Best Kept Secret - Pat Shaughnessy
This week I just discovered Bundler’s best kept secret: the bundle viz command will generate a network graph showing the dependencies among all the different gems used by your Ruby app.