<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: giovannibajo1</title><link>https://news.ycombinator.com/user?id=giovannibajo1</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Sat, 16 May 2026 12:30:55 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=giovannibajo1" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by giovannibajo1 in "I Built an Open-World Engine for the N64 [video]"]]></title><description><![CDATA[
<p>I believe there's no way, on today's PC hardware, to emulate a 5th-gen console as accurate as a 4th-gen one. 4th-gen consoles can be emulated with cycle accuracy, 5th-gen cannot.<p>N64 also happens to be by far the heavier console to emulate in 5th-gen group. The unified memory architecture poses unique challenges for cycle accuracy, given that conflicting accesses by different peripherals are serialized in various ways, causing stalls, and also non deterministic behaviors as the signals cross different clock domains.<p>So the issue is in part that this level of detail hasn't been fully reverse engineered yet, but that's because there is no rush since the information wouldn't be usable anyway right now in an emulator.</p>
]]></description><pubDate>Thu, 02 Apr 2026 00:35:21 +0000</pubDate><link>https://news.ycombinator.com/item?id=47608573</link><dc:creator>giovannibajo1</dc:creator><comments>https://news.ycombinator.com/item?id=47608573</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47608573</guid></item><item><title><![CDATA[New comment by giovannibajo1 in "I Built an Open-World Engine for the N64 [video]"]]></title><description><![CDATA[
<p>(I maintain the Ares N64 core)<p>Obviously this is just a personal judgment, but I believe N64 is currently understood at quite a good level. Most of the docs are on <a href="https://n64brew.dev/" rel="nofollow">https://n64brew.dev/</a>. Low level efforts are recent for sure, though I'm not sure I would rate them as "not mature". Ares is able to run most of the library (including 64DD) and all the homebrew library with zero per-game configurations or tweaks.</p>
]]></description><pubDate>Sun, 29 Mar 2026 16:20:23 +0000</pubDate><link>https://news.ycombinator.com/item?id=47564502</link><dc:creator>giovannibajo1</dc:creator><comments>https://news.ycombinator.com/item?id=47564502</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47564502</guid></item><item><title><![CDATA[New comment by giovannibajo1 in "I Built an Open-World Engine for the N64 [video]"]]></title><description><![CDATA[
<p>Correct, both of them are really really old, accuracy wise. N64 emulation has improved a lot in the past 4-5 years, but old emulators haven’t caught up</p>
]]></description><pubDate>Sat, 28 Mar 2026 19:51:05 +0000</pubDate><link>https://news.ycombinator.com/item?id=47557658</link><dc:creator>giovannibajo1</dc:creator><comments>https://news.ycombinator.com/item?id=47557658</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47557658</guid></item><item><title><![CDATA[Playing Online Nintendo 64 Games with a Flashcart [video]]]></title><description><![CDATA[
<p>Article URL: <a href="https://www.youtube.com/watch?v=v9aVrBq0aiY">https://www.youtube.com/watch?v=v9aVrBq0aiY</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=44611257">https://news.ycombinator.com/item?id=44611257</a></p>
<p>Points: 5</p>
<p># Comments: 0</p>
]]></description><pubDate>Sat, 19 Jul 2025 00:09:32 +0000</pubDate><link>https://www.youtube.com/watch?v=v9aVrBq0aiY</link><dc:creator>giovannibajo1</dc:creator><comments>https://news.ycombinator.com/item?id=44611257</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44611257</guid></item><item><title><![CDATA[New comment by giovannibajo1 in "Bill Atkinson has died"]]></title><description><![CDATA[
<p>Uhm can you better explain that? I don’t get it. D3 doesn’t get reset because it’s guaranteed to be 0 at the beginning of each scanline, and the code needs to go through all “scanline blocks” until it finds the one whose Y contains the one specified as argument. It seems to me that each scanline is still self contained and begins logically at X=0 in the “outside” state?</p>
]]></description><pubDate>Mon, 09 Jun 2025 09:49:18 +0000</pubDate><link>https://news.ycombinator.com/item?id=44222797</link><dc:creator>giovannibajo1</dc:creator><comments>https://news.ycombinator.com/item?id=44222797</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44222797</guid></item><item><title><![CDATA[New comment by giovannibajo1 in "Bill Atkinson has died"]]></title><description><![CDATA[
<p>Yeah those are the horizontal spans I was referring to.<p>It’s a sorted list of X coordinates (left to right). If you group them in couples, they are begin/end intervals of pixels within region (visibles), but it’s actually more useful to manipulate them as a flat array, as I described.<p>I studied a bit the code and each scanline is prefixed by the Y coordinates, and uses an out of bounds terminator (32767).</p>
]]></description><pubDate>Sun, 08 Jun 2025 10:46:40 +0000</pubDate><link>https://news.ycombinator.com/item?id=44216101</link><dc:creator>giovannibajo1</dc:creator><comments>https://news.ycombinator.com/item?id=44216101</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44216101</guid></item><item><title><![CDATA[New comment by giovannibajo1 in "Bill Atkinson has died"]]></title><description><![CDATA[
<p>There were far fewer abstraction layers than today. Today when your desktop application draws something, it gets drawn into a context (a "buffer") which holds the picture of the whole window. Then the window manager / compositor simply paints all the windows on the screen, one on top of the other, in the correct priority (I'm simplifying a lot, but just to get the idea). So when you are programing your application, you don't care about other applications on the screen; you just draw the contents of your window and that's done.<p>Back at the time, there wouldn't be enough memory to hold a copy of the full contents all possible windows. In fact, there were actually zero abstraction layers: each application was responsible to draw itself directly into the framebuffer (array of pixels), into its correct position. So how to handle overlapping windows? How could each application draw itself on the screen, but <i>only</i> on the pixels not covered by other windows?<p>QuickDraw (the graphics API written by Atkinson) contained this data structure called "region" which basically represent a "set of pixels", like a mask. And QuickDraw drawing primitives (eg: text) supported clipping to a region. So each application had a region instance representing all visible pixels of the window at any given time; the application would then clip all its drawing to the region, so that only the visibile pixels would get updated.<p>But how was the region implemented? Obviously it could have not been a mask of pixels (as in, a bitmask) as it would use too much RAM and would be slow to update. In fact, think that the region datastructure had to be quick at doing also operations like intersections, unions, etc. as the operating system had to update the regions for each window as windows got dragged around by the mouse.<p>So the region was implemented as a bounding box plus a list of visible horizontal spans (I think, I don't know exactly the details). When you represent a list of spans, a common hack is to use simply a list of coordinates that represent the coordinates at which the "state" switches between "inside the span" to "outside the span". This approach makes it for some nice tricks when doing operations like intersections.<p>Hope this answers the question. I'm fuzzy on many details so there might be several mistakes in this comment (and I apologize in advance) but the overall answer should be good enough to highlight the differences compared to what computers to today.</p>
]]></description><pubDate>Sat, 07 Jun 2025 21:44:38 +0000</pubDate><link>https://news.ycombinator.com/item?id=44212886</link><dc:creator>giovannibajo1</dc:creator><comments>https://news.ycombinator.com/item?id=44212886</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44212886</guid></item><item><title><![CDATA[New comment by giovannibajo1 in "Libogc (Wii homebrew library) discovered to contain code stolen from RTEMS"]]></title><description><![CDATA[
<p>I don’t understand if this question is legal or morale/technical. I will answer to the latter, from the point of view of a prospective user of the library that wants to make their own mind around this.<p>Its quite easy to prove that libdragon was fully clean roomed. There are thousands of proofs like the git history showing incremental evolution and discovery, the various hardware testsuites being developed in parallel to it, the Ares emulator also improving its accuracy as things are being discovered over the past 4-5 years. At the same time, the n64brew wiki has also evolved to provide a source of independently verified, trustable hardware details.<p>Plus there are tens of thousands of Discord log messages where development has incrementally happened.<p>This is completely different from eg romhack-related efforts like Nintendo microcode evolutions where the authors explicitly acknowledge to have used the leaks to study and understand the original commented source code.<p>Instead, libdragon microcode has evolved from scratch, as clearly visible from the git history, discovering things a bit at a time, writing fuzzy tests to observe corner case behaviors, down to even creating a custom RSP programming language.<p>I believe all of this will be apparent to anybody approaching the codebase and studying it.</p>
]]></description><pubDate>Mon, 28 Apr 2025 13:44:41 +0000</pubDate><link>https://news.ycombinator.com/item?id=43821475</link><dc:creator>giovannibajo1</dc:creator><comments>https://news.ycombinator.com/item?id=43821475</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43821475</guid></item><item><title><![CDATA[New comment by giovannibajo1 in "Libogc (Wii homebrew library) discovered to contain code stolen from RTEMS"]]></title><description><![CDATA[
<p>The Nintendo 64 homebrew scene uses libdragon which is 100% clean room, 100% based on reverse engineering, is fully open source and allows to create ROMs with no proprietary libraries.</p>
]]></description><pubDate>Mon, 28 Apr 2025 00:05:32 +0000</pubDate><link>https://news.ycombinator.com/item?id=43816248</link><dc:creator>giovannibajo1</dc:creator><comments>https://news.ycombinator.com/item?id=43816248</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43816248</guid></item><item><title><![CDATA[New comment by giovannibajo1 in "Libogc (Wii homebrew library) discovered to contain code stolen from RTEMS"]]></title><description><![CDATA[
<p>Of course there was. You can clean-room reverse-engineer the hardware. This is what is done daily by Libdragon maintainers for supplying an open source SDK for Nintendo 64 with zero proprietary code in it.</p>
]]></description><pubDate>Sun, 27 Apr 2025 23:56:10 +0000</pubDate><link>https://news.ycombinator.com/item?id=43816197</link><dc:creator>giovannibajo1</dc:creator><comments>https://news.ycombinator.com/item?id=43816197</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43816197</guid></item><item><title><![CDATA[New comment by giovannibajo1 in "Gemini can't be disabled on Google Docs"]]></title><description><![CDATA[
<p>Google Docs does a lot of algorithms over the data you put in. For instance, it paginate them and show a page count. This is an algorithm processing your data exactly like Gemini does. There is no option in Google Docs to avoid the pagination algorithm from reading my data and processing it.<p>Another example: Google Docs indexes the contents of your document. That is, it stores all the words in a big database that you don't see and don't have access to, so that you can search for "tax" in the Google Docs search bar and bring up all documents that contain the word "tax". There is no option in Google Docs to avoid indexing the contents of a document for the purpose of searching for it.<p>When you decide to put your data into Google Docs, you are OK with Google processing your data in several ways (that should hopefully be documented). The fact that you seem so upset that a specific algorithm is processing your data just because it has the "AI" buzzword attached to it, seems like an overreaction prompted by the general panic we're living in.<p>I agree Google should be clear (and it <i>is</i> clear) whether Gemini is being trained on your data or not, because <i>that</i> is something that can have side effects that you have the right to be informed about. But Gemini just processing your data to provide feature N+1 among the other 2 billions available, it's really not something noteworthy.</p>
]]></description><pubDate>Thu, 11 Jul 2024 09:44:10 +0000</pubDate><link>https://news.ycombinator.com/item?id=40934987</link><dc:creator>giovannibajo1</dc:creator><comments>https://news.ycombinator.com/item?id=40934987</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=40934987</guid></item><item><title><![CDATA[New comment by giovannibajo1 in "GitHub Copilot is not infringing your copyright (2021)"]]></title><description><![CDATA[
<p>Should be tagged 2021</p>
]]></description><pubDate>Thu, 11 Jul 2024 09:37:13 +0000</pubDate><link>https://news.ycombinator.com/item?id=40934954</link><dc:creator>giovannibajo1</dc:creator><comments>https://news.ycombinator.com/item?id=40934954</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=40934954</guid></item><item><title><![CDATA[New comment by giovannibajo1 in "Go run"]]></title><description><![CDATA[
<p>There's also a technical reason, which is that the build system is written in the language it targets. So the cool tool is written in coolang. That's obviously not required, you could use any programming language for the cool tool, it just happens that all people that care about the cool tool, understand the needs of the ecosystem, have issues with missing features etc. already have a non zero intersection of languages they know of: they all know coolang.<p>If coolang decided to try to add coolang support to Bazel instead, they would probably have to learn Java[1]. Current maintainers or contributors to Bazel don't know coolang, and they don't care about it much, especially in the early stage. And maybe coolang developers don't know Java, or even actively hate it with a passion (that's why they were on the market for a new language). And even if some coolang developer decided to contribute to Bazel, the barrier would be much higher: being a mature build system with so many features and different needs, surely working in it is going to be complex; there will be many different concepts, and layers, and compromises, and APIs to work with. So for them it just makes more sense to use coolang so that all coolang developers can contribute to it having a real need for the cool tool to improve.<p>[1] I know nothing of Bazel. So just bare with the example even if it's technically not correct.</p>
]]></description><pubDate>Thu, 22 Feb 2024 10:41:44 +0000</pubDate><link>https://news.ycombinator.com/item?id=39465343</link><dc:creator>giovannibajo1</dc:creator><comments>https://news.ycombinator.com/item?id=39465343</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=39465343</guid></item><item><title><![CDATA[New comment by giovannibajo1 in "Don't pass structs bigger than 16 bytes on AMD64"]]></title><description><![CDATA[
<p>That will still require the compiler to serialize the three registers to the stack, to be able to pass the pointer to the structure to the callee. It seems like the described benefit is avoiding any serialization from registers to stack, which cannot be avoided with pass-by-reference.</p>
]]></description><pubDate>Fri, 05 Jan 2024 05:45:02 +0000</pubDate><link>https://news.ycombinator.com/item?id=38876108</link><dc:creator>giovannibajo1</dc:creator><comments>https://news.ycombinator.com/item?id=38876108</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=38876108</guid></item><item><title><![CDATA[New comment by giovannibajo1 in "PyPy has moved to Git, GitHub"]]></title><description><![CDATA[
<p>to be fair, PyPy predates PyPI</p>
]]></description><pubDate>Mon, 01 Jan 2024 21:14:21 +0000</pubDate><link>https://news.ycombinator.com/item?id=38835405</link><dc:creator>giovannibajo1</dc:creator><comments>https://news.ycombinator.com/item?id=38835405</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=38835405</guid></item><item><title><![CDATA[New comment by giovannibajo1 in "Golang disables Nagle's Algorithm by default"]]></title><description><![CDATA[
<p>I think also “least surprise” depends on your background. In Go, also files don’t buffer by default, contrary to many languages including C. If you call Write() 100 times, you run exactly 100 syscalls. Intermediate Go programmers learn this and that they must explicitly manage buffering (eg: via bufio).<p>I don’t think it’s wrong that sockets follow the same design. It gives me less surprise.</p>
]]></description><pubDate>Fri, 30 Dec 2022 01:24:32 +0000</pubDate><link>https://news.ycombinator.com/item?id=34180506</link><dc:creator>giovannibajo1</dc:creator><comments>https://news.ycombinator.com/item?id=34180506</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=34180506</guid></item><item><title><![CDATA[New comment by giovannibajo1 in "Spotify CEO renews attack on Apple after Musk's salvo"]]></title><description><![CDATA[
<p>The difference is that Facebook is in the market of mining your soul so whatever store they would create it would be targeted to that and the rules and policies will make sure that they are able to reach that goal.<p>Apple is in the business of selling phones and has decided that a good strategy for them is to protect the privacy of users against data miners. So their store and payment system by default protect users against practices of data collections.<p>> Having app stores compete for developers and users would be amazing for everyone except the current app store owners<p>It would be good for developers, not for users. I don’t think a single non-developer user is grasping for having multiple ways to download and install an app, and having to search for multiple stores with multiple payment systems to get one software. For users, the “iPhone” allows to download apps; none of them gives a thought to the fact that it happens via a single “store”.</p>
]]></description><pubDate>Thu, 01 Dec 2022 00:17:42 +0000</pubDate><link>https://news.ycombinator.com/item?id=33810216</link><dc:creator>giovannibajo1</dc:creator><comments>https://news.ycombinator.com/item?id=33810216</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=33810216</guid></item><item><title><![CDATA[New comment by giovannibajo1 in "Drawing Triangles on N64"]]></title><description><![CDATA[
<p>It is pretty much understood in most aspects that pertain regular software development, though there are still corners that are investigated.<p>The most accurate and fast emulator right now is Ares (<a href="https://ares-emu.net" rel="nofollow">https://ares-emu.net</a>), which bundles the Vulkan-accelerated RDP emulation with a recompiler for both CPU and RSP. It is extremely accurate in many regards and in general much closer to the real hardware than any other emulators (with cen64 being a close second). Other emulators manage to run most of the game library but using several hacks, while Ares keeps a zero-hack approach, so not everything works, but it is for instance far more compatible with advanced home-brew stuff which use the hardware in ways that the Nintendo SDK did not.<p>The most advanced open source library for N64 development is libdragon (<a href="https://github.com/DragonMinded/libdragon" rel="nofollow">https://github.com/DragonMinded/libdragon</a>) which is currently growing very advanced RSP ucodes that do things that are not possible with Nintendo SDK. For instance, it was recently merged a command list support to send commands from CPU to RSP without any lock in the happy path, and fully concurrent access from both the processors. Another example would be its DMA support for fetching data from ROM that exploits undocumented partially-broken features of the RCP that were previously unknown to allow for misaligned memory transfers.<p>The most accurate source of hardware documentation is the n64brew wiki, which is slowly gathering accurate, hardware-tested information on how the whole console works. <a href="https://n64brew.dev/wiki/Main_Page" rel="nofollow">https://n64brew.dev/wiki/Main_Page</a>. Unfortunately, it's still lacking in many areas (eg: RSP). It's a painstaking long work because there are many many documents floating around with partial or completely wrong information.</p>
]]></description><pubDate>Tue, 29 Mar 2022 09:51:28 +0000</pubDate><link>https://news.ycombinator.com/item?id=30840623</link><dc:creator>giovannibajo1</dc:creator><comments>https://news.ycombinator.com/item?id=30840623</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=30840623</guid></item><item><title><![CDATA[New comment by giovannibajo1 in "SNES Development Part 1: Getting Started"]]></title><description><![CDATA[
<p>Sure, will do.</p>
]]></description><pubDate>Mon, 14 Feb 2022 23:18:11 +0000</pubDate><link>https://news.ycombinator.com/item?id=30339891</link><dc:creator>giovannibajo1</dc:creator><comments>https://news.ycombinator.com/item?id=30339891</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=30339891</guid></item><item><title><![CDATA[New comment by giovannibajo1 in "SNES Development Part 1: Getting Started"]]></title><description><![CDATA[
<p>I'm sorry if my comment came across as offensive, it wasn't my intent. I wasn't aware that there was a community fork of bass, and bass used to be pretty abandoned, so I've been advising people against it for quite some time. I'm happy if there's a community willing to reprise development on it.<p>I will open an issue, and I've joined the discord if you want to discuss about this. I'm happy to help though I've not really used it for years now, but I am happy to at least tell you why I stopped using it so that you can ponder this for future developments.</p>
]]></description><pubDate>Mon, 14 Feb 2022 23:17:49 +0000</pubDate><link>https://news.ycombinator.com/item?id=30339883</link><dc:creator>giovannibajo1</dc:creator><comments>https://news.ycombinator.com/item?id=30339883</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=30339883</guid></item></channel></rss>