<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: peterabbitcook</title><link>https://news.ycombinator.com/user?id=peterabbitcook</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Wed, 29 Jul 2026 07:08:21 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=peterabbitcook" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by peterabbitcook in "How to survive boiling water"]]></title><description><![CDATA[
<p>So under most brewing conditions a nonzero amount of this microbe survive, but that count is 3 orders of magnitude lower what might be termed a “therapeutic dose?”<p>What even is a good experimental design for probiotic tea? Brew -> agitate in hydrochloric acid & digestive enzymes for X minutes -> mix with billions of existing gut microbes (that may kill this microbe or out-compete it for resources) and incubate at body temperature -> count the number of new colonies of this particular microbe?</p>
]]></description><pubDate>Tue, 28 Jul 2026 11:09:29 +0000</pubDate><link>https://news.ycombinator.com/item?id=49082138</link><dc:creator>peterabbitcook</dc:creator><comments>https://news.ycombinator.com/item?id=49082138</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49082138</guid></item><item><title><![CDATA[New comment by peterabbitcook in "Show HN: Lucen a Python compiler that parallelizes for-loops via comment pragmas"]]></title><description><![CDATA[
<p>Though I guess using @decorator semantics would make it look a lot like python-numba syntax</p>
]]></description><pubDate>Sat, 25 Jul 2026 03:56:00 +0000</pubDate><link>https://news.ycombinator.com/item?id=49044380</link><dc:creator>peterabbitcook</dc:creator><comments>https://news.ycombinator.com/item?id=49044380</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49044380</guid></item><item><title><![CDATA[New comment by peterabbitcook in "Show HN: Lucen a Python compiler that parallelizes for-loops via comment pragmas"]]></title><description><![CDATA[
<p>I think I’m a little skeptical.<p>#pragma is a real keyword in C but # is just a comment in python - why not use a pythonic @decorator?<p>Vendoring a library like this into an app seems like a lot more toil than just writing the native multiprocessing python code, or using something built for number crunching like arrayfire or numpy</p>
]]></description><pubDate>Sat, 25 Jul 2026 03:47:59 +0000</pubDate><link>https://news.ycombinator.com/item?id=49044331</link><dc:creator>peterabbitcook</dc:creator><comments>https://news.ycombinator.com/item?id=49044331</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49044331</guid></item><item><title><![CDATA[New comment by peterabbitcook in "JEP 540: Simple JSON API (Now in Incubator)"]]></title><description><![CDATA[
<p>Where to stop is a pretty fuzzy question I suppose.<p>In my world, I think the worst possible outcome would be a java.util.json library that does 50-95% of what I currently do with GSON or Jackson. In that scenario I still need an external dependency, and I can either ignore java.util.json or  turn a codebase into an error-prone mix of both.<p>Maybe a good set of design considerations for java.util.json would be “what does this API need to run a CRUD app written in modern java?” Parse requests from the web, send responses to the web, and serialize/deserialize data from X database (e.g. if noSQL or jsonb). In my head “in modern java” would mean that JSON is converted to records at application boundaries</p>
]]></description><pubDate>Thu, 23 Jul 2026 23:36:39 +0000</pubDate><link>https://news.ycombinator.com/item?id=49029537</link><dc:creator>peterabbitcook</dc:creator><comments>https://news.ycombinator.com/item?id=49029537</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49029537</guid></item><item><title><![CDATA[New comment by peterabbitcook in "DEA to Temporarily Schedule 7-Oh and Related Substances to Protect Public Safety"]]></title><description><![CDATA[
<p>Fick’s Law. The rate of absorption is proportional to the concentration gradient.</p>
]]></description><pubDate>Wed, 15 Jul 2026 20:22:27 +0000</pubDate><link>https://news.ycombinator.com/item?id=48926562</link><dc:creator>peterabbitcook</dc:creator><comments>https://news.ycombinator.com/item?id=48926562</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48926562</guid></item><item><title><![CDATA[New comment by peterabbitcook in "Tune Code Before Your Garbage Collector"]]></title><description><![CDATA[
<p>Reading this gives me considerable pause - I can’t think of many classes within the codebase I work on that don’t have @Slf4j at the top…<p>Since there wasn’t a link to the source code in that post, can you help me understand this - for the SLF4J baseline is your logger impl a console appender, a file appender, or a network service like an OTel collector? Does any of that matter for GC context?</p>
]]></description><pubDate>Mon, 13 Jul 2026 18:56:21 +0000</pubDate><link>https://news.ycombinator.com/item?id=48897132</link><dc:creator>peterabbitcook</dc:creator><comments>https://news.ycombinator.com/item?id=48897132</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48897132</guid></item><item><title><![CDATA[New comment by peterabbitcook in "The Return of Aspect Oriented Programming"]]></title><description><![CDATA[
<p>In the Java-verse it’s also do-able with Guice. I’ve tried it with Dagger but bailed (square peg / round hole).<p>I think I prefer Springboot AOP, especially with SpEL.<p>The term “cross cutting concerns” is thrown around a lot when discussing AOP. Took me a while to appreciate just how powerful it is in this context - sprinkle an AOP annotation here or there to avoid massive refactors in a large codebase, or avoid rewriting classes in a way that makes your classes themselves “cross cut concerns.”</p>
]]></description><pubDate>Mon, 29 Jun 2026 19:42:59 +0000</pubDate><link>https://news.ycombinator.com/item?id=48724136</link><dc:creator>peterabbitcook</dc:creator><comments>https://news.ycombinator.com/item?id=48724136</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48724136</guid></item><item><title><![CDATA[New comment by peterabbitcook in "Ask HN: How do you separate intentional test boilerplate from real duplication?"]]></title><description><![CDATA[
<p>I’ve dealt with a question that rhymes with this.<p>Sonarqube or CodeQL reports might tell me what percentage of a repo is duplicated code, and a large percentage of that is in src/test/java<p>I find that a lot of the time this is not just some flippant observation but a clue that I should be using a mechanism like @ParameterizedTest instead of @Test, so I rewrite those tests in a way that makes them easier to set-up, define parameters/constraints, inputs, and outputs. Sometimes it does get a little convoluted as you either use a lot of naked Arguments.of() or define test-class-scoped nested records to encapsulate test parameters, inputs, expected outputs, etc.</p>
]]></description><pubDate>Fri, 19 Jun 2026 22:00:36 +0000</pubDate><link>https://news.ycombinator.com/item?id=48603781</link><dc:creator>peterabbitcook</dc:creator><comments>https://news.ycombinator.com/item?id=48603781</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48603781</guid></item><item><title><![CDATA[New comment by peterabbitcook in "Show HN: Capacitor Alarm Clock"]]></title><description><![CDATA[
<p>So it’s not UL listed?<p>Do you need the 15V input to torch the capacitors and run the relays? 
Could I use a 5V USB ESP32 dev board instead, and just put a boost circuit or MOSFET on the relay load side for the explosion circuit when it needs to go off, or are there other components that need the higher voltage?</p>
]]></description><pubDate>Wed, 17 Jun 2026 11:57:38 +0000</pubDate><link>https://news.ycombinator.com/item?id=48569130</link><dc:creator>peterabbitcook</dc:creator><comments>https://news.ycombinator.com/item?id=48569130</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48569130</guid></item><item><title><![CDATA[New comment by peterabbitcook in "What it takes to transpose a matrix"]]></title><description><![CDATA[
<p>Really cool visuals, thank you for sharing this.<p>I feel like the importance of padding is a bit understated on this page - BLAS and LAPACK require LDA and LDB parameters, and you can definitely tune these to the page size of a particular system/machine to improve performance.<p>When working with BLAS/LAPACK or other matrix libs, you can often apply a little linear algebra to reshape the problem rather than the input data to avoid a transpose altogether</p>
]]></description><pubDate>Tue, 26 May 2026 16:39:31 +0000</pubDate><link>https://news.ycombinator.com/item?id=48282148</link><dc:creator>peterabbitcook</dc:creator><comments>https://news.ycombinator.com/item?id=48282148</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48282148</guid></item><item><title><![CDATA[New comment by peterabbitcook in "Fc, a lossless compressor for floating-point streams"]]></title><description><![CDATA[
<p>I’ve been skimming the source code and it looks promising for the stated use case. Wondering how to configure and set it up for a producer/consumer scenario where the producer puts compressed bytes on the wire and the consumer processes it; I can definitely see a use case where an edge sensor pumps compressed data to a cloud server with a GPU, though I don’t usually pipe doubles to a GPU.<p>Something worth thinking about that since you mentioned it’s geared towards “scientific” data streams. If we’re talking about precise measurements from instruments, your sensor is typically an analog signal which you digitize. Digitizers exist that can output floats, but DACs used in industry like a Rincon or Alazar (that sample at multiples of 100 MHz) prefer to output quantized shorts or ints that are rescaled to a float with a magic number (i.e. 32767/pi for a phase measurement, or gain/(16 mA) for industrial transducers) somewhere down the line. I bring this up because you pointed out your max throughput is about 120 MiB/s which would make it a big bottleneck for scientific data coming out of a digitizer that can pump out 800-1600MiB/s. 120 MiB/s throughput of doubles is not really that high for CPU level computations or network Tx bandwidth on modern hardware.</p>
]]></description><pubDate>Thu, 14 May 2026 01:02:48 +0000</pubDate><link>https://news.ycombinator.com/item?id=48129860</link><dc:creator>peterabbitcook</dc:creator><comments>https://news.ycombinator.com/item?id=48129860</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48129860</guid></item><item><title><![CDATA[New comment by peterabbitcook in "Feds Fine Durham Energy Efficiency Co $722M"]]></title><description><![CDATA[
<p>I recently finished reading “The Smartest Guys in The Room.” This definitely rhymes with some of the “energy efficiency” shenanigans committed by Enron’s EES subsidiary.</p>
]]></description><pubDate>Wed, 06 May 2026 21:30:40 +0000</pubDate><link>https://news.ycombinator.com/item?id=48042146</link><dc:creator>peterabbitcook</dc:creator><comments>https://news.ycombinator.com/item?id=48042146</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48042146</guid></item><item><title><![CDATA[New comment by peterabbitcook in "Ask HN: How to solve the cold start problem for a two-sided marketplace?"]]></title><description><![CDATA[
<p>If you decide to pivot based on the comments in this thread about this turning into UberDrugz, an underserved market adjacent to this space is LTL freight.<p>For an example of this look for items on eBay whose shipping method is “freight.” As a buyer (or sometimes seller, if your buyer is clueless) of one of those items, it is your responsibility to arrange an LTL freight carrier (flatbed or liftgate truck). Fastenal and Uber freight will accept 1 pallet, up to a certain weight limit; you may even be responsible to bring it to a freight hub yourself. Above that size you’re on your own calling trucking companies, and renting a forklift or crane when you actually find a trucker.<p>It’s a smaller market than small packages, but more revenue per transaction. And if you figure it out and get it up and running, eBay (e.g.) might allow buyers and sellers to automatically select your service as the shipping method instead of black box “freight.”<p>Source = my personal experience 1. selling a metal building kit on eBay that the local zoning board would not let me erect. 2. Buying a large greenhouse kit online</p>
]]></description><pubDate>Mon, 20 Apr 2026 23:07:56 +0000</pubDate><link>https://news.ycombinator.com/item?id=47842266</link><dc:creator>peterabbitcook</dc:creator><comments>https://news.ycombinator.com/item?id=47842266</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47842266</guid></item><item><title><![CDATA[New comment by peterabbitcook in "SI Units for Request Rate (2024)"]]></title><description><![CDATA[
<p>mAh has always seemed silly to me as well. I get that the actual voltage of a battery is a function of battery charge %, load current, temperature and “other stuff”, but the battery designer/manufacturer knows all this… Why not just tell us how much energy is in it {,k,M}Wh or {,k,M}J?</p>
]]></description><pubDate>Sun, 19 Apr 2026 12:53:06 +0000</pubDate><link>https://news.ycombinator.com/item?id=47823949</link><dc:creator>peterabbitcook</dc:creator><comments>https://news.ycombinator.com/item?id=47823949</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47823949</guid></item><item><title><![CDATA[New comment by peterabbitcook in "Launch HN: Kampala (YC W26) – Reverse-Engineer Apps into APIs"]]></title><description><![CDATA[
<p>It seems like it’s quite HTTP-centric (like most of the web…). I didn’t see anything on the page about this - can it also intercept / “reverse engineer” service calls that go over gRPC or WebSocket? I’m guessing at least a partial “yes” if the gRPC traffic uses grpc-web/Envoy?<p>Seems like a great product, potentially quite powerful for automated testing of SPAs.</p>
]]></description><pubDate>Thu, 16 Apr 2026 18:03:16 +0000</pubDate><link>https://news.ycombinator.com/item?id=47797206</link><dc:creator>peterabbitcook</dc:creator><comments>https://news.ycombinator.com/item?id=47797206</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47797206</guid></item><item><title><![CDATA[New comment by peterabbitcook in "Show HN: SyNumpy – a Header only C++17 library for working with NumPy Arrays"]]></title><description><![CDATA[
<p>I’m trying to wrap my head around the use case this was created for. If a python service dumps a numpy array to bytes and sends that as a payload to a C++ service, is that blob of bytes not interpretable by C++ as e.g. a struct with some size fields and a pointer to the start of the array? (Cutting out the filesystem/npy file)<p>Maybe I’m overthinking it but I can’t quite envision a use case where a python service and C++ service would be sharing a filesystem</p>
]]></description><pubDate>Thu, 02 Apr 2026 22:05:18 +0000</pubDate><link>https://news.ycombinator.com/item?id=47620782</link><dc:creator>peterabbitcook</dc:creator><comments>https://news.ycombinator.com/item?id=47620782</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47620782</guid></item><item><title><![CDATA[New comment by peterabbitcook in "Faster asin() was hiding in plain sight"]]></title><description><![CDATA[
<p>I am curious, did you check how much your benchmarks moved (time and errors) if at all if you told the compiler to use  —-use_fast_math or -ffast-math?<p>There’s generally not a faster version of inverse trig functions to inline, but it might optimize some other stuff out.<p>Unrelated to that, I’ve seen implementations (ie julia/base/special/trig) that use a “rational approximation” to asin, did you go down that road at any point?</p>
]]></description><pubDate>Wed, 11 Mar 2026 20:37:09 +0000</pubDate><link>https://news.ycombinator.com/item?id=47341247</link><dc:creator>peterabbitcook</dc:creator><comments>https://news.ycombinator.com/item?id=47341247</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47341247</guid></item></channel></rss>