<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: mgunyho</title><link>https://news.ycombinator.com/user?id=mgunyho</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Wed, 08 Apr 2026 17:18:19 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=mgunyho" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by mgunyho in "Show HN: The Taka Programming Language"]]></title><description><![CDATA[
<p>Yep, I think in Taka the most confusing case is lists - writing<p><pre><code>    list [
     1
     2
     3
    ]
</code></pre>
creates the list [3 2 1]. (When indexing, the first item of the list is the one on top of the stack.) This has tripped me up several times.</p>
]]></description><pubDate>Wed, 03 Dec 2025 16:32:33 +0000</pubDate><link>https://news.ycombinator.com/item?id=46136502</link><dc:creator>mgunyho</dc:creator><comments>https://news.ycombinator.com/item?id=46136502</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=46136502</guid></item><item><title><![CDATA[New comment by mgunyho in "Show HN: The Taka Programming Language"]]></title><description><![CDATA[
<p>PN makes it appear more like a traditional programming language on the surface, even if it's still read in a kind of strange way. So it might help spread the joy of stack languages by seeming more easily approachable. For me personally, RPN is still unfamiliar enough that this kind of PN feels more comfortable.</p>
]]></description><pubDate>Wed, 03 Dec 2025 14:48:03 +0000</pubDate><link>https://news.ycombinator.com/item?id=46135101</link><dc:creator>mgunyho</dc:creator><comments>https://news.ycombinator.com/item?id=46135101</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=46135101</guid></item><item><title><![CDATA[Show HN: The Taka Programming Language]]></title><description><![CDATA[
<p>Hi HN! I created a small stack-based programming language, which I'm using to solve Advent of Code problems. I think the forward Polish notation works pretty nicely.</p>
<hr>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=46134671">https://news.ycombinator.com/item?id=46134671</a></p>
<p>Points: 12</p>
<p># Comments: 4</p>
]]></description><pubDate>Wed, 03 Dec 2025 14:11:27 +0000</pubDate><link>https://codeberg.org/marton/taka</link><dc:creator>mgunyho</dc:creator><comments>https://news.ycombinator.com/item?id=46134671</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=46134671</guid></item><item><title><![CDATA[New comment by mgunyho in "I don't like NumPy"]]></title><description><![CDATA[
<p>For Torch, I have come across Named Tensors, which should work in a similar way: <a href="https://docs.pytorch.org/docs/stable/named_tensor.html" rel="nofollow">https://docs.pytorch.org/docs/stable/named_tensor.html</a><p>The docs say that it's a prototype feature, and I think it has been that way for a few years now, so no idea how production-ready it is.</p>
]]></description><pubDate>Thu, 15 May 2025 20:23:47 +0000</pubDate><link>https://news.ycombinator.com/item?id=43998938</link><dc:creator>mgunyho</dc:creator><comments>https://news.ycombinator.com/item?id=43998938</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43998938</guid></item><item><title><![CDATA[New comment by mgunyho in "I don't like NumPy"]]></title><description><![CDATA[
<p>Seconded. Xarray has mostly replaced bare NumPy for me and it makes me so much more productive.</p>
]]></description><pubDate>Thu, 15 May 2025 19:55:08 +0000</pubDate><link>https://news.ycombinator.com/item?id=43998683</link><dc:creator>mgunyho</dc:creator><comments>https://news.ycombinator.com/item?id=43998683</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43998683</guid></item><item><title><![CDATA[New comment by mgunyho in "NumPy 2.0"]]></title><description><![CDATA[
<p>I want to second the idea of broadcasting based on named axes/dimensions. I think it's a logical next step in the evolution of the array programming paradigm.<p>I particularly recommend checking out xarray. It has made my numpy-ish code like 90% shorter and it makes it trivial to juggle six+ dimensional arrays. If your data is on a grid (not shaped like a table/dataframe), I see no downsides to using xarray instead of bare numpy.</p>
]]></description><pubDate>Mon, 17 Jun 2024 08:03:35 +0000</pubDate><link>https://news.ycombinator.com/item?id=40703326</link><dc:creator>mgunyho</dc:creator><comments>https://news.ycombinator.com/item?id=40703326</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=40703326</guid></item><item><title><![CDATA[New comment by mgunyho in "Typst – Compose Papers Faster"]]></title><description><![CDATA[
<p>The pro version of Overleaf supports offline work with a simple trick: every Overleaf document can be accessed as a git repo. It's a bit limited (there's no branches or tags, and it breaks the "track changes" feature) and trying to convince the average researcher to learn git is a challenge, but if you know git it works quite well.</p>
]]></description><pubDate>Tue, 21 Nov 2023 06:50:55 +0000</pubDate><link>https://news.ycombinator.com/item?id=38360250</link><dc:creator>mgunyho</dc:creator><comments>https://news.ycombinator.com/item?id=38360250</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=38360250</guid></item><item><title><![CDATA[New comment by mgunyho in "Antonmedv/walk: Terminal file manager"]]></title><description><![CDATA[
<p>Looks very similar to my tool, tere: <a href="https://github.com/mgunyho/tere">https://github.com/mgunyho/tere</a>. The main difference seems to be that I don't do any file manipulation, while walk has the option to delete files/folders. In my implementation, you don't need to type '/' for fuzzy search, just typing searches and jumps by default.<p>I also have a list of similar projects at the end of the README, I'll add this as well! edit: Oh I already had it in my list, the project has just been renamed from llama to walk.</p>
]]></description><pubDate>Tue, 22 Aug 2023 14:24:22 +0000</pubDate><link>https://news.ycombinator.com/item?id=37223164</link><dc:creator>mgunyho</dc:creator><comments>https://news.ycombinator.com/item?id=37223164</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=37223164</guid></item><item><title><![CDATA[New comment by mgunyho in "A trick to eliminate 2π (sometimes)"]]></title><description><![CDATA[
<p>Hmm, this indeed seems to be the case! I think I was confused by ln(1), since 1 is a real number, but the multi-valued complex logarithm of 1 is indeed k 2pi (and now I see the appropriate notation should be "log" instead of "ln"). Perhaps the whole thing could indeed be reduced to "1^x" with an asterisk that 1^x means complex exponentiation. I'll have to update this section in the post.</p>
]]></description><pubDate>Thu, 29 Jun 2023 05:15:45 +0000</pubDate><link>https://news.ycombinator.com/item?id=36516577</link><dc:creator>mgunyho</dc:creator><comments>https://news.ycombinator.com/item?id=36516577</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=36516577</guid></item><item><title><![CDATA[New comment by mgunyho in "A trick to eliminate 2π (sometimes)"]]></title><description><![CDATA[
<p>But note how right above this span there is the <span class="katex-mathml">, which is not aria-hidden, and which contains the MathML representation of the equations. I would have assumed that a screen reader would look at that, since it contains the semantical information.</p>
]]></description><pubDate>Wed, 28 Jun 2023 19:56:55 +0000</pubDate><link>https://news.ycombinator.com/item?id=36511738</link><dc:creator>mgunyho</dc:creator><comments>https://news.ycombinator.com/item?id=36511738</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=36511738</guid></item><item><title><![CDATA[New comment by mgunyho in "A trick to eliminate 2π (sometimes)"]]></title><description><![CDATA[
<p>Yes, I manually put 2π in the html <title>, while the <h1> has the KaTeX rendered math in it :)</p>
]]></description><pubDate>Wed, 28 Jun 2023 19:19:47 +0000</pubDate><link>https://news.ycombinator.com/item?id=36511256</link><dc:creator>mgunyho</dc:creator><comments>https://news.ycombinator.com/item?id=36511256</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=36511256</guid></item><item><title><![CDATA[New comment by mgunyho in "A trick to eliminate 2π (sometimes)"]]></title><description><![CDATA[
<p>Not a coincidence :)</p>
]]></description><pubDate>Wed, 28 Jun 2023 19:16:18 +0000</pubDate><link>https://news.ycombinator.com/item?id=36511199</link><dc:creator>mgunyho</dc:creator><comments>https://news.ycombinator.com/item?id=36511199</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=36511199</guid></item><item><title><![CDATA[New comment by mgunyho in "A trick to eliminate 2π (sometimes)"]]></title><description><![CDATA[
<p>> sin(x) is the sinus function with the angle implicitly divided by 1 radian<p>This to me sounds like the most natural explanation. For example, in a sibling comment someone mentioned that "you can calculate e^(-t)", but I disagree: in physics it's always e^(-t / T), where T is some time constant, so that the argument of the exponential is dimensionless. Same applies to sin(x): usually we write something like sin(2pi f t), where the units of f and t cancel out, and the 2pi is there to cancel out the invisible implicit 1 radian. sin(ft) would be wrong, at t = 1 / f you wouldn't have advanced by a full cycle.</p>
]]></description><pubDate>Wed, 28 Jun 2023 19:13:17 +0000</pubDate><link>https://news.ycombinator.com/item?id=36511155</link><dc:creator>mgunyho</dc:creator><comments>https://news.ycombinator.com/item?id=36511155</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=36511155</guid></item><item><title><![CDATA[New comment by mgunyho in "A trick to eliminate 2π (sometimes)"]]></title><description><![CDATA[
<p>I think parent is referring here to the fact that math used to be written without symbols (other than numbers) up to the 1300s according to Wikipedia: <a href="https://en.wikipedia.org/wiki/History_of_mathematical_notation#Symbolic_stage" rel="nofollow noreferrer">https://en.wikipedia.org/wiki/History_of_mathematical_notati...</a> (very interesting article!) However, I would say that there is a reason why notation tends towards terse symbols: it's much more efficient and unambiguous.</p>
]]></description><pubDate>Wed, 28 Jun 2023 19:04:17 +0000</pubDate><link>https://news.ycombinator.com/item?id=36511028</link><dc:creator>mgunyho</dc:creator><comments>https://news.ycombinator.com/item?id=36511028</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=36511028</guid></item><item><title><![CDATA[New comment by mgunyho in "A trick to eliminate 2π (sometimes)"]]></title><description><![CDATA[
<p>From what I can tell it's the opposite (on Firefox): the math is in the source HTML twice, once in <span class="katex-mathml">, which is hidden using CSS in the non-reader mode but is rendered in the reader mode, and <span class="katex-html" aria-hidden="true">, which is what FF displays normally, and it's missing from the source when I inspect it in reader mode. Having two spans like this comes directly from KaTeX, whose authors I'm sure have thought about accessibility. I imagined that MathML would be somewhat standard and screen readers would understand it.</p>
]]></description><pubDate>Wed, 28 Jun 2023 18:56:54 +0000</pubDate><link>https://news.ycombinator.com/item?id=36510913</link><dc:creator>mgunyho</dc:creator><comments>https://news.ycombinator.com/item?id=36510913</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=36510913</guid></item><item><title><![CDATA[New comment by mgunyho in "A trick to eliminate 2π (sometimes)"]]></title><description><![CDATA[
<p>> You can also eliminate the constant in some of the integral formulas by using đx instead of dx. I'm surprised the author does not propose this.<p>In the post I propose doing that for Gauss' theorem and Cauchy's formula, because there it's convenient, heh. But to me it feels better to use Θ^ix than a scale factor in front, since the 2pi is always present in the exponential, while the prefactor can be avoided in Fourier transforms if you keep the 2pi in the exponential (or hide it inside Θ). Does this not apply also to the elementary formulas you mention?</p>
]]></description><pubDate>Wed, 28 Jun 2023 18:43:04 +0000</pubDate><link>https://news.ycombinator.com/item?id=36510702</link><dc:creator>mgunyho</dc:creator><comments>https://news.ycombinator.com/item?id=36510702</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=36510702</guid></item><item><title><![CDATA[New comment by mgunyho in "A trick to eliminate 2π (sometimes)"]]></title><description><![CDATA[
<p>Author here, I'm sorry to hear that it doesn't work well with a screen reader. I tested it with the reader mode of Firefox, which renders MathML perfectly, although I don't know how that would translate to a screen reader. Safari reader mode renders the math inline, like this:<p><pre><code>   I just define a new derivative operator, like so: dxđ f(x)≡2π1 ⋅dxd f(x). That’s all.
</code></pre>
while Chrome's reader mode just fails to recognize the content entirely, even though it's the most basic <body><div id="content"><p> ... structure possible. I have basically zero web dev experience so I don't know how to fix this, maybe I need to tweak the KaTeX settings.<p>I think it's quite sad that math is so difficult on the web. While setting up the blog, I looked around and it seemed like FF is the only browser with proper MathML support, but I think that was also being phased out because it's apparently buggy and hard to maintain. IMO, the screen reader version should just basically be the LaTeX source, which is probably kind of awful when read out loud, but at least it would be unambiguous.</p>
]]></description><pubDate>Wed, 28 Jun 2023 18:24:53 +0000</pubDate><link>https://news.ycombinator.com/item?id=36510474</link><dc:creator>mgunyho</dc:creator><comments>https://news.ycombinator.com/item?id=36510474</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=36510474</guid></item><item><title><![CDATA[A trick to eliminate 2π (sometimes)]]></title><description><![CDATA[
<p>Article URL: <a href="https://marci.gunyho.com/theta.html">https://marci.gunyho.com/theta.html</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=36508477">https://news.ycombinator.com/item?id=36508477</a></p>
<p>Points: 195</p>
<p># Comments: 172</p>
]]></description><pubDate>Wed, 28 Jun 2023 16:05:21 +0000</pubDate><link>https://marci.gunyho.com/theta.html</link><dc:creator>mgunyho</dc:creator><comments>https://news.ycombinator.com/item?id=36508477</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=36508477</guid></item><item><title><![CDATA[New comment by mgunyho in "Show HN: tere – A Faster Alternative to cd+ls"]]></title><description><![CDATA[
<p>That's true, although I think in the case of Go, it is a central design decision to make single-binaries easy so it's more of an exception to the rule.<p>I don't think it's an inherent feature of scripting languages that they are hard to distribute. I'm pretty sure it's possible to package up a tiny Lua interpreter (or e.g. QuickJS) and all necessary scripts into a standalone file.</p>
]]></description><pubDate>Fri, 15 Jul 2022 16:23:07 +0000</pubDate><link>https://news.ycombinator.com/item?id=32109764</link><dc:creator>mgunyho</dc:creator><comments>https://news.ycombinator.com/item?id=32109764</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=32109764</guid></item><item><title><![CDATA[New comment by mgunyho in "Show HN: tere – A Faster Alternative to cd+ls"]]></title><description><![CDATA[
<p>Indeed, Python would be a good language to implement this in terms of ease of development, but it's very difficult to distribute a standalone binary (which I wanted to do). The built-in curses support of Python is also not cross-platform I think.</p>
]]></description><pubDate>Fri, 15 Jul 2022 15:04:36 +0000</pubDate><link>https://news.ycombinator.com/item?id=32108906</link><dc:creator>mgunyho</dc:creator><comments>https://news.ycombinator.com/item?id=32108906</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=32108906</guid></item></channel></rss>