[ prog / sol / mona ]

prog


YAML what is this shit?

1 2024-06-06 10:21

There are people using that to store data?

2 2024-06-07 10:42

Yes.

3 2024-06-16 05:40 *

There are people writing programs in yaml the way lisp is written in s-expressions. It's terrible.

4 2024-06-17 21:59

Yet Another Markup Language

5 2024-11-08 15:37

>>4

yaml
markup

barf

6 2024-11-09 08:46

Don't know about data storage, but devops people sure seem to love it.

7 2024-11-09 21:13

>>3
there are programming languages using YAML syntax for code. FTFS. It's weird.

XML was better.

8 2024-11-09 21:38

>>6
they don't love it. they "love" it. Its enforced from top (RedHat) to bottom.
There is a trend for Infrastructure as a Code. Guy who actually invented & wrote Ansible, later after RH bouth his startup and fired him, came up with tool that just use real programming language code instead of yaml. But no one listened, nor cared. Industry already bough & embraced Y A M L as "easy" IaaC.

Fabric+Paramiko was excellent, some times evel shell scripts better than YAML since YAML is not a real programming language and ugly af.

however you can avoid yaml, in ansible/salt/chef you can simply write code and call api deirectly from code, modules, plugins, or at least run script from yaml.

Docker is worse than yaml.

Nix is a whole new weird animal in town and it's hard to adopt, in comparison to mentioned tools above.

9 2024-11-11 20:42

Why not use S-expressions instead?

10 2024-11-12 13:46 *

>>9 Because there are no tools that understand sexps. It's a chicken-and-egg problem.

11 2024-11-12 19:58

Chicken understands sexps: https://www.call-cc.org/

12 2024-11-12 23:26 *

>>11 I meant DevOps tools.

13 2024-11-15 23:59

>>10
You can write all the S-exp tools you want using Lisp.

14


VIP:

do not edit these