A super-simple install

I was reading this Perl Advent Calendar (that would be good for DragonFly, come to think of it) post about ack, and came across a interesting line:

curl http://betterthangrep.com/ack-standalone > ~/bin/ack && chmod 0755 !#:3'

fetch’ would work just as well on a BSD system. The interesting thing is that it’s a one-liner for installing software that doesn’t make any assumptions about having an existing framework like pkgsrc or aptitude or anything like that – it just grabs the code and plops it in place.  It wouldn’t work for more complex software, but the simplicity is intriguing, to match the Unix-like single, chainable program idea.

For those who haven’t seen it, ‘ack‘ is a grep replacement that automatically takes care of common activities around searching – skipping files that would cause duplicate matches, binary files, etc., handles a larger range of regular expressions, and runs startlingly fast.

Swapcache benefits

Tim Darby was looking to take advantage of swapcache, and got some advice from Matthew Dillon.  This led to a larger writeup that went into the mechanics and advantages of both swapcache and SSDs.  The swapcache(8) page has been expanded with these notes, and I’m sure I need to buy a SSD for my next upgrade.

SSD devices have tumbled into the sub-$100 range for smaller devices; they are perfect for swapcache if you’ve got the spare SATA connector…

Lazy reading: numbers, servers, things

So, informal poll time: do people like these Lazy Reading roundups?

  • Numbers everyone should know.  (via)  I link to this cause it’s interesting, and because it shows something else.  If you understand what these numbers mean, congratulations.  You speak a language that a limited number of people on this planet can understand.  Think about that for a bit.
  • The end of a faithful server.  (via)  I can sympathize.  Run any computer for some number of years without any issues, and you’ll miss it when it’s gone.
  • A simple explanation for ‘git reset –hard’.  Some chunks of git are magical, in that I know they work but the internal behavior is still opaque to me.  It may be best to keep it that way.
  • I do gain a perverse sense of pride that DragonFly is an all-volunteer organization.  Linux, on the other hand, is mostly a corporate product.  (via)  I realize this is not a legitimate thing, and I’d love having enough of a market that someone could be paid to work on DragonFly.
  • Hey, the Economist Magazine’s Babbage blog is pretty good.  I like this recent article about the Eye-Fi, a device I tell people about whenever I can.  It essentially erases the need for storage on your camera.  The last paragraph in the Babbage entry is also a little bit important.