<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: stellartux</title><link>https://news.ycombinator.com/user?id=stellartux</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Tue, 21 Jul 2026 17:49:51 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=stellartux" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by stellartux in "Prolog Basics Explained with Pokémon"]]></title><description><![CDATA[
<p>If this is your article, you have a typo in learns_priority/3, "move_priority #> 0" should be "P #> 0".</p>
]]></description><pubDate>Sun, 17 May 2026 16:25:05 +0000</pubDate><link>https://news.ycombinator.com/item?id=48170359</link><dc:creator>stellartux</dc:creator><comments>https://news.ycombinator.com/item?id=48170359</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48170359</guid></item><item><title><![CDATA[New comment by stellartux in "Fabrice Bellard Releases MicroQuickJS"]]></title><description><![CDATA[
<p>Sounds a bit like Clojure's "recur". <a href="https://clojuredocs.org/clojure.core/recur" rel="nofollow">https://clojuredocs.org/clojure.core/recur</a></p>
]]></description><pubDate>Tue, 23 Dec 2025 21:55:57 +0000</pubDate><link>https://news.ycombinator.com/item?id=46369937</link><dc:creator>stellartux</dc:creator><comments>https://news.ycombinator.com/item?id=46369937</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=46369937</guid></item><item><title><![CDATA[New comment by stellartux in "Linux Foundation's updated inclusive language guide"]]></title><description><![CDATA[
<p>Hung explicitly refers to every usage of the word but a hanging. Meat is hung, people are hanged.</p>
]]></description><pubDate>Thu, 28 Aug 2025 07:01:53 +0000</pubDate><link>https://news.ycombinator.com/item?id=45049286</link><dc:creator>stellartux</dc:creator><comments>https://news.ycombinator.com/item?id=45049286</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45049286</guid></item><item><title><![CDATA[New comment by stellartux in "Show HN: HN Follow – Follow Your Friends on HN"]]></title><description><![CDATA[
<p>This seems to work.<p>table:has(> tbody > tr > td > div > span > a[href="user?id=USERNAME"])</p>
]]></description><pubDate>Thu, 25 May 2023 15:44:22 +0000</pubDate><link>https://news.ycombinator.com/item?id=36072226</link><dc:creator>stellartux</dc:creator><comments>https://news.ycombinator.com/item?id=36072226</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=36072226</guid></item><item><title><![CDATA[New comment by stellartux in "Ask HN: Do you know of good video games that teach programming?"]]></title><description><![CDATA[
<p>TwilioQuest is quite good. It teaches JavaScript and Python, including setting up the runtimes and some basic git stuff.<p><a href="https://www.twilio.com/quest" rel="nofollow">https://www.twilio.com/quest</a></p>
]]></description><pubDate>Tue, 05 Apr 2022 22:29:22 +0000</pubDate><link>https://news.ycombinator.com/item?id=30925912</link><dc:creator>stellartux</dc:creator><comments>https://news.ycombinator.com/item?id=30925912</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=30925912</guid></item><item><title><![CDATA[New comment by stellartux in "Things I learnt about Julia during Advent of Code"]]></title><description><![CDATA[
<p>There are few easier ways built in to do some of the file functions you've made, instead of `open(f -> read(f, String), "input")` you can use `readchomp("input")`. There's also `readlines` which is equivalent to `open(f -> read(f, String), "input") |> f -> split(f, "\n")`, and `eachline` which is like `readlines` but returns a generator instead of an array.<p>There are curried forms of the operators that might make it easier to write functional code, like instead of `x -> x == "0"` you can write `==("0")`. Another useful thing is you can broadcast pipes, so instead of `x |> xs -> f.(xs)` or `x |> Map(f)`, you can write `x .|> f`.<p>It's funny that the first section is about everything loading as a matrix and not knowing the easy way to load things as a vector, I had the opposite problem and every problem that has a matrix I've ended up making a giant vector then reparsing the first line to figure out what dimensions to reshape it to. I'll have to try `readdlm`, I'm currently working through the older AoC years in Julia.</p>
]]></description><pubDate>Thu, 13 Jan 2022 19:31:10 +0000</pubDate><link>https://news.ycombinator.com/item?id=29925556</link><dc:creator>stellartux</dc:creator><comments>https://news.ycombinator.com/item?id=29925556</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=29925556</guid></item><item><title><![CDATA[New comment by stellartux in "Algorithmic symphonies from one line of code (2011)"]]></title><description><![CDATA[
<p>I made a synth a few years back that lets you use a bytebeat formula as a signal generator. The `t` variable which represents the 8kHz sample rate of the audio in a typical bytebeat is instead proportional to the frequency of the pitch of the pressed key. There is also a `tt` variable, "tempo time", where the sample rate is proportional to a global tempo, making it easy to make beatsynced rhythms. The bytebeat itself can be written in either JavaScript, WebAssembly Text format, or a little stack based language that can be written in either RPN or S-expressions, which compiles to Wasm and is basically a thin wrapper around the Wasm semantics, which is why it doesn't include the DUP and SWAP commands from the original Glitch machine. It works with WebMIDI too, so you can hook up a keyboard to it.<p>It's here if anyone wants to play about with it. <a href="https://stellartux.github.io/websynth/" rel="nofollow">https://stellartux.github.io/websynth/</a></p>
]]></description><pubDate>Fri, 17 Sep 2021 08:14:38 +0000</pubDate><link>https://news.ycombinator.com/item?id=28562635</link><dc:creator>stellartux</dc:creator><comments>https://news.ycombinator.com/item?id=28562635</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=28562635</guid></item><item><title><![CDATA[New comment by stellartux in "Web Audio API Is a W3C Recommendation"]]></title><description><![CDATA[
<p>Oh yeah, you're right, they've been added since I last looked into it. Nice!</p>
]]></description><pubDate>Thu, 17 Jun 2021 16:52:30 +0000</pubDate><link>https://news.ycombinator.com/item?id=27541704</link><dc:creator>stellartux</dc:creator><comments>https://news.ycombinator.com/item?id=27541704</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=27541704</guid></item><item><title><![CDATA[New comment by stellartux in "Web Audio API Is a W3C Recommendation"]]></title><description><![CDATA[
<p>Most of the Web Audio stuff has already been present in all major browsers for a little while, this mostly standardises what's already there. The main thing that this brings in that up until now was just a feature of Chrome is the AudioWorklet, so real-time low-level audio processing in JS worklets will work cross-browser when its implemented in the other browsers. It's very difficult to implement low-level audio processing off of the main thread in non-Chromium browsers at the moment.</p>
]]></description><pubDate>Thu, 17 Jun 2021 16:38:31 +0000</pubDate><link>https://news.ycombinator.com/item?id=27541549</link><dc:creator>stellartux</dc:creator><comments>https://news.ycombinator.com/item?id=27541549</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=27541549</guid></item></channel></rss>