News for hackers. Stuff that matters.
Re:Babashka: A quick example by jhoechtl on Saturday February 22, 2020 @07:46AM (#22390726)
Upvote for using asciidoc, a proper foundation for plain text declarative document generation.

Unfortunately, as worse is better, markdown is on the way to win.

Re:Babashka: A quick example by Whatitat90 on Saturday February 22, 2020 @12:57PM (#22392296)
Why do you think asciidoc is better than Markdown? Serious question as quick skim over the homepage (https://asciidoctor.org/) and it looks just like Markdown with different sigils.
Re:Babashka: A quick example by Whatitat90 on Saturday February 22, 2020 @01:55PM (#22392610)
That's what I was looking for, thanks!
Re:Babashka: A quick example by cmroanirgo on Saturday February 22, 2020 @01:52PM (#22392596)
One of the main failings of markdown (for me) is it's lack of expressiveness, always forcing us to revert to html to get certain things done.

Markdown's great for simple readme, or if you don't need to (say) right align an image, of apply a class to a paragraph (eg. To turn it into an inset).

While I personally prefer textile (which is a deader dodo than asciidoc), they are both able to do significantly more than markdown.

I look at the problem as: if markdown forces me to write html, then I may as well use html...

(Ps: in textile "> hello world" at the start of a line sets right alignment, "=" for justified, "p.inset#my_id hello world" applies an "inset" class to the para and gives it the id "my_id". Asciidoc is similar, but I'm not familiar enough with it to write it on my phone just now)

Re:Babashka: A quick example by dang on Friday February 21, 2020 @06:16PM (#22387981)
Re:Babashka: A quick example by type0 on Saturday February 22, 2020 @11:21AM (#22391751)
babashka scripting could be overkill if you just want to rerun your generator every time some file changes. There's Entr is for that. What sort of automation can babashka do that isn't easier done with Python or Lua?
Re:Babashka: A quick example by Borkdude on Saturday February 22, 2020 @11:33AM (#22391829)
Babashka's target audience is primarily Clojure developers that just want to keep writing Clojure instead of switching to a language like Bash or Python for shell scripts. It's not a matter of better, just more familiar.
Re:Babashka: A quick example by Scarbutt on Saturday February 22, 2020 @11:49AM (#22391930)
This one of those cases of: "were so preoccupied with whether or not they could, they didn’t stop to think if they should"
Re:Babashka: A quick example by Whatitat90 on Saturday February 22, 2020 @12:54PM (#22392281)
Arch Linux, AsciiDoc, git - sounds great! But why keybase? (Serious question, I wonder if it's for communication or sharing encrypted data or...)
Re:Babashka: A quick example by malcolmjuxt on Tuesday February 25, 2020 @01:10PM (#22415539)
Some of our documents contain confidential details (personal data, client confidential details). Keybase provides a filesystem (kbfs), accessible by authorized individuals, with team management, and git repositories for recording history.
Re:Babashka: A quick example by bhougland on Saturday February 22, 2020 @07:36AM (#22390696)
Nixos ftw!
Re:Babashka: A quick example by Iwan-Zotow on Saturday February 22, 2020 @08:18AM (#22390835)
BabUshka!
Re:Babashka: A quick example by Razengan on Saturday February 22, 2020 @08:35AM (#22390907)
It’s a pun on “bash”
Re:Babashka: A quick example by cosmodisk on Saturday February 22, 2020 @11:34AM (#22391839)
Ok, fair enough!
Re:Babashka: A quick example by Iwan-Zotow on Saturday February 22, 2020 @01:37PM (#22392514)
Ah, I see...