Category: Tumbles

code

Code: Prototype Auto-build TextMate Command

Bind to ⌘S. Will execute rake dist automatically if you just saved a file in the src directory.

#!/usr/bin/env ruby

# Save: Current File
# Input: None
# Output: Discard
# Scope: source.js.prototype

FILE = ENV['TM_FILEPATH']
DIR  = File.dirname(FILE)
if (DIR =~ /\/src$/)
  basedir = DIR.gsub(/\/src$/, '')
  Dir.chdir(basedir)
  `/usr/local/bin/rake dist -f #{basedir}/Rakefile`
end
link
1

Digg scares me. Yeah, me too. Digg added moderation to comments a while back, but as far as I can tell it hasn’t raised the level of discussion. The community seems to reward the same qualities in comments as it does in stories.

thought
1

In a recent e‐mail, a French co‐worker wished me a happy new year and added, “I wish you to be able to do this year everything you were not able to do last year.” I’m not sure if that’s a translated French saying or simply a poetic aside, but I like it a lot.

quotation

Relying on software to pick colors for you is like letting your mother pick your clothes.

Amy Hoy
link

Gladwell on Enron: a mystery, not a puzzle. Everything he’s saying is correct, but it seems like it’s the job of a company’s management not to let themselves get into a financial situation that’s so hopelessly complex that nobody on earth can make sense of it. And it’s the job of the government to regulate the ways in which companies can get sleazy with their books.

link

danah boyd on ephemeral profiles. In this same vein, for several of my friends it was common to have several different IM screennames reflecting several different levels of availability. So if you’re writing a paper and don’t want to have eight different conversations with random acquaintances, you can switch to a login that only your “inner circle” knows, rather than sign off entirely.

thought
9

Inspired by Simon’s screencast, I’ve enabled OpenID comments on my blog. I’m sure I’ve overlooked something, so feel free to test it out on this post and tell me if something doesn’t work right. If you don’t have an OpenID yet, get one!

quotation

By the way, I would have voted for Drew Brees for “most accurate,” and the evidence backs it up: Only 44 poor throws out of a league‐leading 479 pass attempts for a 9.9 percentage of bad throws… He’s also an astonishing 26‐for‐45 for 14 TDs, 2 INTs and 1,112 yards on throws that travel at least 21‐plus yards in the air. He leads the league in 20‐plus yard passes (55) and 20‐plus yard touchdowns (16). He has the best TD/INT differential in the league (+15). He’s second in passing for first downs (180 overall). He’s even second in the league in dropped passes by his receivers (28). Look, I know Tomlinson has been amazing, but Brees has been playing out of his mind with a collection of rookies and castoffs. He has to be the MVP through 14 weeks. No other choice is acceptable.

Bill Simmons
quotation

We used to quip that “password” is the most common password. Now it’s “password1.” Who said users haven’t learned anything about security?

Bruce Schneier