News for hackers. Stuff that matters.
Re:Show HN: Tired of the non-portability of my playlists, I ... by masklinn on Wednesday March 01, 2017 @11:58AM (#13765516)
> I don't think there are many languages that don't support YAML these days

YAML is a big and complex format though, libyaml's header is bigger than the entirety of libtoml.

I think hand-editable playlists are a good idea, just not a fan of yaml.

Re:Show HN: Tired of the non-portability of my playlists, I ... by StavrosK on Wednesday March 01, 2017 @12:37PM (#13766066)
Hm, yeah, that's true, and I see your point. Right now I think the benefits outweigh the costs, but I'll definitely think about this (for embedded players, etc).
Re:Show HN: Tired of the non-portability of my playlists, I ... by TazeTSchnitzel on Wednesday March 01, 2017 @12:55PM (#13766277)
Another consideration is that yaml's sheer complexity creates more possibilities for interoperability issues. No two parsers for JSON behave identically, let alone for something as large as yaml.
Re:Show HN: Tired of the non-portability of my playlists, I ... by StavrosK on Thursday March 02, 2017 @06:22AM (#13773297)
Yeah, I looked at pyyaml's documentation last night while writing pls2upl, and the format is so complex that this looks like it's going to be a clusterfuck. I'm thinking of switching to JSON in the end...