Links for 07-08-11

Links!

Why WSJ Mobile App Gets ** Customer Reviews (Jakob Nielsen’s Alertbox)

Why do so many people think they have to pay when they don’t? Because of a highly confusing user interface design.

nathanvda/cocoon – GitHub

Dynamic nested forms using jQuery made easy; works with formtastic, simple_form or default forms

Heroku | Clojure on Heroku

Please, please, please stop asking how to find a technical co-founder. – humbledMBA

You don’t find a technical cofounder, you earn one.

Paper.js — About

Paper.js is an open source vector graphics scripting framework that runs on top of the HTML5 Canvas. It offers a clean Scene Graph / Document Object Model and a lot of powerful functionality to create and work with vector graphics and bezier curves, all neatly wrapped up in a well designed, consistent and clean programming interface.

Chatbox – Project collaboration inside Dropbox

Chatbox makes it easy to discuss or comment on files shared over Dropbox. Install it, right click on any files / folders inside Dropbox, and start conversations with people you shared the Dropbox folder with.

How to take advantage of Redis just adding it to your stack

Redis is different than other database solutions in many ways: it uses memory as main storage support and disk only for persistence, the data model is pretty unique, it is single threaded and so forth. I think that another big difference is that in order to take advantage of Redis in your production environment you don’t need to switch to Redis. You can just use it in order to do new things that were not possible before, or in order to fix old problems.

andrew/brewdler – GitHub

Bundler for non-ruby dependencies from homebrew

Google Swiffy

Swiffy converts Flash SWF files to HTML5, allowing you to reuse Flash content on devices without a Flash player (such as iPhones and iPads).

github/linguist – GitHub

We use this library at GitHub to detect blob languages, highlight code, ignore binary files, suppress generated files in diffs and generate language breakdown graphs.

Native style momentum scrolling to arrive in iOS 5 · Johan Brook

The Technium: The Shirky Principle

The Billy Baldwin of Conditional Assignment // Collective Idea

Speed up your unit tests with Devise

Start-Up Lytro Aims to Sharpen Focus of Entire Camera Industry – Ina Fried – News – AllThingsD

BundleWatcher: Watching Your Gems

Heroku | The New Heroku (Part 1 of 4): The Process Model & Procfile

Egregious Dropbox Authentication Bug Yesterday

Mocking fog When Using It With Carrierwave

has_many :through – Slightly more readable Ruby

Automate Github Pull Requests [splitbrain.org]

Catastrophic Prototyping and Other Stories

I went to graduate school at Georgia Tech, and read some Chris Crawford. I learned that he had the same problem. But he didn’t think of it as failure. For him, this was an organic part of the development process. The failures filling his hard drive were actually “prototypes” that helped him decide which ideas were worth pursuing. For each good idea, there were a large number of stupid ones that didn’t work out. Failing, for this successful designer, was a way to find the good ideas.

PIPEROID paper pipe robots

? Most common numeric passcodes

github.com/thoughtbot cleanup

Automatic Login Links

What’s Up With All These Changes in Rails? « Katz Got Your Tongue?

Folklore.org: Macintosh Stories

How we got the unusual symbol used for the menu command key

Automated Heroku Database Backups to Amazon S3, Rackspace Cloud Files, or Google Storage – Jack Chu

The heroku_cloud_backup gem also adds a rake task to your project, but supports all the providers that fog supports. It’s also a lot more configurable through the heroku config. The heroku:cloud_backup task, when called, will upload the latest PG Backup capture to the cloud using fog. Currently, it supports Amazon S3, Rackspace Cloud Files, and Google Storage.

iOS device and OS version stats from Instapaper 3.0 – Marco.org

Use concerns to keep your models manageable — Gist

The Most Important Code Isn’t Code

Documentation is the single most important change I’ve made to my coding style in the last year.

Jeff Bezos on innovation: Amazon ‘willing to be misunderstood for long periods of time’ – GeekWire

If it’s still Amazon’s philosophy to make bold bets, I would expect that maybe some of them wouldn’t work out, but I am just not seeing that. So, my question is where are the losers?

futuresimple/broadcast – GitHub

A broadcasting microframework making publishing of messages to different services easy.

Introducing appointment slots in Google Calendar – Official Gmail Blog

Reaching localhost from VMware / virtual machines on a Mac – Rowlando’s Blog

Jeff Dean’s Ruby Blog – Testing your gem against multiple rubies and rails versions with RVM

josh/ruby-coffee-script – GitHub

Ruby CoffeeScript Compiler

sstephenson/ruby-eco – GitHub

Ruby Eco Compiler

ksuther.com | Chax

Chax is a collection of minor modifications and additions that make using Apple’s iChat more enjoyable.

halostatue/rubypython – GitHub

RubyPython is a bridge between the Ruby and Python interpreters. It embeds a running Python interpreter in the Ruby application’s process using FFI and provides a means for wrapping, converting, and calling Python objects and methods.

RubyGems Guides

Learn how RubyGems works, and how to make your own.

Ryan’s Scraps: Extend Your ActiveRecord Association Methods

You can customize to your heart’s content – these are just some simplistic examples of how to plug into this nifty feature. I just recently stumbled upon it and thought it might be worth spreading the word since I found myself smitten by it.

RobertLowe/mynu – GitHub

mynu – A simple DSL to create a systembar menu with macruby in OSX

Divide and Concur « Code as Craft

Girl Friday – girl_friday

Optimizing Heroku

Michael van Rooijen (meskyanichi) – More concurrency on a single Heroku dyno with the new Celadon Cedar stack

You’d have a dyno that should (in terms of memory) be able to spin up 3 or 4 instances, but you were only able to spin up a single Thin instance per dyno. With Thin, even after the introduction of Cedar, this is still the case. But now since the application server constraint no longer exists, you can use Unicorn to do it. With this, you should be able to improve your application’s throughput by a factor of 3 to 4 on the same dyno.

whomwah/qlstephen – GitHub

A QuickLook plugin that lets you view plain text files without a file extension

This Blog Post Costs $3.99 : Planet Money : NPR

When something costs $3.99, you just round up and tell yourself it costs $4.00. Right?

Agile eLearning » Industrial Logic’s Greatest Hits » 2011 BLogic: Return of the Horizontal Slice

We can deliver value and learn faster by horizontally slicing our vertical slices and deploying those horizontal slices to production.

Buddhists make rational economic decisions | Diamond Way Buddhism UK Blog

Google Chrome – Why I Hate It And Continue To Use It

toretore/babilu – GitHub

JavaScript Rails internationalization

danwebb.net – Its About The Hashbangs

Commit f4897f890d8dd33215fef238902988e8823a6539 to jnicklas/capybara – GitHub

Capybara ate Steak, didn’t it?

highlight.js

Highlight.js highlights syntax in code examples on blogs, forums and in fact on any web pages. It’s very easy to use because it works automatically: finds blocks of code, detects a language, highlights it.

moocode – cloud infrastructure and services

“Our Marketing Is Up Fog Creek” And What We Did About It – Fog Creek Blog

Mission Bicycle Company

We build stunningly distinct machines designed for city riding.

How I’ve started to contribute to open source – Binary Balance

The rest of this post is devoted to a couple of small case studies in my open source contributions and the lessons that I have drawn from them, hopefully for the benefit of those of us who may be interested in beginning to contribute to OSS.

Creating strongly-typed, app-wide, user-editable settings

rake deploy and rake cache_assets for Heroku (storing JS minimized and gzipped on Amazon S3) — Gist

rake deploy and rake cache_assets for Heroku (storing JS minimized and gzipped on Amazon S3)

javan/copy – GitHub

Sinatra-based CMS

Hype

Using Hype, you can create beautiful HTML5 web content. Animations and interactive content made with Hype work on desktops, smartphones and iPads. No coding required.

Fetch.io | Cloud Storage & Media, supports RapidShare, MegaUpload, MediaFire, BitTorrent, and more

FETCH.IO LETS YOU DOWNLOAD MEDIA FROM MULTIPLE SOURCES AND STREAM THEM INSTANTLY, FAST.

contrast/uploadify-s3 – GitHub

A rails plugin for using uploadify direct to S3

Amazon Now Selling More Kindle Books Than Print Books

elabs/front_end_testing_talk – GitHub

Our presentation “The Front End Testing Frontier” given by cjkihlbom and jnicklas at Scottish Ruby Conference 2011.

Perl, the first postmodern computer language – Perl.com

Netflix passes BitTorrent in U.S. bandwidth traffic

New Relic Releases Real User Monitoring and Ditches RPM Name

yostudios/Spritemapper – GitHub

CSS Spritemap Generator

DHH’s RailsConf 2011 Keynote Live-Blogged Here

Sinatra: Frequently Asked Questions

How do I automatically escape html?

Links for 5-17-11

Lots of links. It’s been too long!

Legacy Development with Pow « Stuff… And Things…

However, there is a downside:  Pow doesn’t play nicely with Apache (or any server listening on port 80). Life isn’t all greenfield, if in the course of the day you need to work on PHP or CGI legacy apps Pow is not so simple.   Pow creates a firewall rule that redirects port 80 to its port; to access Apache you need to either toggle the firewall rule on and off or move Apache to a different port all together. And now you’re running two web servers.  There has to be a better way.

unconed/TermKit – GitHub

Experimental Terminal platform built on WebKit + node.js. Currently only for Mac, though the prototype works 90% in any WebKit browser.

guard/guard – GitHub

Guard is a command line tool to easily handle events on files modifications (FSEvent / Inotify / Polling support).

My Github Issues — Gist

Download github issues for offline access

achiu/terminitor – GitHub

Terminitor automates your development workflow setup. Less time setting up, more time getting things done.

Getting Organized with the Tasks API – Google Apps Developer Blog

Mailgun: Programmable Email Servers and Mailbox API

Send, track and analyze. Receive, parse and store.

Rails 3: Fully Loaded | Intridea Blog

I’d like to share a stack of gems that I’ve been using this year. Hopefully they will give people a bit of help while developing a new Rails 3 app.

Exit Interview: Newsvine’s Mike Davidson – (37signals)

Heroku: How does Heroku work? – Quora

Obtiva’s Newest Senior Consultants

Are Four Words Worth $25 Billion for Groupon? – BusinessWeek

Sass on Heroku or any generated files for that matter – UnderpantsGnome

Since Heroku doesn’t care what you push to it as long as it is in the master branch on their end, why not generate the assets in a throwaway branch and push that up?

johnmuhl/html5.tmbundle – GitHub

HTML bundle for TextMate

Twitter sparklines

Just How Dangerous Is Sitting All Day? [INFOGRAPHIC]

Applying the Unix Process Model to Web Apps

The unix process model is a powerful way to approach running your web app. Procfile gives us a way to declare process types, and Foreman gives us an easy way to run the app’s processes in both development and deployment environments.

Organized Models (Episode #173 – May 6th, 2011)

Reversible Migrations

Better – Merlin Mann

The Changelogs for Rails 3.1 Beta 1 — Gist

Queue failed Solr calls with Delayed::Job – UnderpantsGnome

rubygems 1.8 is coming – Polishing Ruby

Musings from Boulder – Waiting for jQuery Ajax calls to finish in Cucumber

martinbtt/net-http-spy – GitHub

Ever wondered what HTTP requests the Ruby gem you are using to connect to a third party API is making? Use HTTP Spy to see what is going on behind the scenes

zencoder/video-js – GitHub

VideoJS is an HTML5 video player that uses the HTML5 video tag built into modern browsers, and uses javascript to add custom controls, new functionality, and to fix cross browser bugs.

tenderlove/rails_autolink – GitHub

This is an extraction of the `auto_link` method from rails. The `auto_link` method was removed from Rails in version Rails 3.1. This gem is meant to bridge the gap for people migrating.

Fixing Uninitialized Constant MysqlCompat::MysqlRes Error on Snow Leopard

pengwynn/octokit – GitHub

Simple Ruby wrapper for the GitHub v2 API and feeds

joshsusser/informal – GitHub

Easily use any Plain Old Ruby Object as the model for Rails form helpers.

The “book” is dead [dive into mark]

What Safari’s “Reading List” in Lion means for Instapaper – Marco.org

Starbucks practices extremely predatory site selection for their stores: they’ll intentionally move in right across the street from or immediately next door to independent coffee shops, in an unnecessarily aggressive effort to drive them all out of business. It puts the bad ones out of business, but it actually helps the good ones.

The Netflix Tech Blog: Lessons Netflix Learned from the AWS Outage

AWK-ward Ruby

Real time vs. slow time – and a defense of sane work hours – (37signals)

Subtle Patterns | High quality patterns for your next web project

Netflix tops Comcast as largest video subscription service – Apr. 25, 2011

Netflix knocked over a new milestone Monday: It now has more subscribers than the largest cable TV operator in the U.S.

MongoDB as a Key-Value Solution for Logging Events Data | Engine Yard Ruby on Rails Blog

Tech Notes: Complexity is the enemy

Another word for this problem is cleverness: to quote another one of the C hackers, “Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.”

CodeConf Sunday Summary – The Changelog – Open Source moves fast. Keep up.

CodeConf Saturday Summary – The Changelog – Open Source moves fast. Keep up.

injekt/slop – GitHub

Option gathering made easy

Edge Rails.info :: ActiveRecord Identity Map

If you’ve been using rails for a while now you may be familiar with Active Record’s query cache. The query cache is a powerful part of Active Record which reduces unnecessary SQL calls and provides general speed improvements, especially when dealing with associations. The problem with the query cache, however, is when retrieving two identical records from the database two in-memory objects will still be created.

The Sad, Beautiful Fact That We’re All Going To Miss Almost Everything : Monkey See : NPR

Showoff

The easiest way to share localhost over the web.

How Twitter Was Founded

How to Play with Rails 3.1, CoffeeScript and All That Jazz Right Now

Maybe I’m weird (actually, there’s no maybe about it) but when I first heard about Rails 3.1 getting CoffeeScript and Sass out of the box, I wanted to see how it worked and how smooth the process would be. So like quite a few people on IRC I’ve seen, I installed edge Rails (currently 3.1.0-beta) and got playing. (Yes, it’s PRE-RELEASE. Expect mischief!)

Subtraction.com: Commented Out

Rails 3.1 Adopts CoffeeScript, jQuery, Sass and.. Controversy

I’m glad David’s stepping into these sorts of discussions again. He seemed to fade away during the year before Rails 3 came out, leaving a lot of the “thought leadership” to Yehuda Katz. Now he’s back on top form and talking sense – long may it last.

The Quest Continues: Introducing capybara-webkit – GIANT ROBOTS SMASHING INTO OTHER GIANT ROBOTS

What we need was a real rendering engine coupled with a full Javascript and DOM implementation, but without all the cruft of a GUI browser. What we really wanted was a headless implementation of WebKit’s rendering engine that could be driven by Capybara tests. After Tristan “Websockets” Dunn showed me PhantomJs, I realized this might be possible using Qt’s WebKit implementation.

meskyanichi/hirefire – GitHub

HireFire automatically “hires” and “fires” (aka “scales”) Delayed Job (and soon Resque too!) workers on Heroku. When there are no queue jobs, HireFire will fire (shut down) all workers. If there are queued jobs, then it’ll hire (spin up) workers. The amount of workers that get hired depends on the amount of queued jobs (the ratio can be configured by you). HireFire is great for both high, mid and low traffic applications. It can save you a lot of money by only hiring workers when there are pending jobs, and then firing them again once all the jobs have been processed. It’s also capable to dramatically reducing processing time by automatically hiring more workers when the queue size increases.

Learn more on Cloud Foundry

Cloud Foundry, a VMware-led project is the world’s first open Platform as a Service (PaaS) offering. Cloud Foundry provides a platform for building, deploying, and running cloud apps using Spring for Java developers, Rails and Sinatra for Ruby developers, Node.js and other JVM frameworks including Grails.

Launching Trajectory: Communication Builds Better Software – GIANT ROBOTS SMASHING INTO OTHER GIANT ROBOTS

Over the past 8 years, we’ve used many tools for project communication and planning and we tried very hard to not write our own. The latest combination was Basecamp and Pivotal Tracker. Basecamp was great for discussion and communication. Pivotal Tracker was great for user stories and emergent planning.

However, we’ve grown tired of having one tool that designers love, one tool that developers love, and no tool that clients love.

Rodreegez/powder – GitHub

Syntactic suger for http://pow.cx/

Issues 2.0: The Next Generation – GitHub

Facebook’s Open Compute Project

Better AWS Access Control with IAM (and Fog)

Any MacRuby Apps in the App Store? Yes. – RedwoodApp Development Blog

Ephemeralization

jashkenas/coffee-script-tmbundle – GitHub

A TextMate Bundle for CoffeeScript

githits.me

Most followed users on github by city.

josh/nack – GitHub

Node powered Rack server

37signals/pow – GitHub

Zero-configuration Rack server for Mac OS X

jcf/git-tmbundle – GitHub

The Git TextMate Bundle

Bookmarks Bar Keyboard Shortcuts – Google Chrome extension gallery

Trigger the first ten Bookmarks Bar items with Ctrl+1 through Ctrl+0 (on OS X; it’s Alt on Windows, Meta on Linux).

37signals Product Blog: Using MailChimp and Highrise together to create mailing lists and track campaigns

Call Me Fishmeal.: Success, and Farming vs. Mining

Felix’s Node.js Guide

Heroku | Dev Center | Managing Multiple Environments for an App

sstephenson/eco – GitHub

Eco lets you embed CoffeeScript logic in your markup. It’s like EJS and ERB, but with CoffeeScript inside the . Use it from Node.js to render your application’s views.

8 Ways Companies Can Contribute to Open Source Communities

Permit (freely encourage) your developers to engage with the OSS community around each project. They, and your company, will get two primary benefits: You will gain a more intimate understanding of the projects, and you will have social and productive relationships with the other core developers and contributors in the community. It’s easy to ask a friend to help solve a problem. The first step is to contribute to their project; friendship and partnership will follow.

cbeier/heroku_asset_packager – GitHub

A plugin to duck-punch asset packager and provide middleware to work on Heroku with a ROFS.

Testing Advice in Eleven Steps « Rails Test Prescriptions Blog

As it happens, my generic advice on Rails testing hasn’t changed substantially, even though the tools I use on a daily basis have.

Official Google Blog: +1’s: the right recommendations right when you want them—in your search results

Today we’re taking that a step further, enabling you to share recommendations with the world right in Google’s search results. It’s called +1—the digital shorthand for “this is pretty cool.” To recommend something, all you have to do is click +1 on a webpage or ad you find useful. These +1’s will then start appearing in Google’s search results.

Thoughts on testing – part 1 – Object Reload

It doesn’t take a genius to realise that testing is a very personal matter. From Test::Unit purists to RSpec evangelists, everyone has their own take on testing Ruby code. And whilst we believe that not only there are no silver bullets in most of the problems in software development but personal preferences make it unlikely that there will ever be any, we’d like to share our thoughts about testing in this series of posts. We hope it will be as enjoyable for you to read as it was for us to write.

Website Monitoring and Load Testing – In The Cloud | BrowserMob

BrowserMob Provides FREE Website Monitoring and Load Testing [Used by github]

JSONView for Chrome™ – Google Chrome extension gallery

JSONView for chrome is an extension that helps you to parse and view JSON documents

jamesgolick/always_verify_ssl_certificates – GitHub

Ruby’s net/http is setup to never verify SSL certificates by default. Most ruby libraries do the same. That means that you’re not verifying the identity of the server you’re communicating with and are therefore exposed to man in the middle attacks. This gem monkey-patches net/http to force certificate verification and make turning it off impossible.

bcardarella/client_side_validations – GitHub

Rails 3 Client Side Validations

citizen428/methodfinder – GitHub

A Smalltalk-like Method Finder for Ruby. Provided with a receiver, a desired result and possibly some arguments, it will list all methods that produce the result when called on the receiver with the arguments.

mislav/faraday-stack – GitHub

an add-on library that implements several middleware (such as JSON and XML parsers) and helps you build an awesome stack that covers most of your API-consuming needs.

Commit cb3e96a447df592947ae10221c7494eb8bf08012 to rails/rails – GitHub

Make JavaScriptHelper#j() an alias for JavaScriptHelper#escape_javascript()

TwP/turn – GitHub

A new look and feel for Test::Unit output — Test::Unit Reporter (New)

Commit f8a05ad297d637596d029b013bb65128ca0aa8bd to rails/rails – GitHub

Allow FormHelper#form_for to specify the :method as a direct option instead of through the :html hash

Commit 2c0c4d754e34b13379dfc53121a970c25fab5dae to rails/rails – GitHub

Add `config.force_ssl` configuration which will load `Rack::SSL` middleware if set to true

Commit e2b07ee000439d0bd41f725ff9f7ad53e52a7e9b to rails/rails – GitHub

Added Base.http_basic_authenticate_with to do simple http basic authentication with a single class method call

TomK32/macruby-statusmenu – GitHub

An example for a StatusMenu application written in MacRuby

Adding additional processing support to CarrierWave » Transcending Frontiers

Out of the box CarrierWave provides a consistent interface to process images using RMagick, MiniMagick or ImageScience. Resizing and cropping is supported for all three image processing engines but setting the quality or removing personal data is not supported. Thankfully, CarrierWave provides an easy way to extend the default functionality so we can do more.

Rails 3 + Devise + Uploadify = No Flash Session Hacks

So, this token authentication got me thinking. Instead of sending an encoded string with session information to flash, which in turn sends it to the server, which in turn hacks it into an actual session, I could just send the user’s authentication token along! No sever-side hacks required – it’s all built in into devise already!

Job: Rails Programmer – 37signals

Amazon Web Services Blog: Amazon EC2 Dedicated Instances

Skills Matter : CukeUp! 24-03-11

Product design at GitHub — Warpspire

Ten Lessons from GitHub’s First Year

Bootstrapped, Profitable, & Proud: Coudal

David Worthington’s Mom Reviews the iPad, Her First Computer

Mom: Yeah. I’m doing more and more of that lately. I’m learning from my mistakes, and beginning to use Google.

Ryan Singer at Future of Web Apps, London 2010 on Vimeo

Here’s a talk I gave at Future of Web Apps 2010 in London. In this talk, I walk through the steps of creating a web app including modeling, sketching, HTML, Photoshop explorations, and moving from static mockups to live running code. Each step is illustrated with a real example, including some live sketching and live HTML. I also wanted to give a sense of how we think about apps at 37signals, as a stack of different levels that we can iterate on individually.

Visualizing a product’s UI and code layers – (Ryan Singer)

If I ask you to visualize a software product, a picture of the interface probably comes to mind. From the user’s perspective, the interface is the product. For us on the development side, the product is more than that. It’s the interface, the code, the connections from code to UI, the separations of concerns and the boundaries between features.

soveran/ohm – GitHub

Object-Hash Mapping for Redis

ezmobius/redis-rb – GitHub

A ruby client library for the redis key value storage engine

Using Redis with Ruby on Rails

TL;DR: Redis is fucking awesome.

Why I Don’t Do Sales On The App Store « carpeaqua by Justin Williams

defunkt/jquery-pjax – GitHub

pushState + ajax = pjax. pjax loads HTML from your server into the current page without a full reload. It’s ajax with real permalinks, page titles, and a working back button that fully degrades.

Code School – Learn by Doing

An interactive online marketplace where you can learn to code directly in the browser

vinibaggio/outpost – GitHub

Monitor your service’s availability through a simple, clean DSL

mperham/lunchy – GitHub

A friendly wrapper for launchctl

outoftime/sunspot – GitHub

Solr-powered search for Ruby objects

loopj/jquery-tokeninput – GitHub

Tokeninput is a jQuery plugin which allows your users to select multiple items from a predefined list, using autocompletion as they type to find each item. You may have seen a similar type of text entry when filling in the recipients field sending messages on facebook.

Bake, Don’t Fry (Aaron Swartz: The Weblog)

inessential.com: A plea for baked weblogs

nathansmith/formalize – GitHub

Teach your forms some manners

Sign, edit, and fax documents online | HelloFax

With HelloFax, you can send faxes, sign documents and fill out forms… all from your computer.

Y Combinator Startup Demo Day Winter 2011, With Company List | Liz Gannes | NetworkEffect | AllThingsD

Y Combinator on Tuesday showed off its latest class of start-ups at its Mountain View, CA, headquarters, offering an extra-large sampler pack of developer tools; social apps; lots of services for markets like real estate, doctors and parents; and, of course, a few of its trademark productivity apps.

Javascript integration testing example: installing and using Mixpanel – GIANT ROBOTS SMASHING INTO OTHER GIANT ROBOTS

We’ve been on a quest for years to make sure our integration tests covered the Javascript components of the app. We noted in November that we felt the community had reached an important plateau with a toolset of Cucumber, Capybara, and Akephalos.

While still frequently painful, our default mentality on new projects is “we will be able to test the Javascript components of this app in our usual integration tests.”

bernerdschaefer/akephalos – GitHub

Headless HTMLUnit powered browser for Capybara

Digital Subscription Prices Visualized (aka The New York Times Is Delusional)

The New York Times pricing seems designed not to get people to subscribe digitally, but rather to discourage existing subscribers from cancelling their print subscriptions. I think the chart above validates that view: they apparently have no interest in competing for digital-only dollars. 

devstructure/blueprint – GitHub

Reverse engineer server configuration

Newspaper Club | Helping people to make their own newspapers

We’re here to help you make your own newspapers. You can use our online tool to upload and arrange your words and pictures or you can use the site to send us a PDF. We print every Tuesday afternoon, and you’ll get your papers in about a week.

Desktime – Shared Desks and Coworking

Rent shared spaces, empty desks, conference rooms, or entire offices by the day, week, or month.

jlong/serve – GitHub

Serve is a small Rack-based web server and rapid prototyping framework for Web applications (specifically Rails apps). It is designed to compliment web application development and enforce a strict separation of concerns between designer and developer. Using Serve allows the designer to work in a separate prototype project, while the developer can work on the actual application and utilize resources from the prototype as needed. This allows the designer to focus on presentation and flow, while the developer can focus on implementation.

Alex Payne — Not A Waste

Building a business around maximizing your individual happiness is not particularly useful or admirable. That is my position, and I’m well aware that it may be unpopular with some.

ketralnis comments on Why reddit was down for 6 of the last 24 hours.

I don’t work for reddit anymore (as of about a week ago, although I didn’t get as much fanfare as raldi did), but I can tell you that they’re giving Amazon too much credit here. Amazon’s EBSs are a barrel of laughs in terms of performance and reliability and are a constant (and the single largest) source of failure across reddit.

Lessons from 11 years of community (my SXSW 2011 talk) on Vimeo

A lot of people missed my talk so I recorded it in my office as soon as I got home from Austin. It covers mainly moderation tips and ideas for building tools for more effective moderation.

drbrain/meme – GitHub

Generate memes from http://memegenerator.net

the { buckblogs :here }: Infinity

Clarifying the Roles of the .gemspec and Gemfile « Katz Got Your Tongue?

Links for 3-15-11

A digest of my recent links on Pinboard:

Pivotal Labs: Talks

Kevin Kelly, Founding Executive Editor of Wired Magazine and noted technologist, presents ideas from latest book, What Technology Wants. “[T]echnology as a whole is…a living, evolving organism that has its own unconscious needs and tendencies.”

viatropos/queuable – GitHub

Free Cron and Background Jobs for Heroku

joshaven/string_score – GitHub

JavaScript string ranking 0 for no match upto 1 for perfect… “String”.score(“str”); //=> 0.825

seatgeek/soulmate – GitHub

Redis-backed service for fast autocompleting – extracted from SeatGeek

Hacker News | iOS Libraries

1.0 Is the Loneliest Number — Matt Mullenweg

janmonschke/backbone-couchdb – GitHub

A couchdb connector for backbone with support for real time changes.

Seth’s Blog: Bring me stuff that’s dead, please

The drive-by technorati are well-informed, curious and always probing. They’re also hiding… hiding from the real work of creating work that matters, connections with impact and art that lasts. I love to hear about the next big thing, but I’m far more interested in what you’re doing with the old big thing.

Contrast | The Blog | The future of analytics products

injekt/rack-pygmentize – GitHub

Rack middleware to pygmentize your code blocks

bmabey/database_cleaner – GitHub

Strategies for cleaning databases in Ruby. Can be used to ensure a clean state for testing.

ajmurmann/resque-heroku-autoscaler – GitHub

Resque plugin to autoscale your workers on Heroku

asynchrony/image_science – GitHub

Variant of ImageScience that does not require RubyInline

Hacker News | Twitter to developers: no new Twitter clients

linux – Is it normal to get hundreds of break-in attempts per day? – Server Fault

I just checked my server’s /var/log/auth.log and found that I’m getting over 500 failed password/break-in attempt notifications per day! My site is small, and its URL is obscure. Is this normal? Should I be taking any measures?

couchbaselabs/iOS-Couchbase – GitHub

A build of Apache CouchDB optimized for iPad, iPhone, and iPod Touch

wycats/artifice – GitHub

Replaces Net::HTTP with a subclass that routes all requests to a Rack application

josevalim/elixir – GitHub

Simple Object Orientation and charming syntax on top of Erlang

mdub/sham_rack – GitHub

run Rack applications in-process, without a server

The Pragmatic Studio | Transitioning to Xcode 4

Xcode 4 was released today, and we have 6 free screencasts available to help you quickly make the transition and learn time-saving keyboard shortcuts along the way

Xcode 4 released with git integration – GitHub

Today Apple released Xcode 4. We’re pretty excited over here because Xcode 4 is the first Xcode release to support git natively. What’s even more, new projects default to git repos!

Text of Steve Jobs’ Commencement address (2005)

Again, you can’t connect the dots looking forward; you can only connect them looking backwards. So you have to trust that the dots will somehow connect in your future. You have to trust in something — your gut, destiny, life, karma, whatever. This approach has never let me down, and it has made all the difference in my life.

Sound Stage for Mac

Make iOS App Trailers

sdsykes/slim_scrooge – GitHub

SlimScrooge heavily optimises your database interactions

Why Angry Birds is so successful and popular: a cognitive teardown of the user experience

Why is it that over 50 million individuals have downloaded this simple game? Many paid a few dollars or more for the advanced version. More compelling is the fact that not only do huge numbers download this game, they play it with such focus that the total number of hours consumed by Angry Birds players world-wide is roughly 200 million minutes a DAY, which translates into 1.2 billion hours a year. To compare, all person-hours spent creating and updating Wikipedia totals about 100 million hours over the entire life span of Wikipedia (Neiman Journalism Lab). I say these Angry Birds are clearly up to something worth looking into.

Anatomy of a Crushing (Pinboard Blog)

A number of people asked about the technical aspects of the great Delicious exodus of 2010, and I’ve finally had some time to write it up.

postrank-labs/goliath – GitHub

Goliath is a non-blocking Ruby web server framework

ccgus/fmdb – GitHub

A Cocoa / Objective-C wrapper around SQLite

jcoglan/primer – GitHub

Intelligent caching, no observers necessary

aslakhellesoy/aruba – GitHub

Cucumber steps for driving out command line applications. The command line application can be anything, a compiled C program, a Java program, a Perl script – anything.

Gauges

Collect and analyze your web traffic in real-time using our fast, reliable hosted system.

OpEd: For employment’s sake, Chicago’s small businesses need support from all sides | Opinion | Crain’s Chicago Business

General Assembly Aims to Gather New York Techies – NYTimes.com

A new business in the Flatiron district of Manhattan called General Assembly is not a university, but its founders hope it will seem like one. The 20,000-square-foot space offers desks, Internet access, classes and other services for entrepreneurs.

How an Illinois rest stop inspired a web page – (37signals)

What’s New in Sinatra 1.2?

As announced on the mailing list, we have just released Sinatra 1.2.0. Let’s have a closer look at the new features.

Musings from Boulder – Testing OmniAuth based login via Cucumber

This morning we needed to write a Cucumber scenario to test that a user could log into the system using Google Apps.

Tabs – Interface Icons for iOS & Designers

rmm5t/jquery-timeago – GitHub

Timeago is a jQuery plugin that makes it easy to support automatically updating fuzzy timestamps (e.g. “4 minutes ago”).

A Few ObjectId Tricks // MongoTips by John Nunemaker

One of the things that I was not aware of until recently is how handy MongoDB’s object ids actually are. Below are a few tips based on some things I have been doing lately.

airblade/paper_trail – GitHub

Track changes to your models’ data. Good for auditing or versioning

dolzenko/silent-postgres – GitHub

Rails plugin that silences Postgresql connection adapter verbose output

Hacker News | Joyent: 54+ hours of downtime

markevans/dragonfly – GitHub

An on-the-fly processing/encoding framework written as a Rack application.

Jerry Seinfeld’s Productivity Secret

Years ago when Seinfeld was a new television show, Jerry Seinfeld was still a touring comic. At the time, I was hanging around clubs doing open mic nights and trying to learn the ropes. One night I was in the club where Seinfeld was working, and before he went on stage, I saw my chance. I had to ask Seinfeld if he had any tips for a young comic. What he told me was something that would benefit me a lifetime…

On the Front Lines, In the Trenches – (37signals)

When I was at the Crate and Barrel store helping a woman find a set of drinking glasses I had a short conversation with her about what sort of glasses she was interested in. There are so many glasses at the Crate. In this 5 minute conversation I helped her hone in on the right glasses. Making this one $9.99 sale taught me loads more than a graphic design book had ever done. I remembered this later as I designed the UI for the website.

Disabling ActiveModel callbacks – Jeff Kreeftmeijer

If you can’t or you’re completely sure you have a valid reason to skip your callbacks, you probably tried something like removing the callback method but found out that didn’t work anymore.

Amazon Web Services Blog: AWS CloudFormation – Create Your AWS Stack From a Recipe

Our newest creation is called AWS CloudFormation. Using CloudFormation, you can create an entire stack with one function call. The stack can be comprised of multiple Amazon EC2 instances, each one fully decked out with security groups, EBS (Elastic Block Store) volumes, and an Elastic IP address (if needed). The stack can contain Load Balancers, Auto Scaling Groups, RDS (Relational Database Service) Database Instances and security groups, SNS (Simple Notification Service) topics and subscriptions, Amazon CloudWatch alarms, Amazon SQS (Simple Queuue Service) message queues, and Amazon SimpleDB domains.

blueimp/jQuery-File-Upload – GitHub

jQuery File Upload Plugin

Copycopter

Copycopter lets you edit live copy in your web app. Setup is simple and managing copy is simple, flexible and forgiving.

Cross browser testing with Selenium – Sauce Labs

Because you understand that test/behavior driven development and continuous integration make your web applications easier to develop with fewer bugs. We run your Selenium tests 10x faster in parallel, cut your infrastructure overhead, increase the velocity of your agile development process, run browsers in the cloud, deliver live test video, provide secure tunnels and live/breath Selenium testing.

imakewebthings/jquery-waypoints – GitHub

Waypoints is a small jQuery plugin that makes it easy to execute a function whenever you scroll to an element

fastestforward/rollout – GitHub

Conditionally roll out features with redis + memcache.

cleditor/cleditor – GitHub

a lightweight jQuerified HTML editor

nesquena/query_reviewer – GitHub

An excellent development aid. Will run “EXPLAIN” before each of your select queries in development, and provides a display which makes them easy to browse. In this fork, gemified and compatible with Rails 2 + 3.

Alex Young: We Are The App Store

Without Readability and innovative small businesses like it, the App Store is nothing. What’s an App Store without Apps? A way to sell Apple’s over-hyped and underused applications like Pages for iPad?

Marco.org – Subscriptions and the new In-App Purchase requirement

The discussion shouldn’t be whether Apple can enforce this policy, but whether they should. And if you look at what this does to developer relations, big and small, it’s easier to argue that this is likely to result in more harm than good to the iOS platform.

The Science of Entrepreneurship | Dustin Curtis

I think to build a great company you need to have a well defined hypothesis based on a theory for a market’s evolved future.

And I think the most effective way to enter that market is to build a company like a scientist testing the theory. As an experiment.

Identity Map and ActiveRecord

As many of you may know IdentityMap was merged recently into ActiveRecord.

seattlerb/minitest – GitHub

minitest provides a complete suite of testing facilities supporting
TDD, BDD, mocking, and benchmarking.

defunkt/dotjs – GitHub

dotjs is a Google Chrome extension that executes JavaScript files in ~/.js based on their filename. If you navigate to http://www.google.com/, dotjs will execute ~/.js/google.com.js.

Icons

These are icons I drew for my personal needs. They are all in vector and drawn on this page with Raphaël

Amazon Web Services Blog: Host Your Static Website on Amazon S3

You can now configure and access any of your S3 buckets as a “website.” When a request is made to the root of your bucket configured as a website, Amazon S3 returns a root document. Not only that, if an error occurs your users receive an HTML error document instead of an XML error message. You can also provide your own error documents for use when a 4xx-class error occurs. 

Casecommons/pg_search – GitHub

PgSearch builds ActiveRecord named scopes that take advantage of PostgreSQL’s full text search

Linux is not about choice [was Re: Fedora too cutting edge?]

If I could only have one thing this year, it would be to eliminate that
meme from the collective consciousness.

nickvegas.tv – Your Twenty Four Hours

Try this. Set a timer to go off once every hour. When that timer beeps, ask yourself “Is what I am doing right now important?” If it is, continue. If not, stop what you were doing and put your twenty four hours into something that matters.

madrobby/zepto – GitHub

zepto.js is a minimalist inlinable framework for mobile WebKit browsers, with a jQuery-like chaining syntax

soveran/ost – GitHub

Redis based queues and workers

amatsuda/kaminari – GitHub

A Scope & Engine based clean and powerful and customizable and sophisticated paginator for Rails 3

Sophie’s Voice: Scaling the Personal Touch in Customer Service | Xconomy

We learned pretty early that WePay users who have interacted at least once with a WePay representative are happier with the service, transact more, and are more likely to refer friends.. When you register for WePay, you don’t get an e-mail from “no-reply@WePay.com,” you get an e-mail from “sophie@wepay.com.” If you reply, it goes directly to her, and she responds.

CouchOne — Your Data. Anywhere.

CouchOne and Membase Merge Companies and Technologies to Create the First Comprehensive, End-to-End NoSQL Database

New Ruby 1.9 Features, Tips & Tricks – igvita.com

For the most part, you could upgrade from Ruby 1.8.x and remain blissfully unaware of the many updates and improvements within the language – but what fun would that be?

When to use alias_method_chain – metautonomo.us

alias_method_chain is frequently abused in the Rails world, but it wouldn’t exist if there wasn’t a valid use case.

How Percona does a MySQL Performance Audit – MySQL Performance Blog

Our customers or prospective customers often ask us how we do a performance audit (it’s our most popular service). I thought I should write a blog post that will both answer their question, so I can just reply “read all about it at this URL” and share our methodology with readers a little bit. This fits well with our philosophy of openness. It also shocks people sometimes — “you’re giving away the golden goose!” Not really. What you hire us for is our experience, not a recipe that anyone can follow.

Logging outgoing emails in Rails 3

Let’s say you want to have a log of all outgoing emails in your Rails 3 app. Thanks to some pretty sweet notification support in the Mail gem, it’s really simple. Here’s an example using Mongoid:

Initially, I was logging the entire contents of the email, but that included attachments as well. So, now I’m just logging the body. I wonder if there’s a better choice of what to log, though…

Any ideas?