palsecam
Joined 19 years ago
Joined 19 years ago
> You have an image on your error page, which some crappy bots will download over and over again.
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).
# Nothing to hack around here, I’m just a teapot:
location ~* \.(?:php|aspx?|jsp|dll|sql|bak)$ {
return 418;
}
error_page 418 /418.html;
No hard block, instead reply to bots the funny HTTP 418 code (https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/...). That makes filtering logs easier.Live example: https://FreeSolitaire.win/wp-login.php (NB: /wp-login.php is WordPress login URL, and it’s commonly blindly requested by bots searching for weak WordPress installs.)
Btw, you can also apply an XSLT sheet to an XML document using standard JavaScript: https://developer.mozilla.org/en-US/docs/Web/API/XSLTProcess...
Here’s my torrc:
SocksPort 0
ExitRelay 0
ORPort NNNN
DirPort NNNN
Nickname X
ContactInfo [email protected]
RelayBandwidthRate 80 megabits
RelayBandwidthBurst 120 megabits
MaxMemInQueues 384 megabytes
AvoidDiskWrites 1
HardwareAccel 1
NoExec 1
NumCPUs 1
Here’s my override config for systemd (Ubuntu 24.04): $ 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=trueFTR, there’s also XSLTProcessor (https://developer.mozilla.org/en-US/docs/Web/API/XSLTProcess...) available from Javascript in the browser. I use that on my homepage, to fetch and transform-to-HTML said Atom feed, then embed it:
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();
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.): https://github.com/PaulCapron/pwa2uwp/blob/master/postprod.x...Ms. Farmer is the CEO of BNSF Railway[1], she is the one “directly running it”.
Moreover, Berkshire/Buffet is notorious for _not_ micro-managing, for letting its subsidiaires enjoy greater autonomy than they would in an usual conglomerate.
FTR, Bruce Schneier (famed cryptologist) is advocating for such an approach:
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. — https://www.schneier.com/blog/archives/2025/02/ais-and-robot...
For ref: https://en.wikipedia.org/wiki/Operation_Paperclip (I didn’t get it at first)
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.
Well, good for Europe. Like it was good for the USA when (jewish) scientists emigrated there in the 30–40s.
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.
Anyway, thanks for adding to the discussion, and disclaimer: IANAE (I Am Not An Economist — thanks God ^^)
Not personally surprised, but I agree, they talk sense and understand the matter quite well. Thanks for finding and sharing the debate video, btw!
> Retailleau is either totally incompetent technically, with his advisors as well, or is a liar.
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.
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. https://www.apple.com/child-safety/pdf/CSAM_Detection_Techni... & https://machinelearning.apple.com/research/homomorphic-encry... & https://repositorio.fgv.br/items/047aca31-ccdc-45bd-a7d3-6c0....
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:
« 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. »