<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: klibertp</title><link>https://news.ycombinator.com/user?id=klibertp</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Thu, 08 Oct 2026 06:05:04 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=klibertp" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by klibertp in "LinkedIn Larpmaxxing"]]></title><description><![CDATA[
<p>You're lucky, since it probably means you never got hit with serious, high-level LinkedIn-speak. People speaking like this exist: I only had one or two interactions, but I honestly ran for my life and sanity as soon as I could. It's eerie, and both possible interpretations ("this guy speak like this for a reason (I'm not going to like that reason)" and "this guy honestly believes what he's saying (is he mad?)") are frightening. I feel really fortunate to only really encounter them IRL this rarely.</p>
]]></description><pubDate>Thu, 01 Oct 2026 15:06:21 +0000</pubDate><link>https://news.ycombinator.com/item?id=49922655</link><dc:creator>klibertp</dc:creator><comments>https://news.ycombinator.com/item?id=49922655</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49922655</guid></item><item><title><![CDATA[New comment by klibertp in "LinkedIn Larpmaxxing"]]></title><description><![CDATA[
<p>HN <i>is</i> an ad platform - it's just maintaining the old style of providing actual value to bribe users into accepting the occasional ad organically, instead of min-maxing for engagement and providing nothing else.<p>Mentioning LessWrong and 4chan in the same breath made me chuckle, but it's actually a good summary of the modern Internet: to be ad-free, you need to either care very much, or simply not care at all. The middle of the road has been bought, fenced, and you need to pay (with money or attention) to access it.</p>
]]></description><pubDate>Thu, 01 Oct 2026 14:44:16 +0000</pubDate><link>https://news.ycombinator.com/item?id=49922338</link><dc:creator>klibertp</dc:creator><comments>https://news.ycombinator.com/item?id=49922338</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49922338</guid></item><item><title><![CDATA[New comment by klibertp in "Malleable software: Restoring user agency in a world of locked-down apps (2025)"]]></title><description><![CDATA[
<p>Agreed - the circumstances indeed changed, and the possibility of automatically generating code from a natural language prompt is something we didn't have ever before.<p>As an Emacs user, I can testify that it's a game-changer. Codex CLI paired with `emacs --batch` is perfectly capable of setting up, developing, and testing just about any kind of extension you'd want. And with packages integrating LLMs into Emacs, you don't even need an external harness - open a buffer, type a prompt, get a useful extension or customization. It really works quite well.<p>But I stand by my opinion: Emacs is just one piece of software, not completely unknown, but rather niche, all things considered. Almost no other app supports seamless extensibility at Emacs' level (not even web browsers come close, and not by accident - it was a conscious decision to drastically limit what plugins can do).<p>Most programmers don't feel the need to make their apps easily and deeply extensible. Most users don't feel the need to extend their apps - even simple customization is rare. Most product owners don't want users to have "too much" freedom to change things.<p>So, while LLMs do give us a realistic path towards making extensible/malleable software attractive to users, almost <i>nobody is taking that path</i> right now. Realizing LLMs' potential in this area requires large parts of both the user and developer populations to recognize the possibilities and then actively pursue them for a few years. For now, it doesn't look like anything like that is happening.</p>
]]></description><pubDate>Wed, 30 Sep 2026 10:32:01 +0000</pubDate><link>https://news.ycombinator.com/item?id=49906917</link><dc:creator>klibertp</dc:creator><comments>https://news.ycombinator.com/item?id=49906917</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49906917</guid></item><item><title><![CDATA[New comment by klibertp in "Malleable software: Restoring user agency in a world of locked-down apps (2025)"]]></title><description><![CDATA[
<p>> Its quite reasonable to assume a future operating system<p>Possible, yes. Reasonable to assume? I don't think so.<p>The issue is that we had that for a decade or two already: people who lived through the era will tell you more, but Smalltalk environments and Lisp Machines already realized this "malleability" to the extreme and... died. We got DOS instead; the rest is (a pretty shameful) history.<p>Emacs is just about the only artifact (along with Squeak-derived Smalltalk-likes) of the era that still exists and is in popular use. The PC revolution killed interactive, vertically integrated, fully programmable environments. It happened because of hardware limitations of the time, but the consequences are cultural: the LispMachine-like environment simply faded from the collective imagination of programmers who learned programming by writing "resident programs" for DOS in assembly. It didn't happen immediately: DOS was sufficiently open for modification that (if you knew x86 assembly) you could mold it to your preferences, but the hardware wasn't powerful enough to do much with it. As hardware advanced, PC OSes ossified, adding abstraction level after level in both hardware and software. Early Windows was trivial to dissect - I remember WindowBlinds, a set of apps that transformed Win 95/98 into almost anything you wanted. I recently checked, and nothing like that is possible in the recent Windows versions. GNOME on Linux seems to have followed the same trajectory (fortunately, there are still a few other desktop environments there).<p>So I don't think the "malleable software" is going to return any time soon. We have not only rigid software everywhere - we have 30 years of shared culture of developing and using such rigid tools. With the size of the programmer population, changing that culture in any meaningful way seems very hard. There will be people who rediscover Lisp Machine ideas, there will be a segment of users swearing by Emacs and similar apps, but we'd need a revolution in corporate and educational policies to get anywhere beyond that, I think.</p>
]]></description><pubDate>Mon, 28 Sep 2026 12:06:57 +0000</pubDate><link>https://news.ycombinator.com/item?id=49876718</link><dc:creator>klibertp</dc:creator><comments>https://news.ycombinator.com/item?id=49876718</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49876718</guid></item><item><title><![CDATA[New comment by klibertp in "I built non-autoregressive decision models with RL a year ago"]]></title><description><![CDATA[
<p>Jev was built using the same architecture Laya's author proposed[1] in March 2025. Laya is an open-source system based on that research from a year ago. Whether Jev is also based on the OP's materials or independently invented is hard to say.<p>[1] <a href="https://arxiv.org/abs/2503.23303" rel="nofollow">https://arxiv.org/abs/2503.23303</a></p>
]]></description><pubDate>Sat, 19 Sep 2026 12:08:45 +0000</pubDate><link>https://news.ycombinator.com/item?id=49765878</link><dc:creator>klibertp</dc:creator><comments>https://news.ycombinator.com/item?id=49765878</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49765878</guid></item><item><title><![CDATA[New comment by klibertp in "Devastated father says his 9-year-old son spent $118,000 on YouTube ads"]]></title><description><![CDATA[
<p>My internet provider in the early 90s maintained a Unix system with pine and lynx; it only allowed access to WWW a few months after we subscribed to their dial-up. I didn't know what to do with that remote system, but I knew `cd` and `ls`, so I looked around. Somewhere on the filesystem, I found a Hexen (IIRC) demo, and decided to download it via Kermit (the only tool/protocol I knew how to use). It took almost a day to finish, but in the end it ran - I was overjoyed. I somehow even found a cheat code for all weapons, and spent a few weeks playing the first 2 levels, while occasionally poking around in the remote system. Then the phone bill came - for 7x more than normal, on top of the ISP subscription - and I lost access to both the Internet and the computer for more than a month. Needless to say, I learned to watch that connection timer like a hawk, and it served me well for the next 10 years before broadband connection was available.</p>
]]></description><pubDate>Wed, 16 Sep 2026 13:12:44 +0000</pubDate><link>https://news.ycombinator.com/item?id=49726507</link><dc:creator>klibertp</dc:creator><comments>https://news.ycombinator.com/item?id=49726507</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49726507</guid></item><item><title><![CDATA[New comment by klibertp in "Neijuan"]]></title><description><![CDATA[
<p>Interestingly, an almost identical proverb exists in Polish ("him" is replaced with "swine" canonically, but it's often replaced by a person's name). It's used to suggest that someone is either too dumb or too self-assured to accept criticism. Is the intended meaning similar in Greek?</p>
]]></description><pubDate>Fri, 11 Sep 2026 10:40:29 +0000</pubDate><link>https://news.ycombinator.com/item?id=49656177</link><dc:creator>klibertp</dc:creator><comments>https://news.ycombinator.com/item?id=49656177</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49656177</guid></item><item><title><![CDATA[New comment by klibertp in "Astra for Coding: Why Are We Doing This Again?"]]></title><description><![CDATA[
<p>What's funny is that with Sol, I added an instruction to AGENTS.md in one project to prefer sed/python ("deterministic tools" in general) for moving code instead of deleting it and rewriting it elsewhere from memory, because otherwise it butchered comments. After switching to Astra, I saw it suddenly do this for all edits in all projects, which isn't great: the second argument to `replace` is still written "from memory", but now you need to unravel the Python script before you can understand what was actually changed.</p>
]]></description><pubDate>Fri, 11 Sep 2026 08:27:50 +0000</pubDate><link>https://news.ycombinator.com/item?id=49655184</link><dc:creator>klibertp</dc:creator><comments>https://news.ycombinator.com/item?id=49655184</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49655184</guid></item><item><title><![CDATA[New comment by klibertp in "fx :Tiny, open, native coding agent."]]></title><description><![CDATA[
<p>Yes, large. I haven't used Zig much myself, but from a few experiments I ran, Zig handles dead code elimination exceptionally well. It compiled a full Win32 GUI calc app that used Capy (a full, cross-platform GUI framework) into a 133kb executable. Removing Capy completely and using Win32 APIs directly produced an even smaller (93kb) binary (it also removed some DLL dependencies, leaving basically only ntdll.dll). For the same task, Rust + Slint produced a 4.7 MB binary that still depended on multiple (non-Windows-provided) shared libraries.<p>Given another commenter's mention of a similar project written in Nim that yielded a 1.6 MB binary, my first guess is that the 6 MB Zig binary simply isn't optimized for size - it might be a debug build. If not that, then I'm not sure what's happening, but yeah, in the context of Zig, 6mb for a CLI app <i>is</i> a bit strange.</p>
]]></description><pubDate>Thu, 20 Aug 2026 10:35:22 +0000</pubDate><link>https://news.ycombinator.com/item?id=49372775</link><dc:creator>klibertp</dc:creator><comments>https://news.ycombinator.com/item?id=49372775</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49372775</guid></item><item><title><![CDATA[New comment by klibertp in "I hate packaging my software for Linux"]]></title><description><![CDATA[
<p>Yeah, that's why the second prompt starts with "You misunderstood" and a correction. This is a long conversation, with multiple experiments performed and a lot of inspection of all the intermediate results on my end between prompts. You assuming otherwise without reading is a bit offensive.<p>To your point on installation: sure, but if you value it that much, just pay Valve to add you to the Steam store? And that would be the only possible solution given my constraints, all explicitly mentioned at least once in the linked conversation:<p><pre><code>   - binary produced today works
   - without changes
   - on both Linux and Windows
   - is a GUI app
   - has some dependencies
   - is developed on Linux (no Windows needed)
</code></pre>
For this set of constrains, Proton/Wine with a cross-compiled Win32 binary/bundle is literally the only solution (care to name another?)<p>For other constraints, it's <i>a solution</i>. Worth considering. That's all.</p>
]]></description><pubDate>Wed, 12 Aug 2026 13:32:21 +0000</pubDate><link>https://news.ycombinator.com/item?id=49272159</link><dc:creator>klibertp</dc:creator><comments>https://news.ycombinator.com/item?id=49272159</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49272159</guid></item><item><title><![CDATA[New comment by klibertp in "I hate packaging my software for Linux"]]></title><description><![CDATA[
<p>I'm saying you don't need to publish on Steam to make your app run on Steam. You really don't. A user can add any executable to the Steam Library via the "Add a Game -> Add Non-Steam Game" button in the bottom-left corner of the GUI. It works 100% locally and with any kind of executable (not just games). It also bypasses any auto-updates. Finally, you can launch an app like that from the CLI or a desktop shortcut without opening Steam (well, it'll still run and update itself when needed, but you bypass the GUI).<p>The full discussion about this I had with ChatGPT is here: <a href="https://klibert.pl/statics/Steam-Linux-Runtime-Stack-2026-08-10.html" rel="nofollow">https://klibert.pl/statics/Steam-Linux-Runtime-Stack-2026-08...</a></p>
]]></description><pubDate>Wed, 12 Aug 2026 13:00:03 +0000</pubDate><link>https://news.ycombinator.com/item?id=49271744</link><dc:creator>klibertp</dc:creator><comments>https://news.ycombinator.com/item?id=49271744</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49271744</guid></item><item><title><![CDATA[New comment by klibertp in "I hate packaging my software for Linux"]]></title><description><![CDATA[
<p>Steam provides a stable Linux runtime, but it's not containerized or isolated Docker/Flatpak-style. It's closer to a chrooted env with some specific distro, but without chroot and the need to maintain said distro. They want to provide runtime stability and compatibility comparable to that on Windows - it's a great initiative, and I really hope they'll succeed. The snowflake-like userlands on Linux are a pain, but the current solutions (Docker, Flatpak, things like conda) are all bad solutions to this particular problem (though they are good solutions to other problems, so it's not a criticism, just a difference in goals).<p>However, Steam Runtime for Linux was still in beta, last I checked. Plus, it doesn't solve the cross-platform part. But for Linux-native development, Steam Runtime might be what's needed to have long-term compatibility for apps (finally).</p>
]]></description><pubDate>Wed, 12 Aug 2026 12:56:12 +0000</pubDate><link>https://news.ycombinator.com/item?id=49271698</link><dc:creator>klibertp</dc:creator><comments>https://news.ycombinator.com/item?id=49271698</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49271698</guid></item><item><title><![CDATA[New comment by klibertp in "I hate packaging my software for Linux"]]></title><description><![CDATA[
<p>It doesn't have to cost money. You can write a normal Windows app and run it under Proton. For end users, provided that they have Steam installed (it's free), they can just add "Non-Steam game" to the library - it's ~4 clicks.<p>It works. It works great. It's actually the only sensible solution if you want something compiled today to work without changes on both Windows and Linux in 10 years.<p>I did an experiment, implementing a GUI calculator, and Rust + Slint + cross-compiling to Windows (I develop on Linux) + Proton runtime was the clear winner:<p><pre><code>    - compiled bundle: 20 MB (F#/dotNet + Avalonia: 207 MB)
    - loc: ~1000 (dotNet: ~700)
    - dlls: none other than what Wine provides (dotNet: 67 .dll files)
</code></pre>
You have an option to build for Linux for dev/testing, then you cross-compile to Windows and provide a short (4 points) instruction for adding the Windows build to Steam on Linux. It works, and it will most likely continue to work in the future, unless Valve folds and both Wine and Proton die. The only thing worth looking out for is crates that depend on external shared libraries: you need to bundle them manually. Other than that, it works.<p>Another option I considered was Zig with the Win32 API, but the LOC count was unacceptably high.<p>I'm working on a write-up for the experiment. The premise was: "I'm working on Linux and want to create a GUI app that will, with the build done today, continue working on Windows and Linux for the next 10 years". Steam/Proton + mostly static compilation + bundled libraries is the only solution that makes this mostly painless.</p>
]]></description><pubDate>Wed, 12 Aug 2026 12:47:21 +0000</pubDate><link>https://news.ycombinator.com/item?id=49271580</link><dc:creator>klibertp</dc:creator><comments>https://news.ycombinator.com/item?id=49271580</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49271580</guid></item><item><title><![CDATA[New comment by klibertp in "What's the best programming language for coding agents?"]]></title><description><![CDATA[
<p>Interesting to see Factor and J so far to the bottom and right in the zstd test, but much closer to the rest in the Pandoc test (with Asm taking their place). This suggests that both the task and language (not just the language) influence the efficiency.<p>I try to use LLMs for Kotlin, Python, Emacs Lisp, and Smalltalk (among many others, but these are what I have ongoing projects in). You'd think that Kotlin and Python would be much easier to generate than the other two, right? But that's not what I observed: Elisp is very close to Python in terms of how fast and how many tokens it takes to generate the code! The generated Elisp code is often better on the first try than generated Kotlin code for a comparable task.<p>Smalltalk is... complex. It's meant to be developed interactively in a running image, but running Codex on API pricing is too expensive, and Codex CLI cannot interact with the image without a lot of plumbing. I ended up building multiple tools that live in the image and a protocol for calling them, and a set of skills for using them - including code search, docs search, test runner, and script/string evaluator. I also defined a way of annotating types for method arguments and return values (without having a type checker), which helped a lot. Still, it's an uphill battle; I wouldn't go there on API pricing!<p>My takeaway is that it's not obvious which language fits the LLMs and a given task best.</p>
]]></description><pubDate>Tue, 11 Aug 2026 12:51:26 +0000</pubDate><link>https://news.ycombinator.com/item?id=49257489</link><dc:creator>klibertp</dc:creator><comments>https://news.ycombinator.com/item?id=49257489</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49257489</guid></item><item><title><![CDATA[New comment by klibertp in "What's the best programming language for coding agents?"]]></title><description><![CDATA[
<p>But it eliminates JS, in this case including graphs. I prefer Ctrl+Shift+M (responsive mode) and resizing the viewport with the mouse.</p>
]]></description><pubDate>Tue, 11 Aug 2026 11:20:42 +0000</pubDate><link>https://news.ycombinator.com/item?id=49256437</link><dc:creator>klibertp</dc:creator><comments>https://news.ycombinator.com/item?id=49256437</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49256437</guid></item><item><title><![CDATA[New comment by klibertp in "Assert(): A Modern How To"]]></title><description><![CDATA[
<p>> I think in order to appreciate DbC [...] one needs to have some idea of "Program Correctness" concepts in the lineage of Floyd/Hoare/Dijkstra and Meyer.<p>Agreed. To me, full-program (or system) formal verification is something I'd love to have, but I also acknowledge that even champions of formal methods (like Tony Hoare you mentioned) doubt its practicality, due to how large our software systems tend to be nowadays. If so, then let's take as much as we can from those methods (powerful, expressive type systems) and let's complement that with proper infrastructure for ensuring correctness (contracts, invariants, various kinds of automated tests) that are weaker, but much more applicable in practice.<p>Unfortunately, we're still stuck in a place where a plain `assert` - basically a "goto of ensuring correctness" - needs to be introduced to people with posts like the OP's...<p>> To me this is the need of the hour and yet i don't see people talking about it<p>Yes, I feel the same. I think the reason here is that we (programmers, collectively) didn't really take correctness of our programs seriously before, so there's just not much awareness about the research and work done in this problem space. Many people now are ready to admit that yes, we <i>do need</i> stronger, more comprehensive and better integrated tools for controlling, showing, and ensuring correctness - but the need for them arrived so quickly (and along with so <i>many</i> other, serious changes to the craft), that they simply haven't been able to catch up on the prior work fast enough. It'll probably take a few years, at least, for the urgent need for better tools to become widely recognized. It'll take even more time to get to usable implementations.<p>> (gradual typing is whole another beast altogether)<p>It's actually not. Contracts in Racket are duals of types (well, not fully, since you can put arbitrary code in a predicate and make that into a contract; however, that's more of an escape hatch than the default use of contracts in Racket). Typed Racket can wrap a typed value in a contract that guarantees that, when the value comes back, it exactly conforms to its type. This way, you can avoid expensive casts. Moreover, Typed Racket has refinement types (ie. that a given int will always be greater than 0), and these refinements have direct contract equivalents, too. So a Typed Racket value can be statically proven to have that property on the typed side, and then you don't have to check or prove it again when it comes back from the untyped world.<p>I believe this is an extremely neat capability that ties types and contracts together, opening some very interesting possibilities. Like, if a contract can be expressed as a refinement on a type, and we already have support for that in the type checker, we can automatically promote such contracts into types! That's huge, because if the contracted value never leaves a well-typed environment, we can eliminate all runtime checks without affecting correctness. It also addresses the most common problem with contracts (and assertions): runtime overhead.<p>I'm aware of all that because I decided to build an environment that would blend a fast, interactive development loop, an isolated environment in which agents can comfortably live, and an expansive toolkit for checking and ensuring correctness. I'm building it on top of Pharo Smalltalk, Glamorous Toolkit, and an extended Gradualtalk implementation that would also handle contracts. There are some problematic parts, but if I manage to achieve my goals in a Smalltalk image, I feel like it'll prove it can be achieved in literally every other environment, too :)<p>EDIT: Forgot to mention, there's a pretty extensive list of papers on contracts and gradual typing here: <a href="https://samth.github.io/gradual-typing-bib" rel="nofollow">https://samth.github.io/gradual-typing-bib</a><p>EDIT: "Types to contracts" is already presented in papers I referenced before (Typed Racket ones); forgot to mention the "contracts to types" (or rather, static verification of contracts) part: "Soft Contract Verification for Higher-Order Stateful Programs" and "Soft Contract Verification" by Phuc C. Nguyen et al.</p>
]]></description><pubDate>Mon, 10 Aug 2026 17:07:08 +0000</pubDate><link>https://news.ycombinator.com/item?id=49246586</link><dc:creator>klibertp</dc:creator><comments>https://news.ycombinator.com/item?id=49246586</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49246586</guid></item><item><title><![CDATA[New comment by klibertp in "Because It's Not Fun Enough: why languages fail"]]></title><description><![CDATA[
<p>> AI is great at producing the code<p>It's not. The latest-and-greatest models on $200/mo subscriptions routinely produce bloated code full of boilerplate. They are incapable of producing elegant, concise, readable, correct-by-design code - they literally can't do it, even with the smallest samples, and it gets much worse as the scale of the implementation increases. You can't will the capability into them through prompts. You probably could do so with fine-tuning or other techniques, but I suspect that would just make the variance higher - and the average code quality would be much lower than it already is.<p>The code generated by LLMs is passable, but never truly good. The same is true for LLM-generated designs and architectures, just even more so. They are trained on all the code out there, and the percentage of really good code is so vanishingly small that it's incredibly hard to replicate even for humans after a lifetime of learning. LLMs would need to reach a next level of capability to consistently <i>recognize</i> good code. Generating it consistently is out of the question for at least the next few generations of the AI.<p>Not all code has to, or needs to, be good. LLM-generated code is useful and helpful. It's an incredible time-saver for one-off scripts, and you can make an LLM implement and maintain parts of the program you need, but don't care to make good at the moment. LLMs are <i>very efficient</i> (if we ignore externalities) and <i>easy-to-use</i> code generators, which is huge in itself. However, they are not great or even good at generating code.<p>Last weekend, there was a post showcasing a Rust library with utility functions for writing parsers. It featured a simple line-by-line INI file parser. I decided to rewrite it in Python with PyParsing, a library I happen to know well. GPT-5.6-Sol High wrote the grammar that worked. It was tragically bloated, poorly factored, and multiple grammar problems were masked by parse actions. It worked, but it was decidedly bad code. I then rewrote the grammar by hand, getting it down to 1/3 of the length, eliminating all parse actions, and improving error messages in the process. I then spent 2 hours trying to convince the model to perform the same refactorings I did, but had to give up: no matter what I tried, the model couldn't get all the needed changes to coexist at the same time. When it got the terseness right, it inevitably ruined error handling. When it got the grammar right, it ruined the factoring. And so on.<p>Later on, I decided to make the model rewrite the PyParsing grammar in Smalltalk's PetitParser - a pretty close match in terms of capabilities. I gave the model my version of the grammar. I told it to translate that Python code. It <i>still</i> butchered more than half of it, doing "optimizations" (the model's words) that replaced a cached production with a literal + 3 message sends in 8 places in the (trivial!) grammar. I explained what I value in the original code, why those are important features to keep, and tried again. It <i>still</i> couldn't give me an idiomatic Smalltalk translation, though it did get significantly closer. I concluded that the model has a very limited understanding of how concepts I wanted can manifest in actual code and called it a day.<p>To give you an idea of the scale: excluding blank lines and imports, the grammar is exactly 10 lines of Python...<p>So no - LLMs are not <i>good</i> at generating code. They are just fast and convenient, and again - that's huge. But it's nowhere near a level where it can be steered to produce good code - much less being able to generate good code by default.<p>(I realize this post is a bit off topic and it's just an anecdote - but I've experienced this daily for the past half a year; I'm not basing my opinion on just that last attempt.)</p>
]]></description><pubDate>Mon, 10 Aug 2026 13:38:00 +0000</pubDate><link>https://news.ycombinator.com/item?id=49243502</link><dc:creator>klibertp</dc:creator><comments>https://news.ycombinator.com/item?id=49243502</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49243502</guid></item><item><title><![CDATA[New comment by klibertp in "Tail-Call Interpreters in Rust – Jimmy Ostler"]]></title><description><![CDATA[
<p>It's not that bad... But it is bad. It looks cool, and I managed to read the first few paragraphs. But when the code scrolled into view, it stopped looking cool and became an eye-destroying disaster.<p>YMMV, but OP, if you read this, <i>please</i> consider disabling the text-shadow for code snippets... <i>or</i> disabling syntax highlighting in code snippets. These two things are not a good thing together.</p>
]]></description><pubDate>Mon, 10 Aug 2026 12:13:20 +0000</pubDate><link>https://news.ycombinator.com/item?id=49242635</link><dc:creator>klibertp</dc:creator><comments>https://news.ycombinator.com/item?id=49242635</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49242635</guid></item><item><title><![CDATA[New comment by klibertp in "Assert(): A Modern How To"]]></title><description><![CDATA[
<p>The ones I most likely had in mind (recovered with help from ChatGPT due to my memory being fuzzy - but most links it produced were in my bookmarks):<p>- Matthias Felleisen, Sam Tobin-Hochstadt, “Interlanguage Migration: From Scripts to Programs” (DLS 2006)<p>- Sam Tobin-Hochstadt, Matthias Felleisen, “The Design and Implementation of Typed Scheme” (POPL 2008)<p>- Sam Tobin-Hochstadt, “Typed Scheme: From Scripts to Programs” (2010).<p>- Asumu Takikawa et al., “Gradual Typing for First-Class Classes” (OOPSLA 2012)<p>- Esteban Allende, Johan Fabry, Éric Tanter, “Cast Insertion Strategies for Gradually-Typed Objects” (DLS 2013)<p>- Esteban Allende, Johan Fabry, Ronald Garcia, Éric Tanter, “Confined Gradual Typing” (OOPSLA 2014).<p>- Nadia Polikarpova, Ilinca Ciupa, Bertrand Meyer, “A Comparative Study of Programmer-Written and Automatically Inferred Contracts” (ISSTA 2009).<p>There's <i>a lot</i> more research and literature on the topic. Naive approaches were tried ~2010 and were shown to be performance disasters, but by ~2015 we already had those issues mostly solved. I seriously thought that every new language (or new release of an existing PL) after that would feature first-class support for contracts and gradual typing, along with built-in support for automatically generating/harvesting types and contracts from tests. It's 2026, and the mainstream still doesn't seem aware of the possibilities, much less actively going in that direction. It's nuts!</p>
]]></description><pubDate>Mon, 10 Aug 2026 10:56:32 +0000</pubDate><link>https://news.ycombinator.com/item?id=49242051</link><dc:creator>klibertp</dc:creator><comments>https://news.ycombinator.com/item?id=49242051</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49242051</guid></item><item><title><![CDATA[New comment by klibertp in "Assert(): A Modern How To"]]></title><description><![CDATA[
<p>> Side note: I expected to see mention of design by contract and function preconditions/invariants/postconditions.<p>For some reason, DbC seems to be virtually unknown to most programmers. It's incredibly strange: I was <i>sure</i> that DbC would be the next big step after gradual typing. It's just such a natural fit: where the type system gives up (any/dynamic), the contract system can step in. There are papers on automatically generating contracts from types (and vice versa) to allow typed values to flow through untyped code; there are papers showing how to make that performant enough; papers showing how to instrument systems to generate types and contracts from tests; etc. They are all 15-20 years old now, yet there's still nothing suggesting that the mainstream even looks that way, much less actually implements something usable.</p>
]]></description><pubDate>Sun, 09 Aug 2026 12:42:10 +0000</pubDate><link>https://news.ycombinator.com/item?id=49230886</link><dc:creator>klibertp</dc:creator><comments>https://news.ycombinator.com/item?id=49230886</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49230886</guid></item></channel></rss>