Better HN
topnewbestaskshowjobs
Log inSign up

tomeon

75 karma · joined Jun 5, 2018 (8y ago) · 4 submissions

Submissions

comment 1y ago · link · parent

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.

comment 3y ago · link · parent

Attributed to economist Gordon Tullock: https://en.wikipedia.org/wiki/Gordon_Tullock#Tullock's_spike

comment 4y ago · link · parent

> 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.

comment 7y ago · link · parent

> 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...