<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: davidcuddeback</title><link>https://news.ycombinator.com/user?id=davidcuddeback</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Tue, 07 Apr 2026 15:48:23 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=davidcuddeback" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by davidcuddeback in "Design Patterns Are Temporary, Language Features Are Forever"]]></title><description><![CDATA[
<p>> <i>Would you use the Builder pattern if the language had named variables in arguments?</i><p>Yes, absolutely. I see it all the time in the Ruby ecosystem and have used it myself in Ruby. Many times it gets called by a different name. I've seen it in Python and Elixir too.</p>
]]></description><pubDate>Mon, 09 Sep 2024 19:14:05 +0000</pubDate><link>https://news.ycombinator.com/item?id=41492407</link><dc:creator>davidcuddeback</dc:creator><comments>https://news.ycombinator.com/item?id=41492407</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=41492407</guid></item><item><title><![CDATA[New comment by davidcuddeback in "Small asteroid to hit Earth's atmosphere today"]]></title><description><![CDATA[
<p>> <i>On the other hand, what's the chance of something like this happening with a much bigger asteroid.</i><p>Bigger asteroids are easier to see.</p>
]]></description><pubDate>Wed, 04 Sep 2024 13:38:15 +0000</pubDate><link>https://news.ycombinator.com/item?id=41445731</link><dc:creator>davidcuddeback</dc:creator><comments>https://news.ycombinator.com/item?id=41445731</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=41445731</guid></item><item><title><![CDATA[New comment by davidcuddeback in "Ask HN: Fast data structures for disjoint intervals?"]]></title><description><![CDATA[
<p>Sure thing! I'd reframe this as a nearest neighbor search over (start time, duration) tuples. KD trees are what I'm most familiar with for that problem, but there are others that would fit. Check out chapters 1 ("Multidimensional Point Data") and 3 ("Intervals and Small Rectangles") of <i>Foundations of Multidimensional and Metric Data Structures</i>: <a href="https://books.google.com/books?id=vO-NRRKHG84C&pg=PR9&source=gbs_selected_pages&cad=1#v=onepage&q&f=false" rel="nofollow">https://books.google.com/books?id=vO-NRRKHG84C&pg=PR9&source...</a><p>R-trees are more generic in that they can store intervals, shapes, volumes, etc, but (start time, duration) tuples are point-like, and that opens more possibilities. The ordered map is going to give you good memory locality. It might be that you'll only beat that when searching for larger durations (that require you to iterate over more of your ordered map). There will probably be an inflection point somewhere, depending on the distribution of your data and queries.<p>Hope that helps!</p>
]]></description><pubDate>Tue, 23 Jul 2024 18:39:20 +0000</pubDate><link>https://news.ycombinator.com/item?id=41049342</link><dc:creator>davidcuddeback</dc:creator><comments>https://news.ycombinator.com/item?id=41049342</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=41049342</guid></item><item><title><![CDATA[New comment by davidcuddeback in "Ask HN: Fast data structures for disjoint intervals?"]]></title><description><![CDATA[
<p>Elsewhere is the thread, it sounds like your range queries with inequality constraint might actually be a nearest neighbor query with inequality constraint. I'm not sure off the top of my head how feasible that would be with a priority search tree.</p>
]]></description><pubDate>Tue, 23 Jul 2024 18:03:02 +0000</pubDate><link>https://news.ycombinator.com/item?id=41048969</link><dc:creator>davidcuddeback</dc:creator><comments>https://news.ycombinator.com/item?id=41048969</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=41048969</guid></item><item><title><![CDATA[New comment by davidcuddeback in "Ask HN: Fast data structures for disjoint intervals?"]]></title><description><![CDATA[
<p>"Nearest gap" doesn't sounds like a range query to me. It sounds more like a nearest neighbor query. It sounds like you have <i>(start time, duration)</i> tuples and want to search for nearest neighbor on start time with an at-least-X constraint on duration. <i>(start time, duration)</i> is more point-like than interval-like (as far as data structures go), so anything that can handle nearest neighbor on point-like data would be a candidate. If this is an accurate mapping for your problem, you might check out KD trees. You'd probably have to write a custom tree traversal algorithm to query NN on one dimension and >X on the other, but I think it could be done. Sounds kinda fun.</p>
]]></description><pubDate>Tue, 23 Jul 2024 17:32:03 +0000</pubDate><link>https://news.ycombinator.com/item?id=41048659</link><dc:creator>davidcuddeback</dc:creator><comments>https://news.ycombinator.com/item?id=41048659</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=41048659</guid></item><item><title><![CDATA[New comment by davidcuddeback in "Ask HN: Fast data structures for disjoint intervals?"]]></title><description><![CDATA[
<p>> <i>Many range queries also have a minimum duration requirement, so it could be useful if a data structure could take advantage of this to quickly exclude intervals during the search.</i><p>Check out priority search trees. They search two dimensions, one of them being half-open (that would be your minimum duration requirement). Depends if the other half of your queries fits the closed dimension of a priority tree or if you can adapt it to fit your needs.</p>
]]></description><pubDate>Tue, 23 Jul 2024 14:38:38 +0000</pubDate><link>https://news.ycombinator.com/item?id=41046437</link><dc:creator>davidcuddeback</dc:creator><comments>https://news.ycombinator.com/item?id=41046437</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=41046437</guid></item><item><title><![CDATA[New comment by davidcuddeback in "Ask HN: Fast data structures for disjoint intervals?"]]></title><description><![CDATA[
<p>It's really going to depend on the queries that you want to optimize. I think the best help might be to point you to a book: <a href="https://www.amazon.com/Foundations-Multidimensional-Structures-Kaufmann-Computer/dp/0123694469" rel="nofollow">https://www.amazon.com/Foundations-Multidimensional-Structur...</a><p>An RTree is the first structure that comes to mind, but the way you describe the problem, it sounds like the intervals never overlap, so I have my doubts. Sounds like you might be looking to optimize the query "what is the first interval of at least N days?" Maybe look at priority trees. They're good at queries that are bounded in one dimension and half-open in the other.</p>
]]></description><pubDate>Tue, 23 Jul 2024 14:32:32 +0000</pubDate><link>https://news.ycombinator.com/item?id=41046372</link><dc:creator>davidcuddeback</dc:creator><comments>https://news.ycombinator.com/item?id=41046372</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=41046372</guid></item><item><title><![CDATA[New comment by davidcuddeback in "Einstein and his peers were resistant to black holes"]]></title><description><![CDATA[
<p>Case in point: the same equations predict white holes, which today are widely believed to not exist.</p>
]]></description><pubDate>Fri, 28 Jun 2024 22:35:59 +0000</pubDate><link>https://news.ycombinator.com/item?id=40826046</link><dc:creator>davidcuddeback</dc:creator><comments>https://news.ycombinator.com/item?id=40826046</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=40826046</guid></item><item><title><![CDATA[New comment by davidcuddeback in "Eclipse viewing at 30k feet: Delta to offer path-of-totality flight"]]></title><description><![CDATA[
<p>I <i>am</i> taking kids out of school for a few days and driving 13 hours to a cabin that I rented on a lake on the centerline. It helps that my 40th birthday is within a couple days of the eclipse.</p>
]]></description><pubDate>Fri, 23 Feb 2024 02:32:28 +0000</pubDate><link>https://news.ycombinator.com/item?id=39476257</link><dc:creator>davidcuddeback</dc:creator><comments>https://news.ycombinator.com/item?id=39476257</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=39476257</guid></item><item><title><![CDATA[New comment by davidcuddeback in "Why software engineers like woodworking (2021)"]]></title><description><![CDATA[
<p>I've looked into some workshops, including his. It's not in the cards for me now, but something I'd like to do someday. I also enjoy coming back to the central coast (I went to college in SLO). Jory did some videos on his Hollister credenza for the TWW Guild. They captured (possibly unintentionally) the laid back central coast vibe with the open doors and the birds chirping in the background.</p>
]]></description><pubDate>Mon, 12 Feb 2024 15:14:27 +0000</pubDate><link>https://news.ycombinator.com/item?id=39345665</link><dc:creator>davidcuddeback</dc:creator><comments>https://news.ycombinator.com/item?id=39345665</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=39345665</guid></item><item><title><![CDATA[New comment by davidcuddeback in "Why software engineers like woodworking (2021)"]]></title><description><![CDATA[
<p>Jory Brigham?<p>Edit: Nevermind. Answered down thread. Lucky you. Beautiful area and Jory's work is phenomenal.</p>
]]></description><pubDate>Mon, 12 Feb 2024 04:43:30 +0000</pubDate><link>https://news.ycombinator.com/item?id=39341424</link><dc:creator>davidcuddeback</dc:creator><comments>https://news.ycombinator.com/item?id=39341424</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=39341424</guid></item><item><title><![CDATA[New comment by davidcuddeback in "James Webb Space Telescope captures high-resolution image of Uranus"]]></title><description><![CDATA[
<p>I'm not sure about the history of these words, but astronomy also uses the noun form: "occultation" [1], for which there's not an obvious equivalent for "occlude."<p>> <i>Did occult mean what it does now when they started?</i><p>A word can have more than one meaning. The first definition on merriam-webster.com covers the definition used in astronomy:<p>occult (v.): to shut off from view or exposure: cover, eclipse [2]<p>The adjective form might be a source of derivation for the meaning you're alluding to:<p>occult (adj.): (1) not revealed: secret; (2) not easily apprehended or understood: abstruse, mysterious; (3) hidden from view: concealed [2]<p>And finally, the paranormal meaning that people are more familiar with today:<p>occult (n): matters regarded as involving the action or influence of supernatural or supernormal powers or some secret knowledge of them -> used with <i>the</i> [2]<p>Again, I don't know the history of these words. If I had to hazard a guess, I'd bet that the noun form, "the occult", is derived from the adjective form since "the occult" refers to supernatural phenomena, which is naturally hidden from view, concealed, not revealed, secret, not easily apprehended or understood, etc (because it's not real).<p>Edit: Another guess. If you think about the history of astronomy, it was originally intertwined with religion and astrology. Perhaps these words date back to a time when "the occult" and astronomy weren't entirely separate. Anyways, I agree. Language is strange.<p>[1]: <a href="https://en.wikipedia.org/wiki/Occultation" rel="nofollow noreferrer">https://en.wikipedia.org/wiki/Occultation</a><p>[2]: <a href="https://www.merriam-webster.com/dictionary/occult" rel="nofollow noreferrer">https://www.merriam-webster.com/dictionary/occult</a></p>
]]></description><pubDate>Tue, 19 Dec 2023 21:10:47 +0000</pubDate><link>https://news.ycombinator.com/item?id=38701619</link><dc:creator>davidcuddeback</dc:creator><comments>https://news.ycombinator.com/item?id=38701619</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=38701619</guid></item><item><title><![CDATA[New comment by davidcuddeback in "Show HN: Numbat – A programming language with physical dimensions as types"]]></title><description><![CDATA[
<p>Physical can be understood to mean "of or relating to matter and energy or the sciences dealing with them, especially physics." Light, temperature, and time are described by physics, so I would consider "physical" to be an accurate adjective for those units. You seem to be using a more limited definition of physical, closer to the word "spatial."<p>Also, btw, you might want to read the article you linked. The article is discussing a fringe idea that some scientists have. Scientists are free to explore new ideas, and they make for good click bait for science journalists. Until those ideas gain traction, they don't provide for compelling arguments, though.</p>
]]></description><pubDate>Thu, 16 Nov 2023 16:38:02 +0000</pubDate><link>https://news.ycombinator.com/item?id=38291704</link><dc:creator>davidcuddeback</dc:creator><comments>https://news.ycombinator.com/item?id=38291704</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=38291704</guid></item><item><title><![CDATA[New comment by davidcuddeback in "What saved the ‘miracle house’ in Lahaina?"]]></title><description><![CDATA[
<p>A similar thing happened in my community (not historically prone to wildfire) on December 30, 2021. 1000 homes destroyed. Fortunately far fewer casualties. Similar proximate causes (100+ mph winds and historically dry vegetation). I remember some outlets making a big deal about the possibility of this becoming a new normal due to climate change. It was (to my knowledge) the first wildfire attributed to climate change.<p><a href="https://www.colorado.edu/today/2022/01/25/what-marshall-fire-can-teach-us-we-prepare-future-climate-catastrophes" rel="nofollow noreferrer">https://www.colorado.edu/today/2022/01/25/what-marshall-fire...</a></p>
]]></description><pubDate>Sun, 20 Aug 2023 01:20:12 +0000</pubDate><link>https://news.ycombinator.com/item?id=37195071</link><dc:creator>davidcuddeback</dc:creator><comments>https://news.ycombinator.com/item?id=37195071</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=37195071</guid></item><item><title><![CDATA[New comment by davidcuddeback in "Ask HN: What's the coolest physical thing you've made?"]]></title><description><![CDATA[
<p>> <i>Does a garden count?</i><p>Yes, absolutely! :)</p>
]]></description><pubDate>Mon, 07 Aug 2023 13:38:06 +0000</pubDate><link>https://news.ycombinator.com/item?id=37034280</link><dc:creator>davidcuddeback</dc:creator><comments>https://news.ycombinator.com/item?id=37034280</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=37034280</guid></item><item><title><![CDATA[New comment by davidcuddeback in "Ask HN: What's the coolest physical thing you've made?"]]></title><description><![CDATA[
<p>My dining table. It's a trestle design, made from walnut, breadboard ends, wedged and drawbored tenon joinery for the base assembly, and large enough to fit 10-12 people around for Thanksgiving. The lumber cost $1,400 and it took over a month to build, but it really transformed our dining room.<p>Some day, I look forward to building a guitar and a telescope, either of which have the potential to take that title away from my dining table, but that will be several years down the road for me.</p>
]]></description><pubDate>Mon, 07 Aug 2023 13:34:37 +0000</pubDate><link>https://news.ycombinator.com/item?id=37034245</link><dc:creator>davidcuddeback</dc:creator><comments>https://news.ycombinator.com/item?id=37034245</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=37034245</guid></item><item><title><![CDATA[New comment by davidcuddeback in "Earth Overshoot Day"]]></title><description><![CDATA[
<p>> <i>If all countries were like Bangladesh, it would cause massive issues in addition to what we have now.</i><p>Isn't that exactly what they're representing by a country's overshoot day? FTA:<p>> <i>A country’s overshoot day is the date on which Earth Overshoot Day would fall if all of humanity consumed like the people in that country.</i></p>
]]></description><pubDate>Wed, 02 Aug 2023 15:20:02 +0000</pubDate><link>https://news.ycombinator.com/item?id=36972102</link><dc:creator>davidcuddeback</dc:creator><comments>https://news.ycombinator.com/item?id=36972102</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=36972102</guid></item><item><title><![CDATA[New comment by davidcuddeback in "Remote code execution in OpenSSH’s forwarded SSH-agent"]]></title><description><![CDATA[
<p>> <i>just no release for openbsd itself it seems.</i><p>It was posted to announce@openbsd.org a few hours ago. Binary patches are available through syspatch and source patches on the errata page.</p>
]]></description><pubDate>Wed, 19 Jul 2023 18:09:03 +0000</pubDate><link>https://news.ycombinator.com/item?id=36790694</link><dc:creator>davidcuddeback</dc:creator><comments>https://news.ycombinator.com/item?id=36790694</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=36790694</guid></item><item><title><![CDATA[New comment by davidcuddeback in "Are There Price Asymmetries in the U.S. Beef Market? [pdf]"]]></title><description><![CDATA[
<p>Wow, no. Just no. That's not how research is done. What you're describing sounds more like writing a clickbait article than writing a research paper. Writing a research paper in that manner would damage the researcher's credibility. A good research paper does lead with a discussion of related research and methodology and is careful to not accidentally make unfounded conclusions. In fact, some papers will include a "threats to validity" section, which I think is a good exercise in skepticism.</p>
]]></description><pubDate>Mon, 08 May 2023 17:54:40 +0000</pubDate><link>https://news.ycombinator.com/item?id=35864793</link><dc:creator>davidcuddeback</dc:creator><comments>https://news.ycombinator.com/item?id=35864793</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=35864793</guid></item><item><title><![CDATA[New comment by davidcuddeback in "Imaging a Hard Drive with Non-ECC Memory – What Could Go Wrong?"]]></title><description><![CDATA[
<p>The link you provided contradicts your comment.<p>From the link in your comment: "The average rate of cosmic-ray soft errors is inversely proportional to sunspot activity. That is, the average number of cosmic-ray soft errors decreases during the active portion of the sunspot cycle and increases during the quiet portion."</p>
]]></description><pubDate>Sun, 05 Mar 2023 14:06:56 +0000</pubDate><link>https://news.ycombinator.com/item?id=35029688</link><dc:creator>davidcuddeback</dc:creator><comments>https://news.ycombinator.com/item?id=35029688</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=35029688</guid></item></channel></rss>