<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: mst</title><link>https://news.ycombinator.com/user?id=mst</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Wed, 08 Apr 2026 17:07:53 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=mst" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by mst in "JavaScript's New Superpower: Explicit Resource Management"]]></title><description><![CDATA[
<p>13 days late but for posterity:<p>Yes. Not Wanting To Do That was the motivating factor for coming up with this approach :D</p>
]]></description><pubDate>Fri, 30 May 2025 18:03:28 +0000</pubDate><link>https://news.ycombinator.com/item?id=44138601</link><dc:creator>mst</dc:creator><comments>https://news.ycombinator.com/item?id=44138601</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44138601</guid></item><item><title><![CDATA[New comment by mst in "JavaScript's New Superpower: Explicit Resource Management"]]></title><description><![CDATA[
<p>8 days late but for posterity:<p>So far I've only ever been using a private symbol that only exists within the codebase in question (and is then exported to other parts of said codebase as required).<p>If I ever decide to generalise the approach a bit, I'll hopefully remember to do precisely what you describe.<p>Possibly with the addition of providing an "I am overriding this deliberately" flag that blows up if it doesn't already have said symbol.<p>But for the moment, the maximally dumbass approach in my original post is DTRT for me so far.</p>
]]></description><pubDate>Fri, 30 May 2025 17:56:39 +0000</pubDate><link>https://news.ycombinator.com/item?id=44138547</link><dc:creator>mst</dc:creator><comments>https://news.ycombinator.com/item?id=44138547</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44138547</guid></item><item><title><![CDATA[New comment by mst in "JavaScript's New Superpower: Explicit Resource Management"]]></title><description><![CDATA[
<p>Oh my word.<p><pre><code>    const defer = f => ({ [Symbol.dispose]: f })

    using defer(() => cleanup())
</code></pre>
That only just occurred to me. To everybody else who finds it completely obvious, "well done" but it seemed worthy of mention nonetheless.</p>
]]></description><pubDate>Sat, 17 May 2025 13:02:47 +0000</pubDate><link>https://news.ycombinator.com/item?id=44014004</link><dc:creator>mst</dc:creator><comments>https://news.ycombinator.com/item?id=44014004</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44014004</guid></item><item><title><![CDATA[New comment by mst in "JavaScript's New Superpower: Explicit Resource Management"]]></title><description><![CDATA[
<p>I regularly add Symbol based features to JS libraries I'm using (named methods are riskier, of course)<p><pre><code>    import { SomeStreamClass as SomeStreamClass_ } from "some/library"
    export class SomeStreamClass extends SomeStreamClass_ {
      [someSymbol] (...) { ... }
      ...
    }
</code></pre>
I have not blown my foot off <i>yet</i> with this approach but, uh, no warranty, express or implied.<p>It's been working excellently for me so far though.</p>
]]></description><pubDate>Sat, 17 May 2025 12:56:07 +0000</pubDate><link>https://news.ycombinator.com/item?id=44013962</link><dc:creator>mst</dc:creator><comments>https://news.ycombinator.com/item?id=44013962</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44013962</guid></item><item><title><![CDATA[New comment by mst in "JavaScript's New Superpower: Explicit Resource Management"]]></title><description><![CDATA[
<p>If you want to play with this, Bun 1.0.23+ seems to already have support: <a href="https://github.com/oven-sh/bun/discussions/4325">https://github.com/oven-sh/bun/discussions/4325</a></p>
]]></description><pubDate>Sat, 17 May 2025 12:46:21 +0000</pubDate><link>https://news.ycombinator.com/item?id=44013904</link><dc:creator>mst</dc:creator><comments>https://news.ycombinator.com/item?id=44013904</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44013904</guid></item><item><title><![CDATA[New comment by mst in "Show HN: I open-sourced my AI toy company that runs on ESP32 and OpenAI realtime"]]></title><description><![CDATA[
<p>I feel like it would be creepy if the kid was using it without anybody ever checking up on it ... but I think all of my friends with kids would say that the answer to that is "parenting."<p>I mean, giving a kid an unlocked iPad and not bothering to do basic supervision can also have really creepy results, so I'm unconvinced that something like your work actually makes anything worse in the negligent parenting situation, and seems like it could be a lot of fun in the competent parenting one.<p>If you haven't already done this, I'd note that I can think of a number of parents who would probably rather enjoy a version of story mode that let them collaborate with their child and your code to put together a bedtime story before they turn it off for the night and tuck the kid into bed.</p>
]]></description><pubDate>Wed, 23 Apr 2025 13:20:14 +0000</pubDate><link>https://news.ycombinator.com/item?id=43771839</link><dc:creator>mst</dc:creator><comments>https://news.ycombinator.com/item?id=43771839</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43771839</guid></item><item><title><![CDATA[New comment by mst in "Show HN: I open-sourced my AI toy company that runs on ESP32 and OpenAI realtime"]]></title><description><![CDATA[
<p>OpenAI stuff in general seems (to me, at least) to be overly positive and confident in terms of how it replies.<p>While I make no foolish claims that it's perfect, I've found Claude feels much less arrogant, and was genuinely appreciative when one of its replies started with an (accurate, of course I checked primary sources to verify that) analysis of the first half of my question, and then for the more obscure second half said "I'm not sure if I can answer that without hallucinating, but here's some stuff you could try researching."<p>Certainly Claude's tone and "attitude" (FSVO) works much better for me than any other LLM I've tried, though mileage will, of course, vary.<p>(I have zero connection to the company and am still on a free account, I'm just quietly impressed relative to the competition)</p>
]]></description><pubDate>Wed, 23 Apr 2025 13:13:49 +0000</pubDate><link>https://news.ycombinator.com/item?id=43771777</link><dc:creator>mst</dc:creator><comments>https://news.ycombinator.com/item?id=43771777</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43771777</guid></item><item><title><![CDATA[New comment by mst in "Show HN: I open-sourced my AI toy company that runs on ESP32 and OpenAI realtime"]]></title><description><![CDATA[
<p>I absolutely agree with your analysis wrt current tech - however, I suspect the person you're replying to is talking about "what would be really cool" in terms of it happening in a future where the relevant underpinnings had advanced to the point where it could actually manage the situational/nuance stuff properly.<p>I almost certainly wouldn't want to use something that tried to implement it <i>now</i> but it's a lovely dream and the state of the art keeps advancing at quite the speed (i.e. faster than I would have predicted, even when I do my best to take into account that it keeps advancing faster than I would have predicted ;).</p>
]]></description><pubDate>Wed, 23 Apr 2025 13:05:58 +0000</pubDate><link>https://news.ycombinator.com/item?id=43771697</link><dc:creator>mst</dc:creator><comments>https://news.ycombinator.com/item?id=43771697</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43771697</guid></item><item><title><![CDATA[New comment by mst in "The Rise and Fall of Toys 'R' Us (2018)"]]></title><description><![CDATA[
<p>It does kinda make sense to me that the various non-US subsidiaries that survived did so at least in part because those places didn't have anything like Walmart.<p>Whether they'll be able to continue to survive in a world containing the current incarnation of Amazon is a different question and I've honestly no idea how that will turn out.</p>
]]></description><pubDate>Wed, 23 Apr 2025 12:51:25 +0000</pubDate><link>https://news.ycombinator.com/item?id=43771539</link><dc:creator>mst</dc:creator><comments>https://news.ycombinator.com/item?id=43771539</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43771539</guid></item><item><title><![CDATA[New comment by mst in "The Rise and Fall of Toys 'R' Us (2018)"]]></title><description><![CDATA[
<p>Lots of people not in the US saying they got redirected to various places due to (I guess) some sort of GEOIP detection rubbish, me included.<p>There's a (just about readable, the background is greyed out due to a popup, although thankfully the popup doesn't cover any of the text) archive at <a href="https://archive.ph/3HvjM" rel="nofollow">https://archive.ph/3HvjM</a> - far from perfect, and I understand if people would rather not bother than deal with the low contrast ick of the archive, but I found it interesting enough to maximise my screen brightness and read it anyway.</p>
]]></description><pubDate>Wed, 23 Apr 2025 12:47:39 +0000</pubDate><link>https://news.ycombinator.com/item?id=43771489</link><dc:creator>mst</dc:creator><comments>https://news.ycombinator.com/item?id=43771489</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43771489</guid></item><item><title><![CDATA[New comment by mst in "The Rise and Fall of Toys 'R' Us (2018)"]]></title><description><![CDATA[
<p>I got redirected to history.co.uk/ (the root, so lol, no article for you)<p>There's a (just about readable, the background is greyed out due to a popup) archive at <a href="https://archive.ph/3HvjM" rel="nofollow">https://archive.ph/3HvjM</a> - far from perfect, and I understand if people would rather not bother than deal with the low contrast ick of the archive, but I found it interesting enough to maximise my screen brightness and read it anyway.</p>
]]></description><pubDate>Wed, 23 Apr 2025 12:45:39 +0000</pubDate><link>https://news.ycombinator.com/item?id=43771463</link><dc:creator>mst</dc:creator><comments>https://news.ycombinator.com/item?id=43771463</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43771463</guid></item><item><title><![CDATA[New comment by mst in "The Rise and Fall of Toys 'R' Us (2018)"]]></title><description><![CDATA[
<p>Once you get as far as FDIC insurance being involved, the bank generally ceases to exist (ideally via a fire sale to another, more stable bank) and the shareholders generally get (all but) wiped out, at best.<p>Competent risk management so that doesn't (generally) happen is a core competency for a bank, and if regulators think you're doing it wrong they <i>will</i> come down on the bank's leadership like a ton of bricks.<p>If anybody reading this comment would like to learn more from people who understand the area far better than I do, I would recommend patio11's 'Bits About Money' and Matt Levine's 'Money Stuff.'</p>
]]></description><pubDate>Wed, 23 Apr 2025 12:42:06 +0000</pubDate><link>https://news.ycombinator.com/item?id=43771419</link><dc:creator>mst</dc:creator><comments>https://news.ycombinator.com/item?id=43771419</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43771419</guid></item><item><title><![CDATA[New comment by mst in "Defold: cross-platform game engine"]]></title><description><![CDATA[
<p>I remember some years ago we got somebody joining irc.perl.org #perl to ask for help replacing perl with lua as a game scripting system.<p>Obviously, a few people were like "uh, why would -we- want to help you with that?"<p>As soon as I saw an example of this existing code, however, I told said people to STFU ... because for some arsef_cked reason I don't understand at all, they'd used <i>EmbPerl</i> of all things for the scripting, which is basically "PHP for mod_perl" and exactly as horrible as you might imagine even when used for its actual purpose rather than in this case for something completely unrelated.<p>Even if sensible perl would've been an acceptable approach (and speaking as a veteran perl programmer, I would still consider lua to be more suitable; I strongly consider an importand part of the Zen of Perl to be knowing when to use something else) the approach they <i>had</i> taken was an abomination unto Nuggan and very much deserved to die.<p>What they had was very definitely the sort of perl code that justifiably contributes to people hating perl, and I considered it a service to perl to help them rip it out in favour of lua code that actually made sense.<p>(I, personally, think perl works very well as a scripting layer for e.g. irssi, though you might come away disagreeing if you read the average irssi script rather than ones written with a little care and concern ... but for a game? Nah, lua all the frigging way)</p>
]]></description><pubDate>Sun, 20 Apr 2025 14:02:29 +0000</pubDate><link>https://news.ycombinator.com/item?id=43743821</link><dc:creator>mst</dc:creator><comments>https://news.ycombinator.com/item?id=43743821</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43743821</guid></item><item><title><![CDATA[New comment by mst in "Defold: cross-platform game engine"]]></title><description><![CDATA[
<p>If the map editor is an extension (and they have lots of example extensions on github, all of which I've checked are under normal open source licenses) rather than a set of patches to the core code itself, it isn't subject to the Defold License in the first place.<p>(so if the extension API is missing something, contribute the feature(s) you need back to core, then you can write your extension free of issues, so far as I can tell)</p>
]]></description><pubDate>Sun, 20 Apr 2025 12:33:52 +0000</pubDate><link>https://news.ycombinator.com/item?id=43743391</link><dc:creator>mst</dc:creator><comments>https://news.ycombinator.com/item?id=43743391</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43743391</guid></item><item><title><![CDATA[New comment by mst in "Defold: cross-platform game engine"]]></title><description><![CDATA[
<p>Paid <i>extensions</i> are allowed, which seems like a neat compromise.<p>If you need to add an extra API or something to the core to make your paid extension work, you can't charge for that, which I think is designed to incentivise "improve the extension API, contribute that back to the core project, then go wild on your commercial extension and see if you can get people to pay for it."<p>I have no clue whether this approach will turn out to work in the medium-to-long term, but it's a fascinating idea and seems at the very least like an experiment very much worth conducting.</p>
]]></description><pubDate>Sun, 20 Apr 2025 12:29:31 +0000</pubDate><link>https://news.ycombinator.com/item?id=43743376</link><dc:creator>mst</dc:creator><comments>https://news.ycombinator.com/item?id=43743376</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43743376</guid></item><item><title><![CDATA[New comment by mst in "Defold: cross-platform game engine"]]></title><description><![CDATA[
<p>They seem to be fairly explicit that _they_ believe that extensions aren't covered by those restrictions.<p>Possibly the license text needs to be tweaked to make that more clear (IANAL too) but I read it as meaning that commercial extensions were fine, just not commercialising a patched version of the core code.<p>Your concerns do seem entirely reasonable, but if, in practice, they become an issue, it seems like the codified-in-law goals of the foundation (see <a href="https://defold.com/foundation/" rel="nofollow">https://defold.com/foundation/</a>) strongly suggest they _would_ tweak the license text as required.<p>I dunno, I don't think the harsh restrictions you mention exist, and I'd hope that if any actual lawyers read them as existing then their employers will direct them to help get the license bugfixed.<p>So colour me "cautiously optimistic" here.</p>
]]></description><pubDate>Sun, 20 Apr 2025 12:25:01 +0000</pubDate><link>https://news.ycombinator.com/item?id=43743355</link><dc:creator>mst</dc:creator><comments>https://news.ycombinator.com/item?id=43743355</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43743355</guid></item><item><title><![CDATA[New comment by mst in "Defold: cross-platform game engine"]]></title><description><![CDATA[
<p>> Yeah but the open source ones ARE guaranteed. Even if they later become closed source, the code up till that point will remain open source forever.<p>The changes from the Apache 2.0 license are sufficiently minimal that you can _still_ fork it from that point, you just (a) won't be able to use the trademark (b) won't be able to sell it.<p>Given the clearly stated goals of the foundation and hence the project, that seems to be providing exactly the guarantees they intend to provide, and while your point about assurances is entirely fair, I think you're underestimating the level of legal guarantees that you do get here.</p>
]]></description><pubDate>Sun, 20 Apr 2025 12:16:47 +0000</pubDate><link>https://news.ycombinator.com/item?id=43743307</link><dc:creator>mst</dc:creator><comments>https://news.ycombinator.com/item?id=43743307</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43743307</guid></item><item><title><![CDATA[New comment by mst in "The Atari 1200XL fiasco"]]></title><description><![CDATA[
<p>My first Archimedes came with a ring bound user's manual that was, IIRC, about 1/3 a guide to using the Risc OS GUI, and then 2/3 a programming guide to the version of BBC BASIC that shipped with it.<p>(I remember reading it end to end as a child laid on my parents' bed because the light was better in there than in my room, shortly followed by developing the programming addiction that has stuck with me the rest of my life ;)<p>It didn't cover arm2 assembly, but my parents bought me an extremely good book that did - and described the chip architecture itself in detail as well.<p>I only touched a Commodore at a friend's place to play games on it, but it sounds like they also understood hobbyists :D</p>
]]></description><pubDate>Thu, 17 Apr 2025 12:59:28 +0000</pubDate><link>https://news.ycombinator.com/item?id=43716166</link><dc:creator>mst</dc:creator><comments>https://news.ycombinator.com/item?id=43716166</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43716166</guid></item><item><title><![CDATA[New comment by mst in "The UCSD p-System, Apple Pascal, and a dream of cross-platform compatibility"]]></title><description><![CDATA[
<p>Having cut my teeth on early Archimedes machines, I have a deep fondness for arm2's 16 instructions and the (lost during a house move, I suspect) assembly book I had that gave me enough of a description of the internals of the chip that I could desk check my assembly in my head with reasonable confidence that I was mentally emulating what the chip was actually doing rather than just what outputs I'd get for a given set of inputs.<p>Having to remember where I'd put the relevant chunk of assembler any time I needed a division routine was, admittedly, less fun, but the memories remain fond nevertheless :)</p>
]]></description><pubDate>Wed, 16 Apr 2025 22:19:01 +0000</pubDate><link>https://news.ycombinator.com/item?id=43710978</link><dc:creator>mst</dc:creator><comments>https://news.ycombinator.com/item?id=43710978</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43710978</guid></item><item><title><![CDATA[New comment by mst in "The Pain That Is GitHub Actions"]]></title><description><![CDATA[
<p>Turing complete YAML ends up being an app specific terrible programming language.<p>Many of us would rather use a less terrible programming language instead.</p>
]]></description><pubDate>Thu, 20 Mar 2025 11:17:06 +0000</pubDate><link>https://news.ycombinator.com/item?id=43421723</link><dc:creator>mst</dc:creator><comments>https://news.ycombinator.com/item?id=43421723</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43421723</guid></item></channel></rss>