<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: yccs27</title><link>https://news.ycombinator.com/user?id=yccs27</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Tue, 04 Aug 2026 00:32:40 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=yccs27" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by yccs27 in "Rust project goals: Immobile types and guaranteed destructors"]]></title><description><![CDATA[
<p>Yes, editions are a great mechanism. It still has its limits, especially if you want easy edition migrations. All existing Rust code assumes it can drop any type whenever it wants, and that is not something you can just change across editions. You have to be very careful with defaults if you don't want conflicts when crossing edition boundaries.</p>
]]></description><pubDate>Mon, 03 Aug 2026 11:40:53 +0000</pubDate><link>https://news.ycombinator.com/item?id=49154436</link><dc:creator>yccs27</dc:creator><comments>https://news.ycombinator.com/item?id=49154436</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49154436</guid></item><item><title><![CDATA[New comment by yccs27 in "Rust project goals: Immobile types and guaranteed destructors"]]></title><description><![CDATA[
<p>Yes, destructuring is typically the only allowed way to get rid of linear/indestructible values. If the type has private fields, this is only possible in the same module, so commit(txn) and rollback(txn) would have to be implemented in the same module as the Transaction type.</p>
]]></description><pubDate>Mon, 03 Aug 2026 11:28:24 +0000</pubDate><link>https://news.ycombinator.com/item?id=49154325</link><dc:creator>yccs27</dc:creator><comments>https://news.ycombinator.com/item?id=49154325</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49154325</guid></item><item><title><![CDATA[New comment by yccs27 in "Rust project goals: Immobile types and guaranteed destructors"]]></title><description><![CDATA[
<p>Ah, thanks, I didn't realize "pin ergonomics" was the Rust Project name for @withoutboats' pinned places.</p>
]]></description><pubDate>Mon, 03 Aug 2026 11:19:37 +0000</pubDate><link>https://news.ycombinator.com/item?id=49154263</link><dc:creator>yccs27</dc:creator><comments>https://news.ycombinator.com/item?id=49154263</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49154263</guid></item><item><title><![CDATA[New comment by yccs27 in "Rust project goals: Immobile types and guaranteed destructors"]]></title><description><![CDATA[
<p>There's a different proposal by @withoutboats to make immovability a property of the place/reference instead of the type:<p><a href="https://without.boats/blog/pinned-places/" rel="nofollow">https://without.boats/blog/pinned-places/</a><p>Does this project goal mean that the rust maintainers have decided to implement @yoshuawuyts' immovable types proposal in favor of pinned places?</p>
]]></description><pubDate>Mon, 03 Aug 2026 08:06:23 +0000</pubDate><link>https://news.ycombinator.com/item?id=49152650</link><dc:creator>yccs27</dc:creator><comments>https://news.ycombinator.com/item?id=49152650</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49152650</guid></item><item><title><![CDATA[New comment by yccs27 in "Show HN: Elevators"]]></title><description><![CDATA[
<p>You could also detect when the elevator call button gets pressed again right after the elevator has left a floor. That means someone wasn't able to get on the elevator (and is now waiting for the next one).</p>
]]></description><pubDate>Sat, 01 Aug 2026 15:06:35 +0000</pubDate><link>https://news.ycombinator.com/item?id=49135095</link><dc:creator>yccs27</dc:creator><comments>https://news.ycombinator.com/item?id=49135095</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49135095</guid></item><item><title><![CDATA[New comment by yccs27 in "How Many Elementary Particles Are There, Really?"]]></title><description><![CDATA[
<p>The gluon with color (|g1> + |g2> + |g8>) / √3 is just a superposition of the gluons with colors g1, g2 and g8, the same way you can make superpositions of any other particles. You are right that the choice of basis vectors is arbitrary, but that doesn't make it wrong to count the number of dimensions. It also doesn't make it fundamentally different than, say, polarizations of photons or even flavors of quarks. You can have superpositions of photon polarizations or quark flavors.<p>All of these are continuous properties in an n-dimensional vector space.</p>
]]></description><pubDate>Sat, 27 Jun 2026 16:32:59 +0000</pubDate><link>https://news.ycombinator.com/item?id=48699625</link><dc:creator>yccs27</dc:creator><comments>https://news.ycombinator.com/item?id=48699625</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48699625</guid></item><item><title><![CDATA[New comment by yccs27 in "Correlated randomness in Slay the Spire 2"]]></title><description><![CDATA[
<p>I guess it's mainly a limit to savescumming.</p>
]]></description><pubDate>Tue, 16 Jun 2026 12:12:02 +0000</pubDate><link>https://news.ycombinator.com/item?id=48553997</link><dc:creator>yccs27</dc:creator><comments>https://news.ycombinator.com/item?id=48553997</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48553997</guid></item><item><title><![CDATA[New comment by yccs27 in "Bias Compounds, Variance Washes Out"]]></title><description><![CDATA[
<p>Yeah, this is basically stochastic dithering applied to numeric floating point quantization instead of image color quantization.<p>This makes me wonder whether you could apply different dithering approaches to numeric computations. You cannot use diffusion or similar mehods, because you don't have information about neighboring pixels/computations. Using low-discrepancy sequences might work to reduce stochastic noise, but it could also reintroduce bias for some computations.</p>
]]></description><pubDate>Mon, 01 Jun 2026 08:15:52 +0000</pubDate><link>https://news.ycombinator.com/item?id=48353969</link><dc:creator>yccs27</dc:creator><comments>https://news.ycombinator.com/item?id=48353969</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48353969</guid></item><item><title><![CDATA[New comment by yccs27 in "What it takes to transpose a matrix"]]></title><description><![CDATA[
<p>It's the same topology! Just replace each shuffle/blend with multiplication by a root of unity and addition, and you get FFT!</p>
]]></description><pubDate>Tue, 26 May 2026 12:20:44 +0000</pubDate><link>https://news.ycombinator.com/item?id=48278753</link><dc:creator>yccs27</dc:creator><comments>https://news.ycombinator.com/item?id=48278753</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48278753</guid></item><item><title><![CDATA[New comment by yccs27 in "What it takes to transpose a matrix"]]></title><description><![CDATA[
<p>A good example for this is A + A^T; you can fuse the two operations but you cannot get around the access pattern of matrix transposition.</p>
]]></description><pubDate>Tue, 26 May 2026 11:05:59 +0000</pubDate><link>https://news.ycombinator.com/item?id=48278049</link><dc:creator>yccs27</dc:creator><comments>https://news.ycombinator.com/item?id=48278049</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48278049</guid></item><item><title><![CDATA[New comment by yccs27 in "Minnesota becomes first state to ban prediction markets"]]></title><description><![CDATA[
<p>Making laws more explicit in important cases is valuable because it reduces uncertainty about legal interpretation. Using your example of cellphone use, under distracted driving laws the prosecution would have to prove that the specific case of cellphone use was distracting enough to be a safety hazard. With the more specific ban on cellphones, that is no longer an obstacle.</p>
]]></description><pubDate>Wed, 20 May 2026 13:18:43 +0000</pubDate><link>https://news.ycombinator.com/item?id=48207238</link><dc:creator>yccs27</dc:creator><comments>https://news.ycombinator.com/item?id=48207238</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48207238</guid></item><item><title><![CDATA[New comment by yccs27 in "Show HN: Hsrs – Type-Safe Haskell Bindings Generator for Rust"]]></title><description><![CDATA[
<p>Thank you for the detailed answers!<p>I think purity is something the programmer just has to annotate themselves. Any boundary between languages with different type system guarantees will always have this kind of friction - Rust to C/C++ FFI also has to deal with ownership, lifetimes and aliasing manually.<p>Regarding type classes, monomorphisation indeed seems like a difficult obstacle for polymorphic function. But just translating type classes and impls might not be as difficult? So going from:<p><pre><code>    trait Foo {
      fn foo(&self);
    }
    
    impl Foo for Bar {
      fn foo(&self) {...}
    }
</code></pre>
to<p><pre><code>    class Foo a where
      foo :: a -> IO ()
    
    instance Foo Bar where
      foo :: Bar -> IO ()
      foo self = ...</code></pre></p>
]]></description><pubDate>Wed, 20 May 2026 09:17:44 +0000</pubDate><link>https://news.ycombinator.com/item?id=48205087</link><dc:creator>yccs27</dc:creator><comments>https://news.ycombinator.com/item?id=48205087</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48205087</guid></item><item><title><![CDATA[New comment by yccs27 in "Show HN: Hsrs – Type-Safe Haskell Bindings Generator for Rust"]]></title><description><![CDATA[
<p>It's great that this allows passing Rust structs both as ForeignPtr and as native records with marshalling!<p>Some questions/ideas:<p>- Is there a way to generate #[hsrs::data_type] bindings for Rust library types, or do you need to create custom wrapper types for them?<p>- It seems like all #[hsrs::function]s are translated to return IO (since Rust functions can do arbitrary side effects). It would be great if you could (unsafely) mark functions as pure, to get pure Haskell functions without having to wrap them in unsafePerformIO.<p>- Both Haskell and Rust have HM type systems, so I wonder if you could also translate type classes from Rust to Haskell.</p>
]]></description><pubDate>Tue, 19 May 2026 11:31:18 +0000</pubDate><link>https://news.ycombinator.com/item?id=48191967</link><dc:creator>yccs27</dc:creator><comments>https://news.ycombinator.com/item?id=48191967</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48191967</guid></item><item><title><![CDATA[New comment by yccs27 in "Monad Tutorials Timeline"]]></title><description><![CDATA[
<p>Monads got their name from monoids (being a monoid in the category of endofunctors). Monoids are equivalent to one-object categories, so the name uses the greek syllable "mono" for one.</p>
]]></description><pubDate>Thu, 30 Apr 2026 10:06:51 +0000</pubDate><link>https://news.ycombinator.com/item?id=47960342</link><dc:creator>yccs27</dc:creator><comments>https://news.ycombinator.com/item?id=47960342</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47960342</guid></item><item><title><![CDATA[New comment by yccs27 in "Illegal vs. Unwanted States"]]></title><description><![CDATA[
<p>I've noticed this with UI interfaces before: For example, an IBAN field which actively blocks you from entering more than the expected number of characters. Seems like a good idea - except whoever sent me their account number helpfully included spaces to separate blocks of numbers, so when I copy-paste it the last few digits get cut off. Now I not only have to delete the spaces, but also copy the missing digits again! Just make the field red and block me from submitting until I fix my input!</p>
]]></description><pubDate>Tue, 28 Apr 2026 19:50:46 +0000</pubDate><link>https://news.ycombinator.com/item?id=47939669</link><dc:creator>yccs27</dc:creator><comments>https://news.ycombinator.com/item?id=47939669</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47939669</guid></item><item><title><![CDATA[New comment by yccs27 in "[dead]"]]></title><description><![CDATA[
<p>Does "Pharma" actually dose medication based on the Eyring equation? I'm not convinced we actually know the value of ΔG. AFAIK, the optimal biological dose is determined via dose-ranging studies during Phase I/II of clinical trials. And drug metabolism rate is measured, not derived from theoretical models.</p>
]]></description><pubDate>Mon, 30 Mar 2026 14:43:30 +0000</pubDate><link>https://news.ycombinator.com/item?id=47575016</link><dc:creator>yccs27</dc:creator><comments>https://news.ycombinator.com/item?id=47575016</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47575016</guid></item><item><title><![CDATA[New comment by yccs27 in "Waymo Safety Impact"]]></title><description><![CDATA[
<p>Road capacity does not increase with speed above 50 km/h on urban roads or 70 km/h on highways. Following distance scales with speed, so more speed can actually mean fewer cars per unit of time.<p>In theory, braking distance scales quadratically with speed. In practice, people leave less room on highways, because they rely on others driving predictably, but spacing still increases faster than linear.</p>
]]></description><pubDate>Fri, 20 Mar 2026 07:20:50 +0000</pubDate><link>https://news.ycombinator.com/item?id=47451516</link><dc:creator>yccs27</dc:creator><comments>https://news.ycombinator.com/item?id=47451516</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47451516</guid></item><item><title><![CDATA[New comment by yccs27 in "Hisense TVs add unskippable startup ads before live TV"]]></title><description><![CDATA[
<p>I'm not so sure this is really a free market equilibrium. There are two effects which explain the prevalence of ads even if consumers are willing to pay more for ad-free products:<p>- Imperfect information, aka Market for Lemons: It can be hard to find out how prevalent ads will be when buying a product. Consumers often make a purchasing decision without knowledge about ads.<p>- Changing terms after lock-in, aka Enshittification: Manufacturers (like Hisense here) can add advertising to products after consumers have already bought them. Initially, consumers have negotiation power since they can freely choose a product, but later they are locked in and cannot easily react to the manufacturer changing the product to their detriment.</p>
]]></description><pubDate>Tue, 10 Mar 2026 14:19:23 +0000</pubDate><link>https://news.ycombinator.com/item?id=47323647</link><dc:creator>yccs27</dc:creator><comments>https://news.ycombinator.com/item?id=47323647</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47323647</guid></item><item><title><![CDATA[New comment by yccs27 in "The “JVG algorithm” only wins on tiny numbers"]]></title><description><![CDATA[
<p>The last line of the introduction<p>> By doing so, we aim to provide a novel paradigm [...]<p>also made me think of item 19 on your list:<p>> 10 points for claiming that your work is on the cutting edge of a "paradigm shift".<p>I'm sad though that you didn't call it the "Baez crackpot index"...</p>
]]></description><pubDate>Tue, 10 Mar 2026 10:25:57 +0000</pubDate><link>https://news.ycombinator.com/item?id=47321350</link><dc:creator>yccs27</dc:creator><comments>https://news.ycombinator.com/item?id=47321350</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47321350</guid></item><item><title><![CDATA[New comment by yccs27 in "Voith Schneider Propeller"]]></title><description><![CDATA[
<p>This reads a lot like an advertisement.
The linked page [[Cyclorotor]] is more neutral and has more information on the design and applications outside of marine vessels:<p><a href="https://en.wikipedia.org/wiki/Cyclorotor" rel="nofollow">https://en.wikipedia.org/wiki/Cyclorotor</a></p>
]]></description><pubDate>Thu, 19 Feb 2026 11:42:39 +0000</pubDate><link>https://news.ycombinator.com/item?id=47072781</link><dc:creator>yccs27</dc:creator><comments>https://news.ycombinator.com/item?id=47072781</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47072781</guid></item></channel></rss>