<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: bencyoung</title><link>https://news.ycombinator.com/user?id=bencyoung</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Sat, 20 Jun 2026 19:51:40 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=bencyoung" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by bencyoung in "Rust Memory Management: Ownership vs. Reference Counting"]]></title><description><![CDATA[
<p>Unless your memory allocator runs a form of garbage collection, which most of the advanced ones do! Worst memory performance issue I've ever seen was in a C++ program where the deallocation of a large object graph from one spot completely trashed the performance of the application across many threads...</p>
]]></description><pubDate>Mon, 27 Apr 2026 14:30:45 +0000</pubDate><link>https://news.ycombinator.com/item?id=47922155</link><dc:creator>bencyoung</dc:creator><comments>https://news.ycombinator.com/item?id=47922155</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47922155</guid></item><item><title><![CDATA[New comment by bencyoung in "Things I've Done with AI"]]></title><description><![CDATA[
<p>Sounds like the Chronophage clock in Cambridge: <a href="https://en.wikipedia.org/wiki/Corpus_Clock" rel="nofollow">https://en.wikipedia.org/wiki/Corpus_Clock</a>. It it's purely mechanical but has odd pauses in the ticks etc</p>
]]></description><pubDate>Tue, 10 Mar 2026 09:44:50 +0000</pubDate><link>https://news.ycombinator.com/item?id=47321039</link><dc:creator>bencyoung</dc:creator><comments>https://news.ycombinator.com/item?id=47321039</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47321039</guid></item><item><title><![CDATA[New comment by bencyoung in "Permission Systems for Enterprise That Scale"]]></title><description><![CDATA[
<p>Sorry for the delay! It's fairly simple.
1. You have a column on your objects you want secured as an LTREE[] 2. You add a GIST index on that column<p>The values should be the different hierarchy paths to access the object starting with a "type" e.g departments.root.deptA<p>When you run a query, depending on how you want to access you use a <@ query. E.g. I'm a user with root access to all depts "col <@ 'departments.root'::ltree" or I'm a user in dept A "col <@ 'departments.root.deptA'::ltree" etc</p>
]]></description><pubDate>Tue, 06 Jan 2026 10:09:35 +0000</pubDate><link>https://news.ycombinator.com/item?id=46510600</link><dc:creator>bencyoung</dc:creator><comments>https://news.ycombinator.com/item?id=46510600</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=46510600</guid></item><item><title><![CDATA[New comment by bencyoung in "Permission Systems for Enterprise That Scale"]]></title><description><![CDATA[
<p>Sorry for the delay! It's fairly simple.<p>1. You have a column on your objects you want secured as an LTREE[]
2. You add a GIST index on that column<p>The values should be the different hierarchy paths to access the object starting with a "type" e.g departments.root.deptA<p>When you run a query, depending on how you want to access you use a <@ query. E.g. I'm a user with root access to all depts "col <@ 'departments.root'::ltree" or I'm a user in dept A "col <@ 'departments.root.deptA'::ltree" etc</p>
]]></description><pubDate>Tue, 06 Jan 2026 10:03:24 +0000</pubDate><link>https://news.ycombinator.com/item?id=46510573</link><dc:creator>bencyoung</dc:creator><comments>https://news.ycombinator.com/item?id=46510573</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=46510573</guid></item><item><title><![CDATA[New comment by bencyoung in "Permission Systems for Enterprise That Scale"]]></title><description><![CDATA[
<p>If you're using Postgres then using the ltree module is great for permission systems. Available in RDS too</p>
]]></description><pubDate>Wed, 24 Dec 2025 11:14:10 +0000</pubDate><link>https://news.ycombinator.com/item?id=46374566</link><dc:creator>bencyoung</dc:creator><comments>https://news.ycombinator.com/item?id=46374566</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=46374566</guid></item><item><title><![CDATA[New comment by bencyoung in "The state of SIMD in Rust in 2025"]]></title><description><![CDATA[
<p>Not majorly odd, just an area I thought Rust would be hot on when it comes to performance...</p>
]]></description><pubDate>Thu, 06 Nov 2025 10:00:00 +0000</pubDate><link>https://news.ycombinator.com/item?id=45833416</link><dc:creator>bencyoung</dc:creator><comments>https://news.ycombinator.com/item?id=45833416</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45833416</guid></item><item><title><![CDATA[New comment by bencyoung in "The state of SIMD in Rust in 2025"]]></title><description><![CDATA[
<p>Having worked in HPC a fair bit I'm not a fan of autovectorization. I prefer the compiled code's performance to be "unsuprising" based on the source and to use vectors etc where I know it's needed. I think in general it's better to have linting that points out performance issues (e.g. lift this outside the loop) rather than have compilers do it automatically and make things less predictable</p>
]]></description><pubDate>Thu, 06 Nov 2025 09:59:13 +0000</pubDate><link>https://news.ycombinator.com/item?id=45833410</link><dc:creator>bencyoung</dc:creator><comments>https://news.ycombinator.com/item?id=45833410</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45833410</guid></item><item><title><![CDATA[New comment by bencyoung in "The state of SIMD in Rust in 2025"]]></title><description><![CDATA[
<p>Odd that c# has a better stable SIMD story than Rust! It has both generic vector types across a range of sizes and a good set of intrinsics across most of the common instruction sets</p>
]]></description><pubDate>Wed, 05 Nov 2025 19:46:45 +0000</pubDate><link>https://news.ycombinator.com/item?id=45827014</link><dc:creator>bencyoung</dc:creator><comments>https://news.ycombinator.com/item?id=45827014</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45827014</guid></item><item><title><![CDATA[New comment by bencyoung in "Kafka is Fast – I'll use Postgres"]]></title><description><![CDATA[
<p>Cheapest MSK cluster is $100 a month and can easily run a dev/uat cluster with thousands of messages a second. They go up from there but we've made a lot of use of these and they are pretty useful</p>
]]></description><pubDate>Wed, 29 Oct 2025 15:54:20 +0000</pubDate><link>https://news.ycombinator.com/item?id=45748566</link><dc:creator>bencyoung</dc:creator><comments>https://news.ycombinator.com/item?id=45748566</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45748566</guid></item><item><title><![CDATA[New comment by bencyoung in "Kafka is Fast – I'll use Postgres"]]></title><description><![CDATA[
<p>Kafka is great tech, never sure why people have an issue with it. Would I use it all the time? No, but where it's useful, it's really useful, and opens up whole patterns that are hard to implement other ways</p>
]]></description><pubDate>Wed, 29 Oct 2025 15:20:30 +0000</pubDate><link>https://news.ycombinator.com/item?id=45747999</link><dc:creator>bencyoung</dc:creator><comments>https://news.ycombinator.com/item?id=45747999</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45747999</guid></item><item><title><![CDATA[New comment by bencyoung in "JIT: So you want to be faster than an interpreter on modern CPUs"]]></title><description><![CDATA[
<p>JIT compilation can be faster for compiled languages too, as it allows data driven inlining and devirtualization, as well as "effective constant" propogation and runtime architecture feature detection</p>
]]></description><pubDate>Tue, 14 Oct 2025 08:26:38 +0000</pubDate><link>https://news.ycombinator.com/item?id=45577562</link><dc:creator>bencyoung</dc:creator><comments>https://news.ycombinator.com/item?id=45577562</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45577562</guid></item><item><title><![CDATA[New comment by bencyoung in "Writing Memory Safe JIT Compilers"]]></title><description><![CDATA[
<p>I think this is exactly the same approach PyPy used 15 or so years ago! Partially evaluate the language runtime</p>
]]></description><pubDate>Fri, 26 Sep 2025 13:28:03 +0000</pubDate><link>https://news.ycombinator.com/item?id=45386281</link><dc:creator>bencyoung</dc:creator><comments>https://news.ycombinator.com/item?id=45386281</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45386281</guid></item><item><title><![CDATA[New comment by bencyoung in "Perhaps my last post – we'll see (2016)"]]></title><description><![CDATA[
<p>I almost did a PhD with David but ended up working at Transversal instead, which was a company he co-founded to do some interesting work in the search engine space! It's what got me into software development as a career so I'm always grateful to him</p>
]]></description><pubDate>Thu, 25 Sep 2025 12:25:54 +0000</pubDate><link>https://news.ycombinator.com/item?id=45371976</link><dc:creator>bencyoung</dc:creator><comments>https://news.ycombinator.com/item?id=45371976</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45371976</guid></item><item><title><![CDATA[New comment by bencyoung in "The underground cathedral protecting Tokyo from floods (2018)"]]></title><description><![CDATA[
<p>The Fens in East Anglia in the UK has a lot of interesting pumping tech. The latest can do 100m3/s (<a href="https://www.edie.net/st-germans-pumping-station-keeps-fens-flood-free/" rel="nofollow">https://www.edie.net/st-germans-pumping-station-keeps-fens-f...</a>). If all the pumps failed there would be hundreds of km2 underwater within days or weeks</p>
]]></description><pubDate>Mon, 14 Jul 2025 10:16:13 +0000</pubDate><link>https://news.ycombinator.com/item?id=44558304</link><dc:creator>bencyoung</dc:creator><comments>https://news.ycombinator.com/item?id=44558304</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44558304</guid></item><item><title><![CDATA[New comment by bencyoung in "Destination: Jupiter"]]></title><description><![CDATA[
<p>I think it's more that western cultural cliches become invisible to western audiences rather than moving on. E.g. the "superhero" is definitely a western cliche. "A lone operative defies the rules to do the right thing because might is right if you're right. Individual exceptionalism triumphing etc". Somewhat shallowly examined in some films but still turns up all over the place.</p>
]]></description><pubDate>Wed, 04 Jun 2025 11:32:27 +0000</pubDate><link>https://news.ycombinator.com/item?id=44179548</link><dc:creator>bencyoung</dc:creator><comments>https://news.ycombinator.com/item?id=44179548</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44179548</guid></item><item><title><![CDATA[New comment by bencyoung in "Run a C# file directly using dotnet run app.cs"]]></title><description><![CDATA[
<p>Dotnet is getting a fully interpreted mode in 10 or 11 so I wonder if they'll switch to that for things like this<p><a href="https://github.com/dotnet/runtime/issues/112748">https://github.com/dotnet/runtime/issues/112748</a></p>
]]></description><pubDate>Thu, 29 May 2025 11:06:06 +0000</pubDate><link>https://news.ycombinator.com/item?id=44124822</link><dc:creator>bencyoung</dc:creator><comments>https://news.ycombinator.com/item?id=44124822</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44124822</guid></item><item><title><![CDATA[New comment by bencyoung in "Building my own solar power system"]]></title><description><![CDATA[
<p>We have <a href="https://www.myenergi.com/" rel="nofollow">https://www.myenergi.com/</a> for our car charger and it seems to be able to integrate batteries, charging and panels like you suggest, only you have to go all in. We have parts of it and are tempted to use more, but the lock-in angle is a bit off-putting</p>
]]></description><pubDate>Wed, 21 May 2025 12:21:13 +0000</pubDate><link>https://news.ycombinator.com/item?id=44050691</link><dc:creator>bencyoung</dc:creator><comments>https://news.ycombinator.com/item?id=44050691</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44050691</guid></item><item><title><![CDATA[New comment by bencyoung in "Dead Stars Don’t Radiate"]]></title><description><![CDATA[
<p>Ok I drilled down a bit and looks like you are right, although I'm still not sure I've built up a clear understanding! (<a href="https://physics.stackexchange.com/questions/187917/thought-experiment-would-you-notice-if-you-fell-into-a-black-hole/271110#271110" rel="nofollow">https://physics.stackexchange.com/questions/187917/thought-e...</a>). In fact that question (series of onions) is exactly how I visualised it...<p>I'm not quite sure from that discussion why an event horizon is equivalent to a body moving outwards at the speed of light but it does make some sense. GR is always fun!<p>I still don't have a good idea of the "slow moving crossing the event horizon" case" but I'll read around it some more<p>Maybe the difference is between "free fall through an event horizon" vs "hover" (as much as is possible) at an event horizon</p>
]]></description><pubDate>Tue, 20 May 2025 13:01:42 +0000</pubDate><link>https://news.ycombinator.com/item?id=44041096</link><dc:creator>bencyoung</dc:creator><comments>https://news.ycombinator.com/item?id=44041096</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44041096</guid></item><item><title><![CDATA[New comment by bencyoung in "GitHub Copilot Coding Agent"]]></title><description><![CDATA[
<p>Seems amazing similar to the changes a junior would make (jump to the solution that "fixes" it in the most shallow way) at the moment</p>
]]></description><pubDate>Tue, 20 May 2025 12:14:03 +0000</pubDate><link>https://news.ycombinator.com/item?id=44040668</link><dc:creator>bencyoung</dc:creator><comments>https://news.ycombinator.com/item?id=44040668</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44040668</guid></item><item><title><![CDATA[New comment by bencyoung in "Dead Stars Don’t Radiate"]]></title><description><![CDATA[
<p>Thanks! Hmm, I think we're talking about slightly different things but it's been too long since I studied it to put it in the right words :)<p>I completely agree that spacetime can be "flatish" for a large block hole, but the event horizon does still represent a boundary right?<p>Consider the edge case of crossing the event horizon itself at some speed <<c (because you've got magic thrusters fighting the pull). At some point your feet will be through the event horizon and your head won't be. Do you agree that at that point you won't be able to see your feet?<p>I agree that your head will pass through the future light cone of your feet, and so could do somethign to affect your head (by emitting something falling slower than your head), but I'm not sure any light rays could follow that path.</p>
]]></description><pubDate>Tue, 20 May 2025 12:10:20 +0000</pubDate><link>https://news.ycombinator.com/item?id=44040632</link><dc:creator>bencyoung</dc:creator><comments>https://news.ycombinator.com/item?id=44040632</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44040632</guid></item></channel></rss>