<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: MrResearcher</title><link>https://news.ycombinator.com/user?id=MrResearcher</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Mon, 10 Aug 2026 15:26:48 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=MrResearcher" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by MrResearcher in "Why I love FreeBSD"]]></title><description><![CDATA[
<p>What is the roadmap to ML on FreeBSD? From what I could find, apparently neither CUDA nor ROCm is supported? And there are no short-term plans to address the lack of hardware support for ML?</p>
]]></description><pubDate>Tue, 17 Mar 2026 05:00:28 +0000</pubDate><link>https://news.ycombinator.com/item?id=47408831</link><dc:creator>MrResearcher</dc:creator><comments>https://news.ycombinator.com/item?id=47408831</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47408831</guid></item><item><title><![CDATA[New comment by MrResearcher in "Type resolution redesign, with language changes to taste"]]></title><description><![CDATA[
<p>Running a ~20Kloc 0.16 Zig in prod, compiled and deployed as DebugSafe. No issues, superstable. This was rewrite of Node.js/Typescript computation module, and we chose Zig over Rust due to better support for f128. Zig/DebugSafe is approximately twice faster than TypeScript/Node.js 25 for our purpose, with approximately 70% less memory consumption.
We were not impacted by WriterGate and other recent scandals much because we primarily rely on libc, and we don't use much of Zig's I/O standard lib.<p>Zig has a better support for sqlite/JSON serialization (everything is strongly typed and validated) than Node.js, so that was a plus as well.<p>Zig minuses are well known: lack of syntax sugar for closures/lambdas/vtable, which makes it hard to isolate layers of code for independent development.<p>We use Arcs (atomic reference counting) with resource scopes (bumper allocators) extensively, so memory safety is not a concern despite aggressively multithreading logic. The default allocator automatically detects memory leaks, use-after-free, etc so we are planning to continue running it in DebugSafe indefinitely. We tried switching to ReleaseFast and gained about 25%, which is not that much faster to lose memory safety guarantees.</p>
]]></description><pubDate>Thu, 12 Mar 2026 06:06:25 +0000</pubDate><link>https://news.ycombinator.com/item?id=47347063</link><dc:creator>MrResearcher</dc:creator><comments>https://news.ycombinator.com/item?id=47347063</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47347063</guid></item><item><title><![CDATA[New comment by MrResearcher in "Zig Package Manager Enhancements"]]></title><description><![CDATA[
<p>That will lead to the same set of problems currently manifested in bit torrent'ing:<p>1. You'll have to expose a port externally. God only knows who will attempt to take over it.<p>2. You'll have spammers advertising addresses of known businesses in attempt to get everyone to spam (initiate connections with) them.<p>3. Sooner or later people start distributing content not related to Zig, which will attract acute attention from law enforcement agencies.<p>Consider these to be my predictions.</p>
]]></description><pubDate>Sat, 07 Feb 2026 19:45:53 +0000</pubDate><link>https://news.ycombinator.com/item?id=46927025</link><dc:creator>MrResearcher</dc:creator><comments>https://news.ycombinator.com/item?id=46927025</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=46927025</guid></item><item><title><![CDATA[New comment by MrResearcher in "How to escape the Linux networking stack"]]></title><description><![CDATA[
<p>Don't forget to post the link here!</p>
]]></description><pubDate>Tue, 18 Nov 2025 00:39:55 +0000</pubDate><link>https://news.ycombinator.com/item?id=45960118</link><dc:creator>MrResearcher</dc:creator><comments>https://news.ycombinator.com/item?id=45960118</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45960118</guid></item><item><title><![CDATA[New comment by MrResearcher in "New gel restores dental enamel and could revolutionise tooth repair"]]></title><description><![CDATA[
<p>No sir, but you have the honor of being the first!</p>
]]></description><pubDate>Thu, 06 Nov 2025 20:19:20 +0000</pubDate><link>https://news.ycombinator.com/item?id=45839894</link><dc:creator>MrResearcher</dc:creator><comments>https://news.ycombinator.com/item?id=45839894</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45839894</guid></item><item><title><![CDATA[Supreme Court Considers Legality of Trump's Tariffs]]></title><description><![CDATA[
<p>Article URL: <a href="https://www.c-span.org/event/public-affairs-event/supreme-court-considers-legality-of-trumps-tariffs/436949">https://www.c-span.org/event/public-affairs-event/supreme-court-considers-legality-of-trumps-tariffs/436949</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=45824530">https://news.ycombinator.com/item?id=45824530</a></p>
<p>Points: 5</p>
<p># Comments: 1</p>
]]></description><pubDate>Wed, 05 Nov 2025 16:09:28 +0000</pubDate><link>https://www.c-span.org/event/public-affairs-event/supreme-court-considers-legality-of-trumps-tariffs/436949</link><dc:creator>MrResearcher</dc:creator><comments>https://news.ycombinator.com/item?id=45824530</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45824530</guid></item><item><title><![CDATA[New comment by MrResearcher in "KDE is now my favorite desktop"]]></title><description><![CDATA[
<p>Could you please describe your remote access software stack in more details? What software/versions did you find more useful?<p>Can you connect e.g. from Windows to Linux and vice versa? Or from Android to Linux? I believe, KDEConnect was specifically designed to address this (<a href="https://kdeconnect.kde.org/" rel="nofollow">https://kdeconnect.kde.org/</a>), have you had a chance to give it a try?</p>
]]></description><pubDate>Fri, 19 Sep 2025 07:57:39 +0000</pubDate><link>https://news.ycombinator.com/item?id=45299079</link><dc:creator>MrResearcher</dc:creator><comments>https://news.ycombinator.com/item?id=45299079</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45299079</guid></item><item><title><![CDATA[New comment by MrResearcher in "KDE launches its own distribution"]]></title><description><![CDATA[
<p>I've been using KDE-Plasma on Wayland (Debian 13) since release as a daily driver, and I'm happy to report that it is super stable, has no problems with waking up from suspend and hibernate, and is a superb all-around shredder. I didn't notice any glitches, or flickering, or bugs so far, despite intensive daily abuse.</p>
]]></description><pubDate>Thu, 11 Sep 2025 16:57:10 +0000</pubDate><link>https://news.ycombinator.com/item?id=45213721</link><dc:creator>MrResearcher</dc:creator><comments>https://news.ycombinator.com/item?id=45213721</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45213721</guid></item><item><title><![CDATA[New comment by MrResearcher in "Inside Zig's New Writer"]]></title><description><![CDATA[
<p>Can we get an atom or RSS feed for that blog, so it would be possible to check for future posts?</p>
]]></description><pubDate>Sat, 30 Aug 2025 20:15:48 +0000</pubDate><link>https://news.ycombinator.com/item?id=45077656</link><dc:creator>MrResearcher</dc:creator><comments>https://news.ycombinator.com/item?id=45077656</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45077656</guid></item><item><title><![CDATA[New comment by MrResearcher in "VIM Master"]]></title><description><![CDATA[
<p>I generally recommend to exit either via :xa (save all & exit) or :qa! (discard all and exit), bound to ZZ or ZA respectively. If you exit via :q or :wq, it just closes the current buffer, and moves to the next one. E.g. if you have a neotree open along with the editor, you type :wq, it closes the editor buffer and moves you into the file tree, which can be very confusing for beginners.</p>
]]></description><pubDate>Wed, 27 Aug 2025 21:14:25 +0000</pubDate><link>https://news.ycombinator.com/item?id=45045368</link><dc:creator>MrResearcher</dc:creator><comments>https://news.ycombinator.com/item?id=45045368</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45045368</guid></item><item><title><![CDATA[New comment by MrResearcher in "Neuralink 'Participant 1' says his life has changed"]]></title><description><![CDATA[
<p>It's not really a lie, it's so-called "make-belief", which entrepreneurs exude in order to justify their own time and money investment, as well as spreading it to the army of employees. This sort of delusion is necessary for the inaugural period of concept development, until you prove whether the concept is viable or not. Some people call it vision. It is an entirely fictional concept, of course.
Sometimes you stumble onto something working that gets traction. Then this lie turns into reality, and the entrepreneur is raised to the rank of prophets.<p>In other words, he doesn't do it out of malice. These are the rules of the game.</p>
]]></description><pubDate>Wed, 27 Aug 2025 15:20:57 +0000</pubDate><link>https://news.ycombinator.com/item?id=45040931</link><dc:creator>MrResearcher</dc:creator><comments>https://news.ycombinator.com/item?id=45040931</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45040931</guid></item><item><title><![CDATA[New comment by MrResearcher in "Cars are so expensive that buyers need seven-year loans"]]></title><description><![CDATA[
<p>The powertrain warranty is usually 5 years or 60K miles. Bumper-to-bumper warranty is around 3 years, I think. I would be OK with the loan for as long as powertrain is covered, at the very least. The modern day turbo engines have exceptionally low reliability, it will blow while you still owe quite a bit for the car.</p>
]]></description><pubDate>Mon, 25 Aug 2025 21:16:15 +0000</pubDate><link>https://news.ycombinator.com/item?id=45019137</link><dc:creator>MrResearcher</dc:creator><comments>https://news.ycombinator.com/item?id=45019137</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45019137</guid></item><item><title><![CDATA[Cars are so expensive that buyers need seven-year loans]]></title><description><![CDATA[
<p>Article URL: <a href="https://www.bloomberg.com/news/articles/2025-08-25/surging-car-prices-push-buyers-to-take-out-longer-auto-loans">https://www.bloomberg.com/news/articles/2025-08-25/surging-car-prices-push-buyers-to-take-out-longer-auto-loans</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=45018254">https://news.ycombinator.com/item?id=45018254</a></p>
<p>Points: 34</p>
<p># Comments: 52</p>
]]></description><pubDate>Mon, 25 Aug 2025 19:56:13 +0000</pubDate><link>https://www.bloomberg.com/news/articles/2025-08-25/surging-car-prices-push-buyers-to-take-out-longer-auto-loans</link><dc:creator>MrResearcher</dc:creator><comments>https://news.ycombinator.com/item?id=45018254</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45018254</guid></item><item><title><![CDATA[New comment by MrResearcher in "I'm too dumb for Zig's new IO interface"]]></title><description><![CDATA[
<p>Because DOS relied on BIOS interrupt 10h to handle I/O:<p><pre><code>  mov si, GREETINGS_STRING
  print_loop:
    lodsb                  ; Load next byte into AL, advance SI
    cmp al, 0              ; Check for null terminator
    je done

    mov ah, 0Eh            ; BIOS teletype output
    mov bh, 0              ; Page number = 0
    mov bl, 07h            ; Light gray on black in text mode
    int 10h                ; Print character in AL

    jmp print_loop
  done:
    ...

  GREETINGS_STRING db "Hello, BIOS world!", 0
</code></pre>
And linux doesn't rely on BIOS for output I/O, it provides TTY subsystem and then programs use devices like /dev/tty for I/O. Run $ lspci in your console: which of those devices should the kernel use for output? The kernel wouldn't know that and BIOS is no longer of any help.</p>
]]></description><pubDate>Sun, 24 Aug 2025 14:32:24 +0000</pubDate><link>https://news.ycombinator.com/item?id=45004545</link><dc:creator>MrResearcher</dc:creator><comments>https://news.ycombinator.com/item?id=45004545</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45004545</guid></item><item><title><![CDATA[New comment by MrResearcher in "I'm too dumb for Zig's new IO interface"]]></title><description><![CDATA[
<p>If the flush (syscall) fails, it's not possible to recover in user space, therefore the only sensible option is to abort() immediately. It's not even safe to perror("Mayday, mayday, flush() failed"), you must simply abort().<p>And, the moment you start flushing correctly: if(flush(...)) { abort(); }, it becomes infallible from the program's point of view, and can be safely invoked in destructors.<p>File closure operations, on the other hand, do have legitimate reasons to fail. In one of my previous adventures, we were asking the operator to put the archival tape back, and then re-issuing the close() syscall, with the driver checking that the tape is inserted and passing the control to the mechanical arm for further positioning of the tape, all of that in the drivers running in the kernel space. The program actually had to retry close() syscalls, and kept asking the operator to handle the tape (there were multiple scenarios for the operator how to proceed).</p>
]]></description><pubDate>Sun, 24 Aug 2025 11:52:23 +0000</pubDate><link>https://news.ycombinator.com/item?id=45003523</link><dc:creator>MrResearcher</dc:creator><comments>https://news.ycombinator.com/item?id=45003523</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45003523</guid></item><item><title><![CDATA[New comment by MrResearcher in "I'm too dumb for Zig's new IO interface"]]></title><description><![CDATA[
<p>Why is he wrong?<p>Here's an excerpt from the close(2) syscall description:<p>RETURN VALUE
       close() returns zero on success.  On error, -1 is returned, and errno is set to indicate the error.<p>ERRORS
       EBADF  fd isn't a valid open file descriptor.<p><pre><code>       EINTR  The close() call was interrupted by a signal; see signal(7).

       EIO    An I/O error occurred.

       ENOSPC
       EDQUOT On NFS, these errors are not normally reported against the first write which exceeds the available storage space, but instead against a subsequent
              write(2), fsync(2), or close().

       See NOTES for a discussion of why close() should not be retried after an error.
</code></pre>
It obviously can fail due to a multitude of reasons.</p>
]]></description><pubDate>Sun, 24 Aug 2025 02:58:12 +0000</pubDate><link>https://news.ycombinator.com/item?id=45000934</link><dc:creator>MrResearcher</dc:creator><comments>https://news.ycombinator.com/item?id=45000934</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45000934</guid></item><item><title><![CDATA[New comment by MrResearcher in "Zig's Lovely Syntax"]]></title><description><![CDATA[
<p>It's still not clear to me how you can make two comptime closures with different contents and pass those as a functor into the same function. It needs to have a sort of VTable to invoke the function, and yet since the contents are different, the objects are different, and their deallocation will be different too.
Defining VTable in zig seems to be a pretty laborious endeavor, with each piece sewn manually.</p>
]]></description><pubDate>Sun, 10 Aug 2025 16:13:32 +0000</pubDate><link>https://news.ycombinator.com/item?id=44856155</link><dc:creator>MrResearcher</dc:creator><comments>https://news.ycombinator.com/item?id=44856155</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44856155</guid></item><item><title><![CDATA[New comment by MrResearcher in "Renting Is for Suckers"]]></title><description><![CDATA[
<p>I'm afraid to host my web sites myself simply because I don't trust my ISP. It's rather reliable, but it does go down ~once a quarter, and relying on them would be highly inconvenient. Therefore, I have to choose between Hetzner vs VPS vs cloud (AWS, GCP, etc) vs colocation. After doing all the math and judging my ability to deal with hardware and software upgrades, at the end of the day hosting in the cloud isn't really that much more expensive and it's the least troublesome.<p>Even for a simple web site.</p>
]]></description><pubDate>Fri, 25 Jul 2025 00:37:24 +0000</pubDate><link>https://news.ycombinator.com/item?id=44678095</link><dc:creator>MrResearcher</dc:creator><comments>https://news.ycombinator.com/item?id=44678095</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44678095</guid></item><item><title><![CDATA[New comment by MrResearcher in "Google is giving Amazon a leg up in digital book sales"]]></title><description><![CDATA[
<p>And I'm telling you that your position is suboptimal and in the long term will lead you nowhere. You won't be able to switch any noticeable number of consumers away from Amazon by telling them that they lie, nor would anyone listen to you.<p>However, if you teach people how they can obtain DRM-free material, store it, and consume it in that format, that and only that can make the difference.<p>Amazon is effectively a monopoly at this point. Many books are available exclusively through them. I doubt that the US court system would look into this segment of market any time soon. They still can't decide what to do with Google, and that took them how many years? I doubt we will be able to resolve this problem in our lifetime.</p>
]]></description><pubDate>Wed, 21 May 2025 00:52:31 +0000</pubDate><link>https://news.ycombinator.com/item?id=44047338</link><dc:creator>MrResearcher</dc:creator><comments>https://news.ycombinator.com/item?id=44047338</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44047338</guid></item><item><title><![CDATA[New comment by MrResearcher in "Google is giving Amazon a leg up in digital book sales"]]></title><description><![CDATA[
<p>There are well-known ways to extract Amazon books as PDFs, iTunes videos as DRM-free video files (with subtitles and audio tracks!), download youtube videos and movies, etc. Plenty of instructions on certain popular web sites that shall not be listed. So, there's an opinion that the audience you're referring to is, in fact, "buying" the books and movies, and not renting them, for as long as you are willing to exercise your technical "prowess".</p>
]]></description><pubDate>Wed, 21 May 2025 00:20:12 +0000</pubDate><link>https://news.ycombinator.com/item?id=44047185</link><dc:creator>MrResearcher</dc:creator><comments>https://news.ycombinator.com/item?id=44047185</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44047185</guid></item></channel></rss>