<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: danbruc</title><link>https://news.ycombinator.com/user?id=danbruc</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Sun, 02 Aug 2026 03:15:59 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=danbruc" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by danbruc in "Get ready to flee, Americans in ten countries warned"]]></title><description><![CDATA[
<p>Ohh, you mean when the CIA supported a coup d'état in Iran? No, sorry, that was 73 years ago. When the USA supported Iraq in attacking Iran including the use of chemical weapons in an 8 year long war? No, that was only 46 years ago. You mean when the Iranian people protested against their government and replaced the monarchy with a Islamic republic?</p>
]]></description><pubDate>Sat, 01 Aug 2026 20:59:55 +0000</pubDate><link>https://news.ycombinator.com/item?id=49138428</link><dc:creator>danbruc</dc:creator><comments>https://news.ycombinator.com/item?id=49138428</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49138428</guid></item><item><title><![CDATA[New comment by danbruc in "The most official water costs $120k a gallon"]]></title><description><![CDATA[
<p>Another fun fact - heavy water has a sweet taste.</p>
]]></description><pubDate>Fri, 31 Jul 2026 19:36:52 +0000</pubDate><link>https://news.ycombinator.com/item?id=49127654</link><dc:creator>danbruc</dc:creator><comments>https://news.ycombinator.com/item?id=49127654</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49127654</guid></item><item><title><![CDATA[New comment by danbruc in "Algorithms on billion-scale graph using 10GB RAM: I love DataFusion"]]></title><description><![CDATA[
<p>33M vertices and 1B edges easily fits into memory, if you use 32 bit integers, it will require about 4 GiB of memory. Out of curiosity I just implemented generating a random graph of that size and calculating one page rank iteration on it in the most naive way (20 lines of C#) and it consumed 8.4 GiB of memory and got one iteration done in 4:20 minutes single threaded.</p>
]]></description><pubDate>Fri, 31 Jul 2026 18:37:41 +0000</pubDate><link>https://news.ycombinator.com/item?id=49126996</link><dc:creator>danbruc</dc:creator><comments>https://news.ycombinator.com/item?id=49126996</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49126996</guid></item><item><title><![CDATA[New comment by danbruc in "The mean means nothing: data visualization to debug a latency problem"]]></title><description><![CDATA[
<p>Instead of the CDF I like to use one minus the CDF, the fraction of requests not yet completed at any given time. Then you can make it a log log plot showing the entire tail with details invisible in the CDF because in the CDF the tail is essentially a horizontal line at one.</p>
]]></description><pubDate>Fri, 31 Jul 2026 09:30:29 +0000</pubDate><link>https://news.ycombinator.com/item?id=49120912</link><dc:creator>danbruc</dc:creator><comments>https://news.ycombinator.com/item?id=49120912</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49120912</guid></item><item><title><![CDATA[New comment by danbruc in "The Economic Benefit of Refactoring"]]></title><description><![CDATA[
<p>Don't get me wrong, a function doing five things is bad. I consider code not good if you write if(condition) instead of if (condition) or a +b instead of a + b. Not that it is really bad on its own, but it indicates to me that the code was written with little care and I should probably expect bigger issues.<p>What I really want to get at is the distinction between leaving the actual code untouched and just moving it a bit around - to other functions, other classes, other files - and having to change the code - from deduplicating to completely rewritting it.</p>
]]></description><pubDate>Thu, 30 Jul 2026 21:02:15 +0000</pubDate><link>https://news.ycombinator.com/item?id=49115740</link><dc:creator>danbruc</dc:creator><comments>https://news.ycombinator.com/item?id=49115740</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49115740</guid></item><item><title><![CDATA[New comment by danbruc in "The Economic Benefit of Refactoring"]]></title><description><![CDATA[
<p>I did not mean it as a metric but as an indicator what was wrong with the code.<p>- the code is essentially good but all is in one file, you split it up, lines of code stay the same<p>- the code is essentially good but lacks some structure, for a function that does five things directly, you extract the functionality into five functions and call them from the original function, lines of code goes very slightly up<p>But once the code is actually bad - code duplication, bad abstractions, inefficient language use, ... - I would generally expect the lines of code to significantly drop. What scenarios are there where the code is actually bad but refactoring does not reduce the lines of code? It is certainly possible but at moment I am having a hard time comming up with a good example.</p>
]]></description><pubDate>Thu, 30 Jul 2026 17:04:54 +0000</pubDate><link>https://news.ycombinator.com/item?id=49112745</link><dc:creator>danbruc</dc:creator><comments>https://news.ycombinator.com/item?id=49112745</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49112745</guid></item><item><title><![CDATA[New comment by danbruc in "The Economic Benefit of Refactoring"]]></title><description><![CDATA[
<p>Interesting that the amount of code remained essentially unchanged. In my experience it is not unusual that refactoring messy code cuts the number of lines in half.</p>
]]></description><pubDate>Thu, 30 Jul 2026 16:15:37 +0000</pubDate><link>https://news.ycombinator.com/item?id=49112113</link><dc:creator>danbruc</dc:creator><comments>https://news.ycombinator.com/item?id=49112113</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49112113</guid></item><item><title><![CDATA[New comment by danbruc in "I made a game where you build a CPU from logic gates"]]></title><description><![CDATA[
<p>To add to this.<p>- allow drawing wires backwards from sink to source<p>- allow connecting inputs<p>Also there is a problem with the tests and the simulator that showed up in the SR latch level. Despite having the correct circuit, the tests failed until I swapped the two NOR gates. I can not reproduce it, but I would guess it has something to do with the component placement order, the update order of the simulator, and how the tests are executed. As the NOR feedback loop has no well-defined initial state, it probably settled in a placement order dependent way that made the tests fail. Maybe Q was already 1 and the test looks for a 0 to 1 transition when enabling S?</p>
]]></description><pubDate>Thu, 30 Jul 2026 15:39:24 +0000</pubDate><link>https://news.ycombinator.com/item?id=49111531</link><dc:creator>danbruc</dc:creator><comments>https://news.ycombinator.com/item?id=49111531</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49111531</guid></item><item><title><![CDATA[New comment by danbruc in "Superlogical"]]></title><description><![CDATA[
<p>No, correct post. But maybe I am misunderstanding the idea behind the post, that is certainly possible.</p>
]]></description><pubDate>Wed, 29 Jul 2026 19:57:11 +0000</pubDate><link>https://news.ycombinator.com/item?id=49102223</link><dc:creator>danbruc</dc:creator><comments>https://news.ycombinator.com/item?id=49102223</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49102223</guid></item><item><title><![CDATA[New comment by danbruc in "Superlogical"]]></title><description><![CDATA[
<p>This reminds me somewhat of OLE, COM, DCOM, ActiveX, ... [1]. You can paste an Excel chart into a Word document and if you update the data in Excel, the chart in Word will update. You can edit the chart in Word using the Excel UI because you are essentially running an Excel instance inside of Word. You can interact with Excel through an API, no need for a human. But it is painful, you can probably imagine the kind of API you need in order to be able to do all the things you can do with the Excel UI.<p>The idea is amazing, making this work consistently requires effort, and a lot of it. And as only a few applications invested this effort, it only works with a few applications and never really took off outside of Microsoft. I think this used to work with WordPad and maybe even Notepad but it no longer does, you just get an image instead of the chart object in WordPad and nothing at all in Notepad. It is a dying technology.<p>[1] <a href="https://en.wikipedia.org/wiki/Component_Object_Model" rel="nofollow">https://en.wikipedia.org/wiki/Component_Object_Model</a></p>
]]></description><pubDate>Wed, 29 Jul 2026 19:35:47 +0000</pubDate><link>https://news.ycombinator.com/item?id=49101985</link><dc:creator>danbruc</dc:creator><comments>https://news.ycombinator.com/item?id=49101985</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49101985</guid></item><item><title><![CDATA[New comment by danbruc in "Show HN: I was tired of opening 2 tabs for every HN link, so I made a userscript"]]></title><description><![CDATA[
<p>Not the author, but this prevents leaking all URLs you are visiting to agolia. Instead of asking <i>Was this URL submitted to Hacker News?</i> you ask <i>Which URLs have been submitted to Hecker News?</i>, store that in a Bloom filter, and then use the Bloom filter to answer the question <i>Was this URL [likely] submitted to Hacker News?</i></p>
]]></description><pubDate>Wed, 29 Jul 2026 10:23:56 +0000</pubDate><link>https://news.ycombinator.com/item?id=49095553</link><dc:creator>danbruc</dc:creator><comments>https://news.ycombinator.com/item?id=49095553</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49095553</guid></item><item><title><![CDATA[New comment by danbruc in "Solving Fermat: Andrew Wiles"]]></title><description><![CDATA[
<p>There are 120 monomials of degree at most 7 in three variables. If we restrict the coefficients to the integers from -10 to +10, that makes 21^120 possible polynomials. And we need three of them, that makes 10^476. And we would still miss the specific counterexample because it includes a coefficient of 12 outside of our range. So I would say that you will never find this specific counterexample by chance and whether you could accidentally trip over any counterexample really depends on their density. And we have of course not addressed the question why you would search this specific region of the parameter space, why dimension 3, degree 7 and small integer coefficients? There might be good mathematical reason to look at this region, but it is probably non-trivial to even figure out where to look.</p>
]]></description><pubDate>Tue, 28 Jul 2026 17:14:59 +0000</pubDate><link>https://news.ycombinator.com/item?id=49087007</link><dc:creator>danbruc</dc:creator><comments>https://news.ycombinator.com/item?id=49087007</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49087007</guid></item><item><title><![CDATA[New comment by danbruc in "What Even Are Microservices?"]]></title><description><![CDATA[
<p>You do exactly the same in a monolith, functionality is broken into modules with a public API and you can switch out the implementation at any time if you want or have to.</p>
]]></description><pubDate>Tue, 28 Jul 2026 10:25:14 +0000</pubDate><link>https://news.ycombinator.com/item?id=49081812</link><dc:creator>danbruc</dc:creator><comments>https://news.ycombinator.com/item?id=49081812</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49081812</guid></item><item><title><![CDATA[New comment by danbruc in "Our position on open-weights models"]]></title><description><![CDATA[
<p>We do not want to ban using those models, we want to ban the things that enable those models to exist.</p>
]]></description><pubDate>Tue, 28 Jul 2026 07:00:37 +0000</pubDate><link>https://news.ycombinator.com/item?id=49080328</link><dc:creator>danbruc</dc:creator><comments>https://news.ycombinator.com/item?id=49080328</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49080328</guid></item><item><title><![CDATA[New comment by danbruc in "Glue bonds to nonstick surfaces and wipes clean with ethanol"]]></title><description><![CDATA[
<p>Never heard that name, but according to their safety data sheet [1] it is 95+ % dimethylformamide [2]. Not too different from acetone, with a additional dimethylamin group. Acetone-free nail polish remover usually contains primarily ethyl acetate [3] which is also structurally similar.<p>[1] <a href="https://bsi-inc.com/sds_pdf/sds_un_cure.pdf" rel="nofollow">https://bsi-inc.com/sds_pdf/sds_un_cure.pdf</a><p>[2] <a href="https://en.wikipedia.org/wiki/Dimethylformamide" rel="nofollow">https://en.wikipedia.org/wiki/Dimethylformamide</a><p>[3] <a href="https://en.wikipedia.org/wiki/Ethyl_acetate" rel="nofollow">https://en.wikipedia.org/wiki/Ethyl_acetate</a></p>
]]></description><pubDate>Mon, 27 Jul 2026 20:58:41 +0000</pubDate><link>https://news.ycombinator.com/item?id=49075443</link><dc:creator>danbruc</dc:creator><comments>https://news.ycombinator.com/item?id=49075443</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49075443</guid></item><item><title><![CDATA[New comment by danbruc in "Glue bonds to nonstick surfaces and wipes clean with ethanol"]]></title><description><![CDATA[
<p>Superglue is probably two order of magnitude stronger, so I doubt that this will replace cyanoacrylates. And while ethanol or hand sanitizer will not help much with superglue, acetone or nail polish remover will remove it. Then again, acetone  will attack more materials then ethanol, so a glue that can be removed with ethanol might still be beneficial.</p>
]]></description><pubDate>Mon, 27 Jul 2026 20:16:08 +0000</pubDate><link>https://news.ycombinator.com/item?id=49074992</link><dc:creator>danbruc</dc:creator><comments>https://news.ycombinator.com/item?id=49074992</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49074992</guid></item><item><title><![CDATA[New comment by danbruc in "IRGC claims it destroyed Amazon's Bahrain data center"]]></title><description><![CDATA[
<p>If you do that, the oil, gas, and desalination infrastructure of the Gulf states will go down together with Iran. And besides that, why do you want to fight Iran to begin with?</p>
]]></description><pubDate>Fri, 24 Jul 2026 16:29:58 +0000</pubDate><link>https://news.ycombinator.com/item?id=49038005</link><dc:creator>danbruc</dc:creator><comments>https://news.ycombinator.com/item?id=49038005</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49038005</guid></item><item><title><![CDATA[New comment by danbruc in "IRGC claims it destroyed Amazon's Bahrain data center"]]></title><description><![CDATA[
<p>Ground troops. Not going to happen or will become a disaster. And even if, what exactly would be their mission?</p>
]]></description><pubDate>Fri, 24 Jul 2026 16:25:48 +0000</pubDate><link>https://news.ycombinator.com/item?id=49037937</link><dc:creator>danbruc</dc:creator><comments>https://news.ycombinator.com/item?id=49037937</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49037937</guid></item><item><title><![CDATA[New comment by danbruc in "Claude Fable produced a counterexample to the Jacobian Conjecture"]]></title><description><![CDATA[
<p><i>[...] you can always reverse (a process) to determine [...]</i><p>There is a precondition - constant non-zero Jacobian - to the inverse existing and the inverse is claimed to be of a specific kind - polynomial. The counter example satisfies the precondition and by mapping two different inputs to the same output makes any inverse impossible, including polynomial ones. But maybe that is already ELI7.</p>
]]></description><pubDate>Mon, 20 Jul 2026 06:45:53 +0000</pubDate><link>https://news.ycombinator.com/item?id=48975079</link><dc:creator>danbruc</dc:creator><comments>https://news.ycombinator.com/item?id=48975079</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48975079</guid></item><item><title><![CDATA[New comment by danbruc in "The well-calibrated Bayesian [pdf] (1982)"]]></title><description><![CDATA[
<p>The bet does not really matter, the central question is whether they have a fair coin or if they are trying to me in some way. Even without the magic store, I would be very suspicious of anyone approaching random people with an offer like that.<p>So I would certainly consider it likely, that they are trying to trick me. But the probability I would assign to this, would still be rooted in some frequency, somewhere under the hood I would try to estimate the possible situations leading to such an offer and in which fraction of them I will be tricked.<p>If I am doing a good job with that, then repeatedly being in this situation should result in me getting tricked with the probability I cooked up. If I am bad at figuring out the possible states and their probabilities, then I they will not match.</p>
]]></description><pubDate>Wed, 15 Jul 2026 20:28:26 +0000</pubDate><link>https://news.ycombinator.com/item?id=48926620</link><dc:creator>danbruc</dc:creator><comments>https://news.ycombinator.com/item?id=48926620</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48926620</guid></item></channel></rss>