<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: the_origami_fox</title><link>https://news.ycombinator.com/user?id=the_origami_fox</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Tue, 28 Apr 2026 18:30:05 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=the_origami_fox" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by the_origami_fox in "Moldova broke our data pipeline"]]></title><description><![CDATA[
<p>That's a cool map.</p>
]]></description><pubDate>Tue, 03 Mar 2026 07:09:09 +0000</pubDate><link>https://news.ycombinator.com/item?id=47229140</link><dc:creator>the_origami_fox</dc:creator><comments>https://news.ycombinator.com/item?id=47229140</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47229140</guid></item><item><title><![CDATA[New comment by the_origami_fox in "IDF killed Gaza aid workers at point blank range in 2025 massacre: Report"]]></title><description><![CDATA[
<p>Unfortunately this article and the conversation here is taken in the context of the entirety of Israel is bad, the whole military war against Hamas and its patrons was bad, and that there is a genocide in Gaza. It leaves little room to have meaningful conversations about difficult conditions in the war and whether soldiers acted incorrectly or not and if they should be tried or not with regards to this single incident.</p>
]]></description><pubDate>Fri, 27 Feb 2026 07:10:10 +0000</pubDate><link>https://news.ycombinator.com/item?id=47177496</link><dc:creator>the_origami_fox</dc:creator><comments>https://news.ycombinator.com/item?id=47177496</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47177496</guid></item><item><title><![CDATA[New comment by the_origami_fox in "Top UN legal investigators conclude Israel is guilty of genocide in Gaza"]]></title><description><![CDATA[
<p>There are many issues raised with the report, including it omits the invasion by the government of Gaza, Hamas, on 7 October 2023 entirely, and it omits that the Israeli army is fighting the army of Gaza, the Qasam brigades, who had 40,000 salaried fighters (pre-war), have fired thousands of missiles, developed hundreds of kilometres of tunnels specifically for urban warfare, and subverted public and private infrastructure for urban warfare. For such a serious allegation, it is important to consider and address all aspects and not simply omit them.<p>I would like to add, I don't think this topic is appropriate for Hacker News.</p>
]]></description><pubDate>Wed, 17 Sep 2025 08:22:45 +0000</pubDate><link>https://news.ycombinator.com/item?id=45273259</link><dc:creator>the_origami_fox</dc:creator><comments>https://news.ycombinator.com/item?id=45273259</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45273259</guid></item><item><title><![CDATA[DeepSeek's Multi-Head Latent Attention]]></title><description><![CDATA[
<p>Article URL: <a href="https://liorsinai.github.io/machine-learning/2025/02/22/mla.html">https://liorsinai.github.io/machine-learning/2025/02/22/mla.html</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=43239248">https://news.ycombinator.com/item?id=43239248</a></p>
<p>Points: 4</p>
<p># Comments: 1</p>
]]></description><pubDate>Mon, 03 Mar 2025 07:42:05 +0000</pubDate><link>https://liorsinai.github.io/machine-learning/2025/02/22/mla.html</link><dc:creator>the_origami_fox</dc:creator><comments>https://news.ycombinator.com/item?id=43239248</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43239248</guid></item><item><title><![CDATA[New comment by the_origami_fox in "One Genius' Lonely Crusade to Teach a Computer Common Sense (2016)"]]></title><description><![CDATA[
<p>2016</p>
]]></description><pubDate>Wed, 09 Oct 2024 07:35:45 +0000</pubDate><link>https://news.ycombinator.com/item?id=41785424</link><dc:creator>the_origami_fox</dc:creator><comments>https://news.ycombinator.com/item?id=41785424</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=41785424</guid></item><item><title><![CDATA[Micrograd.jl]]></title><description><![CDATA[
<p>Article URL: <a href="https://liorsinai.github.io/machine-learning/2024/07/27/micrograd-1-chainrules.html">https://liorsinai.github.io/machine-learning/2024/07/27/micrograd-1-chainrules.html</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=41376893">https://news.ycombinator.com/item?id=41376893</a></p>
<p>Points: 154</p>
<p># Comments: 49</p>
]]></description><pubDate>Wed, 28 Aug 2024 07:24:42 +0000</pubDate><link>https://liorsinai.github.io/machine-learning/2024/07/27/micrograd-1-chainrules.html</link><dc:creator>the_origami_fox</dc:creator><comments>https://news.ycombinator.com/item?id=41376893</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=41376893</guid></item><item><title><![CDATA[Covering All Birthdays]]></title><description><![CDATA[
<p>Article URL: <a href="https://liorsinai.github.io/mathematics/2024/07/09/birthday-covering.html">https://liorsinai.github.io/mathematics/2024/07/09/birthday-covering.html</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=41085471">https://news.ycombinator.com/item?id=41085471</a></p>
<p>Points: 42</p>
<p># Comments: 22</p>
]]></description><pubDate>Sat, 27 Jul 2024 09:44:32 +0000</pubDate><link>https://liorsinai.github.io/mathematics/2024/07/09/birthday-covering.html</link><dc:creator>the_origami_fox</dc:creator><comments>https://news.ycombinator.com/item?id=41085471</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=41085471</guid></item><item><title><![CDATA[Covering All Birthdays]]></title><description><![CDATA[
<p>Article URL: <a href="https://liorsinai.github.io/mathematics/2024/07/09/birthday-covering.html">https://liorsinai.github.io/mathematics/2024/07/09/birthday-covering.html</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=40960290">https://news.ycombinator.com/item?id=40960290</a></p>
<p>Points: 1</p>
<p># Comments: 0</p>
]]></description><pubDate>Sun, 14 Jul 2024 11:29:41 +0000</pubDate><link>https://liorsinai.github.io/mathematics/2024/07/09/birthday-covering.html</link><dc:creator>the_origami_fox</dc:creator><comments>https://news.ycombinator.com/item?id=40960290</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=40960290</guid></item><item><title><![CDATA[Generative transformer from first principles in Julia]]></title><description><![CDATA[
<p>Article URL: <a href="https://liorsinai.github.io/coding/2024/03/23/transformers-gpt.html">https://liorsinai.github.io/coding/2024/03/23/transformers-gpt.html</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=39939592">https://news.ycombinator.com/item?id=39939592</a></p>
<p>Points: 6</p>
<p># Comments: 0</p>
]]></description><pubDate>Fri, 05 Apr 2024 07:26:01 +0000</pubDate><link>https://liorsinai.github.io/coding/2024/03/23/transformers-gpt.html</link><dc:creator>the_origami_fox</dc:creator><comments>https://news.ycombinator.com/item?id=39939592</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=39939592</guid></item><item><title><![CDATA[New comment by the_origami_fox in "Radix Tree in Julia"]]></title><description><![CDATA[
<p>Author here. While researching this topic I came across this article <a href="https://www.geeksforgeeks.org/compressed-tries/" rel="nofollow">https://www.geeksforgeeks.org/compressed-tries/</a> by GeeksForGeeks (compressed trie is another name for radix tree). Currently it is one of the top results on Google for this topic. Generally I've found GeeksForGeeks to be a good resource, but this article is especially poor. The code is bizarre and makes no sense:<p>- It defines properties like 'bitNumber', 'leftChild' and 'rightChild' which have nothing to do with this type of tree.<p>- The search function search(k) calls an overloaded version of itself search(root, k) that is (1) illegal in these languages and (2) not defined.<p>- The insert function does not account for all scenarios.<p>And more.<p>I'm fairly convinced this was written with the assistance of a LLM. That would be a logical explanation to all those illogical choices.</p>
]]></description><pubDate>Fri, 22 Mar 2024 08:37:42 +0000</pubDate><link>https://news.ycombinator.com/item?id=39788560</link><dc:creator>the_origami_fox</dc:creator><comments>https://news.ycombinator.com/item?id=39788560</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=39788560</guid></item><item><title><![CDATA[Radix Tree in Julia]]></title><description><![CDATA[
<p>Article URL: <a href="https://liorsinai.github.io/coding/2024/03/21/radix-tree.html">https://liorsinai.github.io/coding/2024/03/21/radix-tree.html</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=39788540">https://news.ycombinator.com/item?id=39788540</a></p>
<p>Points: 2</p>
<p># Comments: 2</p>
]]></description><pubDate>Fri, 22 Mar 2024 08:34:58 +0000</pubDate><link>https://liorsinai.github.io/coding/2024/03/21/radix-tree.html</link><dc:creator>the_origami_fox</dc:creator><comments>https://news.ycombinator.com/item?id=39788540</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=39788540</guid></item><item><title><![CDATA[New comment by the_origami_fox in "Show HN: Name That Nation"]]></title><description><![CDATA[
<p>The pictures come straight from Wikipedia. From the picture for North Korea (<a href="https://en.wikipedia.org/wiki/North_Korea" rel="nofollow">https://en.wikipedia.org/wiki/North_Korea</a>): Territory controlled by North Korea shown in dark green; territory claimed but not controlled shown in light green.</p>
]]></description><pubDate>Tue, 06 Feb 2024 08:14:58 +0000</pubDate><link>https://news.ycombinator.com/item?id=39272098</link><dc:creator>the_origami_fox</dc:creator><comments>https://news.ycombinator.com/item?id=39272098</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=39272098</guid></item><item><title><![CDATA[The Weiler-Atherton polygon clipping algorithm]]></title><description><![CDATA[
<p>Article URL: <a href="https://liorsinai.github.io/mathematics/2023/09/30/polygon-clipping.html">https://liorsinai.github.io/mathematics/2023/09/30/polygon-clipping.html</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=37869579">https://news.ycombinator.com/item?id=37869579</a></p>
<p>Points: 28</p>
<p># Comments: 2</p>
]]></description><pubDate>Fri, 13 Oct 2023 11:55:25 +0000</pubDate><link>https://liorsinai.github.io/mathematics/2023/09/30/polygon-clipping.html</link><dc:creator>the_origami_fox</dc:creator><comments>https://news.ycombinator.com/item?id=37869579</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=37869579</guid></item><item><title><![CDATA[New comment by the_origami_fox in "Pythagorean Theorem found on clay tablet 1k years older than Pythagoras (2009)"]]></title><description><![CDATA[
<p>And if you choose b=x/10, x/100, x/1000 ... then each iteration will add the exact decimal point.</p>
]]></description><pubDate>Fri, 06 Oct 2023 06:54:48 +0000</pubDate><link>https://news.ycombinator.com/item?id=37787880</link><dc:creator>the_origami_fox</dc:creator><comments>https://news.ycombinator.com/item?id=37787880</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=37787880</guid></item><item><title><![CDATA[New comment by the_origami_fox in "Pythagorean Theorem found on clay tablet 1k years older than Pythagoras (2009)"]]></title><description><![CDATA[
<p>For anyone wondering how they got the approximation sqrt(2)=1+24/60+51/60^2+10/60^3.<p>It's based on the simple idea that:<p><pre><code>     Z = (a + b)^2 = (a^2 + (2a+b)*b)
  => (2a+b)* b < Z-a^2
</code></pre>
Given an initial estimate "a", we need to find the largest "b" such that the term on the left is less than the term on the right. Therefore our estimate will always be slightly less than the actual answer and we can repeat the process to get slightly closer.<p>For the first iteration, Z=2 and a=1. We choose b=x/60:<p><pre><code>  (2+x/60)*x/60 < 2-1^2
  120x + x^2 < 3600
  x = 24 ... 3456 < 3600
  x = 25 ... 3625 > 3600
</code></pre>
So our first term is 24/60.<p>Repeat with a=1+24/60 and b=x/60^2:<p><pre><code>  (2(1+24/60)+x/60^2)*x/60^2< 2-(1+24/60)^2
  10080x+x^2 < 518_400
  x = 51 ... 516_681 < 518_400
  x = 52 ... 526_864 > 518_400
</code></pre>
Repeat multiple times.<p>Writing this in code I can easily get:
1;24,51,10,7,46,6,4,44,50,28 = 1.4142135623730951<p>This whole process can be codified into the long division algorithm for square roots which works quite neatly with base 10.<p>Edit: formatting</p>
]]></description><pubDate>Thu, 05 Oct 2023 10:17:13 +0000</pubDate><link>https://news.ycombinator.com/item?id=37776795</link><dc:creator>the_origami_fox</dc:creator><comments>https://news.ycombinator.com/item?id=37776795</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=37776795</guid></item><item><title><![CDATA[Implementing the Gzip-kNN Classification Paper]]></title><description><![CDATA[
<p>Article URL: <a href="https://liorsinai.github.io/mathematics/2023/08/13/gzip-knn.html">https://liorsinai.github.io/mathematics/2023/08/13/gzip-knn.html</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=37161235">https://news.ycombinator.com/item?id=37161235</a></p>
<p>Points: 1</p>
<p># Comments: 0</p>
]]></description><pubDate>Thu, 17 Aug 2023 13:28:04 +0000</pubDate><link>https://liorsinai.github.io/mathematics/2023/08/13/gzip-knn.html</link><dc:creator>the_origami_fox</dc:creator><comments>https://news.ycombinator.com/item?id=37161235</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=37161235</guid></item><item><title><![CDATA[New comment by the_origami_fox in "Ask HN: Could you share your personal blog here?"]]></title><description><![CDATA[
<p><a href="https://liorsinai.github.io/" rel="nofollow noreferrer">https://liorsinai.github.io/</a> long detailed posts on mathematics, machine learning and algorithms. Most of the code is in Julia but older posts also feature Python, C# and C++. I recently did posts on Transformers and Diffusion Denoising Probabilistic models.<p>The most popular post is a Sudoku solver in Python.</p>
]]></description><pubDate>Thu, 06 Jul 2023 09:13:42 +0000</pubDate><link>https://news.ycombinator.com/item?id=36613260</link><dc:creator>the_origami_fox</dc:creator><comments>https://news.ycombinator.com/item?id=36613260</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=36613260</guid></item><item><title><![CDATA[How (not) to compare 2D scatter plots]]></title><description><![CDATA[
<p>Article URL: <a href="https://liorsinai.github.io/mathematics/2023/05/13/similarities-2d.html">https://liorsinai.github.io/mathematics/2023/05/13/similarities-2d.html</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=36396071">https://news.ycombinator.com/item?id=36396071</a></p>
<p>Points: 3</p>
<p># Comments: 0</p>
]]></description><pubDate>Mon, 19 Jun 2023 20:27:21 +0000</pubDate><link>https://liorsinai.github.io/mathematics/2023/05/13/similarities-2d.html</link><dc:creator>the_origami_fox</dc:creator><comments>https://news.ycombinator.com/item?id=36396071</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=36396071</guid></item><item><title><![CDATA[New comment by the_origami_fox in "Denoising Diffusion models from first principle in Julia"]]></title><description><![CDATA[
<p>Auuthor here. Will update.</p>
]]></description><pubDate>Sun, 08 Jan 2023 07:28:30 +0000</pubDate><link>https://news.ycombinator.com/item?id=34296912</link><dc:creator>the_origami_fox</dc:creator><comments>https://news.ycombinator.com/item?id=34296912</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=34296912</guid></item><item><title><![CDATA[New comment by the_origami_fox in "Denoising Diffusion models from first principle in Julia"]]></title><description><![CDATA[
<p>Author here. I have noticed similar behaviour. As part of this exercise I tried to train a model to generate Pokemon based on This Pokemon Does Not Exist by HuggingFace. However my models only converged to nosiy smudges after 50 iterations and so I excluded it from the posts (I do mention my experiments at the end of part 2).<p>My first assumption was that the mdoel I was training was too small: 13 million parameters as opposed to the 1.3 billion in ruDALL-E (not sure how much of this is only the diffusion model). So that's a 100x smaller. I want to experiment with upscaling it.<p>Reading this I'm wondering if there's more I need to do. For example, training a conditioned model - "cheat" by given it in the index of the Pokemon during training but then you sample without an index - or make the model predict the standard deviation (beta tilde). Or as you say, work with loss functions.<p>More work to be done here.</p>
]]></description><pubDate>Sun, 08 Jan 2023 07:27:10 +0000</pubDate><link>https://news.ycombinator.com/item?id=34296903</link><dc:creator>the_origami_fox</dc:creator><comments>https://news.ycombinator.com/item?id=34296903</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=34296903</guid></item></channel></rss>