Rounded Corners 270 — Wet streets cause rain

Well informed. Hat’s off to Tumblr, they steered clear of two fallacies that fail so many Web developers: not understanding REST, and applying that label to anything CRUD HTTP or composable URL patterns:

Strict REST is great dogma that’s difficult to practice. Instead of attempting to be completely “RESTful,” we created simple URLs that enable composability for the average human.

For example, developers commonly need to pull a blog’s avatar. Knowing just the URL of your favorite blog makes this as simple as http://api.tumblr.com/v2/blog/derekg.org/avatar, which returns a sane default size. If you want something bigger, append the size and you’ve got it: http://api.tumblr.com/v2/blog/derekg.org/avatar/512

jFaster. jQuery proven performance tips and tricks.

JSONProxy. This is a cool Nginx hack that turns a 3rd party JSON API into JSONP. Mostly, it’s a cool Nginx hack that may open your brain to other cool Nginx hacks (via @rmanalan):

1
2
3
4
5
location ^~ /ext_api3/ {
  echo_before_body 'parseResponse(;
  proxy_pass http://api.external.com/;
  echo_after_body ');';
}

Autocorrect. maybeyoumeant is an IRB plugin that suggests corrections for misspelled method names.

Bump. The Bump team on how they use Redis for message passing, async logging, social graph and more:

It’s become the Swiss Army knife here a Bump, except that it opens the bottle of wine faster than anything else, instead of leaving half the cork in there.

$ ufw — UncomplicatedFirewall, basically iptables for dummies (like me).

1
2
3
$ sudo ufw allow ssh/tcp
$ sudo ufw logging on
$ sudo ufw enable

Wet streets cause rain. This is now my favorite idiom, unfortunately I get to use it so often. From this Michael Crichton quote which describes the sad state of journalism.

 

 

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>