<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: diath</title><link>https://news.ycombinator.com/user?id=diath</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Thu, 27 Aug 2026 16:33:22 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=diath" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by diath in "Splitting a Git Commit"]]></title><description><![CDATA[
<p>That's good to know, I'd usually go about it in a roundabout way: soft reset the commit then git add --patch to stage the hunks to split it into multiple commits.</p>
]]></description><pubDate>Tue, 18 Aug 2026 15:50:47 +0000</pubDate><link>https://news.ycombinator.com/item?id=49347541</link><dc:creator>diath</dc:creator><comments>https://news.ycombinator.com/item?id=49347541</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49347541</guid></item><item><title><![CDATA[New comment by diath in "Semaglutide linked to lower predicted dementia risk"]]></title><description><![CDATA[
<p>> Western disease and sugar heavy diets broadly speaking<p>No, just being sedentary. There's no such thing as acquired diabetes in physically active people.</p>
]]></description><pubDate>Sat, 15 Aug 2026 17:25:24 +0000</pubDate><link>https://news.ycombinator.com/item?id=49312437</link><dc:creator>diath</dc:creator><comments>https://news.ycombinator.com/item?id=49312437</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49312437</guid></item><item><title><![CDATA[New comment by diath in "Pizza, pasta, potatoes, protein – how Italian children became so overweight"]]></title><description><![CDATA[
<p>Nutriscore is a meme because it only refers to products in the same product category. Some Nestle's ultra processed sugary cereal has scores of A-B, it does not mean it's healthy, it just means it's less bad than other sugary cereal slop. It's very misleading.</p>
]]></description><pubDate>Sun, 26 Jul 2026 22:54:11 +0000</pubDate><link>https://news.ycombinator.com/item?id=49063226</link><dc:creator>diath</dc:creator><comments>https://news.ycombinator.com/item?id=49063226</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49063226</guid></item><item><title><![CDATA[New comment by diath in "The CEO of Mullvad is the main financer of the Swedish Örebro party"]]></title><description><![CDATA[
<p>> Immigrants economic contributions are net-positive, its not at the expense of anyone bc economies are no zero sum games.<p>It's at the expense of women and their safety, for example. Between years 2010 and 2015, 60% of rapes in Sweden were perpetuated by people of foreign origin: <a href="https://pmc.ncbi.nlm.nih.gov/articles/PMC8330751/" rel="nofollow">https://pmc.ncbi.nlm.nih.gov/articles/PMC8330751/</a>. That was back when foreigners made up about 20% of their population, which I think is now over 30%, extrapolating, the immigrant rape problem is likely even worse. At what point do we stop putting economic growth over the well being and safety of citizens?</p>
]]></description><pubDate>Mon, 29 Jun 2026 22:59:46 +0000</pubDate><link>https://news.ycombinator.com/item?id=48726444</link><dc:creator>diath</dc:creator><comments>https://news.ycombinator.com/item?id=48726444</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48726444</guid></item><item><title><![CDATA[New comment by diath in "How to get your first customers [video]"]]></title><description><![CDATA[
<p>"just know people bro"</p>
]]></description><pubDate>Thu, 25 Jun 2026 18:56:50 +0000</pubDate><link>https://news.ycombinator.com/item?id=48677759</link><dc:creator>diath</dc:creator><comments>https://news.ycombinator.com/item?id=48677759</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48677759</guid></item><item><title><![CDATA[New comment by diath in "Steam Machine launches today"]]></title><description><![CDATA[
<p>Why is it surprising? This is essentially a pre-built PC in a small form factor and most PC peripherals are USB-A.</p>
]]></description><pubDate>Mon, 22 Jun 2026 18:12:45 +0000</pubDate><link>https://news.ycombinator.com/item?id=48633775</link><dc:creator>diath</dc:creator><comments>https://news.ycombinator.com/item?id=48633775</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48633775</guid></item><item><title><![CDATA[New comment by diath in "Minecraft: Java Edition 26.2, the first version with Vulkan 1.2"]]></title><description><![CDATA[
<p>Minecraft has two versions, Java and Bedrock (C++), the Bedrock edition uses bgfx: <a href="https://www.minecraft.net/en-us/attribution" rel="nofollow">https://www.minecraft.net/en-us/attribution</a></p>
]]></description><pubDate>Mon, 22 Jun 2026 00:27:38 +0000</pubDate><link>https://news.ycombinator.com/item?id=48624068</link><dc:creator>diath</dc:creator><comments>https://news.ycombinator.com/item?id=48624068</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48624068</guid></item><item><title><![CDATA[New comment by diath in "Russian artist and Putin critic shot dead in Poland"]]></title><description><![CDATA[
<p>There's so few gun related homicides in Poland that an execution style murder is 100% either mafia affairs or assassinations: <a href="https://en.wikipedia.org/wiki/Gun_laws_in_Poland#Gun_deaths_and_crime" rel="nofollow">https://en.wikipedia.org/wiki/Gun_laws_in_Poland#Gun_deaths_...</a></p>
]]></description><pubDate>Tue, 16 Jun 2026 14:18:26 +0000</pubDate><link>https://news.ycombinator.com/item?id=48555726</link><dc:creator>diath</dc:creator><comments>https://news.ycombinator.com/item?id=48555726</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48555726</guid></item><item><title><![CDATA[New comment by diath in "Ported my C game to WASM, here's every bug that I hit"]]></title><description><![CDATA[
<p>With regards to 1), do not write/read structs directly to/from files. Instead write a proper serializer/deserializer. Without it, you may encounter another breakage soon when a different compiler/compiler options insert different struct padding bytes, which will then once again make your data non-portable, and a maliciously crafted save file with no length/size field validation on the deserializer level can lead to a variety of memory bugs.</p>
]]></description><pubDate>Mon, 15 Jun 2026 13:11:37 +0000</pubDate><link>https://news.ycombinator.com/item?id=48540755</link><dc:creator>diath</dc:creator><comments>https://news.ycombinator.com/item?id=48540755</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48540755</guid></item><item><title><![CDATA[New comment by diath in "Switzerland wil have a referendum to cap population at 10M"]]></title><description><![CDATA[
<p>These jobs are unpopular because the pay is shit, not because people don't want to do them, the government could simply have grants/bonus program for people employed in these positions so that the taxpayer money directly funds the bettering of the society and environment around them. Besides, Japan is a good real world example that you do not need to lean on immigrant labor to stop your country from becoming "dirty"; it's one of the most ethically homogeneous countries and also one of the cleanest places you can visit.</p>
]]></description><pubDate>Mon, 08 Jun 2026 21:47:43 +0000</pubDate><link>https://news.ycombinator.com/item?id=48452686</link><dc:creator>diath</dc:creator><comments>https://news.ycombinator.com/item?id=48452686</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48452686</guid></item><item><title><![CDATA[New comment by diath in "GTA 6 Developers Unionize"]]></title><description><![CDATA[
<p>It has not lagged behind depending on how you look at it, video game development can be split into engine programming and gameplay programming. For engine programming, you only need a handful of senior engineers specializing in low level details of a video game engine, and these will get paid high appropriate wages that match industry standard salaries. For the gameplay programmers, they just seek the cheapest labor that can do "quantity over quality" type of work to pump out content and there's a large pool of juniors/interns that will accept these low wages just because they want to be a part of something popular.</p>
]]></description><pubDate>Fri, 29 May 2026 16:11:16 +0000</pubDate><link>https://news.ycombinator.com/item?id=48325159</link><dc:creator>diath</dc:creator><comments>https://news.ycombinator.com/item?id=48325159</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48325159</guid></item><item><title><![CDATA[New comment by diath in "Defeating Git Rigour Fatigue with Jujutsu"]]></title><description><![CDATA[
<p>So... git rebase -i?</p>
]]></description><pubDate>Sun, 24 May 2026 21:37:16 +0000</pubDate><link>https://news.ycombinator.com/item?id=48261254</link><dc:creator>diath</dc:creator><comments>https://news.ycombinator.com/item?id=48261254</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48261254</guid></item><item><title><![CDATA[New comment by diath in "Bun.Image"]]></title><description><![CDATA[
<p>I just have a rule in AGENTS.md that any additions, removals or modifications to the public facing APIs should update the corresponding API documentation, works fine for me (assuming both sit in the single workspace).</p>
]]></description><pubDate>Sun, 24 May 2026 00:36:50 +0000</pubDate><link>https://news.ycombinator.com/item?id=48253084</link><dc:creator>diath</dc:creator><comments>https://news.ycombinator.com/item?id=48253084</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48253084</guid></item><item><title><![CDATA[New comment by diath in "Leaving GitHub for Forgejo"]]></title><description><![CDATA[
<p>If you have a VPS that's always running, you can just use it as a git remote through SSH without moving things around or any third party software, just put the Git repo on the VPS and clone it via "git clone ssh://user@host/path". You get authentication, encryption and synchronization out of the box with just ssh/git.</p>
]]></description><pubDate>Wed, 13 May 2026 13:39:17 +0000</pubDate><link>https://news.ycombinator.com/item?id=48121773</link><dc:creator>diath</dc:creator><comments>https://news.ycombinator.com/item?id=48121773</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48121773</guid></item><item><title><![CDATA[New comment by diath in "Metal Gear Solid 2's source code has been leaked on 4chan"]]></title><description><![CDATA[
<p>> Who said anything about recreating the exact code?<p>The person I'm replying to? Who said you will get the same code as if it were the original source?</p>
]]></description><pubDate>Sun, 03 May 2026 20:41:20 +0000</pubDate><link>https://news.ycombinator.com/item?id=48001252</link><dc:creator>diath</dc:creator><comments>https://news.ycombinator.com/item?id=48001252</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48001252</guid></item><item><title><![CDATA[New comment by diath in "Metal Gear Solid 2's source code has been leaked on 4chan"]]></title><description><![CDATA[
<p>Absolutely. This is just some delusions of a vibe coder at best. Not with just current generation of AI tools but essentially never. The conversion from C, C++, Rust or whatever, through post-processing (macros etc), through IR generation, through compile time optimizations, through link time optimizations, to the generated machine code is a one way street for low level languages. You can get a pretty close higher level approximation that matches the flow/logic/structure - but the code will never be anywhere near close to the original source code. I could write the same C++ program in 3 different ways and get identical assembly, how do you go back to the exact source? The answer is that you don't.<p>Here's the same simple program, written in 3 different ways, producing identical binary compatible code: <a href="https://godbolt.org/z/qWrc8fEnn" rel="nofollow">https://godbolt.org/z/qWrc8fEnn</a><p>How does the AI know whether it should produce back the snippet #1, #2 or #3? It does not. It cannot.</p>
]]></description><pubDate>Sun, 03 May 2026 19:15:23 +0000</pubDate><link>https://news.ycombinator.com/item?id=48000336</link><dc:creator>diath</dc:creator><comments>https://news.ycombinator.com/item?id=48000336</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48000336</guid></item><item><title><![CDATA[New comment by diath in ""Parse, don't validate" through the years with C++"]]></title><description><![CDATA[
<p>It has been available since GCC 12.1 (May 2022), Clang 19.1 (Sep 2024), and Visual Studio 17.13 (2022~): <a href="https://godbolt.org/z/on1v6qdf3" rel="nofollow">https://godbolt.org/z/on1v6qdf3</a><p>These days compiler developers implement accepted standard features pretty fast.</p>
]]></description><pubDate>Thu, 30 Apr 2026 15:15:52 +0000</pubDate><link>https://news.ycombinator.com/item?id=47963804</link><dc:creator>diath</dc:creator><comments>https://news.ycombinator.com/item?id=47963804</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47963804</guid></item><item><title><![CDATA[New comment by diath in "Copy Fail"]]></title><description><![CDATA[
<p>It's an advertisement for their tool that found the exploit: <a href="https://copy.fail/#contact" rel="nofollow">https://copy.fail/#contact</a>, <a href="https://xint.io/products/xint-code" rel="nofollow">https://xint.io/products/xint-code</a></p>
]]></description><pubDate>Wed, 29 Apr 2026 18:57:17 +0000</pubDate><link>https://news.ycombinator.com/item?id=47952763</link><dc:creator>diath</dc:creator><comments>https://news.ycombinator.com/item?id=47952763</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47952763</guid></item><item><title><![CDATA[New comment by diath in "Raylib v6.0"]]></title><description><![CDATA[
<p>I have read it, if you scroll down to the API list for the new text functions, they all relate to text (string) manipulation, not text rendering. There's still no native mechanism for caching text vertexes between frames.</p>
]]></description><pubDate>Fri, 24 Apr 2026 18:01:33 +0000</pubDate><link>https://news.ycombinator.com/item?id=47893720</link><dc:creator>diath</dc:creator><comments>https://news.ycombinator.com/item?id=47893720</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47893720</guid></item><item><title><![CDATA[New comment by diath in "Raylib v6.0"]]></title><description><![CDATA[
<p>The remaining issue I have with Raylib is that the library has no concept of a Text object, so for text-heavy scenes (lots of combat damage texts in fast paced games, lots of UI elements), the library spends most of the time recalculating font glyph stuff when drawing text.</p>
]]></description><pubDate>Thu, 23 Apr 2026 19:46:20 +0000</pubDate><link>https://news.ycombinator.com/item?id=47880735</link><dc:creator>diath</dc:creator><comments>https://news.ycombinator.com/item?id=47880735</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47880735</guid></item></channel></rss>