Remix.run Logo
WesolyKubeczek 5 hours ago

Could have been worse.

Could have been YAML.

Could have been XML.

silvestrov 5 hours ago | parent | next [-]

XML would have the advantage of having a grammar so we could validate the config files.

It would also make it much simpler to make good GUI editors for the files instead of the Notepad approach most unix config files take.

pwdisswordfishq 4 hours ago | parent | next [-]

The systemd dialect of INI is actually pretty well-defined though.

https://www.freedesktop.org/software/systemd/man/latest/syst...

5 hours ago | parent | prev | next [-]
[deleted]
WesolyKubeczek 5 hours ago | parent | prev | next [-]

Since systemd is successfully parsing its INI files, and barks at you when you put weird shit into them, a grammar for them does exist as well.

XML is that wonderful format that gave us vulnerabilities like death by million laughs, up to a certain moment, you could MitM DTDs, and a whole slew of everything-XML stuff back when XML was like AI is today, none of which I miss today.

Oh, and remember times when programmers would argue whether argument order in XML files should be significant or not?

But XML books with their idealized XML future description did give me the same warm fuzzies as some intricate clockwork mechanism to a Victorian geek.

Juliate 5 hours ago | parent | prev [-]

There are good GUI editors for XML?

jjgreen 5 hours ago | parent | prev | next [-]

To be honest, I think either of those would have been better ...

WesolyKubeczek 5 hours ago | parent [-]

/me cowers in fear

Tsiklon 3 hours ago | parent | prev | next [-]

XML - I see you’ve used macOS’ LaunchD, the system that inspired Systemd

WesolyKubeczek 16 minutes ago | parent [-]

Yeah, I'm a man of culture like this. However, systemd with its service dependencies runs circles around launchd in pretty much every aspect.

wpm 4 hours ago | parent | prev [-]

Could have been better.

Could have been XML Property Lists.

ducks