Vim search Dash

I use [MacVim](http://code.google.com/p/macvim/) as my editor and [Dash](http://kapeli.com/dash) as my documentation browser. They’re great. Also, Dash has the best nag-screen mechanism I’ve ever seen.

If you use them, too, I wrote a bit of Vim script to make looking things up about 0.5 seconds faster each time. Imagine, _all that productivity!_ Just position your cursor on the word you want to look up, leader-d, and the script will try to search the right docset in Dash based on the filetype you’re editing. E.g. for JavaScript files, I have it configured to launch js:term in Dash, which searches both the jQuery and JavaScript docs for that term. (Source: a great tip from [Kapeli](https://twitter.com/kapeli/statuses/239927573096837123) himself. Herself? Itself?)

I’d love to hear suggestions on how to generalise this, without manually adding docsets each time. I tried passing in the filetype to Dash as the search term, but got tripped up by some asset files in Rails that Vim thought were ERB…

Ants invented TCP/IP

Stanford Engineering:

A forager won’t return to the nest until it finds food. If seeds are plentiful, foragers return faster, and more ants leave the nest to forage. If, however, ants begin returning empty handed, the search is slowed, and perhaps called off.

They’re stronger than us, more plentiful, and now we find out they invented the Internet. I’d start making offerings to our future ant overlords, but they already eat half the cat food in my kitchen now so what’s the point.

Failing Coursera

Tim Owens, on “failing” Coursera courses:

For much of the course I felt like a bystander. Here I was watching a set of videos chosen by my professor. I may or may not have a quiz at the end of the week to gauge my learning. The videos were interesting, but I left feeling like I hadn’t participated. […] I can’t tell you the name of a single other person that was in this course and it started with over 40,000. I think that’s a shame and something they could improve on.

I’ve yet to pass a single Coursera course myself–I’ve “failed” Algorithms and HCI so far. However, I do feel like I’ve really learned something from the parts of the courses I’ve taken, and I appreciate how Coursera and other [MOOCs](http://en.wikipedia.org/wiki/Massive_open_online_course) (what a great name) have encouraged all these subject matter experts to curate and present all this useful information in brief, easily digestible chunks for teachers and students.