<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: asgeir</title><link>https://news.ycombinator.com/user?id=asgeir</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Mon, 21 Sep 2026 02:42:30 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=asgeir" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by asgeir in "Customasm – An assembler for custom, user-defined instruction sets"]]></title><description><![CDATA[
<p>Have you tried looking into something like NASM's macro functionality?</p>
]]></description><pubDate>Wed, 15 Jan 2025 10:22:08 +0000</pubDate><link>https://news.ycombinator.com/item?id=42709345</link><dc:creator>asgeir</dc:creator><comments>https://news.ycombinator.com/item?id=42709345</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=42709345</guid></item><item><title><![CDATA[New comment by asgeir in "What every systems programmer should know about concurrency (2020) [pdf]"]]></title><description><![CDATA[
<p>It often refers to programmers that develop things that other programmers use to construct applications. A systems programmer may work on compilers, operating systems, framework libraries, etc.<p>They will also often work with lower-level abstractions, such as threads, so that the higher-level developers need not think about them in their own designs.</p>
]]></description><pubDate>Fri, 13 Dec 2024 08:38:52 +0000</pubDate><link>https://news.ycombinator.com/item?id=42406926</link><dc:creator>asgeir</dc:creator><comments>https://news.ycombinator.com/item?id=42406926</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=42406926</guid></item><item><title><![CDATA[New comment by asgeir in "Arm is canceling Qualcomm's chip design license"]]></title><description><![CDATA[
<p>In Norse mythology, Heimdallr was born of nine sisters. I'm not sure that it took any less time than usual, but I enjoy the story all the same. <a href="https://en.wikipedia.org/wiki/Nine_Mothers_of_Heimdallr" rel="nofollow">https://en.wikipedia.org/wiki/Nine_Mothers_of_Heimdallr</a></p>
]]></description><pubDate>Wed, 23 Oct 2024 09:30:53 +0000</pubDate><link>https://news.ycombinator.com/item?id=41923362</link><dc:creator>asgeir</dc:creator><comments>https://news.ycombinator.com/item?id=41923362</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=41923362</guid></item><item><title><![CDATA[New comment by asgeir in "When objects are not enough (2021)"]]></title><description><![CDATA[
<p>It's possible that we are talking at cross purposes.<p>I think you might be arguing that the object itself does not include the set of functions/methods/operations that act on it, whereas I see them as another attribute of the class/type which is an attribute of the object.</p>
]]></description><pubDate>Thu, 25 Jul 2024 14:53:09 +0000</pubDate><link>https://news.ycombinator.com/item?id=41069409</link><dc:creator>asgeir</dc:creator><comments>https://news.ycombinator.com/item?id=41069409</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=41069409</guid></item><item><title><![CDATA[New comment by asgeir in "When objects are not enough (2021)"]]></title><description><![CDATA[
<p>I would still classify that as object oriented behavior.<p>You have a class/type of objects, and you have a set of functions or operations which are associated with (loosely or tightly) and operate on that type of object.<p>For example, I would say that file descriptors are a handle to a type of object. They encapsulate the thing that they represent (file, DRM buffer, eventfd, whatever), and some of the functions that operate on them are polymorphic. For example, read, close, ioctl, etc., don't care if the file descriptor is a file, a queue, or whatever.<p>You use syscalls to interact with file descriptors, but they are just as much object handles.</p>
]]></description><pubDate>Thu, 25 Jul 2024 14:03:10 +0000</pubDate><link>https://news.ycombinator.com/item?id=41068808</link><dc:creator>asgeir</dc:creator><comments>https://news.ycombinator.com/item?id=41068808</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=41068808</guid></item><item><title><![CDATA[New comment by asgeir in "When objects are not enough (2021)"]]></title><description><![CDATA[
<p>It's not a requirement, but an immutable object has fewer uses than a mutable one.<p>Functions/methods/actions/operations are just different names for the operations which mutate the state of the object. So, I would argue that they are a necessary attribute of mutable objects.</p>
]]></description><pubDate>Thu, 25 Jul 2024 13:27:39 +0000</pubDate><link>https://news.ycombinator.com/item?id=41068445</link><dc:creator>asgeir</dc:creator><comments>https://news.ycombinator.com/item?id=41068445</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=41068445</guid></item><item><title><![CDATA[New comment by asgeir in "Transformers Can Do Arithmetic with the Right Embeddings"]]></title><description><![CDATA[
<p>In my experience, LLMs tend to perform better if you give them instructions before the data to be operated on. At least for the ~13b size models.<p>So,something like: Please count the number of words in the following sentence. "What is the number of words in the sentence coming before the next one?"<p>edit: Which might be an artifact of the training data always being in that kind of format.</p>
]]></description><pubDate>Tue, 28 May 2024 11:08:19 +0000</pubDate><link>https://news.ycombinator.com/item?id=40499502</link><dc:creator>asgeir</dc:creator><comments>https://news.ycombinator.com/item?id=40499502</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=40499502</guid></item><item><title><![CDATA[New comment by asgeir in "What is a Vector Database? (2021)"]]></title><description><![CDATA[
<p><a href="https://www.youtube.com/watch?v=gQddtTdmG_8">https://www.youtube.com/watch?v=gQddtTdmG_8</a></p>
]]></description><pubDate>Fri, 05 May 2023 11:57:52 +0000</pubDate><link>https://news.ycombinator.com/item?id=35828122</link><dc:creator>asgeir</dc:creator><comments>https://news.ycombinator.com/item?id=35828122</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=35828122</guid></item><item><title><![CDATA[SPlisHSPlasH – open-source library for the physically-based simulation of fluids]]></title><description><![CDATA[
<p>Article URL: <a href="https://github.com/InteractiveComputerGraphics/SPlisHSPlasH">https://github.com/InteractiveComputerGraphics/SPlisHSPlasH</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=34954729">https://news.ycombinator.com/item?id=34954729</a></p>
<p>Points: 1</p>
<p># Comments: 0</p>
]]></description><pubDate>Mon, 27 Feb 2023 10:06:39 +0000</pubDate><link>https://github.com/InteractiveComputerGraphics/SPlisHSPlasH</link><dc:creator>asgeir</dc:creator><comments>https://news.ycombinator.com/item?id=34954729</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=34954729</guid></item><item><title><![CDATA[New comment by asgeir in "Falsehoods programmers believe about undefined behavior"]]></title><description><![CDATA[
<p>It seems that you may be correct.<p>At the very least I am unable to construct a counter-example so I concede this point</p>
]]></description><pubDate>Mon, 28 Nov 2022 16:03:50 +0000</pubDate><link>https://news.ycombinator.com/item?id=33775273</link><dc:creator>asgeir</dc:creator><comments>https://news.ycombinator.com/item?id=33775273</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=33775273</guid></item><item><title><![CDATA[New comment by asgeir in "Falsehoods programmers believe about undefined behavior"]]></title><description><![CDATA[
<p>The undefined behavior can still affect code generation even though the program gets translated.<p>It's just that the generated code may not do exactly what you expect it to do because the presence of undefined behavior allowed the compiler to make assumptions which may surprise you.<p>edit: It seems that I am incorrect</p>
]]></description><pubDate>Mon, 28 Nov 2022 14:55:14 +0000</pubDate><link>https://news.ycombinator.com/item?id=33774345</link><dc:creator>asgeir</dc:creator><comments>https://news.ycombinator.com/item?id=33774345</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=33774345</guid></item><item><title><![CDATA[New comment by asgeir in "Falsehoods programmers believe about undefined behavior"]]></title><description><![CDATA[
<p>The compiler may make optimization decisions based on the presence of UB so the code only needs to be present.<p>The compiler can't know that an arbitrary part of a function is unreachable if, for instance, that code path is controlled by a parameter or global state since that equates to solving the halting problem.<p><a href="https://blog.llvm.org/2011/05/what-every-c-programmer-should-know_14.html" rel="nofollow">https://blog.llvm.org/2011/05/what-every-c-programmer-should...</a></p>
]]></description><pubDate>Mon, 28 Nov 2022 12:37:15 +0000</pubDate><link>https://news.ycombinator.com/item?id=33772842</link><dc:creator>asgeir</dc:creator><comments>https://news.ycombinator.com/item?id=33772842</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=33772842</guid></item><item><title><![CDATA[New comment by asgeir in "EU Passes Law to Switch iPhone to USB-C by End of 2024"]]></title><description><![CDATA[
<p>To be clear. I think that both connectors have their own problems.<p>Just because I've not had the center nub break in any of my USB-C devices that doesn't mean it's not a problem for someone else.<p>Similarly, I've had the springs in a Lightning port give out so that no cable worked and the port needed replacing.<p>I still think that having the springs in the cable connector is a more durable design but the USB-C center nub is probably too thin.<p>(edit) Here is the chief FireWire architect talking about the same design rationale for the FW400 connector <a href="http://www.johasteener.com/what-is-firewire.html#Why_the_4-pin_connector_sucks" rel="nofollow">http://www.johasteener.com/what-is-firewire.html#Why_the_4-p...</a></p>
]]></description><pubDate>Tue, 04 Oct 2022 20:16:20 +0000</pubDate><link>https://news.ycombinator.com/item?id=33086122</link><dc:creator>asgeir</dc:creator><comments>https://news.ycombinator.com/item?id=33086122</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=33086122</guid></item><item><title><![CDATA[New comment by asgeir in "EU Passes Law to Switch iPhone to USB-C by End of 2024"]]></title><description><![CDATA[
<p>USB-C has the springs in the plug while the receptacle is only fixed contacts. Lightning on the other hand has the springs inside the receptacle.<p>This means that for USB-C you replace the cable when the springs wear out, but for Lightning you need to replace the port.<p>Cleaning lint out of a USB-C receptacle with a toothpick is safe, but sticking anything into a Lightning port could damage the springs.</p>
]]></description><pubDate>Tue, 04 Oct 2022 13:56:48 +0000</pubDate><link>https://news.ycombinator.com/item?id=33080442</link><dc:creator>asgeir</dc:creator><comments>https://news.ycombinator.com/item?id=33080442</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=33080442</guid></item><item><title><![CDATA[New comment by asgeir in "Physics duo finds magic in two dimensions"]]></title><description><![CDATA[
<p>And Super Hexagon is an excellent game (with a great soundtrack) <a href="https://superhexagon.com/" rel="nofollow">https://superhexagon.com/</a></p>
]]></description><pubDate>Wed, 17 Aug 2022 08:27:00 +0000</pubDate><link>https://news.ycombinator.com/item?id=32493757</link><dc:creator>asgeir</dc:creator><comments>https://news.ycombinator.com/item?id=32493757</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=32493757</guid></item><item><title><![CDATA[New comment by asgeir in "Iceland’s forest and bush cover has increased sixfold since 1990"]]></title><description><![CDATA[
<p>It is slightly unfair to say there's barely an ecosystem. If all you've seen is Reykjanes between Keflavík and Reykjavík then sure it might look like a bleak, moss covered, rocky desert. But the thing is that different regions can vary quite drastically in their level of vegetation. You might have farmland on one side of a mountain but on the other side a vast sandy desert.<p>But, to be fair, if your measure of a fertile landscape is a forest then those are relatively few and far between. Personally I tend to feel a bit claustrophobic when there are trees boxing me in on all sides and I can't see the mountains. :)</p>
]]></description><pubDate>Mon, 18 Jul 2022 20:05:01 +0000</pubDate><link>https://news.ycombinator.com/item?id=32142959</link><dc:creator>asgeir</dc:creator><comments>https://news.ycombinator.com/item?id=32142959</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=32142959</guid></item><item><title><![CDATA[New comment by asgeir in "The Windows malloc() implementation from MSVCRT is slow"]]></title><description><![CDATA[
<p>Part of it is whether the code can be traced back to original AT&T code. Which would be true for e.g. BSD variants (which includes MacOS). <a href="https://i.redd.it/kgv4ckmz3zb51.jpg" rel="nofollow">https://i.redd.it/kgv4ckmz3zb51.jpg</a><p>Another part is the trademark and certification fee. <a href="https://www.opengroup.org/openbrand/Brandfees.htm" rel="nofollow">https://www.opengroup.org/openbrand/Brandfees.htm</a></p>
]]></description><pubDate>Sat, 02 Jul 2022 21:33:51 +0000</pubDate><link>https://news.ycombinator.com/item?id=31962661</link><dc:creator>asgeir</dc:creator><comments>https://news.ycombinator.com/item?id=31962661</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=31962661</guid></item><item><title><![CDATA[New comment by asgeir in "Show HN: I'm making a dynamic language in Rust"]]></title><description><![CDATA[
<p>You might be interested in these articles if you want to experiment with alternative approaches to the intrusive linked-list and are OK with using object pools. Very handy if you want to have cheap alloc/free and want good memory locality for updating the objects.<p><a href="https://slideplayer.com/slide/4470263/" rel="nofollow">https://slideplayer.com/slide/4470263/</a><p><a href="https://gamesfromwithin.com/managing-data-relationships" rel="nofollow">https://gamesfromwithin.com/managing-data-relationships</a></p>
]]></description><pubDate>Mon, 25 Apr 2022 10:43:27 +0000</pubDate><link>https://news.ycombinator.com/item?id=31152734</link><dc:creator>asgeir</dc:creator><comments>https://news.ycombinator.com/item?id=31152734</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=31152734</guid></item><item><title><![CDATA[New comment by asgeir in "AudioTransmit – Transmitting data between computers using audio"]]></title><description><![CDATA[
<p>You're probably thinking of the initial handshake bit rather than what the middle of the data stream sounded like. 
<a href="https://www.windytan.com/2012/11/the-sound-of-dialup-pictured.html" rel="nofollow">https://www.windytan.com/2012/11/the-sound-of-dialup-picture...</a></p>
]]></description><pubDate>Tue, 05 Apr 2022 10:15:53 +0000</pubDate><link>https://news.ycombinator.com/item?id=30917207</link><dc:creator>asgeir</dc:creator><comments>https://news.ycombinator.com/item?id=30917207</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=30917207</guid></item><item><title><![CDATA[New comment by asgeir in "In C, how do you know if the dynamic allocation succeeded?"]]></title><description><![CDATA[
<p>You can find a number of technical deep-dives for classic video game consoles where people have had do deal with very limited resources.<p>This video springs to mind as one example: <a href="https://www.youtube.com/watch?v=tfAnxaWiSeE" rel="nofollow">https://www.youtube.com/watch?v=tfAnxaWiSeE</a></p>
]]></description><pubDate>Sat, 06 Nov 2021 10:06:09 +0000</pubDate><link>https://news.ycombinator.com/item?id=29128942</link><dc:creator>asgeir</dc:creator><comments>https://news.ycombinator.com/item?id=29128942</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=29128942</guid></item></channel></rss>