<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: bArray</title><link>https://news.ycombinator.com/user?id=bArray</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Fri, 22 May 2026 05:12:28 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=bArray" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by bArray in "Embedded Rust or C Firmware? Lessons from an Industrial Microcontroller Use Case"]]></title><description><![CDATA[
<p>> Yes. The goal was to handle the maximum data rate of the used sensor, and stop there. Time was limited on both ends.<p>I understand, and I understand that there were limits to what could be done with the resources there were. What irks me is the strength of the claim made without enough evidence to make it.<p>> The ST intern found those boosts all by himself. They compared the exact MCU & peripheral initialization of the C and Rust firmwares, tightened I2C timings (where STM Cube has vendor tuned & qualified values), and enabled the MCU's instruction cache, which somehow is not default in Embassy's HAL. We were quite impressed actually, the last days before the deadline were quite productive, optimization wise.<p>Fair enough, hats off to the intern. This kind of thing is common in MCUs, even on low-end CPUs weird defaults can be selected. But the involvement and influence of the OS developers remains unclear.<p>Again, there's just not enough data to make such strong claims. I think the paper could easily make recommendations, it could say that at least in some cases (as evidenced) Rust could be a reasonable choice, and it could make an argument for further work.</p>
]]></description><pubDate>Sun, 03 May 2026 15:29:50 +0000</pubDate><link>https://news.ycombinator.com/item?id=47997929</link><dc:creator>bArray</dc:creator><comments>https://news.ycombinator.com/item?id=47997929</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47997929</guid></item><item><title><![CDATA[New comment by bArray in "Embedded Rust or C firmware? Lessons from an industrial microcontroller use case"]]></title><description><![CDATA[
<p>I think you miss my point. I don't think that this conclusion can be reached with the (singular) experiments performed because there is a lack of data to draw it.<p>If I ran an experiment where I gave a cancer patient bread, and then they recovered from cancer, I couldn't then say: "It is concluded that <bread> is a sound choice today for <cancer treatment> in this domain.". You would rightfully jump up and down and demand further experiments to increase the confidence of the result before drawing the conclusion.<p>It could have been concluded instead that there is a case for further experiments to be conducted, or that Rust could be approaching a maturity where it could be considered for some firmware projects. But as it stands, the conclusion is far too strong given the experiments performed.</p>
]]></description><pubDate>Sun, 03 May 2026 15:21:13 +0000</pubDate><link>https://news.ycombinator.com/item?id=47997843</link><dc:creator>bArray</dc:creator><comments>https://news.ycombinator.com/item?id=47997843</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47997843</guid></item><item><title><![CDATA[New comment by bArray in "Embedded Rust or C firmware? Lessons from an industrial microcontroller use case"]]></title><description><![CDATA[
<p>> It is concluded that Rust is a sound choice today for firmware development in this domain.<p>This conclusion was reached with a single experiment.<p>> Two teams concurrently developing the same functionality — one in C, one in Rust — are analyzed over a period of several months.<p>> Furthermore, Ariel OS is shown to provide an efficient and portable system runtime in Rust whose footprint is smaller than that of the state-of-the-art bare-metal C stack traditionally used in this context.<p>> The authors thank Davide Aliprandi and Davide Sergi of the STAIoTCraft team, and the wider Ariel OS team.<p>So one team had Ariel OS developer support, and it's unclear what support the other team had. Seems fair.<p>In Figure 12, they simply stop optimizing the code once desired rate is reached. Just at the end of the project the Rust firmware gets over a third performance boost, most likely from their OS developers.<p>Additionally, there is a claim that "Ariel OS is shown to provide an efficient and portable system runtime" - but there are no real tests for portability are conducted. Worst still:<p>> Where C-based projects require a separate project setup and manual code copying per target, Rust on Ariel OS consolidates everything within a single project [..]<p>This claim is just not true. This sounds like somebody that is not as familiar with C.</p>
]]></description><pubDate>Sun, 03 May 2026 15:01:05 +0000</pubDate><link>https://news.ycombinator.com/item?id=47997613</link><dc:creator>bArray</dc:creator><comments>https://news.ycombinator.com/item?id=47997613</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47997613</guid></item><item><title><![CDATA[New comment by bArray in "Industrial design files for Keychron keyboards and mice"]]></title><description><![CDATA[
<p>I almost purchased a mechanical keyboard (with the wrong layout) from a Bic Camera [1] just because they offered in-store access to the keyboards.<p>[1] <a href="https://en.wikipedia.org/wiki/Bic_Camera" rel="nofollow">https://en.wikipedia.org/wiki/Bic_Camera</a></p>
]]></description><pubDate>Tue, 14 Apr 2026 12:27:23 +0000</pubDate><link>https://news.ycombinator.com/item?id=47764727</link><dc:creator>bArray</dc:creator><comments>https://news.ycombinator.com/item?id=47764727</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47764727</guid></item><item><title><![CDATA[New comment by bArray in "Old laptops in a colo as low cost servers"]]></title><description><![CDATA[
<p>> Your laptop should be fully functional with a working power supply and either an ethernet port or USB port for connectivity. Age isn't a factor. We might modify your laptop to remove or power down the battery, wireless radios, etc. to ensure it can be used safely in the data center.<p>So they're going to open the laptop up and make hardware modifications to random laptops sent in? May as well have a VPS at that point.<p>A far better business offering would have been to offer pre-selected physical devices where such things are well known.</p>
]]></description><pubDate>Fri, 10 Apr 2026 08:52:56 +0000</pubDate><link>https://news.ycombinator.com/item?id=47715335</link><dc:creator>bArray</dc:creator><comments>https://news.ycombinator.com/item?id=47715335</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47715335</guid></item><item><title><![CDATA[New comment by bArray in "Show HN: A (marginally) useful x86-64 ELF executable in 301 bytes"]]></title><description><![CDATA[
<p>I had a similar problem for a Thinkpad, except there is more than one cell at different capacities that are switched between. The existing battery manager would not tell me which battery was actually being used, and whether there was still a secondary battery waiting to be discharged.<p>I wrote a very quick hacky program for X11 that stays always visible that will display the information for any number of batteries: <a href="https://gitlab.com/danbarry16/bat_mon" rel="nofollow">https://gitlab.com/danbarry16/bat_mon</a><p>It ends up being 50kB with minimal optimization and sports a lightweight X11 library (GUI) and JSON parser (configuration).</p>
]]></description><pubDate>Thu, 09 Apr 2026 14:19:34 +0000</pubDate><link>https://news.ycombinator.com/item?id=47704114</link><dc:creator>bArray</dc:creator><comments>https://news.ycombinator.com/item?id=47704114</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47704114</guid></item><item><title><![CDATA[New comment by bArray in "A nearly perfect USB cable tester"]]></title><description><![CDATA[
<p>What I'm looking for is a differential signal tester, where you can breakout any arbitrary cable or traces and test the properties of the wire with different frequencies. It should be able to measure interesting properties such as resistance, capacitance, inductance, phase/length difference, wire length, etc.<p>One of these devices for approximately $100 would sell all day long.</p>
]]></description><pubDate>Sun, 29 Mar 2026 13:57:45 +0000</pubDate><link>https://news.ycombinator.com/item?id=47563194</link><dc:creator>bArray</dc:creator><comments>https://news.ycombinator.com/item?id=47563194</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47563194</guid></item><item><title><![CDATA[New comment by bArray in "Baochip-1x: What it is, why I'm doing it now and how it came about"]]></title><description><![CDATA[
<p>So a little out of the budget of a hobbyist!<p>Is there a service to get on a FOUP with a group of people? I know for example of Tiny Tape Out [1], but I'm wondering where you might explore for larger designs.<p>[1] <a href="https://tinytapeout.com/" rel="nofollow">https://tinytapeout.com/</a></p>
]]></description><pubDate>Mon, 16 Mar 2026 13:06:55 +0000</pubDate><link>https://news.ycombinator.com/item?id=47398495</link><dc:creator>bArray</dc:creator><comments>https://news.ycombinator.com/item?id=47398495</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47398495</guid></item><item><title><![CDATA[New comment by bArray in "Baochip-1x: What it is, why I'm doing it now and how it came about"]]></title><description><![CDATA[
<p>> Those with a bit of silicon savvy would note that it’s not cheap to produce such a chip, yet, I have not raised a dollar of venture capital. I’m also not independently wealthy. So how is this possible?<p>What kind of order of magnitude of cost are we talking about?<p>What are the next steps - is there some service to cut the wafer and put into a package for you?</p>
]]></description><pubDate>Sat, 14 Mar 2026 12:31:18 +0000</pubDate><link>https://news.ycombinator.com/item?id=47376014</link><dc:creator>bArray</dc:creator><comments>https://news.ycombinator.com/item?id=47376014</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47376014</guid></item><item><title><![CDATA[New comment by bArray in "US private credit defaults hit record 9.2% in 2025, Fitch says"]]></title><description><![CDATA[
<p><a href="https://web.archive.org/web/20260312130613/https://www.marketscreener.com/news/us-private-credit-defaults-hit-record-9-2-in-2025-fitch-says-ce7e5fd8df8fff2d" rel="nofollow">https://web.archive.org/web/20260312130613/https://www.marke...</a><p>^ Encase the link also responds with this for you:<p><pre><code>    Access Denied

    You don't have permission to access "http://www.marketscreener.com/news/us-private-credit-defaults-hit-record-9-2-in-2025-fitch-says-ce7e5fd8df8fff2d" on this server.</code></pre></p>
]]></description><pubDate>Thu, 12 Mar 2026 13:23:47 +0000</pubDate><link>https://news.ycombinator.com/item?id=47350214</link><dc:creator>bArray</dc:creator><comments>https://news.ycombinator.com/item?id=47350214</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47350214</guid></item><item><title><![CDATA[New comment by bArray in "PCB devboard the size of a USB-C plug"]]></title><description><![CDATA[
<p>Exactly this. You calm down, take a cup of coffee, marvel at your beautiful design, and then spot something out of place. The actual review has saved me a few times too, for example: "are you sure there are no copper layers in your PCB design?" - Doh! A few times they have raised issues regarding the limitations of their manufacturing capabilities, and this too has saved time and cost.</p>
]]></description><pubDate>Tue, 10 Mar 2026 11:03:03 +0000</pubDate><link>https://news.ycombinator.com/item?id=47321611</link><dc:creator>bArray</dc:creator><comments>https://news.ycombinator.com/item?id=47321611</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47321611</guid></item><item><title><![CDATA[New comment by bArray in "Revealed: UK's multibillion AI drive is built on 'phantom investments'"]]></title><description><![CDATA[
<p>To build a Gigawatt AI data center in 2025 is reported to cost $35bn [1]. If you're not going to build it to top specs, why even bother. Given that this is the UK, once all the bureaucracy is done, it'll be at least 50% more expensive.<p>A large business is estimated to use 50MWh at £14,706 a year [2]. It'll cost in excess of £300k per year just to run electricity, not that the grid has that in spare capacity [3]. It's completely in contrast to their green energy campaign.<p>Then, they don't even have any kind of contract actually in place:<p>> Asked about the terms of the contract that Nscale had signed to build the supercomputer by the end of this year, the government did not reply directly. Instead, it said that Nscale’s entire $2.5bn investment was “not a formal contract, rather an intention to commit capital”, and “may well include equipment and capital funding”.<p>There's not enough serious capital invested to get this off of the ground (or even to break ground seemingly). And then there are basic questions, like:<p>1. Why would build a data center that is supposed to create tonnes of jobs, in a location where it costs a lot to employ people?<p>2. Why would you outsource your data center if you live in the US or EU, when there are better options available locally? These data centers sure as hell won't be used by British companies because the government are crushing them with tax.<p>3. The energy cost is far too high compared to locations with nuclear or hydro electricity generation.<p>This whole thing stinks. I think it's a complete and utter lie.<p>[1] <a href="https://uk.investing.com/news/stock-market-news/how-much-does-a-gw-of-data-center-capacity-actually-cost-4329740" rel="nofollow">https://uk.investing.com/news/stock-market-news/how-much-doe...</a><p>[2] <a href="https://www.moneysupermarket.com/gas-and-electricity/business-energy/a/average-uk-business-energy-consumption/" rel="nofollow">https://www.moneysupermarket.com/gas-and-electricity/busines...</a><p>[3] <a href="https://watt-logic.com/2025/01/09/blackouts-near-miss-in-tighest-day-in-gb-electricity-market-since-2011/" rel="nofollow">https://watt-logic.com/2025/01/09/blackouts-near-miss-in-tig...</a></p>
]]></description><pubDate>Mon, 09 Mar 2026 16:26:51 +0000</pubDate><link>https://news.ycombinator.com/item?id=47311217</link><dc:creator>bArray</dc:creator><comments>https://news.ycombinator.com/item?id=47311217</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47311217</guid></item><item><title><![CDATA[New comment by bArray in "Ask HN: What Are You Working On? (March 2026)"]]></title><description><![CDATA[
<p>Yesterday - The start (rendering) of a basic voxel editor for generating OBJ and STL files with just the keyboard. To solve 95% of my 3D modelling needs it turns out I likely just need cubes.<p>Today - Parsing a website's HTML (lots of pages, lots of links) to update an RSS feed that accepts filters. Rather than manually checking a website and losing track of what I have or haven't reviewed, the idea is to feed it into an RSS aggregator.</p>
]]></description><pubDate>Mon, 09 Mar 2026 15:26:32 +0000</pubDate><link>https://news.ycombinator.com/item?id=47310342</link><dc:creator>bArray</dc:creator><comments>https://news.ycombinator.com/item?id=47310342</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47310342</guid></item><item><title><![CDATA[New comment by bArray in "We Stopped Using the Mathematics That Works"]]></title><description><![CDATA[
<p>> A Bayesian decision-theoretic agent needs explicit utility functions, cost models, prior distributions, and a formal description of the action space. Every assumption must be stated. Every trade-off must be quantified. This is intellectually honest and practically gruelling. Getting the utility function wrong doesn’t just give you a bad answer; it gives you a confidently optimal answer to the wrong question.<p>I was talking somebody through Bayesian updates the other day. The problem is that if you mess up any part of it, in any way, then the result can be completely garbage. Meanwhile, if you throw some neural network at the problem, it can much better handle noise.<p>> Deep learning’s convenience advantage is the same phenomenon at larger scale. Why specify a prior when you can train on a million examples? Why model uncertainty when you can just make the network bigger? The answers to these questions are good answers, but they require you to care about things the market doesn’t always reward.<p>The answer seems simple to me - sometimes getting an answer is not enough, and you need to understand <i>how</i> an answer was reached. In the age of hallucinations, one can appreciate approaches where hallucinations are impossible.</p>
]]></description><pubDate>Mon, 09 Mar 2026 13:34:56 +0000</pubDate><link>https://news.ycombinator.com/item?id=47308888</link><dc:creator>bArray</dc:creator><comments>https://news.ycombinator.com/item?id=47308888</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47308888</guid></item><item><title><![CDATA[New comment by bArray in "PCB devboard the size of a USB-C plug"]]></title><description><![CDATA[
<p>It was either PCBWay or JLCPCB, but they had a "review window" where it was possible to make changes or cancel an order. They recently switched this to be an automated review, so there was no opportunity for corrections. It could be that the card companies blacklisted them after people started cancelling orders with their credit cards, because their UI stopped supporting the feature.</p>
]]></description><pubDate>Mon, 09 Mar 2026 10:43:27 +0000</pubDate><link>https://news.ycombinator.com/item?id=47307296</link><dc:creator>bArray</dc:creator><comments>https://news.ycombinator.com/item?id=47307296</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47307296</guid></item><item><title><![CDATA[New comment by bArray in "10% of Firefox crashes are caused by bitflips"]]></title><description><![CDATA[
<p>> In the last week we received ~470000 crash reports, these do not represent all crashes because it's an opt-in system, the real number of crashes will be several times larger.<p>470k crashes in a single week, and this is under-reported! I bet the number of crashes is far higher. My snap Firefox on Ubuntu would lock-up, forcing me to kill it from the system monitor, and this was never reported as a crash.<p>Once upon a time I wrote software for safety critical systems in C/C++, where the code was deployed and expected to work for 10 years (or more) and interact with systems not built yet. Our system could lose power at any time (no battery) and we would have at best 1ms warning.<p>Even if Firefox moves to Rust, it will not resolve these issues. 5% of their crashes could be coming from resource exhaustion, likely mostly RAM - why is this not being checked prior to allocation? 5% of their crashes could be resolved tomorrow if they just checked how much RAM was available prior to trying to allocate it. That accounts for ~23k crashes a week. Madness.<p>With the RAM shortages and 8GB looking like it will remain the entry laptop norm, we need to start thinking more carefully about how software is developed.</p>
]]></description><pubDate>Fri, 06 Mar 2026 08:50:11 +0000</pubDate><link>https://news.ycombinator.com/item?id=47272593</link><dc:creator>bArray</dc:creator><comments>https://news.ycombinator.com/item?id=47272593</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47272593</guid></item><item><title><![CDATA[New comment by bArray in "I'm reluctant to verify my identity or age for any online services"]]></title><description><![CDATA[
<p>That was kind of the point.</p>
]]></description><pubDate>Tue, 03 Mar 2026 18:11:21 +0000</pubDate><link>https://news.ycombinator.com/item?id=47236340</link><dc:creator>bArray</dc:creator><comments>https://news.ycombinator.com/item?id=47236340</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47236340</guid></item><item><title><![CDATA[New comment by bArray in "I'm reluctant to verify my identity or age for any online services"]]></title><description><![CDATA[
<p>> That all random game and messaging sites now wants my kids' passport uploaded to some random 'id verification company' is madness.<p>This is truly crazy. Random companies interacting on this level with children is far from ideal.<p>> Please, gov.uk introduce a gov ID verification service? I could trust that, -ish, I have worked with public sector clients several times...<p>I don't like the idea of governments collecting this sort of data either.</p>
]]></description><pubDate>Tue, 03 Mar 2026 17:57:13 +0000</pubDate><link>https://news.ycombinator.com/item?id=47236166</link><dc:creator>bArray</dc:creator><comments>https://news.ycombinator.com/item?id=47236166</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47236166</guid></item><item><title><![CDATA[New comment by bArray in "I'm reluctant to verify my identity or age for any online services"]]></title><description><![CDATA[
<p>I was sitting in a room the other day with a young adult, we were searching for additional algorithm learning materials. They searched in Google, and accept the cookies. They clicked on a website, and accepted those cookies too. They then started entering their email address to access another service. I was completely taken aback.<p>I'm the sort of person that either rejects the cookies, or will use another site entirely to avoid some weird dark-pattern cookie trickery. I don't like the idea of any particular service getting more information than they should.<p>Siting there I realized, we were not the <i>real</i> target. It is the young people that are growing up conditioned to press accept, enter any details asked of them, and to not value their personal data. Sadly, the damage is already done.</p>
]]></description><pubDate>Tue, 03 Mar 2026 15:00:49 +0000</pubDate><link>https://news.ycombinator.com/item?id=47233421</link><dc:creator>bArray</dc:creator><comments>https://news.ycombinator.com/item?id=47233421</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47233421</guid></item><item><title><![CDATA[New comment by bArray in "Ghostty – Terminal Emulator"]]></title><description><![CDATA[
<p>For anyone using this terminal that hates != (and others) being turned into a single character, I have the following to turn off ligatures:<p><pre><code>    font-feature = -dlig
    font-feature = -liga
    font-feature = -calt
</code></pre>
This can be updated in `$HOME/.config/ghostty/config`.</p>
]]></description><pubDate>Sun, 01 Mar 2026 15:17:41 +0000</pubDate><link>https://news.ycombinator.com/item?id=47207458</link><dc:creator>bArray</dc:creator><comments>https://news.ycombinator.com/item?id=47207458</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47207458</guid></item></channel></rss>