News for hackers. Stuff that matters.

tomeon

This is a childrearing technique, too: say “please do X”, where X precludes Y, rather than saying “please don’t do Y!”, which just increases the salience, and therefore likelihood, of Y.
> Circa 2005, I heard a podcast with 90-something Ronald Coase. He has pissed. Everyone had been teaching his theorem backwards for decades, backed with the "chalkboard economics" he despised

Similar themes came up in Ronald Coase's appearance (at a stunningly-lucid 101 years old) on this 2012 episode of EconTalk: https://www.econtalk.org/coase-on-externalities-the-firm-and...

Plugging this as it's one of my favorite episodes of one of my favorite podcasts.

Re:Testing Bash with BATS on Thursday February 21, 2019 @06:09PM (#19221525)
> I don't know how bats works with the @test annotation? That doesn't look like valid shell syntax.

Bats runs the test files through a preprocessor[1] that, among other things, converts each `@test` case into a shell function. E.g. `@test "the doohickey should frob" { ... }` becomes `test_the_doohickey_should_frob() { ... }`.

[1] https://github.com/bats-core/bats-core/blob/master/libexec/b...