<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: stux</title><link>https://news.ycombinator.com/user?id=stux</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Mon, 27 Apr 2026 11:29:02 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=stux" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by stux in "Parrot – type-safe SQL in Gleam, supports SQlite, PostgreSQL and MySQL"]]></title><description><![CDATA[
<p>These sqlc-style libraries are a great solution to the problem of “make running a query as easy as calling a function”,  but I’ve always thought SQL’s lack of composability is a more interesting problem that I haven’t seen addressed (the problems with views are well documented).</p>
]]></description><pubDate>Sun, 05 Oct 2025 14:01:33 +0000</pubDate><link>https://news.ycombinator.com/item?id=45481542</link><dc:creator>stux</dc:creator><comments>https://news.ycombinator.com/item?id=45481542</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45481542</guid></item><item><title><![CDATA[New comment by stux in "Nullable but not null"]]></title><description><![CDATA[
<p>This is interesting! A field being nullable because it's legitimately optional in the domain model is one thing, but for <i>new</i> fields which shouldn't be nullable in the domain model, unless you can pick a reasonable identity value, you need a concept of absence that's different from null. Luckily the intersection of "non-nullable fields" and "fields with no reasonable identity value" and "fields which didnt exist in v1 of the domain model" is <i>normally</i> pretty small, but it's painful when it happens.<p>This reminds me of frozen/nonfrozen enums in Swift. You can do exhaustive case analysis on frozen enums, but case analysis on nonfrozen enums requires adding an `@unknown default` case.<p><a href="https://docs.swift.org/swift-book/documentation/the-swift-programming-language/statements/#Switching-Over-Future-Enumeration-Cases" rel="nofollow">https://docs.swift.org/swift-book/documentation/the-swift-pr...</a></p>
]]></description><pubDate>Fri, 25 Jul 2025 18:19:47 +0000</pubDate><link>https://news.ycombinator.com/item?id=44686423</link><dc:creator>stux</dc:creator><comments>https://news.ycombinator.com/item?id=44686423</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44686423</guid></item><item><title><![CDATA[New comment by stux in "Web apps built with Ruby on Rails"]]></title><description><![CDATA[
<p>Rails definitely seems optimized for <i>creating</i> code, but how is it at maintaining code? I've never used it, but it seems like Ruby's dynamic types would make it really challenging to do large refactors. What techniques do rails developers use?</p>
]]></description><pubDate>Fri, 10 Jan 2025 18:29:32 +0000</pubDate><link>https://news.ycombinator.com/item?id=42658443</link><dc:creator>stux</dc:creator><comments>https://news.ycombinator.com/item?id=42658443</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=42658443</guid></item><item><title><![CDATA[New comment by stux in "Some programming language ideas"]]></title><description><![CDATA[
<p>> with functions named by their normalized hash contents, and referred to anywhere by that, but I can't seem to remember what it's called right now. Something like "Universe" I think?<p>Unison: <a href="https://www.unison-lang.org/docs/the-big-idea/" rel="nofollow">https://www.unison-lang.org/docs/the-big-idea/</a></p>
]]></description><pubDate>Wed, 08 Jan 2025 21:57:07 +0000</pubDate><link>https://news.ycombinator.com/item?id=42638887</link><dc:creator>stux</dc:creator><comments>https://news.ycombinator.com/item?id=42638887</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=42638887</guid></item><item><title><![CDATA[New comment by stux in "We're forking Flutter"]]></title><description><![CDATA[
<p>> Flutter founder here.<p>Given that the literal founder of Flutter is in this thread using this introduction multiple times, it’s kinda hard to give you the benefit of the doubt that you honestly just meant “a founder using Flutter”.</p>
]]></description><pubDate>Mon, 28 Oct 2024 23:02:26 +0000</pubDate><link>https://news.ycombinator.com/item?id=41977483</link><dc:creator>stux</dc:creator><comments>https://news.ycombinator.com/item?id=41977483</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=41977483</guid></item><item><title><![CDATA[New comment by stux in "We're forking Flutter"]]></title><description><![CDATA[
<p><a href="https://github.com/flutter/flutter/pulls?q=is%3Apr+author%3Amatthew-carroll">https://github.com/flutter/flutter/pulls?q=is%3Apr+author%3A...</a><p>- 0 open PRs<p>- 2 PRs merged, 1 PR closed in the past 4 years<p>- All PRs reviewed by a member of the Flutter team within 24hrs<p>- [“If I'm still supposed to write tests, even for this change, then this is probably as far as I take the PR.”](<a href="https://github.com/flutter/flutter/pull/128910#issuecomment-1592088473">https://github.com/flutter/flutter/pull/128910#issuecomment-...</a>)<p>- 40+ PRs from 2019<p>So, disgruntled ex-employee?</p>
]]></description><pubDate>Mon, 28 Oct 2024 22:12:05 +0000</pubDate><link>https://news.ycombinator.com/item?id=41976995</link><dc:creator>stux</dc:creator><comments>https://news.ycombinator.com/item?id=41976995</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=41976995</guid></item><item><title><![CDATA[New comment by stux in "Swift Static Linux SDK"]]></title><description><![CDATA[
<p>> Anonymous enums/structs in parameters<p>Can you share an example of this? It sounds really interesting but I couldn’t find any references. Do you mean the parameter “packs” features?</p>
]]></description><pubDate>Tue, 11 Jun 2024 23:25:13 +0000</pubDate><link>https://news.ycombinator.com/item?id=40652827</link><dc:creator>stux</dc:creator><comments>https://news.ycombinator.com/item?id=40652827</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=40652827</guid></item><item><title><![CDATA[New comment by stux in "The Git repositories of XZ projects are available on GitHub again"]]></title><description><![CDATA[
<p>Edit: nvm, dupe of <a href="https://news.ycombinator.com/item?id=39984512">https://news.ycombinator.com/item?id=39984512</a></p>
]]></description><pubDate>Tue, 09 Apr 2024 22:52:48 +0000</pubDate><link>https://news.ycombinator.com/item?id=39985204</link><dc:creator>stux</dc:creator><comments>https://news.ycombinator.com/item?id=39985204</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=39985204</guid></item><item><title><![CDATA[The Git repositories of XZ projects are available on GitHub again]]></title><description><![CDATA[
<p>Article URL: <a href="https://github.com/tukaani-project">https://github.com/tukaani-project</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=39985203">https://news.ycombinator.com/item?id=39985203</a></p>
<p>Points: 100</p>
<p># Comments: 16</p>
]]></description><pubDate>Tue, 09 Apr 2024 22:52:48 +0000</pubDate><link>https://github.com/tukaani-project</link><dc:creator>stux</dc:creator><comments>https://news.ycombinator.com/item?id=39985203</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=39985203</guid></item><item><title><![CDATA[New comment by stux in "SQLite 3.44: Interactive release notes"]]></title><description><![CDATA[
<p>> Aggregate functions can now include an ORDER BY clause after their last parameter.<p>Hopefully that means we'll soon get support for `DISTINCT` in `GROUP_CONCAT`.<p>Atm you can do `group_concat(x, '|')` and `group_concat(distinct x)`, but you can't do `group_concat(distinct x, '|')`.</p>
]]></description><pubDate>Wed, 01 Nov 2023 13:39:13 +0000</pubDate><link>https://news.ycombinator.com/item?id=38098028</link><dc:creator>stux</dc:creator><comments>https://news.ycombinator.com/item?id=38098028</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=38098028</guid></item><item><title><![CDATA[New comment by stux in "Using Redundant Conditions to Unlock Indexes in MySQL"]]></title><description><![CDATA[
<p>As the article notes,<p>> Redundant conditions are nice because they require no changes to the database [...] This makes them useful for queries that are only sometimes run or where indexes can't be easily added to the main conditions<p>but where possible I typically prefer adding an index on the expression that the query is using (if your database supports it) since it expresses your intent more clearly. A redundant condition is more likely to get "optimized away" by other developers or changes in the query planner.</p>
]]></description><pubDate>Wed, 07 Jun 2023 18:13:23 +0000</pubDate><link>https://news.ycombinator.com/item?id=36230918</link><dc:creator>stux</dc:creator><comments>https://news.ycombinator.com/item?id=36230918</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=36230918</guid></item><item><title><![CDATA[New comment by stux in "Ask HN: What are some of the best podcasts for developers?"]]></title><description><![CDATA[
<p>My two favourites at the moment that haven’t already been mentioned are:<p><a href="https://podcasts.apple.com/ca/podcast/algorithms-data-structures-programs/id1541407369" rel="nofollow">https://podcasts.apple.com/ca/podcast/algorithms-data-struct...</a><p><a href="https://podcasts.apple.com/us/podcast/software-unscripted/id1602572955" rel="nofollow">https://podcasts.apple.com/us/podcast/software-unscripted/id...</a></p>
]]></description><pubDate>Sun, 11 Dec 2022 18:22:43 +0000</pubDate><link>https://news.ycombinator.com/item?id=33945799</link><dc:creator>stux</dc:creator><comments>https://news.ycombinator.com/item?id=33945799</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=33945799</guid></item><item><title><![CDATA[New comment by stux in "7GUIs"]]></title><description><![CDATA[
<p>Reminds me of the principles brought up in this talk by Sean Parent:<p><a href="https://youtu.be/0WlJEz2wb8Y" rel="nofollow">https://youtu.be/0WlJEz2wb8Y</a><p>The temperature converter is a good example of an “implies” relationship, which Sean argues is difficult to model in UIs.</p>
]]></description><pubDate>Thu, 05 May 2022 22:46:46 +0000</pubDate><link>https://news.ycombinator.com/item?id=31279222</link><dc:creator>stux</dc:creator><comments>https://news.ycombinator.com/item?id=31279222</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=31279222</guid></item><item><title><![CDATA[New comment by stux in "SQLite: Vulnerabilities"]]></title><description><![CDATA[
<p>I think the tone of this page is frustration that this page needs to exist. I think if I had to constantly deal with stuff like this I'd be pretty frustrated too:<p>> CVS-2019-19317 is an excellent example of a bogus CVE. This CVE describes a bug in an unreleased development version of SQLite. We were working on the new generated columns feature of SQLite, and a third-party hacker found an error in the code under active development, and then wrote a CVE against it. The error was fixed before the problem was ever released, and yet still there is this CVE sitting out there, unresolved, and as far as I can tell unresolveable.<p>Lot's of great related discussion from drh in this[0] sqlite forum thread.<p>[0]: <a href="https://sqlite.org/forum/forumpost/0e8b92001245dec1" rel="nofollow">https://sqlite.org/forum/forumpost/0e8b92001245dec1</a></p>
]]></description><pubDate>Mon, 05 Jul 2021 12:53:14 +0000</pubDate><link>https://news.ycombinator.com/item?id=27737440</link><dc:creator>stux</dc:creator><comments>https://news.ycombinator.com/item?id=27737440</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=27737440</guid></item><item><title><![CDATA[New comment by stux in "Writing a SQLite clone from scratch in C (2017)"]]></title><description><![CDATA[
<p>I agree with your general point that "it's very hard to write safe C code", and<p>> people keep finding use-after-free bugs in sqlite3<p>is true, but<p>> that allow attackers to escalate the memory corruption into arbitrary code execution... bugs that have affected major projects, including iCloud and Chrome; here are a handful: there are lots more even from just the past year :/<p>is just incorrect. I'd strongly encourage you to read <a href="https://www.sqlite.org/cves.html" rel="nofollow">https://www.sqlite.org/cves.html</a></p>
]]></description><pubDate>Mon, 05 Jul 2021 03:18:38 +0000</pubDate><link>https://news.ycombinator.com/item?id=27734355</link><dc:creator>stux</dc:creator><comments>https://news.ycombinator.com/item?id=27734355</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=27734355</guid></item><item><title><![CDATA[New comment by stux in "Simple SQL in Python"]]></title><description><![CDATA[
<p>Yeah this approach is definitely way nicer with some tooling support.<p>For example <a href="https://github.com/cashapp/sqldelight" rel="nofollow">https://github.com/cashapp/sqldelight</a> for Kotlin integrates with IntelliJ to provide ctrl+click navigation (see gif in their readme), and <a href="https://github.com/simolus3/moor/" rel="nofollow">https://github.com/simolus3/moor/</a> for Dart has similar features that integrate with VSCode (<a href="https://moor.simonbinder.eu/docs/using-sql/sql_ide/" rel="nofollow">https://moor.simonbinder.eu/docs/using-sql/sql_ide/</a>).<p>(...since everyone is linking their favorite libraries with a similar approach!)</p>
]]></description><pubDate>Thu, 13 Aug 2020 17:07:28 +0000</pubDate><link>https://news.ycombinator.com/item?id=24145587</link><dc:creator>stux</dc:creator><comments>https://news.ycombinator.com/item?id=24145587</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=24145587</guid></item><item><title><![CDATA[New comment by stux in "How we use Rust in our mobile SDK"]]></title><description><![CDATA[
<p>Dart’s FFI is still stabilizing, but there’s a small example here <a href="https://github.com/brickpop/flutter-rust-ffi" rel="nofollow">https://github.com/brickpop/flutter-rust-ffi</a></p>
]]></description><pubDate>Wed, 29 Apr 2020 11:34:21 +0000</pubDate><link>https://news.ycombinator.com/item?id=23017949</link><dc:creator>stux</dc:creator><comments>https://news.ycombinator.com/item?id=23017949</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=23017949</guid></item></channel></rss>