Patch cross-pollination

I wasn’t aware of this, but apparently DragonFly’s version of patch(1) comes from OpenBSD and NetBSD.  FreeBSD’s old version of patch is being replaced by this and modified to match the old one’s behaviors.  It would be worthwhile to bring these changes back, if possible, just to reduce the differences in a utility that’s already been around the world, so to speak.

As an aside, I always thought patch was one of Larry Wall’s unsung successes, and I’m entertained by any program that has “Hmm…” as one of its official outputs.

Lazy Reading for 2013/03/03

I am all over the place with links this week – some of them pretty far off the path.  There’s a lot, too, so enjoy!

Your unrelated link of the week: I’ve already been offbeat enough in this Lazy Reading; I don’t have anything else.

3 very different commits

Here’s 3 recent and different commits to DragonFly that I’m commenting on all at once:

  1. Peter Avalos upgraded libarchive in DragonFly to 3.1.2, with a note of the changes.  An ordinary and appreciated update.
  2. Sascha Wildner updated the ISO639 file to include the newest update: “Standard Moroccan Tamazight”.  There’s no particular utility to that; I just like saying “Standard Moroccan Tamazight” out loud.
  3. Work on poudriere, the utility for bulk-building DPorts packages, has caused some nice speedups for DragonFly in extremely stressful situations.  See one of Matthew Dillon’s recent commits.

I really wish the other BSD projects would include commit lines in the mail message subjects, so it was easier to catch things like these.

Lazy Reading for 2013/02/24

A calm week, for once.

  • Via Michael W. Lucas: Absolut OpenBSD.
  •  Another ‘How I customize Vim’ style post.  These things always sound great, but I worry that it’s not something that can be duplicated.  If you had to rebuild or duplicate your Vim environment elsewhere, you’d have to write out your own instructions.  Not impossible, but I don’t have to do that for anything else.  (via)
  • Twine, a game creation tool that really requires only writing.  (via)
  • The Oxford Comma, or how it doesn’t matter.  (via)
  • The Story of the PING Program.  I could have sworn I linked to this before.  I remember having someone explain ping to me when I was young and had little experience of IP networking; it seemed like magic where the computers would actually talk.  (via vsrinivas on EFNet #dragonflybsd)
  • ARPANet, 1971, as a tattoo.  (via)

Your unrelated comics link of the week: Reid Fleming, World’s Toughest Milkman.  All the early issues, available in electronic form, for pay-what-you-want.  (And I advise paying; it’s a fun comic)  Look at a sample page if you are curious.

Read shortcut, buffer cache improvements

The new vm.read_shortcut option has been turned on by default by Matthew Dillon, which should lead to some performance improvements.  That improvement has been measured for tmpfs, at least.  There’s also some buffer cache improvments that help on x86_64 systems, too.

Update: As Venkatesh Srinivas pointed out, tmpfs also no longer uses the mplock, so it’ll take better advantage of multiple processors.