<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Hacker News: dmarcotte</title><link>https://news.ycombinator.com/user?id=dmarcotte</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Sun, 29 Nov 2026 07:52:04 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=dmarcotte" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by dmarcotte in "Configuration files are user interfaces"]]></title><description><![CDATA[
<p>That's right, KSON the language is any string that parses successfully as KSON. We have a formal grammar for the language [1], and once we validate/harden the design through our beta, we plan to express that in a spec, and we plan to provide a test suite for external implementations to validate themselves against (likely something similar to <a href="https://github.com/nst/JSONTestSuite" rel="nofollow">https://github.com/nst/JSONTestSuite</a>).<p>I don't think warnings will be part of the spec, though classes of errors may be specified (TBD). This will allow, for instance, implementations that prioritize pure speed by leaving all the guardrails off and simply replying "NO." when they are unable to parse some KSON (and then possibly falling back to a parse with richer validations?).<p>But languages are more than syntax, they are also the ecosystem of tools around the language. And for a language to be useful and reliable, that ecosystem of tools needs to be excellent, and it needs to be available on any platform you want to use that language. That's a really important motivator for KSON's multiplatform architecture, which allows us to reach all these platforms[2] and editors[3] (with even more to come!)<p>[1] <a href="https://github.com/kson-org/kson/blob/857d585ef26d9f73e080b5f269e7ed7652495fc3/src/commonMain/kotlin/org/kson/parser/Parser.kt#L8-L39" rel="nofollow">https://github.com/kson-org/kson/blob/857d585ef26d9f73e080b5...</a>
[2] <a href="https://kson.org/docs/install/#languages" rel="nofollow">https://kson.org/docs/install/#languages</a>
[3] <a href="https://kson.org/docs/install/#editor-support" rel="nofollow">https://kson.org/docs/install/#editor-support</a></p>
]]></description><pubDate>Sat, 20 Sep 2025 15:48:19 +0000</pubDate><link>https://news.ycombinator.com/item?id=45314363</link><dc:creator>dmarcotte</dc:creator><comments>https://news.ycombinator.com/item?id=45314363</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45314363</guid></item><item><title><![CDATA[New comment by dmarcotte in "Show HN: KSON, a love-letter to the humans maintaining computer configuration"]]></title><description><![CDATA[
<p>Thanks for trying out KSON and having a look at the embed blocks. When embedding text inside text, the price/tax to delimit it must be paid somewhere, as the "KSON turducken" you've cooked up here demonstrates. We are familiar with this dish! Here's how we considered it in the design:<p>Our design observes that triple+ embedded KSON embed blocks should be rare and are zany enough information architecture that we do not need to cater to them. We accommodate singly-embedded KSON by offering `$/$$` as an alternative embed delimiter that can be used to minimize escaping (fun: if you paste your example in the playground <<a href="https://kson.org/playground/" rel="nofollow">https://kson.org/playground/</a>> and format it, the formatter will minimize the escaping for you).<p>The two-char end-delimiter is important to make it trivial to describe the end of a embed block: a `%` embed block ends if and only if <i>exactly</i> `%%` is encountered.  This is designed to make it dead simple for humans and (especially) tools to understand the bounds of an embed.<p>Zig's manually-managed margin approach is interesting. Paying the embedded text price/tax with a manually managed margin is inventive, and does indeed give good whitespace control and skips all escaping.  However, having to always manage that margin goes against our goal of having embed blocks facilitate "pure" embedded editing as much as possible---every block that does not contain `%%` can be edited completely in the block's native language.<p>Hopefully that helps make some of our goals and design decisions more clear.  We've worked hard to minimize the cost of embedding while maximizing the clarity, utility and toolabilty of it.  Definitely open to ideas on improving our min/max'ing here if folks see opportunities.  Come chat with us on Zulip if you've got thoughts! <a href="https://kson-org.zulipchat.com/" rel="nofollow">https://kson-org.zulipchat.com/</a></p>
]]></description><pubDate>Sat, 20 Sep 2025 14:22:31 +0000</pubDate><link>https://news.ycombinator.com/item?id=45313668</link><dc:creator>dmarcotte</dc:creator><comments>https://news.ycombinator.com/item?id=45313668</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45313668</guid></item><item><title><![CDATA[New comment by dmarcotte in "Configuration files are user interfaces"]]></title><description><![CDATA[
<p>Thanks so much, Steve!!!</p>
]]></description><pubDate>Fri, 19 Sep 2025 13:17:33 +0000</pubDate><link>https://news.ycombinator.com/item?id=45301363</link><dc:creator>dmarcotte</dc:creator><comments>https://news.ycombinator.com/item?id=45301363</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45301363</guid></item><item><title><![CDATA[New comment by dmarcotte in "Configuration files are user interfaces"]]></title><description><![CDATA[
<p>hjson is new on my radar, but looks like it has some great philosophical overlap with KSON! hjson's "interface for JSON" tagline really resonates. If I understand correctly, hjson helps by not requiring commas, allowing unquoted strings,
and supporting multi-line strings. Our support is similar, though we only use # for comments instead of // and support multiline strings both in embed blocks and regular quoted strings.<p>Where KSON diverges from hjson is enabling a YAML-like presentation while improving on the YAML experience. And by making the content type of embed blocks a first-class citizen of the syntax, with clear boundaries for the embedded content, editors and IDEs can provide full tooling support (syntax highlighting, validation, etc.) for the embedded code. Importantly though, KSON remains 'plain data'---it's not a runtime that executes code in your configs.</p>
]]></description><pubDate>Fri, 19 Sep 2025 12:25:17 +0000</pubDate><link>https://news.ycombinator.com/item?id=45300859</link><dc:creator>dmarcotte</dc:creator><comments>https://news.ycombinator.com/item?id=45300859</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45300859</guid></item><item><title><![CDATA[New comment by dmarcotte in "Configuration files are user interfaces"]]></title><description><![CDATA[
<p>Thanks, i_s. Daniel chiming in here... for functions and variables, we intentionally stay focused on JSON/YAML-equivalent data because the places where JSON or YAML are used as human-edited interfaces (because of their limitations rather than in spite of them) is the slice of the programming stack that KSON is particularly interested in.  If the next Kubernetes/GitHub Actions/dbt/etc wants to reach for a language to be their interface, KSON is interested in providing everything YAML offers and more (AND less: less of the problems associated with YAML)<p>We have a design for KSON constants that we're looking forward to sharing soon, but they will be <i>constant</i> and KSON will still be JSON/YAML-equivalent. For the places where someone wants more programming power in their config, I'm glad people like the folks behind Pkl and Dhall are serving that use case.</p>
]]></description><pubDate>Fri, 19 Sep 2025 11:53:46 +0000</pubDate><link>https://news.ycombinator.com/item?id=45300560</link><dc:creator>dmarcotte</dc:creator><comments>https://news.ycombinator.com/item?id=45300560</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45300560</guid></item><item><title><![CDATA[New comment by dmarcotte in "Show HN: KSON, a love-letter to the humans maintaining computer configuration"]]></title><description><![CDATA[
<p>Hey zahiman, thanks for all the Qs.  Trying to address them:<p>KSON (stands for: KSON Structured Object Notation) is designed not as an nth standard, but rather as an idea of how to play nice with all n-1 existing standards. Since our comments (we do support comments!) are preserved in formatting and transpilation (provided the underlying language supports comments), you may use KSON as how you edit whatever underlying config file your system wants (currently YAML and JSON are supported, with a clear path to adding other targets like TOML <<a href="https://github.com/kson-org/kson/issues/202" rel="nofollow">https://github.com/kson-org/kson/issues/202</a>>)<p>Why is it better than TOML?  We don't insist that everyone agree it is!  But here's two ways to contrast them:
- We prefer that KSON's recursive structure makes nesting consistent.  You can see for instance in the grammar that a Kson list value is a list of Kson values: <a href="https://github.com/kson-org/kson/blob/857d585ef26d9f73e080b5f269e7ed7652495fc3/src/commonMain/kotlin/org/kson/parser/Parser.kt#L8-L39" rel="nofollow">https://github.com/kson-org/kson/blob/857d585ef26d9f73e080b5...</a> 
- For use cases where folks are hand-editing non-trivial config, especially if they are using embedded code blocks of any kind: if they long for more help from their tooling, KSON makes that tooling possible.</p>
]]></description><pubDate>Fri, 19 Sep 2025 11:26:47 +0000</pubDate><link>https://news.ycombinator.com/item?id=45300368</link><dc:creator>dmarcotte</dc:creator><comments>https://news.ycombinator.com/item?id=45300368</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45300368</guid></item><item><title><![CDATA[New comment by dmarcotte in "Show HN: KSON, a love-letter to the humans maintaining computer configuration"]]></title><description><![CDATA[
<p>Thanks! KSON is very focused on facilitating a better interface for a user managing config data, so one concrete example of the embed block's purpose is to help anywhere folks are directly editing important/complex multi-line strings in their config (think sql in dbt files, or bash snippets in GitHub Actions, etc).<p>By making the content type of the embed a first-class citizen of the syntax, together with clear boundaries for the embedded content, editors and IDEs can hook in all their great tooling to the embed blocks. So, you nailed it: being great for devex is exactly the idea.</p>
]]></description><pubDate>Fri, 19 Sep 2025 11:19:21 +0000</pubDate><link>https://news.ycombinator.com/item?id=45300327</link><dc:creator>dmarcotte</dc:creator><comments>https://news.ycombinator.com/item?id=45300327</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45300327</guid></item><item><title><![CDATA[Show HN: KSON, a love-letter to the humans maintaining computer configuration]]></title><description><![CDATA[
<p>Hi friends, I'm really excited to introduce KSON, which just entered public beta!<p>Anywhere a human is reading or editing YAML/JSON/TOML, KSON may be used as a more effective interface on that data. If you are such a human, we invite you to participate in this beta.<p><i>tl;dr</i> Check out the website [1], play with the online playground [2], install the library for your programming language [3], edit in your favorite editor [4], discuss and give feedback [5], contribute to the project [6].<p>(A personal note about this project: I love software. Machines made of words! Such a wonder. KSON itself, as a collection of words that both make a machine <i>and</i> explain that machine, is an expression of a lot ideas I feel really passionately about around software and our relationship to it. I've put a lot of love into trying to make that expression eloquent and reliable. I hope some of that comes through clearly, and I look forward to discussing this more over time with anyone who's interested)<p>One of the key things KSON wants to say is: let's keep everything that's great about YAML and JSON as "Configuration User Interfaces", and let's make those interfaces more toolable, robust, and fun.  Here's some of the ways we do that:<p>- KSON is a verified superset of JSON, has native JSON Schema support, transpiles cleanly to YAML (with comments preserved!), and is likely available wherever you want it—current supported platforms: JS/TS, Python, Rust, JVM, and Kotlin Multiplatform.<p>- KSON is also widely available in developer tools, with support for VS Code, Jetbrains IDEs, and anywhere you can plug in an LSP.<p>- KSON is fully open source, licensed under Apache-2.0, and you are invited to meet its words and tinker with how they make its machine. A lot of care, craft, attention and joy went into making the KSON project understandable and approachable for developers.  We hope to see you around.<p>PS. This is an HN-friendly version of the official announcement at <<a href="https://kson.org/docs/blog/2025/09/17/introducing-kson/" rel="nofollow">https://kson.org/docs/blog/2025/09/17/introducing-kson/</a>>.<p>[1]: <a href="https://kson.org/" rel="nofollow">https://kson.org/</a><p>[2]: <a href="https://kson.org/playground/" rel="nofollow">https://kson.org/playground/</a><p>[3]: <a href="https://kson.org/docs/install/#languages" rel="nofollow">https://kson.org/docs/install/#languages</a><p>[4]: <a href="https://kson.org/docs/install/#editor-support" rel="nofollow">https://kson.org/docs/install/#editor-support</a><p>[5]: <a href="https://kson-org.zulipchat.com/" rel="nofollow">https://kson-org.zulipchat.com/</a><p>[6]: <a href="https://github.com/kson-org/kson" rel="nofollow">https://github.com/kson-org/kson</a></p>
<hr>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=45290949">https://news.ycombinator.com/item?id=45290949</a></p>
<p>Points: 34</p>
<p># Comments: 14</p>
]]></description><pubDate>Thu, 18 Sep 2025 15:34:57 +0000</pubDate><link>https://kson.org</link><dc:creator>dmarcotte</dc:creator><comments>https://news.ycombinator.com/item?id=45290949</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45290949</guid></item></channel></rss>