<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: atrettel</title><link>https://news.ycombinator.com/user?id=atrettel</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Thu, 27 Aug 2026 11:16:55 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=atrettel" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by atrettel in "Switching to electric stoves can dramatically cut indoor air pollution (2025)"]]></title><description><![CDATA[
<p>And induction gets hot immediately.  And it is easier to clean.  And it is less likely to cause fires.  It's just a better technology all around when compared to gas stoves.  The only issue I personally have with it is that it is not compatible with all cookware.</p>
]]></description><pubDate>Sun, 09 Aug 2026 15:16:37 +0000</pubDate><link>https://news.ycombinator.com/item?id=49232203</link><dc:creator>atrettel</dc:creator><comments>https://news.ycombinator.com/item?id=49232203</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49232203</guid></item><item><title><![CDATA[New comment by atrettel in "Old and new apps, via modern coding agents"]]></title><description><![CDATA[
<p>I agree that visualization does not need to be perfect.  One issue is that "correct visual output" depends on your expertise level.  A visualization that is good to teach undergrads may be frustratingly bad to experts and researchers.  Standards like "looking right" depend on the audience's ability to spot nuances and how focused they are on the fine details.  If you want a visualization to work for the range of people from beginners to experts, you do need to focus a bit more on what it means for something to "look right" for multiple audiences, since the errors in the fine details may hinder a visualization's usefulness for more advanced audiences.</p>
]]></description><pubDate>Sun, 12 Jul 2026 16:48:10 +0000</pubDate><link>https://news.ycombinator.com/item?id=48882505</link><dc:creator>atrettel</dc:creator><comments>https://news.ycombinator.com/item?id=48882505</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48882505</guid></item><item><title><![CDATA[New comment by atrettel in "Rayfish, Peer-to-peer mesh VPN with no server to trust"]]></title><description><![CDATA[
<p>I get what you are saying, but my issue is not that it runs a script.  My issue is that curl piped into a shell does not verify that the download is from the original source before running the script.<p>A .deb file has many advantages over curl piped into a shell.  You can check the contents before installation, you can potentially verify the authenticity of the .deb file, and dpkg makes it possible to uninstall the package later since it keeps track of what it installed in an organized manner.<p>I won't say that I would feel safer with a .deb file.  That depends on the source, what the package does, and other factors.  Security is about tradeoffs.  I personally find the tradeoffs associated with a .deb file better than the tradeoffs of curl piped into a shell, but I myself do not install .deb files in the first place since I get almost everything that I need from package repositories.</p>
]]></description><pubDate>Sun, 05 Jul 2026 20:36:21 +0000</pubDate><link>https://news.ycombinator.com/item?id=48797721</link><dc:creator>atrettel</dc:creator><comments>https://news.ycombinator.com/item?id=48797721</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48797721</guid></item><item><title><![CDATA[New comment by atrettel in "Rayfish, Peer-to-peer mesh VPN with no server to trust"]]></title><description><![CDATA[
<p>You raise a good point.  This is why people sign the checksums.  The signature confirms that authenticity of the checksums.  That somewhat moves the goalpost, though, since it then depends on where you got the source's public key, but it is still a more secure practice overall.  The advantage of having the public key is that you only need to get it once and you can check many downloads later.<p>It is also possible to have a signed file that you can use to check the authenticity of a downloaded file directly without having to use checksums.  Rust [1] does it that way for its other installation methods.<p>[1] <a href="https://forge.rust-lang.org/infra/other-installation-methods.html" rel="nofollow">https://forge.rust-lang.org/infra/other-installation-methods...</a></p>
]]></description><pubDate>Sun, 05 Jul 2026 20:20:26 +0000</pubDate><link>https://news.ycombinator.com/item?id=48797620</link><dc:creator>atrettel</dc:creator><comments>https://news.ycombinator.com/item?id=48797620</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48797620</guid></item><item><title><![CDATA[New comment by atrettel in "Rayfish, Peer-to-peer mesh VPN with no server to trust"]]></title><description><![CDATA[
<p>Curl does verify certificates [1].  That does confirm that your connection is to the right server, but it does not confirm that the files were unmodified.<p>SSL/TLS/HTTPS is more about encrypting the traffic and ensuring that there was no tampering with the file between you and the server.  The steps that I describe are more about ensuring that there was no tampering between you and the original source.  Those are two separate problems.  If you just rely on HTTPS, somebody can replace the file on the server with a modified version, and you would not know.<p>[1] <a href="https://curl.se/docs/sslcerts.html" rel="nofollow">https://curl.se/docs/sslcerts.html</a></p>
]]></description><pubDate>Sun, 05 Jul 2026 17:26:26 +0000</pubDate><link>https://news.ycombinator.com/item?id=48796031</link><dc:creator>atrettel</dc:creator><comments>https://news.ycombinator.com/item?id=48796031</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48796031</guid></item><item><title><![CDATA[New comment by atrettel in "Rayfish, Peer-to-peer mesh VPN with no server to trust"]]></title><description><![CDATA[
<p>The issue does not have to do with whether the download is a binary or source code.  It has to deal with verifying the integrity of the download before installation.<p>Curl piped into a shell command provides no means to verify that the download is uncorrupted and unmodified before running it.  For example, whenever I download software manually I check the downloaded file against the verified checksums to ensure that I have an unmodified version.  Ideally I check this with gpg --verify on the signed checksum file (against the source's public key).  This is a standard procedure for many organizations [1].  If you just download something and immediately run it without this step, you could potentially run a hacked version of the installation script.<p>[1] <a href="https://www.debian.org/CD/verify" rel="nofollow">https://www.debian.org/CD/verify</a></p>
]]></description><pubDate>Sun, 05 Jul 2026 17:07:04 +0000</pubDate><link>https://news.ycombinator.com/item?id=48795844</link><dc:creator>atrettel</dc:creator><comments>https://news.ycombinator.com/item?id=48795844</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48795844</guid></item><item><title><![CDATA[New comment by atrettel in "Rayfish, Peer-to-peer mesh VPN with no server to trust"]]></title><description><![CDATA[
<p>I still have no comprehension of how curl piped into a shell command has become the default installation method for many projects (looking at you, Rust...).  It breaks my brain as to how potentially unsafe it is.</p>
]]></description><pubDate>Sun, 05 Jul 2026 16:38:45 +0000</pubDate><link>https://news.ycombinator.com/item?id=48795588</link><dc:creator>atrettel</dc:creator><comments>https://news.ycombinator.com/item?id=48795588</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48795588</guid></item><item><title><![CDATA[New comment by atrettel in "Qian Xuesen: The missile genius America lost and China gained (2025)"]]></title><description><![CDATA[
<p>Von Braun was not "just lucky" to get captured by the US.  He and his immediate staff took active steps to get captured by the Americans [1].<p>[1] <a href="https://en.wikipedia.org/wiki/Wernher_von_Braun#Surrender_to_the_Americans" rel="nofollow">https://en.wikipedia.org/wiki/Wernher_von_Braun#Surrender_to...</a></p>
]]></description><pubDate>Wed, 20 May 2026 23:01:10 +0000</pubDate><link>https://news.ycombinator.com/item?id=48215490</link><dc:creator>atrettel</dc:creator><comments>https://news.ycombinator.com/item?id=48215490</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48215490</guid></item><item><title><![CDATA[New comment by atrettel in "Show HN: Red Squares – GitHub outages as contributions"]]></title><description><![CDATA[
<p>I imagine that it could be usage, but it also could be fewer people caring to report issues on the weekends too for that matter.</p>
]]></description><pubDate>Wed, 06 May 2026 14:28:28 +0000</pubDate><link>https://news.ycombinator.com/item?id=48036699</link><dc:creator>atrettel</dc:creator><comments>https://news.ycombinator.com/item?id=48036699</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48036699</guid></item><item><title><![CDATA[New comment by atrettel in "The risk of AI isn't making us lazy, but making "lazy" look productive"]]></title><description><![CDATA[
<p>The issue, in my experience, is that there is a lot of productive work that does not look productive at first glance.  Long term work may not look productive for years until it suddenly is tremendously productive.  And there is a lot of quiet and often thankless maintenance work that goes on largely unnoticed that helps others do their jobs well.  Both have value despite superficially looking unproductive at times.  I'd argue that both look productive at long time scales but unproductive at short time scales.</p>
]]></description><pubDate>Sat, 28 Mar 2026 16:47:12 +0000</pubDate><link>https://news.ycombinator.com/item?id=47556242</link><dc:creator>atrettel</dc:creator><comments>https://news.ycombinator.com/item?id=47556242</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47556242</guid></item><item><title><![CDATA[New comment by atrettel in "The math that explains why bell curves are everywhere"]]></title><description><![CDATA[
<p>I've often described this as a bias towards easily taught ("teachable") material over more realistic but difficult to teach material.  Sometimes teachers teach certain subjects because they fit the classroom well as a medium.  Some subjects are just hard to teach in hour-long lectures using whiteboards and slides.  They might be better suited to other media, especially self study, but that does not mean that teachers should ignore them.</p>
]]></description><pubDate>Thu, 19 Mar 2026 02:31:53 +0000</pubDate><link>https://news.ycombinator.com/item?id=47434125</link><dc:creator>atrettel</dc:creator><comments>https://news.ycombinator.com/item?id=47434125</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47434125</guid></item><item><title><![CDATA[New comment by atrettel in "Aging muscle stem cells shift from rapid repair to long-term survival"]]></title><description><![CDATA[
<p>Even if this line is true, and I am not saying that it is, running and other cardiovascular activities lower your resting heart rate [1].  So even if you believe that you only have a finite number of heart beats, running should in fact increase your lifespan.<p>[1] <a href="https://pmc.ncbi.nlm.nih.gov/articles/PMC6306777/" rel="nofollow">https://pmc.ncbi.nlm.nih.gov/articles/PMC6306777/</a></p>
]]></description><pubDate>Sun, 01 Feb 2026 20:49:59 +0000</pubDate><link>https://news.ycombinator.com/item?id=46849239</link><dc:creator>atrettel</dc:creator><comments>https://news.ycombinator.com/item?id=46849239</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=46849239</guid></item><item><title><![CDATA[New comment by atrettel in "When AI 'builds a browser,' check the repo before believing the hype"]]></title><description><![CDATA[
<p>I completely agree.  The issue is that some misconceptions just never go away.  People were talking about how bad lines of code is as a metric in the 1980s [1].  Its persistence as a measure of productivity only shows to me that people feel some deep-seated need to measure developer productivity.  They would rather have a bad but readily-available metric than no measure of productivity.<p>[1] <a href="https://folklore.org/Negative_2000_Lines_Of_Code.html" rel="nofollow">https://folklore.org/Negative_2000_Lines_Of_Code.html</a></p>
]]></description><pubDate>Mon, 26 Jan 2026 19:59:20 +0000</pubDate><link>https://news.ycombinator.com/item?id=46770708</link><dc:creator>atrettel</dc:creator><comments>https://news.ycombinator.com/item?id=46770708</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=46770708</guid></item><item><title><![CDATA[New comment by atrettel in "Ask HN: Share your personal website"]]></title><description><![CDATA[
<p><a href="https://www.andrewtrettel.com/" rel="nofollow">https://www.andrewtrettel.com/</a></p>
]]></description><pubDate>Wed, 14 Jan 2026 23:54:32 +0000</pubDate><link>https://news.ycombinator.com/item?id=46625812</link><dc:creator>atrettel</dc:creator><comments>https://news.ycombinator.com/item?id=46625812</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=46625812</guid></item><item><title><![CDATA[New comment by atrettel in "Ask HN: When has a "dumb" solution beaten a sophisticated one for you?"]]></title><description><![CDATA[
<p>I spent around 170 hours on this so far, with only 60% of that being coding.  The rest was mostly research or writing.</p>
]]></description><pubDate>Mon, 12 Jan 2026 15:31:39 +0000</pubDate><link>https://news.ycombinator.com/item?id=46589782</link><dc:creator>atrettel</dc:creator><comments>https://news.ycombinator.com/item?id=46589782</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=46589782</guid></item><item><title><![CDATA[New comment by atrettel in "Ask HN: When has a "dumb" solution beaten a sophisticated one for you?"]]></title><description><![CDATA[
<p>Before I started the project, I was already vaguely familiar with the notion of an inverted index [1].  That small bit of knowledge meant that I knew where to start looking for more information and saved me a ton of time.  Inverted indices form the bulk of many search engines, with the big unknown being how you implement it.  I just had to find an adequate data structure for my application.<p>To figure that out, I remember searching for articles on how to implement inverted indices.  Once I had a list of candidate strategies and data structures, I used Wikipedia supplemented by some textbooks like Skiena's [2] and occasionally some (somewhat outdated) information from NIST [3].  I found Wikipedia quite detailed for all of the data structures for this problem, so it was pretty easy to compare the tradeoffs between different design choices here.  I originally wanted to implement the inverted index as a hash table but decided to use a trie because it makes wildcard search easier to implement.<p>After I developed most of the backend, I looked for books on "information retrieval" in general.  I found a history book (Bourne and Hahn 2003) on the development of these kind of search systems [4].  I read some portions of this book, and that helped confirm many of the design choices that I made.  I actually was just doing what people traditionally did when they first built these systems in the 1960s and 1970s, albeit with more modern tools and much more information on hand.<p>The harder part of this project for me was writing the interpreter.  I actually found YouTube videos on how to write recursive descent parsers to be the most helpful there, particular this one [5].  Textbooks were too theoretical and not concrete enough, though Crafting Interpreters was sometimes helpful [6].<p>[1] <a href="https://en.wikipedia.org/wiki/Inverted_index" rel="nofollow">https://en.wikipedia.org/wiki/Inverted_index</a><p>[2] <a href="https://doi.org/10.1007/978-3-030-54256-6" rel="nofollow">https://doi.org/10.1007/978-3-030-54256-6</a><p>[3] <a href="https://xlinux.nist.gov/dads/" rel="nofollow">https://xlinux.nist.gov/dads/</a><p>[4] <a href="https://doi.org/10.7551/mitpress/3543.001.0001" rel="nofollow">https://doi.org/10.7551/mitpress/3543.001.0001</a><p>[5] <a href="https://www.youtube.com/watch?v=SToUyjAsaFk" rel="nofollow">https://www.youtube.com/watch?v=SToUyjAsaFk</a><p>[6] <a href="https://craftinginterpreters.com/" rel="nofollow">https://craftinginterpreters.com/</a></p>
]]></description><pubDate>Sun, 11 Jan 2026 19:17:03 +0000</pubDate><link>https://news.ycombinator.com/item?id=46578852</link><dc:creator>atrettel</dc:creator><comments>https://news.ycombinator.com/item?id=46578852</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=46578852</guid></item><item><title><![CDATA[New comment by atrettel in "Ask HN: When has a "dumb" solution beaten a sophisticated one for you?"]]></title><description><![CDATA[
<p>I recently wrote a command-line full-text search engine [1].  I needed to implement an inverted index.  I choose what seems like the "dumb" solution at first glance: a trie (prefix tree).<p>There are "smarter" solutions like radix tries, hash tables, or even skip lists, but for any design choice, you also have to examine the tradeoffs.  A goal of my project is to make the code simpler to understand and less of a black box, so a simpler data structure made sense, especially since other design choices would not have been all that much faster or use that much less memory for this application.<p>I guess the moral of the story is to just examine all your options during the design stage.  Machine learning solutions are just that, another tool in the toolbox.  If another simpler and often cheaper solution gets the job done without all of that fuss, you should consider using it, especially if it ends up being more reliable.<p>[1] <a href="https://github.com/atrettel/wosp" rel="nofollow">https://github.com/atrettel/wosp</a></p>
]]></description><pubDate>Sun, 11 Jan 2026 16:42:55 +0000</pubDate><link>https://news.ycombinator.com/item?id=46577238</link><dc:creator>atrettel</dc:creator><comments>https://news.ycombinator.com/item?id=46577238</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=46577238</guid></item><item><title><![CDATA[New comment by atrettel in "Ask HN: Who wants to be hired? (January 2026)"]]></title><description><![CDATA[
<p>Location: Maryland, United States<p>Remote: Open to remote, hybrid, and in person<p>Willing to relocate: Yes<p>Technologies: C, C++, Fortran, Java, Message Passing Interface (MPI), OpenMP, Python (Matplotlib, Numpy, Pandas, Scipy), SQL (especially SQLite)<p>Résumé/CV: Available upon request<p>Email: hnjobs-gndxgr@atrettel.net<p>GitHub: <a href="https://github.com/atrettel" rel="nofollow">https://github.com/atrettel</a><p>Website: <a href="https://www.andrewtrettel.com/" rel="nofollow">https://www.andrewtrettel.com/</a><p>Hi, I'm Andrew Trettel. I'm a scientist with a PhD in mechanical engineering looking for any potential opportunities outside of academia and research labs. I am open to many different roles, including being a software developer or data scientist. I have over a decade of experience in scientific research, especially on the numerical side. I have years of experience in writing software for and running large simulations on high-performance computing (HPC) systems. I have also developed software for non-scientific purposes, like creating user interfaces for desktop applications and writing command-line tools. I have years of experience working with large datasets, including the tasks of calculating statistics and developing hypotheses/models/theories from data. I've worn many hats over the years and love learning new and interesting topics.</p>
]]></description><pubDate>Fri, 02 Jan 2026 19:54:09 +0000</pubDate><link>https://news.ycombinator.com/item?id=46468657</link><dc:creator>atrettel</dc:creator><comments>https://news.ycombinator.com/item?id=46468657</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=46468657</guid></item><item><title><![CDATA[New comment by atrettel in "You can't design software you don't work on"]]></title><description><![CDATA[
<p>Reading that particular section made me think of the tree swing cartoon [1].  I agree that the best engineers have likely been on the ground making concrete changes at some point, watching bricks being laid as you said, but I have encountered quite a few supervisors who seemingly had no idea how things were being implemented on the ground.  As the post says, people on the ground then sometimes have to figure out how to implement the plan even if it ignores sound design principles.<p>I don't view that as a failure of abstraction as a design principle as much as it is a pitfall of using the wrong abstraction.  Using the right abstraction requires on the ground knowledge, and if nobody communicates that up the chain, well, you get the tree swing cartoon.<p>[1] <a href="https://en.wikipedia.org/wiki/Tree_swing_cartoon" rel="nofollow">https://en.wikipedia.org/wiki/Tree_swing_cartoon</a></p>
]]></description><pubDate>Mon, 29 Dec 2025 16:59:31 +0000</pubDate><link>https://news.ycombinator.com/item?id=46422597</link><dc:creator>atrettel</dc:creator><comments>https://news.ycombinator.com/item?id=46422597</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=46422597</guid></item><item><title><![CDATA[New comment by atrettel in "Ask HN: Can you patent prompts?"]]></title><description><![CDATA[
<p>Disclaimer: I am not a lawyer.  I am not your lawyer.  This is not legal advice.<p>In the United States, the only patentable subject matter is processes, machines, manufactures, or compositions of matter [1].  Anything outside of those areas is not directly patentable.  Some subject matter like mathematics and "mental processes" generally are categorized as "abstract ideas" that therefore are not directly patentable [2].  It is possible to patent something that contains an abstract idea, but it also has to have some "additional elements" that elevate it beyond merely claiming an abstract idea.<p>I suggest reading  MPEP § 2106 [2] and looking at the first diagram given there titled "Subject Matter Eligibility Test for Products and Processes".  That is the exact analysis that a patent examiner would use to determine if something is patentable subject matter or not (including for any claim with a prompt).<p>I strongly suggest that you talk to a lawyer if you want specific advice that answers your question directly.  I'm not commenting on any copyright aspects.<p>[1] <a href="https://www.uspto.gov/web/offices/pac/mpep/s2104.html" rel="nofollow">https://www.uspto.gov/web/offices/pac/mpep/s2104.html</a><p>[2] <a href="https://www.uspto.gov/web/offices/pac/mpep/s2106.html" rel="nofollow">https://www.uspto.gov/web/offices/pac/mpep/s2106.html</a></p>
]]></description><pubDate>Tue, 23 Dec 2025 17:11:07 +0000</pubDate><link>https://news.ycombinator.com/item?id=46367016</link><dc:creator>atrettel</dc:creator><comments>https://news.ycombinator.com/item?id=46367016</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=46367016</guid></item></channel></rss>