<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: justinsaccount</title><link>https://news.ycombinator.com/user?id=justinsaccount</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Sat, 02 May 2026 10:36:22 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=justinsaccount" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by justinsaccount in "MiniStack (replacement for LocalStack)"]]></title><description><![CDATA[
<p>I ran into the same thing with Kinesis.  The Kinesis API has strict limits on batch size, message size, and rate limiting.  Any client writing to Kinesis must deal with all of these constraints and handle errors properly.<p>I briefly looked at localstack to see how they implemented the Kenesis api and other than a `KINESIS_ERROR_PROBABILITY` option to simulate rate limiting, they did not implement any of the constraints.</p>
]]></description><pubDate>Thu, 02 Apr 2026 13:14:35 +0000</pubDate><link>https://news.ycombinator.com/item?id=47614062</link><dc:creator>justinsaccount</dc:creator><comments>https://news.ycombinator.com/item?id=47614062</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47614062</guid></item><item><title><![CDATA[New comment by justinsaccount in "macOS 26 breaks custom DNS settings including .internal"]]></title><description><![CDATA[
<p>> none of my dockers<p>Containers ran using docker are called containers, not dockers.</p>
]]></description><pubDate>Thu, 19 Mar 2026 22:20:15 +0000</pubDate><link>https://news.ycombinator.com/item?id=47447145</link><dc:creator>justinsaccount</dc:creator><comments>https://news.ycombinator.com/item?id=47447145</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47447145</guid></item><item><title><![CDATA[New comment by justinsaccount in "Origin of the rule that swap size should be 2x of the physical memory"]]></title><description><![CDATA[
<p>One interesting thing with zram (which OS X also does by default) is that certain memory leaks... effectively don't.  I have a little raspberry pi where I have zram enabled.  If I make a string in python and keep appending 'a's to it, eventually zram just soaks it up:<p><pre><code>  $ zramctl
  NAME       ALGORITHM DISKSIZE  DATA COMPR TOTAL STREAMS MOUNTPOINT
  /dev/zram0 zstd          3.8G  2.3G 13.2M 17.2M       4 [SWAP]
</code></pre>
2.3GB of 'a's that gets compressed down to 20MB.</p>
]]></description><pubDate>Thu, 26 Feb 2026 02:36:20 +0000</pubDate><link>https://news.ycombinator.com/item?id=47161106</link><dc:creator>justinsaccount</dc:creator><comments>https://news.ycombinator.com/item?id=47161106</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47161106</guid></item><item><title><![CDATA[New comment by justinsaccount in "New York’s budget bill would require “blocking technology” on all 3D printers"]]></title><description><![CDATA[
<p>Did you consider clicking the "Click here for more information" to learn what the reason was?</p>
]]></description><pubDate>Wed, 04 Feb 2026 14:14:55 +0000</pubDate><link>https://news.ycombinator.com/item?id=46886044</link><dc:creator>justinsaccount</dc:creator><comments>https://news.ycombinator.com/item?id=46886044</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=46886044</guid></item><item><title><![CDATA[New comment by justinsaccount in "Ian's Shoelace Site"]]></title><description><![CDATA[
<p>The end result is the same as the regular way of tying it. perhaps you are doing a <a href="https://www.fieggen.com/shoelace/crossedianknot.htm" rel="nofollow">https://www.fieggen.com/shoelace/crossedianknot.htm</a> by mistake</p>
]]></description><pubDate>Mon, 02 Feb 2026 02:44:35 +0000</pubDate><link>https://news.ycombinator.com/item?id=46851818</link><dc:creator>justinsaccount</dc:creator><comments>https://news.ycombinator.com/item?id=46851818</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=46851818</guid></item><item><title><![CDATA[New comment by justinsaccount in "Lennart Poettering, Christian Brauner founded a new company"]]></title><description><![CDATA[
<p>> Stop trying to make everyone act like you act.<p>Yeah! Telling people what to do is rude!<p>> Anyone still using Linux on the desktop in 2026 should switch<p>Oh.</p>
]]></description><pubDate>Tue, 27 Jan 2026 20:45:33 +0000</pubDate><link>https://news.ycombinator.com/item?id=46786359</link><dc:creator>justinsaccount</dc:creator><comments>https://news.ycombinator.com/item?id=46786359</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=46786359</guid></item><item><title><![CDATA[New comment by justinsaccount in "Raspberry Pi Drag Race: Pi 1 to Pi 5 – Performance Comparison"]]></title><description><![CDATA[
<p>I have a few older models lying around too, there's some other minor benefits as well:<p><pre><code>  * They have full sized HDMI ports 
  * They will happily run using any random old USB charger and not overheat.</code></pre></p>
]]></description><pubDate>Sat, 24 Jan 2026 19:53:37 +0000</pubDate><link>https://news.ycombinator.com/item?id=46747024</link><dc:creator>justinsaccount</dc:creator><comments>https://news.ycombinator.com/item?id=46747024</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=46747024</guid></item><item><title><![CDATA[New comment by justinsaccount in "Anthropic blocks third-party use of Claude Code subscriptions"]]></title><description><![CDATA[
<p>That sort of mechanism is not a "joke" and is often used for trademark/legal reasons, not technical ones.</p>
]]></description><pubDate>Fri, 09 Jan 2026 04:56:55 +0000</pubDate><link>https://news.ycombinator.com/item?id=46550202</link><dc:creator>justinsaccount</dc:creator><comments>https://news.ycombinator.com/item?id=46550202</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=46550202</guid></item><item><title><![CDATA[New comment by justinsaccount in "I got hacked: My Hetzner server started mining Monero"]]></title><description><![CDATA[
<p>If the effectiveness of mining is represented as profit divided by the cost of running the infrastructure, then a CPU that someone else is paying for is worth it as long as the profit is greater than zero.</p>
]]></description><pubDate>Wed, 17 Dec 2025 22:09:48 +0000</pubDate><link>https://news.ycombinator.com/item?id=46306265</link><dc:creator>justinsaccount</dc:creator><comments>https://news.ycombinator.com/item?id=46306265</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=46306265</guid></item><item><title><![CDATA[New comment by justinsaccount in "Fix HDMI-CEC weirdness with a Raspberry Pi and a $7 cable"]]></title><description><![CDATA[
<p>> It seems like AV stuff used to be so simple.<p>> without a bulky expensive receiver box<p>A "receiver" has been one of the standard options for making bookshelf speakers work for more than 50 years.  A receiver is also not expensive.  You can get a basic used one for under $100.  I paid $30 for a perfectly working 5.1 Denon receiver with HDMI.<p>Your problem is that you aren't even using "Modern" AV stuff.  If you were, your speakers and TV would both have HDMI Arc ports.  Arc has been a thing since 2009.<p>> That's harder than it sounds though because you have to navigate the menu blind using short and long button presses with the one button.<p>Or you could unplug it and plug it back in.</p>
]]></description><pubDate>Mon, 15 Dec 2025 23:49:22 +0000</pubDate><link>https://news.ycombinator.com/item?id=46282698</link><dc:creator>justinsaccount</dc:creator><comments>https://news.ycombinator.com/item?id=46282698</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=46282698</guid></item><item><title><![CDATA[New comment by justinsaccount in "VPN location claims don't match real traffic exits"]]></title><description><![CDATA[
<p>Not that simple.<p>If they added latency to all packets then London would still have the lowest latency.</p>
]]></description><pubDate>Sat, 13 Dec 2025 22:46:24 +0000</pubDate><link>https://news.ycombinator.com/item?id=46258968</link><dc:creator>justinsaccount</dc:creator><comments>https://news.ycombinator.com/item?id=46258968</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=46258968</guid></item><item><title><![CDATA[New comment by justinsaccount in "Advent of Code 2025: The AI Edition – By Peter Norvig"]]></title><description><![CDATA[
<p>Odd that it came up with<p><pre><code>  pattern_start = 1 if half_digits == 1 else 10 ** (half_digits - 1)
</code></pre>
when<p><pre><code>  10 ** (half_digits - 1)
</code></pre>
is fine.</p>
]]></description><pubDate>Sat, 06 Dec 2025 17:20:13 +0000</pubDate><link>https://news.ycombinator.com/item?id=46174945</link><dc:creator>justinsaccount</dc:creator><comments>https://news.ycombinator.com/item?id=46174945</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=46174945</guid></item><item><title><![CDATA[New comment by justinsaccount in "Steam Machine"]]></title><description><![CDATA[
<p>You seem to be forgetting the framework desktop which is very similar in form factor to the new steam machine: <a href="https://frame.work/desktop" rel="nofollow">https://frame.work/desktop</a></p>
]]></description><pubDate>Wed, 12 Nov 2025 21:49:55 +0000</pubDate><link>https://news.ycombinator.com/item?id=45907257</link><dc:creator>justinsaccount</dc:creator><comments>https://news.ycombinator.com/item?id=45907257</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45907257</guid></item><item><title><![CDATA[New comment by justinsaccount in "Tailscale Peer Relays"]]></title><description><![CDATA[
<p>run `tailscale status` and ensure that your local machines are connected to each other `direct` and not using a relay.</p>
]]></description><pubDate>Wed, 29 Oct 2025 17:59:25 +0000</pubDate><link>https://news.ycombinator.com/item?id=45750645</link><dc:creator>justinsaccount</dc:creator><comments>https://news.ycombinator.com/item?id=45750645</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45750645</guid></item><item><title><![CDATA[New comment by justinsaccount in "CDC File Transfer"]]></title><description><![CDATA[
<p>The most common use for rsync is to run it over ssh where it starts the receiving side automatically. cdc is doing the exact same thing.<p>You were misinformed if you thought using rsync required setting up an rsync service.</p>
]]></description><pubDate>Wed, 01 Oct 2025 15:14:53 +0000</pubDate><link>https://news.ycombinator.com/item?id=45438691</link><dc:creator>justinsaccount</dc:creator><comments>https://news.ycombinator.com/item?id=45438691</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45438691</guid></item><item><title><![CDATA[New comment by justinsaccount in "In the Matter of Lisa Cook"]]></title><description><![CDATA[
<p>Are we firing everyone that is incompetent now, or just the ones that are claimed to be "DEI hires" ?</p>
]]></description><pubDate>Tue, 26 Aug 2025 13:13:08 +0000</pubDate><link>https://news.ycombinator.com/item?id=45026072</link><dc:creator>justinsaccount</dc:creator><comments>https://news.ycombinator.com/item?id=45026072</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45026072</guid></item><item><title><![CDATA[New comment by justinsaccount in "Static sites with Python, uv, Caddy, and Docker"]]></title><description><![CDATA[
<p>I don't really have an opinion on using caddy in a container to serve a static site. That's fine, really.. However, the way the container is built is done in the worst possible way:<p><pre><code>  # copy all files
  COPY . .

  # install Python with uv
  RUN uv python install 3.13

  # run build process
  RUN uv run --no-dev sus
</code></pre>
This adds the entire repository to the first layer, then installs python, then runs the build which I assume will only then install the dependencies.  This means that changing any file in the repository invalidates the first layer, triggering uv reinstalling python and all the dependencies again.  The correct Dockerfile would be something like<p><pre><code>  # install Python with uv
  RUN uv python install 3.13

  # copy info for dependencies
  COPY pyproject.toml uv.lock .

  # Install dependencies
  RUN uv whatever

  # Copy over everything else
  COPY . .

  # run build process
  RUN uv run --no-dev sus</code></pre></p>
]]></description><pubDate>Sat, 23 Aug 2025 21:16:09 +0000</pubDate><link>https://news.ycombinator.com/item?id=44999210</link><dc:creator>justinsaccount</dc:creator><comments>https://news.ycombinator.com/item?id=44999210</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44999210</guid></item><item><title><![CDATA[New comment by justinsaccount in "Hyprland – An independent, dynamic tiling Wayland compositor"]]></title><description><![CDATA[
<p>niri is neat, but it breaks my brain by working 90 degrees rotated from how I'd expect it to.  Apparently I'm not the only one: <a href="https://github.com/YaLTeR/niri/discussions/757" rel="nofollow">https://github.com/YaLTeR/niri/discussions/757</a></p>
]]></description><pubDate>Sun, 10 Aug 2025 14:22:09 +0000</pubDate><link>https://news.ycombinator.com/item?id=44855380</link><dc:creator>justinsaccount</dc:creator><comments>https://news.ycombinator.com/item?id=44855380</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44855380</guid></item><item><title><![CDATA[New comment by justinsaccount in "Monitor your security cameras with locally processed AI"]]></title><description><![CDATA[
<p>Have you ever heard of a NAS?<p>> What's the big deal that you need to call hard drives by an acronym that doesn't even mention that they're drives? No duh, of course the drives are on a network, and of course they store data.<p>See the problem?<p>Frigate is not "Cameras".  Not all cameras are networked. Not all cameras record.  Not all software that integrates with networked cameras is NVR software.</p>
]]></description><pubDate>Wed, 06 Aug 2025 13:33:04 +0000</pubDate><link>https://news.ycombinator.com/item?id=44811771</link><dc:creator>justinsaccount</dc:creator><comments>https://news.ycombinator.com/item?id=44811771</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44811771</guid></item><item><title><![CDATA[New comment by justinsaccount in "My bytecode optimizer beats Copilot by 2x"]]></title><description><![CDATA[
<p>I have an older breach data set that I loaded into clickhouse:<p><pre><code>  SELECT *
  FROM passwords
  WHERE (password LIKE '%password%') AND (password LIKE '%123456%')
  ORDER BY user ASC
  INTO OUTFILE '/tmp/res.txt'

  Query id: 9cafdd86-2258-47b2-9ba3-2c59069d7b85

  12209 rows in set. Elapsed: 2.401 sec. Processed 1.40 billion rows, 25.24 GB (583.02 million rows/s., 10.51 GB/s.)</code></pre>
Peak memory usage: 62.99 MiB.<p>And this is on a Xeon W-2265 from 2020.<p>If you don't want to use clickhouse you could try duckdb or datafusion (which is also rust).<p>In general, the way I'd make your program faster is to not read the data line by line... You probably want to do something like read much bigger chunks, ensure they are still on a line boundary, then search those larger chunks for your strings.  Or look into using mmap and search for your strings without even reading the files.</p>
]]></description><pubDate>Sun, 03 Aug 2025 20:40:59 +0000</pubDate><link>https://news.ycombinator.com/item?id=44779583</link><dc:creator>justinsaccount</dc:creator><comments>https://news.ycombinator.com/item?id=44779583</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44779583</guid></item></channel></rss>