News for hackers. Stuff that matters.
Re:Zellij – A Terminal Workspace and Multiplexer by eptcyka on Thursday April 22, 2021 @10:24AM (#26903088)
One can find absurd behavior in corner cases of any non-trivial language, but one can find absurd behavior in YAML without even looking for it.
Re:Zellij – A Terminal Workspace and Multiplexer by whimsicalism on Thursday April 22, 2021 @11:25AM (#26903795)
Such as? All these cases with no and norwegian or whatever but I haven't run into major problems and use it frequently.

e: And, AFAIK, I believe the latest YAML 1.2 spec (from 2009) has addressed these issues.

Re:Zellij – A Terminal Workspace and Multiplexer by sanity31415 on Thursday April 22, 2021 @11:35AM (#26903934)
The "no"/"norwegian" thing is emblematic of very sloppy thinking in YAML's design, and it's far from the only example.

It's possible to avoid these pitfalls - like people do with PHP - but why burden users with that in a new project when better options have been available for years?

They obviously like Rust, why not just follow their lead with TOML?

Re:Zellij – A Terminal Workspace and Multiplexer by whimsicalism on Thursday April 22, 2021 @12:17PM (#26904517)
That "feature" regarding "no" hasn't even been present in the YAML spec since 2009.
Re:Zellij – A Terminal Workspace and Multiplexer by renewiltord on Thursday April 22, 2021 @12:46PM (#26904888)
Thanks for being clear about this and repeating it. I didn’t know. I think I will only use YAML 1.2 as configuration language.
Re:Zellij – A Terminal Workspace and Multiplexer by metrix on Thursday April 22, 2021 @11:34AM (#26903923)
I use it frequently too, but there's some terrible edge cases: https://stackoverflow.com/questions/53648244/specifying-the-...
Re:Zellij – A Terminal Workspace and Multiplexer by whimsicalism on Thursday April 22, 2021 @12:18PM (#26904527)
? I don't think these are issues with Yaml 1.2, the spec since 2009.
Re:Zellij – A Terminal Workspace and Multiplexer by eptcyka on Thursday April 22, 2021 @12:54PM (#26904991)
What about `thing: 1.0` and `thing: 1.0.0`?

Parser implementations have also been buggy. The ruby one in particular being a source of RCE's. Of course, these are implementation issues, but surely a simpler specofication would be easier to implement. And the current specification is anything but simple, clocking 84 pages in the PDF flavour.

Re:Zellij – A Terminal Workspace and Multiplexer by coldtea on Thursday April 22, 2021 @11:56AM (#26904224)
The NO alone should give you pause...

It's a language that coerces basic strings...