off-topic

https://github.com/clojurians/community-development/blob/master/Code-of-Conduct.md Clojurians Slack Community Code of Conduct. Searchable message archives are at https://clojurians-log.clojureverse.org/
nate 2020-11-03T18:43:49.279900Z

I may have a problem:

$ tmux list-windows -a -F '#{window_panes}' | bb -I '(apply + *input*)'
93

😲 2
rwstauner 2020-11-03T21:21:29.281300Z

+:achievementunlocked:

2020-11-03T22:01:45.281600Z

so babashka calls read on each line of input to make *input* ?

nate 2020-11-03T22:19:58.281800Z

yes, when -I is used

2020-11-03T22:26:19.282Z

A problem with babashka, or a problem with too many tmux windows to keep track of? 🙂

nate 2020-11-03T22:49:31.282600Z

Haha

nate 2020-11-03T22:52:34.285300Z

Related to that, I searched around for ways to sum up numbers, and the other options range from mildly opaque to downright cryptic.

nate 2020-11-03T22:53:08.286500Z

The babashka version is definitely the most straightforward, especially to a clojurian

2020-11-03T22:54:45.286700Z

things like awk '{total += $1}END{ print total}'