IRC channel logs

2022-09-12.log

back to list of logs

***maximed is now known as antipode
***taiju` is now known as taiju
***taiju` is now known as taiju
<ArneBab>sneek: later tell lisbeths: I’d be careful in evaluating bash: sh is what you get when you seek for a language optimized to calling programs with some arguments — shelling out to them — and systemd did not have to be created because of deficiencies in sh: when systemd got created, Gentoo-people had already implemented OpenRC on top of shell-scripts that provided the same features but in a much cleaner and much better integrated way. A
<ArneBab> runscript-execution environment that provided a small number of additional features needed and they had a clean dependency language that did not need all init scripts to be re-implemented. What an init system does is calling programs. Shell-code is very well suited to that. There are many domains for which shell isn’t suited well, but OpenRC proved that init is not one of them.
<sneek>Okay.
<ArneBab>sneek: botsnack
<sneek>:)
<antipode>Myself, I find bash (and more generally, anything 'sh'-ish) more convenient that lisps for just starting programs -- compare 'guix build foo > log" with (use-modules (guix build utils)) (with-output-to-file "log" (lambda () (invoke "guix" "build" "foo")).
<rekado_>scsh: (run (guix build foo) (> log))
***taiju` is now known as taiju
<mwette>I'm trying to write some macros. I get a "reference to identifier outside its scope in form match-patn" on this: https://paste.debian.net/1253603/ Any ideas?
<mwette>^ never mind. I found it.
<mwette>take that back. I didn't. Still an issue. Only happens when I include the def for `doit'
<mwette>(The procedure sf is defined, just not shown.)
***rgherdt_ is now known as rgherdt
<dsmith-work>Morning Greetings, Guilers
***haugh[m] is now known as haugh
<dsmith-work>A pet peeve of mine: "bash" is *not* bourne shell or posix shell.
<dsmith-work>I wish bash documentation would identify bashisms nore clearly.
<unmatched-paren>shellcheck is quite useful for finding bashisms
<dsmith-work>Nice!
<dsmith-work>unmatched-paren: Thanks!
<unmatched-paren>it's a really cool program :)
<dsmith-work>And with -f gcc, I can use emacs compile.
<unmatched-paren>dsmith-work: apparently flycheck supports it
<unmatched-paren> https://github.com/flycheck/flycheck/issues/267
<unmatched-paren> https://github.com/federicotdn/flymake-shellcheck <- and there's a flymake plugin
<unmatched-paren> https://github.com/bash-lsp/bash-language-server/issues/104 <- and lsp integration :D
<lilyp>ArneBab: whether OpenRC is cleaner than systemd is probably a hotly debated issue
<dsmith-work>sneek: botsnack
<sneek>:)