News for hackers. Stuff that matters.
Re:The KDL Document Language by gnulinux on Tuesday September 14, 2021 @12:17AM (#28520152)
I have no idea what people are complaining about in this thread. I find projects like this genius. I love making programming languages and I hate hate hate writing parsers, yet I enjoy experimenting with different syntax. Stuff like this is very convenient because you can just import your code as document, use path language to extract data, and schema language to apply basic checks. Not only is this thing standardized[1], it's implemented in your favorite language (Rust, Python, Java whatever).

[1] EDIT: to be clear here, I meant to say it has a specification. I'm guessing your handbaked language won't have.

Re:The KDL Document Language by mactavish88 on Tuesday September 14, 2021 @09:46AM (#28524706)
To me it looks amazing, and I was literally about to adopt it in one of my open source Rust-based projects, but then I realized that the Rust version (and only the Rust version) is restrictively licensed under the Parity Public License [1].

I want my open source project to be able to be used in commercial applications, and don't want any of my dependencies' licenses to restrict that.

[1]: https://github.com/kdl-org/kdl-rs/blob/87f836134c1d901ff5ce6...

Re:The KDL Document Language by cormacrelf on Tuesday September 14, 2021 @11:25PM (#28534898)
Alternative implementation for serde at https://github.com/Lucretiel/kaydle, MPL-2.0
Re:The KDL Document Language by chefandy on Tuesday September 14, 2021 @01:04AM (#28520437)
When my projects are posted publicly, I like attaboys, but I need constructive criticism. Asking pointed questions and questioning purported inconsistencies is not complaining.
Re:The KDL Document Language by void_mint on Tuesday September 14, 2021 @01:35AM (#28520630)
Criticism given by those that do not align with the core goals/userbase of a project is not constructive. Giving criticism on something you don't intend to/wouldn't use is just complaining.
Re:The KDL Document Language by jcelerier on Tuesday September 14, 2021 @03:53AM (#28521621)
I disagree, there's always the chance that there is a nugget of useful knowledge in there. I'd rather go through 100s of criticisms than miss it.
Re:The KDL Document Language by cormacrelf on Tuesday September 14, 2021 @04:19AM (#28521774)
For some perspective, this HN thread is much, much better than the Reddit post from yesterday. Sure, there were a couple of good points hidden in the rubble, but lordy it was bad. Cruel, even. The main author has taken a break (and fair enough) so you probably won't see them around today.
Re:The KDL Document Language by chefandy on Wednesday September 15, 2021 @12:53AM (#28535393)
Yuck.
Re:The KDL Document Language by void_mint on Tuesday September 14, 2021 @11:30AM (#28526331)
I think this post is pure grandstanding. Giving good feedback is hard, and almost no one knows how to do it. Now, combine that with someone that has no skin in the game and is sometimes posting in-bad-faith, you're just creating a sea of garbage to wade through. To then say "yeah but I'd do it because _maybe_ I'd get something useful" is silly. No you wouldn't. You'd create a legitimized channel (Slack, Discord, email list) for people that are _actually interested_ and then talk to them directly. Posts like this are mostly just to put content in front of eyes that _would_ join such a legitimized channel.

Message boards are message boards. You can't take them seriously, including this one.

Re:The KDL Document Language by chefandy on Wednesday September 15, 2021 @12:51AM (#28535386)
Who commented that you don't imagine uses configuration files?
Re:The KDL Document Language by threeme3 on Tuesday September 14, 2021 @11:04PM (#28534766)
Love to use this in my projects. Anyone aware of a C implementation?