<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: drunken_thor</title><link>https://news.ycombinator.com/user?id=drunken_thor</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Thu, 25 Jun 2026 23:14:55 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=drunken_thor" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by drunken_thor in "LuaJIT 3.0 proposed syntax extensions"]]></title><description><![CDATA[
<p>- Agreed on the bracketed attributes, the close attribute is very useful and devs would reach for the brackets more if they were like as you suggest.
- short form fns: you and another commenter have given me good examples. I’m still not sure they are worth the complexity but I understand the use better now. 
- varargs true! Conceded!<p>Thanks for the comment! It’s helpful.</p>
]]></description><pubDate>Thu, 25 Jun 2026 21:39:59 +0000</pubDate><link>https://news.ycombinator.com/item?id=48679561</link><dc:creator>drunken_thor</dc:creator><comments>https://news.ycombinator.com/item?id=48679561</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48679561</guid></item><item><title><![CDATA[New comment by drunken_thor in "LuaJIT 3.0 proposed syntax extensions"]]></title><description><![CDATA[
<p>Agreed, it keeps the parser fast as well because it is a lot more clear when the boolean statement ends and the code block begins. You either need parentheses, `then` or brackets around the block to make parsing clearly defined.</p>
]]></description><pubDate>Thu, 25 Jun 2026 15:31:36 +0000</pubDate><link>https://news.ycombinator.com/item?id=48674934</link><dc:creator>drunken_thor</dc:creator><comments>https://news.ycombinator.com/item?id=48674934</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48674934</guid></item><item><title><![CDATA[New comment by drunken_thor in "LuaJIT 3.0 proposed syntax extensions"]]></title><description><![CDATA[
<p>I think that allowing an if statement to return a value to deal with the ternary introduces a now concept to Lua and that is that the value on the final line of a block is a return value much like Ruby. This changes the logic of the entire language more than adding a ternary. I do prefer the if statement as it allows so much more emergent behaviour, but it does have more implications to consider.</p>
]]></description><pubDate>Thu, 25 Jun 2026 15:03:24 +0000</pubDate><link>https://news.ycombinator.com/item?id=48674510</link><dc:creator>drunken_thor</dc:creator><comments>https://news.ycombinator.com/item?id=48674510</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48674510</guid></item><item><title><![CDATA[New comment by drunken_thor in "LuaJIT 3.0 proposed syntax extensions"]]></title><description><![CDATA[
<p>Some of these things are already implemented in PUC Lua. I don't know why they are diverting from lua spec on other aspects though. Why not work together with the PUC Lua team to add some of these to <i>both</i> lua versions and work on bringing their functionality closer to each other 
instead of further apart. You might as well just make a new language instead. New features will end up not being used in effort to keep lua scripts portable.<p>In effort to not pollute the github issue, and hopes that the authors read this thread, I will put some of my thoughts here. There are 3 main strengths of Lua: Embeddable, Fast, and Small(easy to learn). I worry some of these changes divert from the last, expanding the language into a more complicated language.<p>Here is a list of things already implemented in PUC Lua so can be considered safe to add:<p><pre><code>  ● ~ a     Bitwise negate
  ● a & b   Bitwise and
  ● a | b   Bitwise or
  ● a ~ b   Bitwise Xor
  ● a << b  Left-shift
  ● a >> b  Logical right-shift
  ● a // b  Floor divide
  ● break   Break statement
</code></pre>
Don't get me wrong, I love some of these quality of life changes like:<p><pre><code>  ● Const keyword: changing const from `local a <const> = 42` to `const a = 42` is far better syntax. The bracketed syntax was never a good idea.
  ● nil-Coalescing and safe navigation are great additions as they are basically macros at the parsing stage.
  ● Compound assignment is also basically a macro at the parsing stage as well. Lua should already have this honestly.
  ● Ternary Operator: I *like* it and it will help the stumbling block of the `a and b or c` common pattern already in use. Though I think (like others have stated) the If/then/else syntax would be more inline with the language, similar to ruby and would enable far more emergent behaviour. However it does establish a new pattern that the last value in a block is a return value similar to ruby so I am conflicted about that.
  ● `continue` it is nicer than a goto and is helpful.
  ● String interpolation: I honestly don't love lua's concat operator `..` so honestly string interpolation would be a nice to have and a feature of many modern languages. However I do worry about it's effect on parsing performance, and complexity of the language.
  ● Underscores in numbers: *shrug*
</code></pre>
These are great ideas for the language but I would want <i>all</i> lua versions to support them, not just JIT. These are things that I think are a distraction:<p><pre><code>  ● The `and` `&&` and `or` `||`. This just goes in the wrong direction for lua. It is often confusing in ruby (especially because of precedence issues) but also lua is a wordy language. It has `do` `end` blocks instead of brackets. It adds ambiguity for no reason.
  ● Short form function syntax. Lua does not need this and I am not sure anyone asked for this. Why `a = |x| do ... end` is more helpful than just `a = function(x) ... end` is unclear and would love to hear more about why this is being considered.
  ● Named varargs: It may be nice, but there is no real reason to add this. If you wanted a name for your varargs you could do `local name = ...` or just use the `args` variable already available in every function.
  ● Switch/Match/Select Statements: An optimized if/else block works just as well and another expansion of a small language.</code></pre></p>
]]></description><pubDate>Thu, 25 Jun 2026 14:12:50 +0000</pubDate><link>https://news.ycombinator.com/item?id=48673729</link><dc:creator>drunken_thor</dc:creator><comments>https://news.ycombinator.com/item?id=48673729</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48673729</guid></item><item><title><![CDATA[New comment by drunken_thor in "The Low-Tech AI of Elden Ring"]]></title><description><![CDATA[
<p>This is behaviour trees. What you’re describing is behaviour trees.
Edit: I see later you say it isn’t a behaviour tree but this is how a lot of BTs are implemented. They don’t always loop from the root. A lot of the time according to state the root is redefined off of a branch and that sub tree is looped until going further down the tree or even into a different tree. Much like the stack you are describing.</p>
]]></description><pubDate>Tue, 23 Jun 2026 15:29:58 +0000</pubDate><link>https://news.ycombinator.com/item?id=48646633</link><dc:creator>drunken_thor</dc:creator><comments>https://news.ycombinator.com/item?id=48646633</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48646633</guid></item><item><title><![CDATA[New comment by drunken_thor in "Show HN: Tiny – An interpeted dynamic langauge with inline Go native functions"]]></title><description><![CDATA[
<p>What a great accomplishment! How did you manage to complete a JIT language in 2 months!?</p>
]]></description><pubDate>Sat, 20 Jun 2026 22:06:51 +0000</pubDate><link>https://news.ycombinator.com/item?id=48613428</link><dc:creator>drunken_thor</dc:creator><comments>https://news.ycombinator.com/item?id=48613428</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48613428</guid></item><item><title><![CDATA[New comment by drunken_thor in "Is AI ruining our skills? Early results are in – and they're not good"]]></title><description><![CDATA[
<p>I’m watching those around me forget even the simplest command line commands for every day tasks in favour of AI. So not only are they letting hard earned skills slip away, they are paying for the privilege. Suddenly software development is a profession requiring a monthly subscription to participate in. It puts AI companies in a perfect position. This is the same business model as drug dealers. I am being told that I am going to be left behind but I’m the only one able to still be productive when Anthropic goes down. Don’t get me wrong either, I love that it writes tests and is able to do large tedious refactors for me but I also have a respect for my profession as a skill like a carpenter. It is only ever improved and maintained by active and deliberate work. Ai is killing daily practice, book clubs, community support, community development and we are all paying for the privilege.</p>
]]></description><pubDate>Sat, 20 Jun 2026 11:32:16 +0000</pubDate><link>https://news.ycombinator.com/item?id=48608457</link><dc:creator>drunken_thor</dc:creator><comments>https://news.ycombinator.com/item?id=48608457</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48608457</guid></item><item><title><![CDATA[New comment by drunken_thor in "I cancelled Claude: Token issues, declining quality, and poor support"]]></title><description><![CDATA[
<p>Ah so we are only supposed to use this work tool outside of work hours?</p>
]]></description><pubDate>Fri, 24 Apr 2026 16:41:42 +0000</pubDate><link>https://news.ycombinator.com/item?id=47892609</link><dc:creator>drunken_thor</dc:creator><comments>https://news.ycombinator.com/item?id=47892609</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47892609</guid></item><item><title><![CDATA[New comment by drunken_thor in "I cancelled Claude: Token issues, declining quality, and poor support"]]></title><description><![CDATA[
<p>AI services are only minorly incentivized to reduce token usage. They want high token usage, it makes you pay more. They are going to continually test where the limit is, what is the max token usage before you get angry. All AI companies will continue to trade places for token use and cost as cost increases. We are in tepid water pretending it is a bath pretending we aren’t about to be boiled frogs.</p>
]]></description><pubDate>Fri, 24 Apr 2026 16:40:35 +0000</pubDate><link>https://news.ycombinator.com/item?id=47892598</link><dc:creator>drunken_thor</dc:creator><comments>https://news.ycombinator.com/item?id=47892598</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47892598</guid></item><item><title><![CDATA[New comment by drunken_thor in "I wrote a CHIP-8 emulator in my own programming language"]]></title><description><![CDATA[
<p>His spectre language is fully bootstrapped and written in spectre so his suggestion that you try to get an AI to write spectre stands for both the chip-8 emulator and the language itself. He is very obviously a prolific programmer with a very keen focus.</p>
]]></description><pubDate>Mon, 20 Apr 2026 10:15:11 +0000</pubDate><link>https://news.ycombinator.com/item?id=47832303</link><dc:creator>drunken_thor</dc:creator><comments>https://news.ycombinator.com/item?id=47832303</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47832303</guid></item><item><title><![CDATA[New comment by drunken_thor in "Why can't you tune your guitar? (2019)"]]></title><description><![CDATA[
<p>I wondered why this article was so high on the front page but now I realize it’s simply because everyone else wanted to “um actually” it. I guess that makes sense.</p>
]]></description><pubDate>Sun, 08 Mar 2026 20:39:46 +0000</pubDate><link>https://news.ycombinator.com/item?id=47301185</link><dc:creator>drunken_thor</dc:creator><comments>https://news.ycombinator.com/item?id=47301185</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47301185</guid></item><item><title><![CDATA[New comment by drunken_thor in "An interactive map of Flock Cams"]]></title><description><![CDATA[
<p>Haha Sudbury and Napanee are the only places in Canada to have them. They are tiny cities where nothing happens. Bored police officers imagining situations where they are needed.</p>
]]></description><pubDate>Wed, 04 Mar 2026 20:05:00 +0000</pubDate><link>https://news.ycombinator.com/item?id=47253048</link><dc:creator>drunken_thor</dc:creator><comments>https://news.ycombinator.com/item?id=47253048</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47253048</guid></item><item><title><![CDATA[New comment by drunken_thor in "Why No AI Games?"]]></title><description><![CDATA[
<p>I think AI could reinvent text based games in a fresh way that would be fun. Text based games were always so constrained by what the developer could guess that you would type but with AI it really could read more like an interactive choose your own adventure novel that is easy to navigate.</p>
]]></description><pubDate>Tue, 03 Mar 2026 17:12:37 +0000</pubDate><link>https://news.ycombinator.com/item?id=47235480</link><dc:creator>drunken_thor</dc:creator><comments>https://news.ycombinator.com/item?id=47235480</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47235480</guid></item><item><title><![CDATA[New comment by drunken_thor in "Vibe coded Lovable-hosted app littered with basic flaws exposed 18K users"]]></title><description><![CDATA[
<p>This is a prime example of how lazy vibe coding makes people. Even if they were not technical, some of these bugs would have been caught if they just went through the behaviour by hand at least once. Not an ounce of QA just generate and ship.</p>
]]></description><pubDate>Sat, 28 Feb 2026 14:46:56 +0000</pubDate><link>https://news.ycombinator.com/item?id=47195961</link><dc:creator>drunken_thor</dc:creator><comments>https://news.ycombinator.com/item?id=47195961</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47195961</guid></item><item><title><![CDATA[New comment by drunken_thor in "Cartoon Network channel errors (1995 – 2025)"]]></title><description><![CDATA[
<p>Knowing cable companies that was probably until all contracts with that channel as part of the subscription ended. They had to keep the channel running otherwise they might need to refund people.</p>
]]></description><pubDate>Mon, 22 Dec 2025 17:01:57 +0000</pubDate><link>https://news.ycombinator.com/item?id=46355956</link><dc:creator>drunken_thor</dc:creator><comments>https://news.ycombinator.com/item?id=46355956</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=46355956</guid></item><item><title><![CDATA[New comment by drunken_thor in "Ask HN: What would you do if you didn't work in tech?"]]></title><description><![CDATA[
<p>All the jobs I rather be doing are antiquated. Furniture maker but it’s not a viable job anymore either. A machinist, tool-die maker.  Or mechanic maybe. I have always thought that mechanics are just debugging a very specific architecture. None of these make money though.</p>
]]></description><pubDate>Mon, 22 Dec 2025 16:51:21 +0000</pubDate><link>https://news.ycombinator.com/item?id=46355808</link><dc:creator>drunken_thor</dc:creator><comments>https://news.ycombinator.com/item?id=46355808</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=46355808</guid></item><item><title><![CDATA[New comment by drunken_thor in "What if you could build and sell AI Agents like apps?"]]></title><description><![CDATA[
<p>What if I puked into your mouth as a service.</p>
]]></description><pubDate>Tue, 28 Oct 2025 13:44:14 +0000</pubDate><link>https://news.ycombinator.com/item?id=45732811</link><dc:creator>drunken_thor</dc:creator><comments>https://news.ycombinator.com/item?id=45732811</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45732811</guid></item><item><title><![CDATA[New comment by drunken_thor in "Why I code as a CTO"]]></title><description><![CDATA[
<p>This is just a pride post with little self awareness.</p>
]]></description><pubDate>Sun, 26 Oct 2025 15:37:11 +0000</pubDate><link>https://news.ycombinator.com/item?id=45712741</link><dc:creator>drunken_thor</dc:creator><comments>https://news.ycombinator.com/item?id=45712741</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45712741</guid></item><item><title><![CDATA[New comment by drunken_thor in "Show HN: A GitHub Action that quizzes you on a pull request"]]></title><description><![CDATA[
<p>We now are making bots to quiz other bots. This is a nightmare.</p>
]]></description><pubDate>Wed, 30 Jul 2025 01:49:29 +0000</pubDate><link>https://news.ycombinator.com/item?id=44730252</link><dc:creator>drunken_thor</dc:creator><comments>https://news.ycombinator.com/item?id=44730252</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44730252</guid></item><item><title><![CDATA[New comment by drunken_thor in "Google CEO says more than a quarter of the company's new code is created by AI"]]></title><description><![CDATA[
<p>A company that used to be the pinnacle of software development is now just generating code in order to sell their big data models. Horrifying. Devastating.</p>
]]></description><pubDate>Thu, 31 Oct 2024 00:59:25 +0000</pubDate><link>https://news.ycombinator.com/item?id=42002335</link><dc:creator>drunken_thor</dc:creator><comments>https://news.ycombinator.com/item?id=42002335</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=42002335</guid></item></channel></rss>