<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: eMSF</title><link>https://news.ycombinator.com/user?id=eMSF</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Thu, 16 Apr 2026 15:22:38 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=eMSF" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by eMSF in "Ford F-150 Lightning outsold the Cybertruck and was then canceled for poor sales"]]></title><description><![CDATA[
<p>Using a plug-in hybrid as an EV can and will wear out the drive battery over the lifetime of the car. It doesn't even matter if you don't intend to keep the car for very long as a rational market will price this in. The cost ($10k or more) goes a long way at the pump.</p>
]]></description><pubDate>Wed, 14 Jan 2026 18:59:14 +0000</pubDate><link>https://news.ycombinator.com/item?id=46620849</link><dc:creator>eMSF</dc:creator><comments>https://news.ycombinator.com/item?id=46620849</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=46620849</guid></item><item><title><![CDATA[New comment by eMSF in "A safe, non-owning C++ pointer class"]]></title><description><![CDATA[
<p>Related to this, GNU's libstdc++ shared_ptr implementation actually opts not to use atomic arithmetic when it infers that the program is not using threads.</p>
]]></description><pubDate>Sun, 28 Sep 2025 21:31:31 +0000</pubDate><link>https://news.ycombinator.com/item?id=45408234</link><dc:creator>eMSF</dc:creator><comments>https://news.ycombinator.com/item?id=45408234</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45408234</guid></item><item><title><![CDATA[New comment by eMSF in "iPhone Air"]]></title><description><![CDATA[
<p>Even with a 5" screen, it was bigger than for example iPhone 17 in every single dimension due to its hefty bezels (and not insignificantly so; iPhone 17 is closer in width to iPhone 13 Mini than a Dell Streak).<p>Screen diameter is in general a bit misleading figure for phones from different generations as "full screen" phones tend to have a taller aspect ratio and hence larger diameter even with same body dimensions.</p>
]]></description><pubDate>Tue, 09 Sep 2025 23:56:21 +0000</pubDate><link>https://news.ycombinator.com/item?id=45191218</link><dc:creator>eMSF</dc:creator><comments>https://news.ycombinator.com/item?id=45191218</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45191218</guid></item><item><title><![CDATA[New comment by eMSF in "A Rust shaped hole"]]></title><description><![CDATA[
<p>While it is true that only class types have member functions in C++, that does not mean that objects of other types demand the use of macros. C++ also supports non-member functions, and the standard library contains a fair amount of these; including `std::size` that can be used to "get" the length of an array.<p>(C++ arrays are different from arrays in many other programming languages, though not necessarily Rust, in that their type specifies their length, so in a way this is something you already "have" but certainly there are cases where it is convenient to "get" this information from an object.)</p>
]]></description><pubDate>Thu, 17 Jul 2025 09:46:57 +0000</pubDate><link>https://news.ycombinator.com/item?id=44591496</link><dc:creator>eMSF</dc:creator><comments>https://news.ycombinator.com/item?id=44591496</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44591496</guid></item><item><title><![CDATA[New comment by eMSF in "The C23 edition of Modern C"]]></title><description><![CDATA[
<p>How could you ever continue after the second statement without checking if you actually read an integer or not? How would you know what you can do with a?</p>
]]></description><pubDate>Tue, 15 Oct 2024 21:40:45 +0000</pubDate><link>https://news.ycombinator.com/item?id=41853403</link><dc:creator>eMSF</dc:creator><comments>https://news.ycombinator.com/item?id=41853403</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=41853403</guid></item><item><title><![CDATA[New comment by eMSF in "C++ String Conversion: Exploring std:from_chars in C++17 to C++26"]]></title><description><![CDATA[
<p>from_chars_result closely matches the strtol line of functions we've had for decades. Not returning the end position would be weird here!</p>
]]></description><pubDate>Mon, 14 Oct 2024 08:52:32 +0000</pubDate><link>https://news.ycombinator.com/item?id=41835569</link><dc:creator>eMSF</dc:creator><comments>https://news.ycombinator.com/item?id=41835569</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=41835569</guid></item><item><title><![CDATA[New comment by eMSF in "Lesser known tricks, quirks and features of C"]]></title><description><![CDATA[
<p>Well, obviously it doesn't have parentheses. It's not like this is the only instance where adding parentheses affects the end result.<p>You could write even more complex declarators (but don't have to), but that would not prove that some other syntax is inherently intuitive. Case in point, I cannot parse the Go syntax as I do not know Go.<p>In my experience pointers to arrays are rather uncommon and I'm not sure that I've ever written a function returning one, having even less of a need for a pointer to such. (Thus out of all these, only your first example is somewhat common in practice.)</p>
]]></description><pubDate>Fri, 27 Sep 2024 09:08:06 +0000</pubDate><link>https://news.ycombinator.com/item?id=41667932</link><dc:creator>eMSF</dc:creator><comments>https://news.ycombinator.com/item?id=41667932</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=41667932</guid></item><item><title><![CDATA[New comment by eMSF in "Google pulls the plug on uBlock Origin"]]></title><description><![CDATA[
<p>ABP was initially released almost a full decade before UBO was a thing (although I don't know if the Chrome version is related), so I wouldn't judge someone for just using it...</p>
]]></description><pubDate>Thu, 15 Aug 2024 07:45:17 +0000</pubDate><link>https://news.ycombinator.com/item?id=41253886</link><dc:creator>eMSF</dc:creator><comments>https://news.ycombinator.com/item?id=41253886</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=41253886</guid></item><item><title><![CDATA[New comment by eMSF in "Is C99 actually Turing-complete? (2016)"]]></title><description><![CDATA[
<p>It will eventually not matter, but I didn't suggest using a single file.</p>
]]></description><pubDate>Thu, 01 Aug 2024 19:12:39 +0000</pubDate><link>https://news.ycombinator.com/item?id=41132509</link><dc:creator>eMSF</dc:creator><comments>https://news.ycombinator.com/item?id=41132509</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=41132509</guid></item><item><title><![CDATA[New comment by eMSF in "Is C99 actually Turing-complete? (2016)"]]></title><description><![CDATA[
<p>Why does everything have to fit in the memory all of a sudden? Open files, there's your infinite tape.</p>
]]></description><pubDate>Thu, 01 Aug 2024 18:58:50 +0000</pubDate><link>https://news.ycombinator.com/item?id=41132350</link><dc:creator>eMSF</dc:creator><comments>https://news.ycombinator.com/item?id=41132350</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=41132350</guid></item><item><title><![CDATA[New comment by eMSF in "DALL-E 3 is now publicly available inside Bing"]]></title><description><![CDATA[
<p>The Finnish caption is quite a bit worse than "all your base are belong to us" type of invalid grammar. Translating it back, even with best intentions (ignoring the naive attempt of translating "from" in place) it reads "Create images from AI generated words".</p>
]]></description><pubDate>Sun, 01 Oct 2023 15:44:25 +0000</pubDate><link>https://news.ycombinator.com/item?id=37726984</link><dc:creator>eMSF</dc:creator><comments>https://news.ycombinator.com/item?id=37726984</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=37726984</guid></item><item><title><![CDATA[New comment by eMSF in "Just how constexpr is C++20’s std:string?"]]></title><description><![CDATA[
<p>A lot of folks write char const * (and T const& in C++), and the "rule of thumb" is to read the declaration right to left. In this case, pointer (to) const char. Works also with multiple consts or levels of indirection.</p>
]]></description><pubDate>Sat, 09 Sep 2023 00:36:57 +0000</pubDate><link>https://news.ycombinator.com/item?id=37441036</link><dc:creator>eMSF</dc:creator><comments>https://news.ycombinator.com/item?id=37441036</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=37441036</guid></item><item><title><![CDATA[New comment by eMSF in "Tesla created secret team to suppress thousands of driving range complaints"]]></title><description><![CDATA[
<p>Block heaters can be used to heat the engine coolant (and afterwards the cabin) with or without running the engine. I doubt any cars have special batteries for these (even a drive battery of a non-plugin hybrid is somewhat small to be useful); block heaters that don't require external electricity simply use the car's fuel in an auxiliary burner.</p>
]]></description><pubDate>Thu, 27 Jul 2023 21:20:47 +0000</pubDate><link>https://news.ycombinator.com/item?id=36900325</link><dc:creator>eMSF</dc:creator><comments>https://news.ycombinator.com/item?id=36900325</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=36900325</guid></item><item><title><![CDATA[New comment by eMSF in "The C Standard Library Function Isspace() Depends on Locale"]]></title><description><![CDATA[
<p>While writing a fancy word counter I learnt that glibc iswspace (or the glibc locale data) actually does not consider non-breaking spaces as, well, spaces even when using a Unicode locale. This apparently conforms to ISO 30112. (For example MSVCRT does do so.)<p>I happened to notice this via a result mismatch as GNU wc does count NBSPs as word separators. Even though it uses iswspace, it also additionally checks for a hard coded set of Unicode non-breaking spaces.<p>(I have to say I'm a bit surprised at being at getting voted hidden here. I thought this was mostly related to the topic at hand. I would of course gladly be corrected if mistaken about the details.)</p>
]]></description><pubDate>Tue, 06 Jun 2023 21:24:06 +0000</pubDate><link>https://news.ycombinator.com/item?id=36219305</link><dc:creator>eMSF</dc:creator><comments>https://news.ycombinator.com/item?id=36219305</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=36219305</guid></item><item><title><![CDATA[New comment by eMSF in "Bakhmut Is Gone: An Aerial Look at the War’s Destruction"]]></title><description><![CDATA[
<p>This thread stinks of cabbage to high heaven. Can you actually fool even yourselves anymore? Russians have lost the war a long time ago, it's barely a nasty procession that's left.</p>
]]></description><pubDate>Mon, 22 May 2023 22:42:38 +0000</pubDate><link>https://news.ycombinator.com/item?id=36037622</link><dc:creator>eMSF</dc:creator><comments>https://news.ycombinator.com/item?id=36037622</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=36037622</guid></item><item><title><![CDATA[New comment by eMSF in "New C features in GCC 13"]]></title><description><![CDATA[
<p>The type of the expression 'x' is int, not char (in C). The type of an expression consisting of a variable name is the type of the variable (as far as sizeof is concerned).</p>
]]></description><pubDate>Thu, 04 May 2023 15:30:59 +0000</pubDate><link>https://news.ycombinator.com/item?id=35817002</link><dc:creator>eMSF</dc:creator><comments>https://news.ycombinator.com/item?id=35817002</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=35817002</guid></item><item><title><![CDATA[New comment by eMSF in "The Difference Between European and American Butter"]]></title><description><![CDATA[
<p>The 2000 kcal reference (which I assume you're referring to) isn't for "an average man", but for an average person. For an average man, the reference value would be somewhere between 2.5k to 3k.</p>
]]></description><pubDate>Sat, 29 Apr 2023 18:59:40 +0000</pubDate><link>https://news.ycombinator.com/item?id=35755949</link><dc:creator>eMSF</dc:creator><comments>https://news.ycombinator.com/item?id=35755949</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=35755949</guid></item><item><title><![CDATA[New comment by eMSF in "How can we stop the CO2 that plants store from leaking back into the air?"]]></title><description><![CDATA[
<p>>They are demonstrably and objectively not “fine”<p>Aka "my opinions are the objective viewpoint".<p>>They are the primary destructive force in society<p>Hyperbolic nonsense.<p>Today's mobile society with cars is better than anything else that has ever existed.</p>
]]></description><pubDate>Tue, 18 Apr 2023 18:31:25 +0000</pubDate><link>https://news.ycombinator.com/item?id=35617946</link><dc:creator>eMSF</dc:creator><comments>https://news.ycombinator.com/item?id=35617946</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=35617946</guid></item><item><title><![CDATA[New comment by eMSF in "90k Miles on My Tesla Model 3 – Maintenance Costs Higher Than Expected"]]></title><description><![CDATA[
<p>That may have been the case sometime between the World Wars, but the only reason you'd do that these days is if you particularly enjoy visiting the shop.<p>Modern oils can easily last 20000 km (if you'd want, you could only change the oil every other time you change the filter) barring particularly harsh conditions or poor and obsolete engine design. Also, lots of driving (as in typically longer trips) means the oil lasts better.<p>Oil changes are a common nuisance only if you make them one.</p>
]]></description><pubDate>Tue, 07 Mar 2023 23:08:15 +0000</pubDate><link>https://news.ycombinator.com/item?id=35062642</link><dc:creator>eMSF</dc:creator><comments>https://news.ycombinator.com/item?id=35062642</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=35062642</guid></item><item><title><![CDATA[New comment by eMSF in "Finding Nice MD5s Using Rust"]]></title><description><![CDATA[
<p>A local community had a rather similar programming challenge years ago (although it was limited to digits-only/letters-only and pi-digits categories).<p>I revisited the challenge some years later, and managed to achieve a little over 200 MH/s per core on a 2013 CPU. I'd expect (or at least hope) for modern very high-end CPUs to reach somewhere between 5000-10000 MH/s when using all cores, using a similar decently optimized solution. (The thing you want to optimize is the hashing part.) A high-end GPU from 2016 should manage at least 10000 MH/s and more modern ones are likely to be several times faster.</p>
]]></description><pubDate>Mon, 16 Jan 2023 00:30:24 +0000</pubDate><link>https://news.ycombinator.com/item?id=34395269</link><dc:creator>eMSF</dc:creator><comments>https://news.ycombinator.com/item?id=34395269</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=34395269</guid></item></channel></rss>