<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: palsecam</title><link>https://news.ycombinator.com/user?id=palsecam</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Wed, 08 Apr 2026 22:53:19 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=palsecam" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by palsecam in "Messing with scraper bots"]]></title><description><![CDATA[
<p>Yes @ 444 (<a href="https://http.cat/status/444" rel="nofollow">https://http.cat/status/444</a>). That’s indeed the lightest-weight option.<p>> You have an image on your error page, which some crappy bots will download over and over again.<p>Most bots won’t download subresources (almost none of them do, actually). The HTML page itself is lean (475 bytes); the image is an Easter egg for humans ;-) Moreover, I use a caching CDN (Cloudflare).</p>
]]></description><pubDate>Sat, 15 Nov 2025 16:15:17 +0000</pubDate><link>https://news.ycombinator.com/item?id=45938418</link><dc:creator>palsecam</dc:creator><comments>https://news.ycombinator.com/item?id=45938418</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45938418</guid></item><item><title><![CDATA[New comment by palsecam in "Messing with scraper bots"]]></title><description><![CDATA[
<p>I do something quite similar with nginx:<p><pre><code>  # Nothing to hack around here, I’m just a teapot:
  location ~* \.(?:php|aspx?|jsp|dll|sql|bak)$ { 
      return 418; 
  }
  error_page 418 /418.html;
</code></pre>
No hard block, instead reply to bots the funny HTTP 418 code (<a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/418" rel="nofollow">https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/...</a>). That makes filtering logs easier.<p>Live example: <a href="https://FreeSolitaire.win/wp-login.php" rel="nofollow">https://FreeSolitaire.win/wp-login.php</a> (NB: /wp-login.php is WordPress login URL, and it’s commonly blindly requested by bots searching for weak WordPress installs.)</p>
]]></description><pubDate>Sat, 15 Nov 2025 14:06:11 +0000</pubDate><link>https://news.ycombinator.com/item?id=45937563</link><dc:creator>palsecam</dc:creator><comments>https://news.ycombinator.com/item?id=45937563</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45937563</guid></item><item><title><![CDATA[New comment by palsecam in "XSLT removal will break multiple government and regulatory sites"]]></title><description><![CDATA[
<p>Exactly. The Atom feed of my website declares an XSLT stylesheet which transforms it to HTML. That way it can be served directly to, and renders prettily by, a web browser (see <a href="https://paul.fragara.com/feed.xml" rel="nofollow">https://paul.fragara.com/feed.xml</a>). For the curious, the XLST can be found here: <a href="https://gitlab.com/PaulCapron/paul.fragara.com/-/blob/master/src/atom2html.xsl" rel="nofollow">https://gitlab.com/PaulCapron/paul.fragara.com/-/blob/master...</a><p>Btw, you can also apply an XSLT sheet to an XML document using standard JavaScript: <a href="https://developer.mozilla.org/en-US/docs/Web/API/XSLTProcessor" rel="nofollow">https://developer.mozilla.org/en-US/docs/Web/API/XSLTProcess...</a></p>
]]></description><pubDate>Fri, 22 Aug 2025 19:13:59 +0000</pubDate><link>https://news.ycombinator.com/item?id=44988628</link><dc:creator>palsecam</dc:creator><comments>https://news.ycombinator.com/item?id=44988628</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44988628</guid></item><item><title><![CDATA[New comment by palsecam in "Tor: How a military project became a lifeline for privacy"]]></title><description><![CDATA[
<p>Btw, a Tor relay can be relatively lightweight. I run one on a $5/mo VPS (which does many other things). You need 1 GiB of RAM, but a single basic CPU core largely suffices. My relay sends/receives ~150 GiB of traffic per day (~15 Mbits/s). It’s not an exit node, so no legal worries.<p>Here’s my torrc:<p><pre><code>  SocksPort  0
  ExitRelay  0

  ORPort     NNNN
  DirPort    NNNN

  Nickname     X
  ContactInfo  X@X.com

  RelayBandwidthRate    80 megabits
  RelayBandwidthBurst  120 megabits

  MaxMemInQueues  384 megabytes

  AvoidDiskWrites  1
  HardwareAccel    1
  NoExec           1
  NumCPUs          1
</code></pre>
Here’s my override config for systemd (Ubuntu 24.04):<p><pre><code>  $ sudo systemctl edit tor@default
  [Service]
  Nice=15
  CPUAffinity=0
  CPUWeight=60
  StartupCPUWeight=6
  IOWeight=60
  TimerSlackNSec=100us

  MemoryMax=896M
  MemoryHigh=800M
  OOMScoreAdjust=1000

  LimitAS=2G
  LimitNPROC=512
  LimitNOFILE=10240

  PrivateDevices=true
  ProtectSystem=true
  ProtectHome=true</code></pre></p>
]]></description><pubDate>Sat, 09 Aug 2025 12:26:19 +0000</pubDate><link>https://news.ycombinator.com/item?id=44845980</link><dc:creator>palsecam</dc:creator><comments>https://news.ycombinator.com/item?id=44845980</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44845980</guid></item><item><title><![CDATA[New comment by palsecam in "XSLT: A Precision Tool for the Future of Structured Transformation"]]></title><description><![CDATA[
<p>Oh but yes, Firefox (and Chrome) do support XSLT natively! See <a href="https://paul.fragara.com/feed.xml" rel="nofollow">https://paul.fragara.com/feed.xml</a> as an example (the Atom feed of my website, styled with XSLT).<p>FTR, there’s also XSLTProcessor (<a href="https://developer.mozilla.org/en-US/docs/Web/API/XSLTProcessor" rel="nofollow">https://developer.mozilla.org/en-US/docs/Web/API/XSLTProcess...</a>) available from Javascript in the browser. I use that on my homepage, to fetch and transform-to-HTML said Atom feed, then embed it:<p><pre><code>  const atom = new XMLHttpRequest, xslt = new XMLHttpRequest;
  atom.open("GET", "feed.xml"); xslt.open("GET", "atom2html.xsl");
  atom.onload = xslt.onload = function() {
    if (atom.readyState !== 4 || xslt.readyState !== 4) return;
    const proc = new XSLTProcessor;
    proc.importStylesheet(xslt.responseXML);
    const frag = proc.transformToFragment(atom.responseXML, document);
    document.getElementById("feed").appendChild(frag.querySelector("[role='feed']"));
  };
  atom.send(); xslt.send();
</code></pre>
Server-side, I’ve leveraged XSLT (2.0) in the build process of another website, to slightly transform (X)HTML pages before publishing (canonicalize URLs, embed JS & CSS directly in the page, etc.): <a href="https://github.com/PaulCapron/pwa2uwp/blob/master/postprod.xsl">https://github.com/PaulCapron/pwa2uwp/blob/master/postprod.x...</a></p>
]]></description><pubDate>Mon, 21 Jul 2025 13:18:36 +0000</pubDate><link>https://news.ycombinator.com/item?id=44634754</link><dc:creator>palsecam</dc:creator><comments>https://news.ycombinator.com/item?id=44634754</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44634754</guid></item><item><title><![CDATA[New comment by palsecam in "Buffett to step down following six-decade run atop Berkshire"]]></title><description><![CDATA[
<p><i>> and directly running it? How much more personally involved can you get?</i><p>Ms. Farmer is the CEO of BNSF Railway[1], she is the one “directly running it”.<p>Moreover, Berkshire/Buffet is notorious for _not_ micro-managing, for letting its subsidiaires enjoy greater autonomy than they would in an usual conglomerate.<p>1: <a href="https://en.wikipedia.org/wiki/Kathryn_Farmer" rel="nofollow">https://en.wikipedia.org/wiki/Kathryn_Farmer</a></p>
]]></description><pubDate>Sun, 04 May 2025 16:46:36 +0000</pubDate><link>https://news.ycombinator.com/item?id=43887783</link><dc:creator>palsecam</dc:creator><comments>https://news.ycombinator.com/item?id=43887783</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43887783</guid></item><item><title><![CDATA[New comment by palsecam in "AI Horseless Carriages"]]></title><description><![CDATA[
<p><i>> My pet theory is the BigCo's are walking a tightrope of model safety and are intentionally incorporating some uncanny valley into their products, since if people really knew that AI could "talk like Pete" they would get uneasy. The cognitive dissonance doesn't kick in when a bot talks like a drone from HR instead of a real person.</i><p>FTR, Bruce Schneier (famed cryptologist) is advocating for such an approach:<p><i>We have a simple proposal: all talking AIs and robots should use a ring modulator. In the mid-twentieth century, before it was easy to create actual robotic-sounding speech synthetically, ring modulators were used to make actors’ voices sound robotic. Over the last few decades, we have become accustomed to robotic voices, simply because text-to-speech systems were good enough to produce intelligible speech that was not human-like in its sound. Now we can use that same technology to make robotic speech that is indistinguishable from human sound robotic again.</i>
— <a href="https://www.schneier.com/blog/archives/2025/02/ais-and-robots-should-sound-robotic.html" rel="nofollow">https://www.schneier.com/blog/archives/2025/02/ais-and-robot...</a></p>
]]></description><pubDate>Wed, 23 Apr 2025 17:27:34 +0000</pubDate><link>https://news.ycombinator.com/item?id=43774503</link><dc:creator>palsecam</dc:creator><comments>https://news.ycombinator.com/item?id=43774503</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43774503</guid></item><item><title><![CDATA[New comment by palsecam in "Toulouse University wants to host US researchers whose work is at risk"]]></title><description><![CDATA[
<p>Nice username btw ;-) <a href="https://en.wikipedia.org/wiki/Oulipo" rel="nofollow">https://en.wikipedia.org/wiki/Oulipo</a></p>
]]></description><pubDate>Wed, 09 Apr 2025 10:45:15 +0000</pubDate><link>https://news.ycombinator.com/item?id=43630717</link><dc:creator>palsecam</dc:creator><comments>https://news.ycombinator.com/item?id=43630717</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43630717</guid></item><item><title><![CDATA[New comment by palsecam in "Toulouse University wants to host US researchers whose work is at risk"]]></title><description><![CDATA[
<p>Ironic indeed.<p>For ref: <a href="https://en.wikipedia.org/wiki/Operation_Paperclip" rel="nofollow">https://en.wikipedia.org/wiki/Operation_Paperclip</a> (I didn’t get it at first)<p><i>The Operation Paperclip was a secret United States intelligence program in which more than 1,600 German scientists, engineers, and technicians were taken from former Nazi Germany to the US for government employment after the end of World War II in Europe, between 1945 and 1959; several were confirmed to be former members of the Nazi Party, including the SS or the SA.</i></p>
]]></description><pubDate>Wed, 09 Apr 2025 10:43:12 +0000</pubDate><link>https://news.ycombinator.com/item?id=43630704</link><dc:creator>palsecam</dc:creator><comments>https://news.ycombinator.com/item?id=43630704</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43630704</guid></item><item><title><![CDATA[New comment by palsecam in "Toulouse University wants to host US researchers whose work is at risk"]]></title><description><![CDATA[
<p>“Reverse brain drain”, so to say.<p>Well, good for Europe. Like it was good for the USA when (jewish) scientists emigrated there in the 30–40s.</p>
]]></description><pubDate>Wed, 09 Apr 2025 07:09:03 +0000</pubDate><link>https://news.ycombinator.com/item?id=43629582</link><dc:creator>palsecam</dc:creator><comments>https://news.ycombinator.com/item?id=43629582</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43629582</guid></item><item><title><![CDATA[New comment by palsecam in "Deregulation in Argentina: Milei Takes "Deep Chainsaw" to Bureaucracy"]]></title><description><![CDATA[
<p>You have a point, for sure; the _whole_ previous century (couple centuries, even) of Japan economical history is one-of-a-kind (as is Argentina’s).<p>However, wtr. “lost decades are quite easy to understand with conventional economics”: that’s more debatable. For example, stagflation is common(ly explained), but stag-deflation (as in Japan) is more unusual and has weirder effects. The US subprime crisis was also a real estate bubble (which, here also, rippled to the financial markets), but its burst had quite different fallouts.<p>Anyway, thanks for adding to the discussion, and disclaimer: IANAE (I Am Not An Economist — thanks God ^^)</p>
]]></description><pubDate>Wed, 26 Mar 2025 01:01:44 +0000</pubDate><link>https://news.ycombinator.com/item?id=43477778</link><dc:creator>palsecam</dc:creator><comments>https://news.ycombinator.com/item?id=43477778</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43477778</guid></item><item><title><![CDATA[New comment by palsecam in "Deregulation in Argentina: Milei Takes "Deep Chainsaw" to Bureaucracy"]]></title><description><![CDATA[
<p>The “Lost Decades” (1990–2010), during which Japan GDP hardly grew and deflation occured: <a href="https://en.wikipedia.org/wiki/Lost_Decades" rel="nofollow">https://en.wikipedia.org/wiki/Lost_Decades</a></p>
]]></description><pubDate>Tue, 25 Mar 2025 15:04:44 +0000</pubDate><link>https://news.ycombinator.com/item?id=43472223</link><dc:creator>palsecam</dc:creator><comments>https://news.ycombinator.com/item?id=43472223</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43472223</guid></item><item><title><![CDATA[New comment by palsecam in "France rejects backdoor mandate"]]></title><description><![CDATA[
<p><i>> I'm positively surprised by some deputies remarks.</i><p>Not personally surprised, but I agree, they talk sense and understand the matter quite well. Thanks for finding and sharing the debate video, btw!<p><i>> Retailleau is either totally incompetent technically, with his advisors as well, or is a liar.</i><p>Sadly, gotta agree here too. M. Retailleau seems off the mark. He looks (to me) like he speaking in good faith tho, and that he “just” doesn’t get it.<p>Nevertheless, he has a point when he mentions Apple and CSAM (Child Sexual Abuse Material). 
Apple has shown that using homomorphic encryption could be 1) actually practical, and 2) helpful on such matters. 
Cf. <a href="https://www.apple.com/child-safety/pdf/CSAM_Detection_Technical_Summary.pdf" rel="nofollow">https://www.apple.com/child-safety/pdf/CSAM_Detection_Techni...</a> & <a href="https://machinelearning.apple.com/research/homomorphic-encryption" rel="nofollow">https://machinelearning.apple.com/research/homomorphic-encry...</a> & <a href="https://repositorio.fgv.br/items/047aca31-ccdc-45bd-a7d3-6c0a337cb42b" rel="nofollow">https://repositorio.fgv.br/items/047aca31-ccdc-45bd-a7d3-6c0...</a>.</p>
]]></description><pubDate>Sat, 22 Mar 2025 15:14:33 +0000</pubDate><link>https://news.ycombinator.com/item?id=43446297</link><dc:creator>palsecam</dc:creator><comments>https://news.ycombinator.com/item?id=43446297</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43446297</guid></item><item><title><![CDATA[New comment by palsecam in "France rejects backdoor mandate"]]></title><description><![CDATA[
<p>Vladimir Arnol’d (the famous Russian mathematician) touches on that subject in his essay « Sur l’éducation mathématique » <<a href="https://smf.emath.fr/system/files/filepdf/Gaz-78-Arnold.pdf" rel="nofollow">https://smf.emath.fr/system/files/filepdf/Gaz-78-Arnold.pdf</a>> (in French; Arnol’d also taught in France).<p>According to him, mathematical teaching has become overly abstract, leading to students being disgusted by maths, seeing it as disconnected from reality. Some of these students then end up being ministers… Original quote:<p><i>« Comme de telles mathématiques scolastiques, séparées de la physique, ne sont adaptées ni à l’enseignement, ni à aucune application éventuelle à d’autres sciences, les mathématiciens se sont fait haïr des lycéens (dont certains ensuite sont devenus ministres) et des utilisateurs. »</i></p>
]]></description><pubDate>Sat, 22 Mar 2025 10:25:10 +0000</pubDate><link>https://news.ycombinator.com/item?id=43444764</link><dc:creator>palsecam</dc:creator><comments>https://news.ycombinator.com/item?id=43444764</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43444764</guid></item><item><title><![CDATA[New comment by palsecam in "Learn You Some Erlang for Great Good (2013)"]]></title><description><![CDATA[
<p>(2015)</p>
]]></description><pubDate>Sun, 16 Mar 2025 13:20:02 +0000</pubDate><link>https://news.ycombinator.com/item?id=43378848</link><dc:creator>palsecam</dc:creator><comments>https://news.ycombinator.com/item?id=43378848</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43378848</guid></item><item><title><![CDATA[A Great Old-Timey Game-Programming Hack (2013)]]></title><description><![CDATA[
<p>Article URL: <a href="https://blog.moertel.com/posts/2013-12-14-great-old-timey-game-programming-hack.html">https://blog.moertel.com/posts/2013-12-14-great-old-timey-game-programming-hack.html</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=43378795">https://news.ycombinator.com/item?id=43378795</a></p>
<p>Points: 4</p>
<p># Comments: 0</p>
]]></description><pubDate>Sun, 16 Mar 2025 13:13:49 +0000</pubDate><link>https://blog.moertel.com/posts/2013-12-14-great-old-timey-game-programming-hack.html</link><dc:creator>palsecam</dc:creator><comments>https://news.ycombinator.com/item?id=43378795</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43378795</guid></item><item><title><![CDATA[New comment by palsecam in "Solitaire"]]></title><description><![CDATA[
<p>I just removed interstital ads.</p>
]]></description><pubDate>Sun, 09 Mar 2025 22:05:33 +0000</pubDate><link>https://news.ycombinator.com/item?id=43314384</link><dc:creator>palsecam</dc:creator><comments>https://news.ycombinator.com/item?id=43314384</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43314384</guid></item><item><title><![CDATA[New comment by palsecam in "Solitaire"]]></title><description><![CDATA[
<p>Thanks for letting me know. That’s not my choice but AdSense. However, I can manually disable ads like this one, I’ll look into it.</p>
]]></description><pubDate>Sat, 01 Mar 2025 09:19:09 +0000</pubDate><link>https://news.ycombinator.com/item?id=43217554</link><dc:creator>palsecam</dc:creator><comments>https://news.ycombinator.com/item?id=43217554</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43217554</guid></item><item><title><![CDATA[New comment by palsecam in "Solitaire"]]></title><description><![CDATA[
<p>I’m glad you like it :-)</p>
]]></description><pubDate>Fri, 28 Feb 2025 19:50:37 +0000</pubDate><link>https://news.ycombinator.com/item?id=43209571</link><dc:creator>palsecam</dc:creator><comments>https://news.ycombinator.com/item?id=43209571</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43209571</guid></item><item><title><![CDATA[New comment by palsecam in "Solitaire"]]></title><description><![CDATA[
<p>Thank you!</p>
]]></description><pubDate>Fri, 28 Feb 2025 19:50:24 +0000</pubDate><link>https://news.ycombinator.com/item?id=43209567</link><dc:creator>palsecam</dc:creator><comments>https://news.ycombinator.com/item?id=43209567</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43209567</guid></item></channel></rss>