423
submitted 7 months ago by db0@lemmy.dbzer0.com to c/opensource@lemmy.ml

Yet another "brilliant" scheme from a cryptobro. Naturally this caused a gold-rush for scammers who outsourced random people via the gig economy to open PRs for this yml file (example)

you are viewing a single comment's thread
view the rest of the comments
[-] rtxn@lemmy.world 13 points 7 months ago* (last edited 7 months ago)

And what would your ideal, legible, general-purpose data markup language be? XML?

[-] toastal@lemmy.ml 5 points 7 months ago* (last edited 7 months ago)

Depends on the use case but XML is good for markup—especially if you need extensibility.

For config, Nickel & Dhall take the cake for being typed & having LSPs so the configuration writer can get immediate feedback about possible options (while eliminating invalid states) without requiring the manual—with configuration readers not needing to mess around with marshaling their types. Both these configuration languages let you import files & write little loops to make your config more DRY & makes maintaining large files (like say Kubernetes) easier.

[-] rtxn@lemmy.world 3 points 7 months ago

XML is great if the (de-)serialization is already implemented. Otherwise traversing the document is a massive pain.

[-] toastal@lemmy.ml 3 points 7 months ago

True. Something like XPath can really help & there are use cases where that is more concise but requires loading XPath into your head like Regex (which tends to get unloaded). The extensibility shines tho as seen by XMPP continuing to this day with very good backwards compatibility with 2 decades of updates since everything in an extension to the base.

load more comments (20 replies)
this post was submitted on 27 Feb 2024
423 points (98.0% liked)

Open Source

30837 readers
239 users here now

All about open source! Feel free to ask questions, and share news, and interesting stuff!

Useful Links

Rules

Related Communities

Community icon from opensource.org, but we are not affiliated with them.

founded 5 years ago
MODERATORS