941 karma · joined February 14, 2009
Turns out the IFFHS was just one guy in Germany during the 80s that leveraged his contacts in news agencies to establish his brand as a reputable source.
$ echo token:abc:def | grep -E ^token | cut -d: -f2
abc
$ echo token:abc:def | awk -F: '/^token/ { print $2 }'
abc
Conditions don't have to be regular expressions. For example: $ echo $CSV
foo:24
bar:15
baz:49
$ echo $CSV | awk -F: '$2 > 20 { print $1 }'
foo
baz $ echo '{ "hello": "world" }' | python3 -m json.tool
{
"hello": "world"
}This is exactly what Joel Spolsky did:
> What was I talking about? Oh yeah… most people just used Excel to make lists. Suddenly we understood why Lotus Improv, which was this fancy futuristic spreadsheet that was going to make Excel obsolete, had failed completely: because it was great at calculations, but terrible at creating tables, and everyone was using Excel for tables, not calculations.
... so he went on and created Trello.
https://www.joelonsoftware.com/2012/01/06/how-trello-is-diff...
https://scala-lang.org/blog/2017/04/01/announcing-skala.html
Those are the ones that make me wish people knew just enough Computer Science to get them :)
I like scala-cli a lot. It's very promising, but I think it's too new to be proclaimed best-in-class yet. Time will tell, and I'm rooting for it.
This spacing convention is meant to clearly separate mandatory parameters and optional parameters that are sometimes only introduced to "declare" a local variable.
Maybe you and I haven't been bitten personally by YAML idiosincracies yet, but just learning about examples like the "Norway problem" and the "negative GPS coordinates bug"—and thinking how frustrating must have been to figure those out in the first place—makes me shudder.
DOMAINS=(login controlplane log derp{1..24}-all)Monads are defined by their operations (flatMap/bind, unit) and have a dedicated syntax (do). I agree with you: just get used to flatmapping stuff and the concept will sink in.