<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: YSFEJ4SWJUVU6</title><link>https://news.ycombinator.com/user?id=YSFEJ4SWJUVU6</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Thu, 09 Apr 2026 15:55:55 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=YSFEJ4SWJUVU6" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by YSFEJ4SWJUVU6 in "Antarctic Snow Cruiser"]]></title><description><![CDATA[
<p>The engine actually only made 150hp, but luckily there were 2 of them.<p>Yes, they were certainly less efficient than modern engines. However, ICE engines have always had trade-offs between power output per size, mechanical efficiency and reliability, and for this vehicle the last one was certainly of most importance.</p>
]]></description><pubDate>Mon, 09 Mar 2020 13:47:41 +0000</pubDate><link>https://news.ycombinator.com/item?id=22525272</link><dc:creator>YSFEJ4SWJUVU6</dc:creator><comments>https://news.ycombinator.com/item?id=22525272</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=22525272</guid></item><item><title><![CDATA[New comment by YSFEJ4SWJUVU6 in "Beating C with one line of Brainfuck"]]></title><description><![CDATA[
<p>That <i>fwrite</i> writes the contents of <i>output</i> to <i>stdout</i>.<p><i>output</i> probably contains all the output that doesn't depend on input (which this program doesn't have).</p>
]]></description><pubDate>Mon, 25 Nov 2019 11:01:55 +0000</pubDate><link>https://news.ycombinator.com/item?id=21627014</link><dc:creator>YSFEJ4SWJUVU6</dc:creator><comments>https://news.ycombinator.com/item?id=21627014</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=21627014</guid></item><item><title><![CDATA[New comment by YSFEJ4SWJUVU6 in "Code Pages, Character Encoding, Unicode, UTF-8 and the BOM [video]"]]></title><description><![CDATA[
<p>>since UTF-8 doesn’t have a “magic number” to identify itself, the convention is to use the BOM codepoint<p>Neither does any other of the hundreds of existing text encodings.<p>It's debatable how much of a magic number it's supposed to be anyway, considering that few people have insisted on having magic numbers in text files, and that you get the BOM at the beginning by simply naively converting a UCS-2/UTF-16 file codepoint by codepoint (and vice versa, enforce it to be there if you ever happen to do the conversion the other way around because of course you're conversion couldn't include that extra logic in it).</p>
]]></description><pubDate>Wed, 20 Nov 2019 15:52:29 +0000</pubDate><link>https://news.ycombinator.com/item?id=21584931</link><dc:creator>YSFEJ4SWJUVU6</dc:creator><comments>https://news.ycombinator.com/item?id=21584931</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=21584931</guid></item><item><title><![CDATA[New comment by YSFEJ4SWJUVU6 in "Code Pages, Character Encoding, Unicode, UTF-8 and the BOM [video]"]]></title><description><![CDATA[
<p>BOM is only a problem with strict syntaxes, which robots.txt is not an example of. If the "consumer" simply ignores invalid or meaningless lines, you can avoid issues from invisible characters by not having anything meaningful on the first line of your file.</p>
]]></description><pubDate>Wed, 20 Nov 2019 15:44:08 +0000</pubDate><link>https://news.ycombinator.com/item?id=21584852</link><dc:creator>YSFEJ4SWJUVU6</dc:creator><comments>https://news.ycombinator.com/item?id=21584852</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=21584852</guid></item><item><title><![CDATA[New comment by YSFEJ4SWJUVU6 in "Gyrocar"]]></title><description><![CDATA[
<p>>A motorbike will generally [...] brake faster than a car in a straight line (mostly because it's light)<p>That's generally not true. At best you'd roughly match an average car when balancing your weight perfectly; but typically you can only expect worse results when comparing the two.</p>
]]></description><pubDate>Wed, 20 Nov 2019 15:32:34 +0000</pubDate><link>https://news.ycombinator.com/item?id=21584759</link><dc:creator>YSFEJ4SWJUVU6</dc:creator><comments>https://news.ycombinator.com/item?id=21584759</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=21584759</guid></item><item><title><![CDATA[New comment by YSFEJ4SWJUVU6 in "Clang Format Tanks Performance"]]></title><description><![CDATA[
<p>Yes and no. Technically that results in UB with many inputs with platforms that use a signed char type.</p>
]]></description><pubDate>Wed, 20 Nov 2019 15:08:10 +0000</pubDate><link>https://news.ycombinator.com/item?id=21584512</link><dc:creator>YSFEJ4SWJUVU6</dc:creator><comments>https://news.ycombinator.com/item?id=21584512</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=21584512</guid></item><item><title><![CDATA[New comment by YSFEJ4SWJUVU6 in "The 40% Keyboard"]]></title><description><![CDATA[
<p>>Higher accuracy isn't the only reason, you'll get chronic wrist pain within a couple of months if the mouse movement comes from your wrist.<p>Or you could just move the mouse with your fingers. Other positives include requiring much less space and not looking silly flailing around. (My preference is maybe 1–2 cm corner-to-corner, with no wrist related issues a couple decades in; and obviously, mouse acceleration is a great idea.)</p>
]]></description><pubDate>Wed, 20 Nov 2019 13:50:13 +0000</pubDate><link>https://news.ycombinator.com/item?id=21583836</link><dc:creator>YSFEJ4SWJUVU6</dc:creator><comments>https://news.ycombinator.com/item?id=21583836</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=21583836</guid></item><item><title><![CDATA[New comment by YSFEJ4SWJUVU6 in "Intel disables Hardware Lock Elision on all current CPUs"]]></title><description><![CDATA[
<p>> to avoid things exploding because a zero length variable might exist is a stupid and ugly hack.<p>That has less to do with POSIX compliance, as opposed to working around quirks with less-compliant historical implementations. Also, I think you'd have to dig pretty deep to find a <i>test</i> that doesn't support zero-length arguments; you'd be safe as long as you quote your variables.<p>The actual problem of ambiguity arises from variables that are also syntax, like '(', or '!', when using compound expressions (which you should avoid anyway).<p><pre><code>  # this is bad (also obsolete)
  [ "$var" != foo -a "$var" != bar ]
  # this is good (and fully POSIX compliant)
  [ "$var" != foo ] && [ "$var" != bar ]
  # you probably don't need to care for systems where this was necessary
  [ "X$var" != Xfoo ] && [ "X$var" != Xbar ]</code></pre></p>
]]></description><pubDate>Thu, 14 Nov 2019 15:41:35 +0000</pubDate><link>https://news.ycombinator.com/item?id=21536242</link><dc:creator>YSFEJ4SWJUVU6</dc:creator><comments>https://news.ycombinator.com/item?id=21536242</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=21536242</guid></item><item><title><![CDATA[New comment by YSFEJ4SWJUVU6 in "Going from macOS to Ubuntu"]]></title><description><![CDATA[
<p>>10 years later, copy-paste is still a horrible user experience. Different apps use different clipboards :scream: Even for copying these commands from Firefox to the terminal with keyboard shortcuts (CTRL INSERT, SHIFT INSERT, as CTRL C has a different meaning in terminals), you'll need copy-paste fixed already.<p>IMO this thing is way overblown. What applications these days do not simply use primary and clipboard selections in a consistent way? (FTR I like them separate very much as I would hate to have my clipboard contents change by simply selecting some text.) Middle click is not a shortcut for Ctrl+V!<p>Ctrl-C is indeed used to send SIGINT to the foreground processes in terminals and thus terminal emulators, and the established alternative for terminal emulators is to replace Ctrl-C/V copy/paste with Ctrl+Shift+C/V (I think that's how even cmd.exe works these days). Copying and sending a SIGINT would hardly be a useful default.</p>
]]></description><pubDate>Wed, 30 Oct 2019 11:03:41 +0000</pubDate><link>https://news.ycombinator.com/item?id=21396350</link><dc:creator>YSFEJ4SWJUVU6</dc:creator><comments>https://news.ycombinator.com/item?id=21396350</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=21396350</guid></item><item><title><![CDATA[New comment by YSFEJ4SWJUVU6 in "JavaScript Is C"]]></title><description><![CDATA[
<p>>I have to disagree about implicit functions not being a part of C anymore. I've yet to see one generate an error;<p>This is not really a debatable matter. There's an international standard for what is, and what is not a part of the C language.<p>Errors as you seem to understand them are optional for everything else except for the #error preprocessor directive. For all the other invalid C programs, only a diagnostic (like the warning you got) is required, and a conforming implementation is free to complete translating the invalid translation unit. I don't see why that would be an issue, as it's very easy to switch those warnings into translation errors if wanted.</p>
]]></description><pubDate>Tue, 29 Oct 2019 21:21:27 +0000</pubDate><link>https://news.ycombinator.com/item?id=21392177</link><dc:creator>YSFEJ4SWJUVU6</dc:creator><comments>https://news.ycombinator.com/item?id=21392177</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=21392177</guid></item><item><title><![CDATA[New comment by YSFEJ4SWJUVU6 in "JavaScript Is C"]]></title><description><![CDATA[
<p>>yes some compilers don't give warnings by default for implicit functions<p>Broken or ancient compilers. That's as much C's fault as it's Intel's fault that Windows 10 doesn't run on Pentium MMX. Implicit functions are not part of C; they were gotten rid of back in 1999!</p>
]]></description><pubDate>Tue, 29 Oct 2019 14:50:42 +0000</pubDate><link>https://news.ycombinator.com/item?id=21387776</link><dc:creator>YSFEJ4SWJUVU6</dc:creator><comments>https://news.ycombinator.com/item?id=21387776</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=21387776</guid></item><item><title><![CDATA[New comment by YSFEJ4SWJUVU6 in "Beating C with Futhark Running on GPU"]]></title><description><![CDATA[
<p>See <a href="https://git.io/JeEjB" rel="nofollow">https://git.io/JeEjB</a></p>
]]></description><pubDate>Sun, 27 Oct 2019 17:15:10 +0000</pubDate><link>https://news.ycombinator.com/item?id=21370991</link><dc:creator>YSFEJ4SWJUVU6</dc:creator><comments>https://news.ycombinator.com/item?id=21370991</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=21370991</guid></item><item><title><![CDATA[New comment by YSFEJ4SWJUVU6 in "Beating C with Futhark Running on GPU"]]></title><description><![CDATA[
<p>>It might still turn out to be, if you see if you can get a faster C version of wc.<p>You definitely can, at least if you allow manually vectorized code.<p>On my system, with a 1.661GB file (256 times big.txt from the original Haskell post) GNU wc takes about 6.5s (real time), a stripped down version of Apple's implementation about 4.1s, and a single-threaded vectorized wc (written in C) only 0.27s. (These times are of course only with a hot cache. For reference, catting the same file to /dev/null takes about 0.18s.)<p>edit: corrected the time for the BSD-derived implementation</p>
]]></description><pubDate>Fri, 25 Oct 2019 14:52:35 +0000</pubDate><link>https://news.ycombinator.com/item?id=21355563</link><dc:creator>YSFEJ4SWJUVU6</dc:creator><comments>https://news.ycombinator.com/item?id=21355563</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=21355563</guid></item><item><title><![CDATA[New comment by YSFEJ4SWJUVU6 in "We posed as 100 Senators to run ads on Facebook. Facebook approved all of them"]]></title><description><![CDATA[
<p>>We don't allow unlimited free speech, but we don't view that as censorship.<p>Speak for yourself. I certainly think blasphemy laws are certainly way past their due date, and more extreme restrictions (e.g. like in Germany, but notably not everywhere in Europe) definitely at least borderline on the dystopian side.<p>And as to what an average citizen might think: perhaps an average Chinese considers their “free speech” laws, or their closest equivalent, quite reasonable after having been taught so all their life. Europe could certainly do with freer speech.</p>
]]></description><pubDate>Wed, 31 Oct 2018 02:40:41 +0000</pubDate><link>https://news.ycombinator.com/item?id=18342953</link><dc:creator>YSFEJ4SWJUVU6</dc:creator><comments>https://news.ycombinator.com/item?id=18342953</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=18342953</guid></item><item><title><![CDATA[New comment by YSFEJ4SWJUVU6 in "Finland to end basic income trial after two years"]]></title><description><![CDATA[
<p>Talking about disruptive things... to provide an unconditional monetary equivalent of the benefits any unemployed people are currently entitled to (rent, minimum income, supplementary welfare) to everyone, or even every adult would by itself cost more than the entire current government budget, including current welfare costs – so you would really need to rework the whole tax system. Disruptive, perhaps? Or very simple to go ahead and “just try it”?</p>
]]></description><pubDate>Tue, 24 Apr 2018 14:22:56 +0000</pubDate><link>https://news.ycombinator.com/item?id=16912777</link><dc:creator>YSFEJ4SWJUVU6</dc:creator><comments>https://news.ycombinator.com/item?id=16912777</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=16912777</guid></item><item><title><![CDATA[New comment by YSFEJ4SWJUVU6 in "Finland ends Basic Income trial"]]></title><description><![CDATA[
<p>In Finland, all unemployed are guaranteed “free money” even if they choose not to seek employment. The difference from UBI is that this final security net, so to speak, only guarantees a minimum level of income – any earned wages (or existing wealth) directly affect the welfare payments on this level.<p>edit: the whole system is more complicated than this, of course, but the point here is that this safety net is permanent – you can not lose it even if you are unemployed for a long time (recently, a tiny reduction of welfare payment was introduced for those who do not meet certain criteria for activity; however, you are in any case entitled to certain level of income, and government-paid rent, etc., in any case.)</p>
]]></description><pubDate>Mon, 23 Apr 2018 22:51:51 +0000</pubDate><link>https://news.ycombinator.com/item?id=16908202</link><dc:creator>YSFEJ4SWJUVU6</dc:creator><comments>https://news.ycombinator.com/item?id=16908202</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=16908202</guid></item><item><title><![CDATA[New comment by YSFEJ4SWJUVU6 in "Time to rebuild the web?"]]></title><description><![CDATA[
<p>You can watch uBlock's logger when using the web player to see what it does. AFAIK the blocking rules are imported from EasyList.<p>However, as far as user experience goes, I don't share your experiences at all – the web player is almost unbelievably bad, with frequently malfunctioning (disabled) player keys, volume slider jumping all over the place and common problems when resuming playback after a while. (Also, the desktop application has more features, including the ability to select multiple tracks to perform an operation on, and naturally the support for media keys.)</p>
]]></description><pubDate>Mon, 16 Apr 2018 22:14:36 +0000</pubDate><link>https://news.ycombinator.com/item?id=16853336</link><dc:creator>YSFEJ4SWJUVU6</dc:creator><comments>https://news.ycombinator.com/item?id=16853336</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=16853336</guid></item><item><title><![CDATA[New comment by YSFEJ4SWJUVU6 in "Newer C++ features can create a lot of system yak shaving"]]></title><description><![CDATA[
<p>That's very unlikely to happen, ever. (Too many "int var;" out there.)</p>
]]></description><pubDate>Tue, 03 Apr 2018 14:20:38 +0000</pubDate><link>https://news.ycombinator.com/item?id=16744833</link><dc:creator>YSFEJ4SWJUVU6</dc:creator><comments>https://news.ycombinator.com/item?id=16744833</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=16744833</guid></item><item><title><![CDATA[New comment by YSFEJ4SWJUVU6 in "Schools Struggle with Vaping Explosion"]]></title><description><![CDATA[
<p>Oh, I'm certainly under no impression that nicotine might not have any health benefits, but with various inconclusive research it's hard to assess the complete picture and net effect. I think it's partly this way because nicotine has been studied quite little disconnected from tobacco research. (It is my understanding that there is indeed no conclusive evidence of nicotine being greatly harmful to health, and I do use nicotine products myself.)</p>
]]></description><pubDate>Mon, 02 Apr 2018 20:56:18 +0000</pubDate><link>https://news.ycombinator.com/item?id=16739199</link><dc:creator>YSFEJ4SWJUVU6</dc:creator><comments>https://news.ycombinator.com/item?id=16739199</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=16739199</guid></item><item><title><![CDATA[New comment by YSFEJ4SWJUVU6 in "Schools Struggle with Vaping Explosion"]]></title><description><![CDATA[
<p>I don't think it's quite that clear – however, I think it is considered clear that nicotine is nowhere near as harmful as tobacco smoke.</p>
]]></description><pubDate>Mon, 02 Apr 2018 19:00:39 +0000</pubDate><link>https://news.ycombinator.com/item?id=16738011</link><dc:creator>YSFEJ4SWJUVU6</dc:creator><comments>https://news.ycombinator.com/item?id=16738011</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=16738011</guid></item></channel></rss>