<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: rotifer</title><link>https://news.ycombinator.com/user?id=rotifer</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Fri, 05 Jun 2026 21:05:44 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=rotifer" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by rotifer in "Branchless Quicksort faster than std:sort and pdqsort with C and C++ API"]]></title><description><![CDATA[
<p>At the bottom of the page there's a link, "When ‘if’ slows you down, avoid it" [1], that discusses these exact questions.  It's basically what @josephg said, but it also shows the assembly language for each version.<p>[1] <a href="https://tiki.li/blog/branchless" rel="nofollow">https://tiki.li/blog/branchless</a></p>
]]></description><pubDate>Fri, 05 Jun 2026 02:25:06 +0000</pubDate><link>https://news.ycombinator.com/item?id=48407222</link><dc:creator>rotifer</dc:creator><comments>https://news.ycombinator.com/item?id=48407222</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48407222</guid></item><item><title><![CDATA[New comment by rotifer in "De-smarting the Marshall Uxbridge"]]></title><description><![CDATA[
<p>A year or so ago I bought a Hisense 65U88KM, which comes with Google TV.  During the setup procedure it asked me if I wanted to enable the "smart" features, such as Google TV, the camera and microphone, or connect it to a network.  I said no to all of them, and that was that.<p>Now it just acts as a dumb screen for my Apple TV box.</p>
]]></description><pubDate>Sat, 11 Jan 2025 18:36:28 +0000</pubDate><link>https://news.ycombinator.com/item?id=42667947</link><dc:creator>rotifer</dc:creator><comments>https://news.ycombinator.com/item?id=42667947</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=42667947</guid></item><item><title><![CDATA[New comment by rotifer in "I built a 1B FPS video camera to watch light move"]]></title><description><![CDATA[
<p>Brian Haidet (Alpha Phoenix) shows how he made a video of a laser beam travelling across his garage.  From his description:<p>I'm using the technique from the electricity waves video where I used repeated oscilloscope measurements synced after the fact to produce "videos" of electricity moving down a wire. The only difference is that instead of measuring electricity waves, I'm measuring light emitted by a laser, bouncing off the wall, traveling to my camera, and landing in the window of a photomultiplier tube.</p>
]]></description><pubDate>Mon, 23 Dec 2024 07:31:25 +0000</pubDate><link>https://news.ycombinator.com/item?id=42492549</link><dc:creator>rotifer</dc:creator><comments>https://news.ycombinator.com/item?id=42492549</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=42492549</guid></item><item><title><![CDATA[I built a 1B FPS video camera to watch light move]]></title><description><![CDATA[
<p>Article URL: <a href="https://www.youtube.com/watch?v=IaXdSGkh8Ww">https://www.youtube.com/watch?v=IaXdSGkh8Ww</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=42492548">https://news.ycombinator.com/item?id=42492548</a></p>
<p>Points: 3</p>
<p># Comments: 2</p>
]]></description><pubDate>Mon, 23 Dec 2024 07:31:25 +0000</pubDate><link>https://www.youtube.com/watch?v=IaXdSGkh8Ww</link><dc:creator>rotifer</dc:creator><comments>https://news.ycombinator.com/item?id=42492548</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=42492548</guid></item><item><title><![CDATA[New comment by rotifer in "1B nested loop iterations"]]></title><description><![CDATA[
<p>In Haskell the numerator and denominator of the Rational type are unbounded integers, so one of the (many equivalent) ways of writing it is:<p><pre><code>    ghci> sum [i % (i+1) | i <- [0..9]]
    17819 % 2520
    ghci> 
</code></pre>
% is the constructor for Rational numbers.  I.e. one half is written (and shown as) 1 % 2.<p>I'll spare people the full result, but:<p><pre><code>    ghci> sum [i % (i+1) | i <- [0..999]]
    70755...77483 % 71288...20000
    ghci></code></pre></p>
]]></description><pubDate>Wed, 27 Nov 2024 02:17:54 +0000</pubDate><link>https://news.ycombinator.com/item?id=42252288</link><dc:creator>rotifer</dc:creator><comments>https://news.ycombinator.com/item?id=42252288</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=42252288</guid></item><item><title><![CDATA[New comment by rotifer in "Background of Linux's "file-max" and "nr_open" limits on file descriptors (2021)"]]></title><description><![CDATA[
<p>Probably NumbeR.</p>
]]></description><pubDate>Fri, 05 Jul 2024 21:00:10 +0000</pubDate><link>https://news.ycombinator.com/item?id=40885962</link><dc:creator>rotifer</dc:creator><comments>https://news.ycombinator.com/item?id=40885962</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=40885962</guid></item><item><title><![CDATA[New comment by rotifer in "The Swift compiler is slow due to how types are inferred"]]></title><description><![CDATA[
<p>> Surely it’s possible to make a compiler that takes time proportional to how much of my code has changed [...]<p>My understanding is that this is how Eclipse's Java compiler works, but I'm not positive.</p>
]]></description><pubDate>Wed, 12 Jun 2024 20:19:10 +0000</pubDate><link>https://news.ycombinator.com/item?id=40662613</link><dc:creator>rotifer</dc:creator><comments>https://news.ycombinator.com/item?id=40662613</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=40662613</guid></item><item><title><![CDATA[New comment by rotifer in "Ten years of improvements in PostgreSQL's optimizer"]]></title><description><![CDATA[
<p>You may discover this if you go to the Apress site, but there is a second edition [1] out.<p>[1] <a href="https://hdombrovskaya.wordpress.com/2024/01/11/the-optimization-book-second-edition-is-here/" rel="nofollow">https://hdombrovskaya.wordpress.com/2024/01/11/the-optimizat...</a></p>
]]></description><pubDate>Wed, 17 Apr 2024 17:20:01 +0000</pubDate><link>https://news.ycombinator.com/item?id=40067599</link><dc:creator>rotifer</dc:creator><comments>https://news.ycombinator.com/item?id=40067599</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=40067599</guid></item><item><title><![CDATA[New comment by rotifer in "Dada, an experimental new programming language"]]></title><description><![CDATA[
<p>FWIW, in an upcoming version of Java you'll likely be able to do this:<p><pre><code>    $ cat Hello.java
    void main() { System.out.println("Hello, world!"); }
    $ java --enable-preview --source 21 Hello.java 2>/dev/null
    Hello, world!
    $
</code></pre>
This is currently a preview feature in Java 21 and 22.</p>
]]></description><pubDate>Thu, 07 Mar 2024 02:21:13 +0000</pubDate><link>https://news.ycombinator.com/item?id=39624405</link><dc:creator>rotifer</dc:creator><comments>https://news.ycombinator.com/item?id=39624405</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=39624405</guid></item><item><title><![CDATA[New comment by rotifer in ""Bookfind of the century" sells for $2.23M"]]></title><description><![CDATA[
<p>The January 16, 2024 edition of the CBC radio show "As It Happens" has an interview with Gerry Vogrincic, the doctor who bought the book in 2007 and just sold it.<p>There's a transcript of the interview here [1].  Search for "Old Anatomy Book".<p>The audio for the <i>entire</i> episode is here [2].  I don't recall how far into it this interview occurs.  (I've sometimes found their interviews split into separate clips, but if that's the case here I don't know where to find it.)<p>[1] <a href="https://www.cbc.ca/radio/asithappens/the-aih-transcript-for-january-16-2024-1.7086900" rel="nofollow">https://www.cbc.ca/radio/asithappens/the-aih-transcript-for-...</a><p>[2] <a href="https://www.cbc.ca/listen/live-radio/1-2-as-it-happens/clip/16035693-their-race-run" rel="nofollow">https://www.cbc.ca/listen/live-radio/1-2-as-it-happens/clip/...</a></p>
]]></description><pubDate>Tue, 06 Feb 2024 09:03:02 +0000</pubDate><link>https://news.ycombinator.com/item?id=39272369</link><dc:creator>rotifer</dc:creator><comments>https://news.ycombinator.com/item?id=39272369</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=39272369</guid></item><item><title><![CDATA[New comment by rotifer in "The end of the subscription era is coming"]]></title><description><![CDATA[
<p>Somewhat tangentially, that quote seems likely to be from a financial advisor named Gary Shilling [1], rather than Keynes.<p>[1] <a href="https://quoteinvestigator.com/2011/08/09/remain-solvent/" rel="nofollow noreferrer">https://quoteinvestigator.com/2011/08/09/remain-solvent/</a></p>
]]></description><pubDate>Sat, 09 Sep 2023 18:23:38 +0000</pubDate><link>https://news.ycombinator.com/item?id=37448560</link><dc:creator>rotifer</dc:creator><comments>https://news.ycombinator.com/item?id=37448560</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=37448560</guid></item><item><title><![CDATA[New comment by rotifer in "The Code Review Pyramid (2022)"]]></title><description><![CDATA[
<p>I write and review medical software.  When I'm reviewing code the most important question is, "Is it correct?"  If it's not, then the review simply isn't approved (obviously).<p>Anything that makes it harder to determine correctness is a strike against the code.  This can include anything from high level organization, to comments, to the naming of variables, to the use of whitespace.  For example, with respect to variable names, if you're implementing something that has to conform to the DICOM standard, then you should <i>consider</i> following their nomenclature, even if it may not be what you'd normally use in other contexts.<p>Aside from correctness issues, I'll make anything from "strong recommendations" to "mild suggestions".  (In theory, any of these could cause me not to approve a change, but the closer we get to "mild suggestion" the less likely that is.)  Examples might include:<p>- You're trying to do something with X.  I'm a domain expert in X and while your code is technically correct it's not idiomatic.  I suggest doing it this other way instead.<p>- You added a public function to a library, but it will fail if the String argument isn't a valid Photometric Interpretation.  Yes, I see that you only call it with valid values, but since it's public anybody can now call it, and they may not be so diligent.  How about making it an Enum?<p>- You have a loop that, superficially, looks like it's calculating Bar, but upon closer examination it's (correctly) calculating Bar'.  How about adding a comment stating this, so that no one is tempted to (incorrectly) "fix" it?<p>- You've implemented a function that does Y.  All our code links with the Foo library, which happens to have a function that does Y.  How about using that instead?<p>- Your log message makes sense if you're reading the surrounding code, but someone from support seeing it in the log file won't know what to make of it.  How about including this contextual information in it?<p>- In the loop that you added, your indentation is inconsistent with the rest of the function.  How about making it the same?<p>- Why do you have four blanks lines in the middle of your function?<p>In my own code I'm pretty anal about formatting, comments, log messages, use of whitespace, etc.  I'm definitely less harsh when reviewing other people's code, but I have to admit that when I see sloppy formatting, grammatical errors or gratuitous use of whitespace, I'm on the alert for sloppiness in other areas, such as design and implementation.</p>
]]></description><pubDate>Sun, 09 Jul 2023 07:44:56 +0000</pubDate><link>https://news.ycombinator.com/item?id=36652498</link><dc:creator>rotifer</dc:creator><comments>https://news.ycombinator.com/item?id=36652498</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=36652498</guid></item><item><title><![CDATA[New comment by rotifer in "GPU accelerated SMT constraint solving (2021)"]]></title><description><![CDATA[
<p>The Communications of the ACM article "The Silent (R)evolution of SAT" [1] gives an overview of some of the techniques used in SAT solvers.  I believe it was posted on HN fairly recently.<p>[1] <a href="https://cacm.acm.org/magazines/2023/6/273222-the-silent-revolution-of-sat/fulltext" rel="nofollow noreferrer">https://cacm.acm.org/magazines/2023/6/273222-the-silent-revo...</a></p>
]]></description><pubDate>Sun, 02 Jul 2023 19:10:38 +0000</pubDate><link>https://news.ycombinator.com/item?id=36564631</link><dc:creator>rotifer</dc:creator><comments>https://news.ycombinator.com/item?id=36564631</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=36564631</guid></item><item><title><![CDATA[New comment by rotifer in "AVX512 intrinsics for JDK’s Arrays.sort methods"]]></title><description><![CDATA[
<p>I expect they are referring to the "Vector API" described in JEP 426: Vector API [1].  From the summary:<p><pre><code>    Introduce an API to express vector computations that reliably compile at runtime to optimal vector instructions on supported CPU architectures, thus achieving performance superior to equivalent scalar computations.
</code></pre>
[1] <a href="https://openjdk.org/jeps/426" rel="nofollow">https://openjdk.org/jeps/426</a></p>
]]></description><pubDate>Wed, 31 May 2023 23:22:45 +0000</pubDate><link>https://news.ycombinator.com/item?id=36145818</link><dc:creator>rotifer</dc:creator><comments>https://news.ycombinator.com/item?id=36145818</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=36145818</guid></item><item><title><![CDATA[New comment by rotifer in "Show HN: The Leica MPi: A Leica M2 with a Raspberry Pi-Powered Digital Sensor"]]></title><description><![CDATA[
<p>There is also the recently announced Pentax K-3 III Monochrome [1], but it's a DSLR not a rangefinder.  At $2200 I don't know if you'd consider it a "poor man's" camera, but it's certainly cheaper than the Leica.<p>[1] <a href="https://petapixel.com/2023/04/12/pentax-unveils-k-3-iii-monochrome-dslr-for-black-and-white-photography/" rel="nofollow">https://petapixel.com/2023/04/12/pentax-unveils-k-3-iii-mono...</a></p>
]]></description><pubDate>Sat, 13 May 2023 19:37:20 +0000</pubDate><link>https://news.ycombinator.com/item?id=35931925</link><dc:creator>rotifer</dc:creator><comments>https://news.ycombinator.com/item?id=35931925</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=35931925</guid></item><item><title><![CDATA[New comment by rotifer in "Using io_uring for network I/O"]]></title><description><![CDATA[
<p>I don't believe that Java currently uses it by default, although I've seen discussion about possibly using it in the future.<p>However, you might find these links useful:<p><pre><code>    - I built an ultra high performance HTTP server in Java, powered by io_uring - https://old.reddit.com/r/java/comments/12f2h79/i_built_an_ultra_high_performance_http_server_in/
    - server is here - https://github.com/bbeaupain/hella-http
    - based on these bindings - https://github.com/bbeaupain/nio_uring
</code></pre>
I wouldn't be surprised if there are others.</p>
]]></description><pubDate>Wed, 12 Apr 2023 22:20:54 +0000</pubDate><link>https://news.ycombinator.com/item?id=35547832</link><dc:creator>rotifer</dc:creator><comments>https://news.ycombinator.com/item?id=35547832</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=35547832</guid></item><item><title><![CDATA[New comment by rotifer in "JEP 430: String Templates (Preview) Proposed to Target Java 21"]]></title><description><![CDATA[
<p>Regarding user-defined types, probably what you're looking for is JEP 401: Primitive Classes (Preview) [1].  I believe it's currently being worked on.<p>[1] <a href="https://openjdk.org/jeps/401" rel="nofollow">https://openjdk.org/jeps/401</a></p>
]]></description><pubDate>Fri, 03 Mar 2023 23:46:59 +0000</pubDate><link>https://news.ycombinator.com/item?id=35016544</link><dc:creator>rotifer</dc:creator><comments>https://news.ycombinator.com/item?id=35016544</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=35016544</guid></item><item><title><![CDATA[New comment by rotifer in "The Market for Lemons"]]></title><description><![CDATA[
<p>That quote comes from here [1].  A few lines later, writing about a talk he had given at a software company, he says:<p><pre><code>    I gave a beautiful lecture, which fell flat on its face. The
    managers were horrified at the suggestion that flawless software
    should be delivered since company derived its stability from the
    subsequent maintenance contracts. The programmers were horrified
    too: they derived their intellectual excitement from not quite
    understanding what they were doing and their professional
    satisfaction from finding weird bugs they had first introduced in
    their daring irresponsibility. Teaching the competence to program
    boils down to the training of misfits.
</code></pre>
Ouch.<p>[1] <a href="https://www.cs.utexas.edu/users/EWD/transcriptions/EWD10xx/EWD1041.html" rel="nofollow">https://www.cs.utexas.edu/users/EWD/transcriptions/EWD10xx/E...</a></p>
]]></description><pubDate>Mon, 06 Feb 2023 01:48:02 +0000</pubDate><link>https://news.ycombinator.com/item?id=34672212</link><dc:creator>rotifer</dc:creator><comments>https://news.ycombinator.com/item?id=34672212</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=34672212</guid></item><item><title><![CDATA[New comment by rotifer in "Americans will pay more to live in walkable neighborhoods"]]></title><description><![CDATA[
<p>The city recently added sidewalks to my (low traffic) street after doing some sewer upgrades.  Lots of people continue to walk on the street because it's consistently flat, as opposed to the dip and slope you encounter on the sidewalk at each driveway entrance.  These can be more treacherous in the winter because you now have ice on a slope.  People with (even mild) mobility issues seem to be disproportionately affected.</p>
]]></description><pubDate>Sat, 28 Jan 2023 00:08:39 +0000</pubDate><link>https://news.ycombinator.com/item?id=34553549</link><dc:creator>rotifer</dc:creator><comments>https://news.ycombinator.com/item?id=34553549</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=34553549</guid></item><item><title><![CDATA[New comment by rotifer in "Olympic medalists in art competitions"]]></title><description><![CDATA[
<p>Olympic Scrapheap Challenge/Junkyard Wars [1]?<p>[1] <a href="https://en.wikipedia.org/wiki/Scrapheap_Challenge" rel="nofollow">https://en.wikipedia.org/wiki/Scrapheap_Challenge</a></p>
]]></description><pubDate>Wed, 18 Jan 2023 00:05:50 +0000</pubDate><link>https://news.ycombinator.com/item?id=34421367</link><dc:creator>rotifer</dc:creator><comments>https://news.ycombinator.com/item?id=34421367</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=34421367</guid></item></channel></rss>