Linked List: July 6, 2022

New MacBook Air With M2 Available to Order Starting This Friday 

If you plan to order one, set your alarm for 5am PDT / 8am EDT — my spidey-sense says a lot of people have been waiting for this Mac.

Bun 

Sounds like a project we’ll be hearing a lot more about:

Bun is a modern JavaScript runtime like Node or Deno. It was built from scratch to focus on three main things:

Start fast (it has the edge in mind).

New levels of performance (extending JavaScriptCore, the engine).

Being a great and complete tool (bundler, transpiler, package manager).

[…] The goal of Bun is to run most of the world’s JavaScript outside of browsers, bringing performance and complexity enhancements to your future infrastructure, as well as developer productivity through better, simpler tooling.

Chasing Tail With Dr. Drang 

Dr. Drang:

I’ve been using the tail command for about 25 years, so you might think I’d know something about it. But last week, as I was putting together a short shell script (not this one), I opened the man page for tail and learned something new. Two things, actually, which surprised me, as tail doesn’t really do that much.

The -r switch, to reverse lines, is good to know about but easy to forget — it’s not intuitive to think of a utility for viewing the end of a file as also being a convenient tool for reversing lines. And, as Drang points out, not all implementations of tail have this option.