<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: danhor</title><link>https://news.ycombinator.com/user?id=danhor</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Wed, 10 Jun 2026 10:12:47 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=danhor" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by danhor in "AMD pulls a bait-and-switch on Linux users with Vivado licensing changes"]]></title><description><![CDATA[
<p>> You can just ignore the EULA. Nobody is coming to get you.<p>You can, but it's not gonna gain broad attention.<p>> Why is nobody using it?<p>It's used for chips with a good open source backend (lattice, gatemate). But it's non-trivial to integrate with the vivado backend and doesn't bring many benefits when used as such.<p>> You can extract the timing information from Vivado. Such information is not copyrightable.<p>Yes<p>> You could also collaborate with someone with a really fast oscilloscope to gather some timing yourself<p>No. Especially not fast-fast and slow-slow corners.<p>> Even if you just get the connectivity data and bitstream format and no timing, that's massively useful for less-than-high-speed projects.<p>Not really, you need at least a rough worst-case estimate. Otherwise even trivial designs might not work.<p>> A single open source developer just has to make a contribution, doesn't have to do the whole thing in one go.<p>A large part (clocks, routing, LUTs, BRAM, IO, a basic timing model) has to work, otherwise it's not really usable.<p>It's really non-trivial to get to a basic usable point. I would estimate at least 4-5 very experienced people working on this 2-3 years. Nothing impossible, but also not something that easily happens.</p>
]]></description><pubDate>Fri, 29 May 2026 08:15:45 +0000</pubDate><link>https://news.ycombinator.com/item?id=48320496</link><dc:creator>danhor</dc:creator><comments>https://news.ycombinator.com/item?id=48320496</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48320496</guid></item><item><title><![CDATA[New comment by danhor in "AMD pulls a bait-and-switch on Linux users with Vivado licensing changes"]]></title><description><![CDATA[
<p>> Nothing stops someone from taking the free Windows Vivado and making it run on Linux<p>The EULA and the fact that the linux versior runs faster & has fewer bugs.<p>> just the device-dependent backend would be a major improvement and the frontend and optimizer could be shared with other toolchains<p>That's yosys and it's used by smaller commercial vendors.<p>> or reverse engineering then bitstream format for these FPGAs<p>Getting the timing is the hard part (+ good routing afterwards). The bitstream format has AFAIK mostly been reversed. 7 series has mediocre support , but US, US+ and Versal doesn't (probably because they're too expensive for personal usage).</p>
]]></description><pubDate>Thu, 28 May 2026 15:23:50 +0000</pubDate><link>https://news.ycombinator.com/item?id=48310296</link><dc:creator>danhor</dc:creator><comments>https://news.ycombinator.com/item?id=48310296</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48310296</guid></item><item><title><![CDATA[New comment by danhor in "The surprisingly complex journey to text-selectable client-side generated PDFs"]]></title><description><![CDATA[
<p>A PDF of a long document such as a standard or reference manual is almost always preferable to an HTML version. HTML versions have issues with formatting, searching (as browsers struggle with multi-thousand page documents and non-native search document search implementations almost always suck), indexing, correct behavior on windows size change (especially a side-by-side pdf view is almost unheard of for webpages), ... . Some vendors have switched to online-only for some documents and it always annoys me.</p>
]]></description><pubDate>Fri, 08 May 2026 11:15:42 +0000</pubDate><link>https://news.ycombinator.com/item?id=48061506</link><dc:creator>danhor</dc:creator><comments>https://news.ycombinator.com/item?id=48061506</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48061506</guid></item><item><title><![CDATA[New comment by danhor in "Why is the first C++ (m)allocation always 72 KB?"]]></title><description><![CDATA[
<p>It's often a requirement for bare metal embedded development (too heavy in terms of memory), so it's basically unavoidable. Non-standard languages are <i>very</i> common for this kind of thing, just look at the linux-flavoured C.</p>
]]></description><pubDate>Mon, 02 Mar 2026 10:13:48 +0000</pubDate><link>https://news.ycombinator.com/item?id=47215981</link><dc:creator>danhor</dc:creator><comments>https://news.ycombinator.com/item?id=47215981</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47215981</guid></item><item><title><![CDATA[New comment by danhor in "Bus stop balancing is fast, cheap, and effective"]]></title><description><![CDATA[
<p>Signal Priority only works well if the arrival time of the bus can be predicted some time before arrival at the signal (~30 seconds is a number I've heard a few times). As bus stopping times are highly unpredictable, a lower number of bus stops makes signal priority work much better (and far-side bus stops).<p>Furthermore signal priority and own lanes are almost always beaten by good circulation planning, reducing the number of traffic lights and cars on the route of the bus.</p>
]]></description><pubDate>Wed, 25 Feb 2026 17:25:20 +0000</pubDate><link>https://news.ycombinator.com/item?id=47154590</link><dc:creator>danhor</dc:creator><comments>https://news.ycombinator.com/item?id=47154590</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47154590</guid></item><item><title><![CDATA[New comment by danhor in "Toyota’s hydrogen-powered Mirai has experienced rapid depreciation"]]></title><description><![CDATA[
<p>Certainly not with hydrogen directly. It might be involved in the production chain, but it's such a pain. If it's at all possible to electrify, that'll very likely win.<p>For flights, a combination of batteries for smaller, regional planes starting with "islands hoppers" now and SAF from either Biofuel or produced from Electricity (with Hydrogen as an intermediate step). Although I think that we might first see moves to reduce the 2x non CO2 Climate Impacts which can be much cheaper to tackle (such as Contrails).<p>For maritime applications, batteries when regularly near ports, probably hybrids with methanol for cross-ocean passage far away from coasts.</p>
]]></description><pubDate>Sat, 21 Feb 2026 21:40:29 +0000</pubDate><link>https://news.ycombinator.com/item?id=47105090</link><dc:creator>danhor</dc:creator><comments>https://news.ycombinator.com/item?id=47105090</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47105090</guid></item><item><title><![CDATA[New comment by danhor in "Picol: A Tcl interpreter in 500 lines of code"]]></title><description><![CDATA[
<p>It's still the lingua-franca of ASIC/FPGA/Simulation, especially for scripting the tools.<p>I think it's slowly being replaced there by Python, but it's very slow.</p>
]]></description><pubDate>Mon, 16 Feb 2026 08:36:07 +0000</pubDate><link>https://news.ycombinator.com/item?id=47032465</link><dc:creator>danhor</dc:creator><comments>https://news.ycombinator.com/item?id=47032465</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47032465</guid></item><item><title><![CDATA[New comment by danhor in "Linux Runs on Raspberry Pi RP2350's Hazard3 RISC-V Cores (2024)"]]></title><description><![CDATA[
<p>The Hazard 3 is <i>basically</i> a hobby project of Luke Wren, a Raspberry Pi Employee. He's contiuing to evolve it further, but I don't think it's ready for a full replacement of the Cortex-M yet, especially in regards to the Security Features.<p>The source code is all from Luke Wren and I don't think other cores use the source code directly, but improvements to test harnesses or general implementation patterns as well as better software support help other cores: <a href="https://github.com/Wren6991/Hazard3" rel="nofollow">https://github.com/Wren6991/Hazard3</a><p>For the SoCs I would expect to see an off-the-shelf Risc-V core (certainly no Hazard3 as the main CPU), but we'll see.</p>
]]></description><pubDate>Fri, 09 Jan 2026 12:24:39 +0000</pubDate><link>https://news.ycombinator.com/item?id=46553144</link><dc:creator>danhor</dc:creator><comments>https://news.ycombinator.com/item?id=46553144</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=46553144</guid></item><item><title><![CDATA[Kid-Cam Firmware Modding]]></title><description><![CDATA[
<p>Article URL: <a href="https://spritesmods.com/?art=kid_cam">https://spritesmods.com/?art=kid_cam</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=45865297">https://news.ycombinator.com/item?id=45865297</a></p>
<p>Points: 2</p>
<p># Comments: 0</p>
]]></description><pubDate>Sun, 09 Nov 2025 13:04:32 +0000</pubDate><link>https://spritesmods.com/?art=kid_cam</link><dc:creator>danhor</dc:creator><comments>https://news.ycombinator.com/item?id=45865297</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45865297</guid></item><item><title><![CDATA[New comment by danhor in "AWS to bare metal two years later: Answering your questions about leaving AWS"]]></title><description><![CDATA[
<p>My "Homeserver" with its database running on an old laptop has less downtime than AWS.<p>I expect most, if not 99%, of all businesses can cope with a hardware failure and the associated downtime while restoring to a different server, judging from the impact of the recent AWS outage and the collective shrug in response. With a proper raid setup, data loss should be quite rare, if more is required a primary + secondary setup with a manual failover isn't hard.</p>
]]></description><pubDate>Wed, 29 Oct 2025 14:20:08 +0000</pubDate><link>https://news.ycombinator.com/item?id=45747207</link><dc:creator>danhor</dc:creator><comments>https://news.ycombinator.com/item?id=45747207</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45747207</guid></item><item><title><![CDATA[New comment by danhor in "Wireguard FPGA"]]></title><description><![CDATA[
<p>One of the reasons amaranth (and other neo-HDLs) is so great is the full-fleged seamless integration with the host language. Generating DSP filters using the numpy for all parameters, creating CRC structures, diffent logic for different word widths, ... .<p>This is all feasible with SV or an embedded Macro language as well, but you'll either have to live with a poorly documented meta language (as not a whole lot of people are using it) or heavy missmatches between the meta language and the "real" language. Cocotb very much suffers from this for simulation usage.<p>And, tbh, if it can be nicely implemented in the host language (which IMHO is the case with amaranth, less so with migen), I don't think there are many benefits by being standalone.</p>
]]></description><pubDate>Mon, 13 Oct 2025 07:53:05 +0000</pubDate><link>https://news.ycombinator.com/item?id=45565863</link><dc:creator>danhor</dc:creator><comments>https://news.ycombinator.com/item?id=45565863</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45565863</guid></item><item><title><![CDATA[New comment by danhor in "Wireguard FPGA"]]></title><description><![CDATA[
<p>What are the benefits of SV for multi-clock design? I found migen (and amaranth) to be much nicer for multi-clock designs, providing a stdlib for CDCs and async FIFOs and keeping track of clock domains seperately from normal signals.<p>My issue with systemverilog is the multitude of implementation with widely varying degrees of support and little open source. Xsim poorly supports more advanced constructs and crashes with them, leaving you to figure out which part causes issues. Vivado only supports a subset. Toolchains for smaller FPGAs (lattice, chinese, ...) are much worse. The older Modelsim versions I used were also not great. You really have to figure out the basic common subset of all the tools and for synthesis, that basically leaves interfaces and logic . Interfaces are better than verilog, but much worse than equivalents in these neo-HDLs(?).<p>While tracing back compiled verilog is annoying, you are also only using one implementation of the HDL, without needing to battle multiple buggy, poorly documented implementation. There is only one, usually less buggy, poorly documented implementation.</p>
]]></description><pubDate>Sun, 12 Oct 2025 19:05:06 +0000</pubDate><link>https://news.ycombinator.com/item?id=45560835</link><dc:creator>danhor</dc:creator><comments>https://news.ycombinator.com/item?id=45560835</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45560835</guid></item><item><title><![CDATA[New comment by danhor in "Qualcomm to acquire Arduino"]]></title><description><![CDATA[
<p>> 
There's still relevance in making it stupidly easy to make an LED blink and make basic apps on circuit boards. Education + weekend hardware hackers might look for something different in a framework than a professional.<p>This group is has been moving to circuitpython, which is much less performant, but even easier to use. The more serious cross-platform development environments, like Zephyr, have also become much better.</p>
]]></description><pubDate>Tue, 07 Oct 2025 17:53:38 +0000</pubDate><link>https://news.ycombinator.com/item?id=45506420</link><dc:creator>danhor</dc:creator><comments>https://news.ycombinator.com/item?id=45506420</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45506420</guid></item><item><title><![CDATA[New comment by danhor in "U.S. already has the critical minerals it needs, according to new analysis"]]></title><description><![CDATA[
<p>How would you effectively stop windows updates to china? Bypassing the Windows activation measures isn't stopping single pirates (or people still wanting Windows 7 updates intended for big business with legacy devices), the only way to stop windows updates is preventing access to it. It's impossible to do so while still having Windows as an Operating System that people outside high security environments use.</p>
]]></description><pubDate>Fri, 19 Sep 2025 12:23:06 +0000</pubDate><link>https://news.ycombinator.com/item?id=45300834</link><dc:creator>danhor</dc:creator><comments>https://news.ycombinator.com/item?id=45300834</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45300834</guid></item><item><title><![CDATA[New comment by danhor in "World emissions hit record high, but the EU leads trend reversal"]]></title><description><![CDATA[
<p>While energy is expensive, I find it hard to blame on the "green stuff".<p>The majority of the energy cost increases in the last few years are because fossil fuels got more expensive for europeans, as cheap gas and oil from Russia wasn't cheap nor very available any more. Lower emissions technologies require much less energy: Heat pumps, induction stoves, electric goods and private transport. Renewables are furthermore more resilient to supply shocks, as they aren't as dependent on  from despotic states such as Russia, Saudi Arabia or (seemingly) the US for much of the (fossil) energy. The correct response would be to electrify as much as possible (much less energy required) and produce electricity without the need for importing fossil fuels.<p>The housing situation sucks, but while many rules discourage housing production, only a smaller subset is there to reduce emissions (requirements about amenities such as outlets, room size and layout, parking and local opposition have little to do with emissions). Many countries such as the US which care much less also suffer heavily as well from being unable to build enough housing.<p>I have little idea about what specifically the netherlands are doing on climate, but it has at least not been my impression that they were the "best boy in class".</p>
]]></description><pubDate>Sun, 14 Sep 2025 18:08:38 +0000</pubDate><link>https://news.ycombinator.com/item?id=45241957</link><dc:creator>danhor</dc:creator><comments>https://news.ycombinator.com/item?id=45241957</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45241957</guid></item><item><title><![CDATA[New comment by danhor in "Wikipedia survives while the rest of the internet breaks"]]></title><description><![CDATA[
<p>It takes a bit of effort to add all you would want and, for me personally, bangs can be anywhere instead of having to be at the start of a search query as is needed for custom search keywords.</p>
]]></description><pubDate>Fri, 05 Sep 2025 11:36:36 +0000</pubDate><link>https://news.ycombinator.com/item?id=45137399</link><dc:creator>danhor</dc:creator><comments>https://news.ycombinator.com/item?id=45137399</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45137399</guid></item><item><title><![CDATA[New comment by danhor in "I bought a £16 smartwatch just because it used USB-C"]]></title><description><![CDATA[
<p>And to avoid having two sources (perhaps with slightly different voltages) connected together and leading to hijinks. E.g. a usb A-C cable plugged into a USB-C power supply.</p>
]]></description><pubDate>Sat, 09 Aug 2025 11:01:22 +0000</pubDate><link>https://news.ycombinator.com/item?id=44845535</link><dc:creator>danhor</dc:creator><comments>https://news.ycombinator.com/item?id=44845535</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44845535</guid></item><item><title><![CDATA[New comment by danhor in "The Amaranth hardware description language"]]></title><description><![CDATA[
<p>That is the point of Amaranth (and migen). It's not HLS, it doesn't try to generate logic from normal python code. It's an HDL implemented in python, not trying to look like python code.<p>In my opinion, it's even more of an HDL than SV or VHDL: It has native concepts of Clock Domains, reset handling and e.g. blockram, it describes the <i>hardware</i>. There is no missmatch with two different, weird assignment types. It's occupied with with accurately covering available/commonly used hardware constructs with commonly used features, not introducing useless abstractions that don't help in practice (trivial example: Your clock signals are <i>not</i> just another signal that mess up timing everywhere if you try to use them that way).<p>But on the other hand, there is no weird, half-useless metaprogramming/simulation layer with almost the same syntax but tricky rules that differ. That part is proper python.<p>Thus it's easy to write code that is flexible over different interface types (i.e. one async fifo that can be used for almost all data or an width adapter that mostly works automatically), generate memory-mapped registers that are correctly hooked up, generate wide e.g. CRC operations that are optimized in python code before making HDL out of it as Vivado barfs on them (which I've also seen done with python code that generates systemverilog using string concatenation).<p>I think my point is just that SystemVerilog isn't a good HDL. It makes it hard to (correctly) describe hardware and makes reuse often harder than it needs to be.<p>Regarding the intermediate translation step: Amaranth has it's own native simulator and for system-level simulation interfaces directly with yosys for cxxrtl or synthesis for parts directly supported by yosys, bypassing the need for a yosys-> verilog conversion. It's "only" needed for most commercial tools, that can only process SV and VHDL.</p>
]]></description><pubDate>Wed, 06 Aug 2025 09:34:22 +0000</pubDate><link>https://news.ycombinator.com/item?id=44809827</link><dc:creator>danhor</dc:creator><comments>https://news.ycombinator.com/item?id=44809827</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44809827</guid></item><item><title><![CDATA[New comment by danhor in "Tram Trains"]]></title><description><![CDATA[
<p>Alon Levy has also written some more on Tram-Trains: <a href="https://pedestrianobservations.com/2020/11/03/tram-trains/" rel="nofollow">https://pedestrianobservations.com/2020/11/03/tram-trains/</a><p>A few points I want to add: The Stadtbahn (called Tram-Metro in this Article) is usually just as fast in the outlying areas as in the inner areas and rarely street running, just doing it with less infrastructure. It's just that rail tracks are even faster.<p>There are quite a few newly built S-Bahn Tunnels in cities under a Million in Germany, in Frankfurt, Stuttgart and Leipzig (you could quibble about citie vs metro area population).<p>The major downside of Tram-Trains compared to S-Bahns, Rapid Transit or just through running away from the city center is that they slow way down in the city center, much more than the other options. This makes it a bad fit for the sprawly, north american cities without a strong center which have much more demand for non city center destinations and a much more expansive center compared to european cities with tram-trains.<p>The big benefit of Tram-Trains is the flexibility. Over a region, some sections can implement their own new through running section for the Network (Heilbronn), be almost a metro (the Kombilösung and some parts of S11) or provide S-Bahn style service (e.g. Freudenstadt for a mediocre Regio S-Bahn).<p>But it's a master of none: Too slow and cramped for high-quality regional services, too few doors for rapid passenger exchange, too demanding and expensive (electrification and vehicles) for connecting small rural lines, legally limited in capacity (75m) for very busy services.<p>They can be great, but it really depends on local circumstances.<p>Before converting commuter rail to Tram-Trains, most American cities should first implement a frequent (at least 2tph), all-day, regular service with more urban stations for commuter rail and perform true ticket integration between mainline rail and their other urban transport (the ticket integration is very important!). This also applies to many european cities, such as in France, Spain, Belgium, ... .</p>
]]></description><pubDate>Thu, 24 Jul 2025 08:26:26 +0000</pubDate><link>https://news.ycombinator.com/item?id=44668367</link><dc:creator>danhor</dc:creator><comments>https://news.ycombinator.com/item?id=44668367</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44668367</guid></item><item><title><![CDATA[New comment by danhor in "New York’s bill banning One-Person Train Operation"]]></title><description><![CDATA[
<p>Mont (if not allmost all) S-Bahn trains in Germany only have one staff member. The space for wheelchairs is directly behind the drivers cabin and the few times I've seen a ramp being deployed, it took the driver 1-2 minutes (Usually the automatically deployed gap filler is good enough). A large portion (I'd guess somewhere around 20-40%) of regional trains are also only staffed with the driver. The others do have an additional staff member, but they're almost always not safety relevant and only perform ticket checks, answer questions and help with ramp deployment.<p>The only times I've seen more than the driver on trams/Stadtbahns/metros, they checked tickets. This also happens surprisingly rarely.</p>
]]></description><pubDate>Sun, 20 Jul 2025 09:08:29 +0000</pubDate><link>https://news.ycombinator.com/item?id=44623255</link><dc:creator>danhor</dc:creator><comments>https://news.ycombinator.com/item?id=44623255</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44623255</guid></item></channel></rss>