<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: gedge</title><link>https://news.ycombinator.com/user?id=gedge</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Wed, 06 May 2026 14:08:41 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=gedge" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by gedge in "Three Inverse Laws of AI"]]></title><description><![CDATA[
<p>> quite literally, intrinsically incoherent<p>There's nothing incoherent with these laws. This entire comment, however, is incoherent. So much so, I have no clue if there's a point being made in here.<p>> because they are attempt to import assumptions about human nature and behavior which are not just a little false, but so false as to obliterate any remaining value the rules have.<p>Nope. You must've read a completely different article.<p>[EDIT]
I'll try to make this comment have a bit more substance by posing a question: how would you back up your claim about incoherence? What are the assumptions about human nature that are supposedly false?</p>
]]></description><pubDate>Tue, 05 May 2026 19:09:13 +0000</pubDate><link>https://news.ycombinator.com/item?id=48027081</link><dc:creator>gedge</dc:creator><comments>https://news.ycombinator.com/item?id=48027081</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48027081</guid></item><item><title><![CDATA[New comment by gedge in "Three Inverse Laws of AI"]]></title><description><![CDATA[
<p>> It's patently insane to demand that humans alter their behavior to accommodate the foibles of mere machines<p>Did you fully read the original thing? No demands were being made, or I didn't read it that way. It was simply a suggestion for a better way of interacting with AI, as it stated in the conclusion:<p>"I am hoping that with these three simple laws, we can encourage our fellow humans to pause and reflect on how they interact with modern AI systems"<p>Sure, (many/most) humans are gonna do what they're gonna do. They'll happily break laws. They'll break boundaries you set. Do we just scrap all of that?<p>Worthwhile checking yourself here. It feels like you've set up a straw man.<p>> There is no finite set of rules that can constrain AI systems to make them "safe". I don't have a proof, but I believe that "AI safety" is inherently impossible, a contradiction of terms. Nothing that can be described as "intelligent" can be made to be safe.<p>If we want to talk about "disagree with this framing", to me this is the prime example. I'm struggling to read it as anything other than defeatist or pedantic (about the term "safe"). When we talk about something keeping us "safe", we're typically not saying something will be "perfectly safe". I think it's rare to have a safety system that keeps you 100% safe. Seat belts are a safety device that can increase your safety in cars, but they can still fail. Traffic laws are established (largely) to create safety in the movement of people and all the modes of transportation, but accidents still happen.<p>I'm not an expert on this topic, so I won't make any claims about these three laws and their impact on safety, but largely I would say they're encouraging people to think critically. I'd say that's a good suggestion for interacting with just about anything. And to be clear, "critical thinking" to me means being skeptical (/ actively questioning), while remaining objective and curious.<p>Not a real argument or anything, but I'm reminded of the episode of The Office where Michael Scott listens to the GPS without thinking and drives into the lake. The second law in the article would have prevented that :)</p>
]]></description><pubDate>Tue, 05 May 2026 17:40:46 +0000</pubDate><link>https://news.ycombinator.com/item?id=48025853</link><dc:creator>gedge</dc:creator><comments>https://news.ycombinator.com/item?id=48025853</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48025853</guid></item><item><title><![CDATA[New comment by gedge in "Statecharts: hierarchical state machines"]]></title><description><![CDATA[
<p>I love statecharts, but I wanted to challenge some of the "why"s in this post.<p>> It’s easier to understand a statechart than many other forms of code.<p>There's a lot of arguable quantifiers here, but when I was started at <a href="https://gadget.dev" rel="nofollow">https://gadget.dev</a> (no longer working there), we started with hierarchical statecharts as a way for users to specify their behaviour (with the ability to customize transitions with code snippets). No matter what we did, users just found it incredibly confusing. This was with a customer based that had decent spread across the "how technical are you" spectrum.<p>Did we do a poor job of introducing it to the user? Maybe. We were forced to switch everything over to flat code though.<p>> As complexity grows, statecharts scale well.<p>I think there's a big asterisk on this one, likely. I had to undo a lot of unfortunate statechart code that was introduced for some of the backend of gadget, and I consider myself a pretty good programmer. Perhaps it's just the difference in paradigm, or the accidental complexity of how we worked with xstate, but I reduced 1000+ lines of very hard to read and extend statechart code to a few hundred lines of imperative code, with some hardcoded states. It was actually easier and faster for me to do this than fix bugs that existed somewhere in there (I tried, and failed).<p>Every engineer at the company (it's a small company :P) agreed that it was substantially easier to read and understand.<p>I think this perhaps echoes things said elsewhere here, like dflock's comment on the boundary between "xstate" and "not xstate".<p>All that being said, I'll restate: I love the idea of statecharts, I just have scars from dealing with them. I think they were perhaps applied in situations where the benefit was low, and the overhead of understanding the bits and bobs of xstate was too high of a cost for any perceivable benefit it may have offered.<p>> It’s worth noting that you’re already coding state machines, except that they’re hidden in the code.<p>I will say that this is a great point that may often be overlooked.<p>When I interview candidates, one problem I enjoy doing (and they do too!) is "let's try building vim" problem. We build out a few basic commands — move left, move right, replace character under cursor — to edit a string of text. The candidates that do the best often see how parsing can be encoded in a state machine and plan with that in mind. They perhaps still just encode it as if/else statements with a state variable, but that still gives the better outcome. Something like this:<p><pre><code>      0-9
   ---------
   |       |
   |       v        hj
   |-- (number N) -----> move N spaces
           |
           |   r
           ------> (read char c) ---> replace N characters with c
</code></pre>
[EDIT]
And I should say, I _am_ repeating some of what's stated in the linked site (under "Why should you not use statecharts?")</p>
]]></description><pubDate>Sun, 26 Apr 2026 14:30:20 +0000</pubDate><link>https://news.ycombinator.com/item?id=47910660</link><dc:creator>gedge</dc:creator><comments>https://news.ycombinator.com/item?id=47910660</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47910660</guid></item><item><title><![CDATA[New comment by gedge in "Commenting and approving pull requests"]]></title><description><![CDATA[
<p>Of course! I didn't state it explicitly, but what I was referring to were comments that went completely unacknowledged in any way, be it explicit or implicit. No changes. No reaction. No "resolve comment". Radio silence.<p>As mentioned, I've experienced it too many times where not addressing a question/concern I put on the pull request led to outages that could have been avoided. I think it's typically a certain personality. It's not a common occurrence, but I have experienced it.</p>
]]></description><pubDate>Sat, 25 Apr 2026 16:59:54 +0000</pubDate><link>https://news.ycombinator.com/item?id=47902848</link><dc:creator>gedge</dc:creator><comments>https://news.ycombinator.com/item?id=47902848</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47902848</guid></item><item><title><![CDATA[New comment by gedge in "Commenting and approving pull requests"]]></title><description><![CDATA[
<p>This one resonates, because it's largely how I comment on PRs too!<p>One thing not mentioned is how important it is to <i>acknowledge</i> the comments too. People are taking their time to review your PR, and not even giving a  reaction will make the commenter question whether or not it was even received. I'm not looking to throw my thoughts out into the aether. That's what microblogging platforms are for!<p>I can't tell you how many times I got no response/acknowledgement on a comment that actually surfaced something critical. I haven't been keeping track, but I think my comments could have prevented dozens of outages at this point. It's quite exhausting. In my own experience, the worst offenders of this are senior devs.<p>> Why approve, if I’ve left comments that I think are worth implementing?
>
> Because I trust my team. I know that my comments will be considered, and if they’re useful, implemented.<p>I do this a lot too. It's critical that PR authors don't burn that trust either. If they make substantial changes that warrant another review, I hope they do request it. Too many times in my career have colleagues just went ahead and made bad changes after my approval that I would have easily caught, merge, and things go<p>High trust, high alignment environments move so fast, and you know when you're in one and know when you have your colleagues' trust. It feels really good!</p>
]]></description><pubDate>Sat, 25 Apr 2026 16:06:05 +0000</pubDate><link>https://news.ycombinator.com/item?id=47902482</link><dc:creator>gedge</dc:creator><comments>https://news.ycombinator.com/item?id=47902482</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47902482</guid></item></channel></rss>