<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: tialaramex</title><link>https://news.ycombinator.com/user?id=tialaramex</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Sun, 12 Apr 2026 19:48:52 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=tialaramex" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by tialaramex in "Seven countries now generate 100% of their electricity from renewable energy"]]></title><description><![CDATA[
<p>Although "Getting rid of cheaper electricity generation would make the electricity cheaper" is genuinely an actual right wing talking point in the UK it doesn't make any sense. The reason it's a talking point is that they're funded by billionaires who'd reap the rewards from new fossil fuel licensing. They know they can't deliver, but what they learned from Brexit is that their supporters aren't too smart and simple messages, even if nonsensical, resonate well with those voters. "Drill baby drill" is simple. Wrong, but simple.<p>Right now in a dark and not very windy UK w/ 10GW of gas burners running the spot price for electricity here is almost £150 per MWh, but at 10am it was sunny with a brisk wind and sure enough that spot price was about £25 per MWh. Gee, I wonder whether the wind and sun are cheaper...</p>
]]></description><pubDate>Sun, 12 Apr 2026 19:28:02 +0000</pubDate><link>https://news.ycombinator.com/item?id=47743435</link><dc:creator>tialaramex</dc:creator><comments>https://news.ycombinator.com/item?id=47743435</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47743435</guid></item><item><title><![CDATA[New comment by tialaramex in "Seven countries now generate 100% of their electricity from renewable energy"]]></title><description><![CDATA[
<p>In <i>theory</i> gas boilers for heating are above 90% efficient. Not 100% because to achieve 100% what you'd have to do is keep the exhaust gases (which are hot) inside, where the people are, and unfortunately the exhaust gases are poisonous so that's a terrible idea.<p>To hit 90% the boiler needs to be designed to condense water vapour out of the exhaust gases, this way we'll get back the energy needed to turn water into a vapour which is a large portion of the energy embodied by the exhaust gas. And to do <i>that</i> the vapour needs to pass a low temperature fluid, so we use the input fluid we were about to heat with the boiler anyway, we want this fluid to be cooler than about 55°C but that means if we're using the boiler to heat a home with radiators, rather than to make fresh hot water for cleaning etc. we need our <i>return</i> temperature from the radiators to be less than 55°C which means we need our <i>flow</i> temperature to be lower (than the typical 70-80°C programmed by builders, not lower than 55°©) or else the radiators can't possibly radiate enough heat to hit that number, which means we're actually doing much of the same heating efficiency work we'd have to do to use heat pumps anyway...</p>
]]></description><pubDate>Sun, 12 Apr 2026 18:32:21 +0000</pubDate><link>https://news.ycombinator.com/item?id=47742812</link><dc:creator>tialaramex</dc:creator><comments>https://news.ycombinator.com/item?id=47742812</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47742812</guid></item><item><title><![CDATA[New comment by tialaramex in "Seven countries now generate 100% of their electricity from renewable energy"]]></title><description><![CDATA[
<p>I can see this makes sense especially for medium term storage. A lot full of batteries is great for the next ten seconds, next ten minutes, even to some extent the next ten hours, but it surely doesn't make much sense to store ten <i>days</i> of electricity that way compared to just keeping the water behind a dam. We know that many of the world's large dams are capturing snow melt or other seasonal flows, running them only when solar or wind can't provide the power you need lets you make more effective use of the same resource.</p>
]]></description><pubDate>Sun, 12 Apr 2026 18:14:35 +0000</pubDate><link>https://news.ycombinator.com/item?id=47742627</link><dc:creator>tialaramex</dc:creator><comments>https://news.ycombinator.com/item?id=47742627</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47742627</guid></item><item><title><![CDATA[New comment by tialaramex in "Software Preservation Group: C++ History Collection"]]></title><description><![CDATA[
<p>> Is C++ the most heavily documented programming language?<p>I doubt it. C++ does have a huge amount of stuff written by Bjarne - its author - because it appears C++ is the only thing he ever did† and he sure does like writing so that's what all his writing is about. He's written several books about C++, various HOPL papers about C++, as well as numerous proposal papers, speeches, standards documents, letters, all about C++<p>C++ is also enormous and undisciplined, so while there are a lot of C++ documents there's a lot more <i>of</i> C++ to be documented than most languages and I suspect that out-weighs the volume of documents.<p>† His PhD thesis is, at least for now, only available for personal inspection and I don't care enough to travel to the holding library and read it, but it seems plausible given the topic and timing that the work for that PhD thesis is also just C++ again, or rather a distant ancestor of C++</p>
]]></description><pubDate>Sun, 12 Apr 2026 11:35:14 +0000</pubDate><link>https://news.ycombinator.com/item?id=47738490</link><dc:creator>tialaramex</dc:creator><comments>https://news.ycombinator.com/item?id=47738490</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47738490</guid></item><item><title><![CDATA[New comment by tialaramex in "Helium is hard to replace"]]></title><description><![CDATA[
<p>"Two thousand years ago there was this dude saying 'Be excellent to one another'" is certainly less dangerous, but to be fair the same dude described in the Bible does likewise say:<p>"I have not come to bring peace, but a sword."<p>Which like, you don't need to twist that very hard to get to a place where you're going around "bringing the sword" to people who you think need it...<p>The Old Testament is big on genocide though, "We should definitely murder these children" has a lot more justification at the start of the book, or if you're batshit and think that stuff about Revelation, right at the end is a concrete prediction of future events then maybe that too.</p>
]]></description><pubDate>Sat, 11 Apr 2026 21:04:35 +0000</pubDate><link>https://news.ycombinator.com/item?id=47734006</link><dc:creator>tialaramex</dc:creator><comments>https://news.ycombinator.com/item?id=47734006</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47734006</guid></item><item><title><![CDATA[New comment by tialaramex in "Optimal Strategy for Connect 4"]]></title><description><![CDATA[
<p>Tic-Tac-Toe is the existing game the machine realises can't be won, and then Global Thermonuclear War is the next game it simulates and discovers also cannot be won according to the metrics it is using.<p>Connect 4 is a win for the first player</p>
]]></description><pubDate>Sat, 11 Apr 2026 20:37:50 +0000</pubDate><link>https://news.ycombinator.com/item?id=47733812</link><dc:creator>tialaramex</dc:creator><comments>https://news.ycombinator.com/item?id=47733812</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47733812</guid></item><item><title><![CDATA[New comment by tialaramex in "Helium is hard to replace"]]></title><description><![CDATA[
<p>As I understand it the key Republican discovery was that their voters prioritize making people they don't like suffer over their own comfort.<p>That probably doesn't seem rational but remember loads of these people think the Bible is a true story.</p>
]]></description><pubDate>Fri, 10 Apr 2026 23:30:43 +0000</pubDate><link>https://news.ycombinator.com/item?id=47725194</link><dc:creator>tialaramex</dc:creator><comments>https://news.ycombinator.com/item?id=47725194</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47725194</guid></item><item><title><![CDATA[New comment by tialaramex in "Identify a London Underground Line just by listening to it"]]></title><description><![CDATA[
<p>That's a good point especially about Victoria, by the time a 2009 stock train is at its replacement age the "new tube for London" design is probably going to look pretty archaic and budgets are always too tight to make a replacement early. Who knows, by then TfL might actually have a "driverless train" plan for these lines which makes sense.</p>
]]></description><pubDate>Fri, 10 Apr 2026 22:23:17 +0000</pubDate><link>https://news.ycombinator.com/item?id=47724413</link><dc:creator>tialaramex</dc:creator><comments>https://news.ycombinator.com/item?id=47724413</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47724413</guid></item><item><title><![CDATA[New comment by tialaramex in "Peers vote to ban pornography depicting sex acts between stepfamily members"]]></title><description><![CDATA[
<p>There are several edge cases like this in the UK.<p>It's obviously not legal for say, me, a middle aged man, to possess a photograph of some 17 year old girl with her tits out. Right? Except well... wait no, because what if I have a photo of my middle aged wife shortly after we first met, so the <i>photo</i> shows a 17 year old girl with her tits out, but the <i>person</i> is my wife, who is like "Yeah, remember when I had long hair? Also, I wish my tits still looked like that". So clearly that is OK after all, it's legal.<p>And then we have a huge row, she divorces me, <i>now</i> that photo is illegal after all, because I'm definitely not allowed to have photos of under-age girls with their tits out, and now the photo isn't of my wife... not any more.<p>Knife laws similarly have weird edge cases. 12" long sharp blade? Crime. In a Kebab shop to make delicious kebabs? Legal. I took it with me to the pub after work? Crime; Walking down the street with an ordinary Swiss Army Knife (oversize)? Crime. Tiny version of that knife? Legal. Sword, like an actual medieval sword? Crime. But I need it for this mock battle we're staging? Still a crime. No swords. Use a fake sword which can't hurt anybody or go to jail.<p>Edited: The "original" Swiss Army Knife is barely short enough that it's always legal, but some oversize variants are not. Like that Kebab knife you can have a lawful reason you needed to carry the knife regardless of size but I hope your reason make sense ("Self defence" is never a lawful reason to carry weapons in the UK)</p>
]]></description><pubDate>Fri, 10 Apr 2026 19:29:34 +0000</pubDate><link>https://news.ycombinator.com/item?id=47722592</link><dc:creator>tialaramex</dc:creator><comments>https://news.ycombinator.com/item?id=47722592</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47722592</guid></item><item><title><![CDATA[New comment by tialaramex in "C++: Freestanding Standard Library"]]></title><description><![CDATA[
<p>Are you making this claim specifically about this one particular post, or about everything on the blog, which dates back about a decade ?<p>Like "These Artemis 2 photos were generated by AI" is wrong but "The broadcast footage of the Apollo missions was generated by AI" is incredibly stupid and I want to understand if I'm about to engage with an incredibly stupid opinion.</p>
]]></description><pubDate>Fri, 10 Apr 2026 17:06:50 +0000</pubDate><link>https://news.ycombinator.com/item?id=47720994</link><dc:creator>tialaramex</dc:creator><comments>https://news.ycombinator.com/item?id=47720994</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47720994</guid></item><item><title><![CDATA[New comment by tialaramex in "Claude mixes up who said what"]]></title><description><![CDATA[
<p>That's the one, looks like I had some details muddled (it's a book club not a library, and so the fee is for the book which was in fact returned but perhaps lost in the post) but the outline and relevance here exactly correct. Thanks!</p>
]]></description><pubDate>Fri, 10 Apr 2026 16:41:53 +0000</pubDate><link>https://news.ycombinator.com/item?id=47720668</link><dc:creator>tialaramex</dc:creator><comments>https://news.ycombinator.com/item?id=47720668</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47720668</guid></item><item><title><![CDATA[New comment by tialaramex in "WireGuard makes new Windows release following Microsoft signing resolution"]]></title><description><![CDATA[
<p>Where possible I recommend not caring because figuring out whether malice was present is difficult and you can likely address a problem without needing to be sure.<p>For example by creating working processes which never end up "accidentally" causing awful outcomes. This is sometimes more expensive, but we should ensure that the resulting lack of goodwill if you don't is unaffordable.<p>Worst case there <i>is</i> malice and you've now made it more difficult to hide the malice so you've at least made things easier for those who remain committed to looking for malice, including criminal prosecutors.</p>
]]></description><pubDate>Fri, 10 Apr 2026 16:32:23 +0000</pubDate><link>https://news.ycombinator.com/item?id=47720555</link><dc:creator>tialaramex</dc:creator><comments>https://news.ycombinator.com/item?id=47720555</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47720555</guid></item><item><title><![CDATA[New comment by tialaramex in "Ads in ChatGPT"]]></title><description><![CDATA[
<p>Indeed the Black Mirror episode "Common People" is about exactly this nonsense. After a nasty near-fatal accident Mike and Amanda start out paying a substantial monthly fee for a technology which allows Amanda to remain alive, then advertisements (puppeting Amanda!) are introduced despite the fee, the adverts are awful and seem certain to cause Amanda to lose her job - so Mike does humiliating things so he can scrape together enough for a higher tier "Plus" subscription without ads. It doesn't end well for anybody in the story. I mean, except probably some C-suite executive who gets a bonus for the enhanced revenue...</p>
]]></description><pubDate>Fri, 10 Apr 2026 15:17:47 +0000</pubDate><link>https://news.ycombinator.com/item?id=47719442</link><dc:creator>tialaramex</dc:creator><comments>https://news.ycombinator.com/item?id=47719442</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47719442</guid></item><item><title><![CDATA[New comment by tialaramex in "FBI used iPhone notification data to retrieve deleted Signal messages"]]></title><description><![CDATA[
<p>However, if this is important to you then you want Signal to stop telling Android to make the notifications. If it doesn't exist nobody will accidentally make it available.<p>Deleting that history is good to know about after the fact, but preferably lets just not create the problem.</p>
]]></description><pubDate>Fri, 10 Apr 2026 13:21:31 +0000</pubDate><link>https://news.ycombinator.com/item?id=47717755</link><dc:creator>tialaramex</dc:creator><comments>https://news.ycombinator.com/item?id=47717755</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47717755</guid></item><item><title><![CDATA[New comment by tialaramex in "Claude mixes up who said what"]]></title><description><![CDATA[
<p>> we want there to be a threshold, because we don't want people (or AI) to ignore obvious emergencies<p>There's an SF short I can't find right now which begins with somebody failing to return their copy of "Kidnapped" by Robert Louis Stevenson, this gets handed over to some authority which could presumably fine you for overdue books and somehow a machine ends up concluding they've kidnapped someone named "Robert Louis Stevenson" who, it discovers, is in fact dead, therefore it's no longer kidnap it's a murder, and that's a capital offence.<p>The library member is executed before humans get around to solving the problem, and ironically that's probably the most unrealistic part of the story because the US is famously awful at speedy anything when it comes to justice, ten years rotting in solitary confinement for a non-existent crime is very believable today whereas "Executed in a month" sounds like a fantasy of efficiency.</p>
]]></description><pubDate>Thu, 09 Apr 2026 15:31:51 +0000</pubDate><link>https://news.ycombinator.com/item?id=47705055</link><dc:creator>tialaramex</dc:creator><comments>https://news.ycombinator.com/item?id=47705055</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47705055</guid></item><item><title><![CDATA[New comment by tialaramex in "Union types in C# 15"]]></title><description><![CDATA[
<p>I realise that I don't do the best job of explaining ColdString here. After all most 8 byte strings of UTF-8 text could equally be a pointer so, why can this work?<p>All ColdStrings which look like 8 bytes of UTF-8 text really are 8 bytes of UTF-8 text, just the type label on those 8 bytes isn't "[u8; 8]" an array of 8 bytes but instead "mut *u8" a raw pointer. "Validate" for example is 8 bytes of ASCII, thus UTF-8, and Rust is OK with us just saying we want a pointer on a 64-bit machine with those bytes. It's not a <i>valid</i> pointer, but it is a pointer and Rust is OK with that, we just need to be careful never to [unsafely] dereference the pointer because it's invalid<p>OK, so there are two cases left: First, what if there are fewer bytes of text? Zero even?<p>Since there are fewer than 8 bytes of text we can use the whole first byte to signal how many of the remainder are text, we use the UTF-8 over-long prefix indicator in which the top five bits of the byte are all set, bytes 0xF8 through 0xFF for this, there are eight of these bytes corresponding to our 8 lengths 0 through 7 inclusive. Because it's over-long this indicator isn't itself a valid UTF-8 prefix. Again we can pretend this is a pointer while knowing it's invalid.<p>Lastly, the seemingly trickiest problem, what if the string didn't fit inline? We use a heap allocation to store the text prefixed by a variable size integer length and we insist this allocation is aligned to 4 bytes. This means a valid pointer to our allocation has zeroes for the bottom two bits, then we rotate that pointer so those bottom two bits are at the top of the first byte position (depending on machine word layout) and we set the top bit. This is now always invalid UTF-8 because it has the continuation marker - the top bit is set but the next is not, which cannot happen in the first byte of any UTF-8 text, and so our code can detect this and reverse the transformation to get back a valid pointer using the strict provenance APIs if this marker is present.<p>This type is tomtomwombat's idea, credit to them:<p><a href="https://github.com/tomtomwombat/cold-string*" rel="nofollow">https://github.com/tomtomwombat/cold-string*</a></p>
]]></description><pubDate>Thu, 09 Apr 2026 14:56:34 +0000</pubDate><link>https://news.ycombinator.com/item?id=47704595</link><dc:creator>tialaramex</dc:creator><comments>https://news.ycombinator.com/item?id=47704595</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47704595</guid></item><item><title><![CDATA[New comment by tialaramex in "Union types in C# 15"]]></title><description><![CDATA[
<p>I do not agree. MaybeUninit<T> is without any doubt more valuable than the C FFI use<p>I can't even think of any prominent C FFI problems where I'd reach for the union's C representation. Too many languages can't handle that so it seems less useful at an FFI edge.</p>
]]></description><pubDate>Thu, 09 Apr 2026 09:04:05 +0000</pubDate><link>https://news.ycombinator.com/item?id=47701038</link><dc:creator>tialaramex</dc:creator><comments>https://news.ycombinator.com/item?id=47701038</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47701038</guid></item><item><title><![CDATA[New comment by tialaramex in "Union types in C# 15"]]></title><description><![CDATA[
<p>In Rust? The two I'm big fans of, CompactString and ColdString do not use unions although historically CompactString did so and it still has a dependency on smallvec's union feature<p>ColdString is easier to explain, the whole trick here is the "Maybe this isn't a pointer?" trick, ColdString <i>might</i> be a single raw pointer onto your heap with the rest of the data structure at the far end of the pointer, this case is expensive because nothing about the text lives inline, but... the other case is that your entire text was hidden in the pointer, on modern hardware that's 8 bytes of text, at no overhead, awesome.<p>CompactString is more like a drop-in replacement, it's much bigger, the same size as String, so 24 bytes on modern hardware, but that's all SSO, so text like "This will all fit nicely" fits inline, yet the out-of-line case has the usual affordances such as capacity and length in the data structure. This isn't doing the  "Maybe this isn't a pointer?" trick but is instead relying on knowing that the last byte of a UTF-8 string can't have certain values by definition.</p>
]]></description><pubDate>Thu, 09 Apr 2026 08:02:35 +0000</pubDate><link>https://news.ycombinator.com/item?id=47700587</link><dc:creator>tialaramex</dc:creator><comments>https://news.ycombinator.com/item?id=47700587</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47700587</guid></item><item><title><![CDATA[New comment by tialaramex in "Union types in C# 15"]]></title><description><![CDATA[
<p>The C and Rust union types are extremely sharp blades, enough so that I expect the average Rust beginner doesn't even know Rust has unions (and I assume you were thinking of Rust's enum not union)<p>I've seen exactly one Rust type which is actually a union, and it's a pretty good justification for the existence of this feature, but one isn't really enough. That type is MaybeUninit<T> which is a union of a T and the empty tuple. Very, very, clever and valuable, but I didn't run into any similarly good uses outside that.</p>
]]></description><pubDate>Wed, 08 Apr 2026 18:25:13 +0000</pubDate><link>https://news.ycombinator.com/item?id=47694243</link><dc:creator>tialaramex</dc:creator><comments>https://news.ycombinator.com/item?id=47694243</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47694243</guid></item><item><title><![CDATA[New comment by tialaramex in "Union types in C# 15"]]></title><description><![CDATA[
<p>I don't love OneOrMore<T><p>It's trying to generalize - we might have exactly one T, fine, or a collection of T, and that's more T... except no, the collection might be <i>zero</i> of them, not at least one and so our type is really "OneOrMoreOrNone" and wow, that's just maybe some T.</p>
]]></description><pubDate>Wed, 08 Apr 2026 15:18:23 +0000</pubDate><link>https://news.ycombinator.com/item?id=47691424</link><dc:creator>tialaramex</dc:creator><comments>https://news.ycombinator.com/item?id=47691424</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47691424</guid></item></channel></rss>