HNHacker News
TopNewBestAskShowJobs

a-french-anon

766 karma · joined July 12, 2023

https://world-playground-deceit.net/

Work account

submissionscomments
a-french-anon··on Hot-wiring the Lisp machine
How about one line of POSIX sh with cpp? Though it uses the different approach of SSI instead of templating:

  $ cat <<EOF | sed -E 's/^[\t ]*<!--(#.*)-->$/\1/; t; s/^/\a/' | cpp -traditional -nostdinc -P -C | sed -E 's/^\a//'
  <!DOCTYPE html>
  <html>
    <head><title>My site</title></head>
    <body>
      <!--#include "navbar.inc.html"-->
      <p>Foo</p>
    </body>
  </html>
  EOF
  <!DOCTYPE html>
  <html>
    <head><title>My site</title></head>
    <body>
  <header>
    <a href="/">My cool site</a>
    <nav>
      <ul>
        <li><a href="/blog.html">Blog</a></li>
        <li><a href="/about.html">About</a></li>
      </ul>
    </nav>
  </header>
      <p>Foo</p>
    </body>
  </html>
With a little elbow grease, you even get incremental rebuild: https://git.sr.ht/~q3cpma/html-cpp
a-french-anon··on Understanding Clojure's Persistent Vectors, pt. 1 (2013)
If you want to go further, the HAMT designed by Bagwell was apparently improved upon by Steindorfer to give CHAMP. See this FSet MR and the paper link within for more: https://gitlab.common-lisp.net/fset/fset/-/merge_requests/1
a-french-anon··on France Launches Government Linux Desktop Plan as Windows Exit Begins
We still can't compete with Bethesda on that front, though...
a-french-anon··on We've raised $17M to build what comes after Git
Well, yeah, but Git is basically UNIX/POSIX or JPEG. Good enough to always win against better like Plan 9 or JPEG XL (though I think this one may win in the long term).
a-french-anon··on Axios compromised on NPM – Malicious versions drop remote access trojan
Not necessarily, but let's agree that some design faults would happen: you still get the option to use the solid, boring and slightly rusty std instead of another 100 dependencies from the supply chain supermarket.

At work, we're happy with Python's included batteries when we need to make scripts instead of large programs.

a-french-anon··on Axios compromised on NPM – Malicious versions drop remote access trojan
Why wouldn't the "fat std" thing work? Yes it's hard to design properly, both in scope and actual design (especially for an unstandardized language still moving fast), but throwing the towel and punting the problem to the "free market" of uncurated public repos is even worse.

It's what we call in France "la fête du slip".

PS: that's one reason I try to use git submodules in my Common Lisp projects instead of QuickLisp, because I really see the size of my deptree this way.

a-french-anon··on Shell Tricks That Make Life Easier (and Save Your Sanity)
I'd suggest `pwd -P` to resolve symlinks too. (if you use DIR to call/source neighbouring scripts).
a-french-anon··on GitHub appears to be struggling with measly three nines availability
If you want more ammo for your ranting (no offense meant, I also rant): an issue as massive as https://github.com/orgs/community/discussions/142308 lingering for years should do the trick.
a-french-anon··on A rogue AI led to a serious security incident at Meta
M8... https://github.com/facebook/infer
a-french-anon··on A Preview of Coalton 0.2
Strong agree, this falls squarely into the bad part of the automagical category for me; a terse lambda syntax makes it quite unnecessary anyway.
a-french-anon··on Astral to Join OpenAI
>Seems like the big AI players love buying up the good dev tooling companies.

Would be a good mustache-twirling cartoon villain tactics, you know, try to prevent advances in developer experience to make vibecoding more attractive =)

a-french-anon··on Yann LeCun raises $1B to build AI that understands the physical world
Kinda a moot point in my eyes because I very much doubt you can arrive at the same result without the same learning process.
a-french-anon··on Ask HN: How to be alone?
“You merely adopted the loneliness. I was born in it, molded by it. I didn't know love until I was already a man, by then it was nothing to me but blinding!”

More seriously, ride the loneliness with manly grace: lose the shrink drugs, grind your teeth, clench your butt and lose yourself in body sculpting, disturbing art, brain exercises, etc... and if you want a bit of balm, remember that you're no wizard.

a-french-anon··on Judge orders government to begin refunding more than $130B in tariffs
Even in the US, I don't think right wing == capitalist. There are the people in it for the economics and others for the ideas/values.
a-french-anon··on Motorola GrapheneOS devices will be bootloader unlockable/relockable
That's "small"? Here I am with my 5.2" Xperia XA2 thinking I'll be forced to go back to dumbphones in the future... along with many others, I guess.
a-french-anon··on Julia: Performance Tips
You want real macros and a type system actually designed instead of "grown" on top of C/Aleph.
a-french-anon··on Steel Bank Common Lisp
>For example, it cannot specialize an element type for lists.

Yes, but that would be a CL violation (or an extension to provide via something else than DEFTYPE), since DEFTYPE's body can't be infinitely recursive; cf https://www.lispworks.com/documentation/HyperSpec/Body/m_def...

>if you attempt to (declaim) every function, you will immediately see how vague and insufficient the types come out compared to even Python.

Indeed, but 1) it is used by the compiler itself while cpython currently ignores annotations and 2) runtime and buildtime typing use the same semantics and syntax, so you don't need band-aids like https://github.com/agronholm/typeguard

But yeah, CL's type system is lacking in many places. In order of practical advantages and difficulty to add (maybe): recursive DEFTYPE, typed HASH-TABLEs (I mean the keys and values), static typing of CLOS slots (invasive, like https://github.com/marcoheisig/fast-generic-functions), ..., parametric typing beyond ARRAYs.

a-french-anon··on IDF killed Gaza aid workers at point blank range in 2025 massacre: Report
Grossly asymmetric warfare promotes and "kinda" justifies guerilla tactics from one side. Necessity knows no law and all that.

Of course, that does mean the bigger side has to get dirty too, sometimes. Just not to the extent that Israel is, who clearly just want to cleanse the land in order to own it. I mean, this is Boer war territory, not (e.g.) Algerian war where torture was used but civilians were mostly left intact.

a-french-anon··on Music Discovery
Reading your comment and all its subtree made me realize there's another difficulty to the problem: what atomic unit do you use? Tracks, albums, artists?

One might argue that "artist" isn't granular enough, since lots of (most?) artists change sound during their career. For the two others, I think recommendations should be trained and given separately (segregated, if you will) between people who listen to albums and those who only care about tracks/singles.

a-french-anon··on How to stop being boring
Funnily, "interesting" is one of those characteristics that follow the "there's nothing less X than someone who wants to seem X". Along with "cool", "manly" and probably dozen others.
a-french-anon··on Peter Thiel: 2,436 emails with Epstein from 2014 to 2019
Always cute to see people speak with such confidence about stuff they know nothing about.

QAnon was always controlled opposition, unlike the website that was monitored then closed by the feds (CF) via false flag attack.

a-french-anon··on Shingles Vaccine Linked to Slower Biological Aging in Older Adults
Am I the only one who has a more circumspect reaction to such finding/claim? The idea that vaccines have unknown (since they're discovered much latter) effects very much separate from what they're supposed to do isn't reassuring to me...
a-french-anon··on Japan's Dododo Land, the most irritating place on Earth
One we discussed yesterday with a colleague (we're C++ devs): seeing anyone - especially a fellow dev - browsing the web WITHOUT ANY ADBLOCKER.
a-french-anon··on Europe's $24T Breakup with Visa and Mastercard Has Begun
Read your third link, please. The Ministry of Truth not being happy that their policy on "disinformation" isn't being applied as strongly as they wish isn't what I'd call "pushing heavy propaganda".
a-french-anon··on The time I didn't meet Jeffrey Epstein
> end of story.

Is it? Here's another version I like even more that unsettles democracy dogmatics: power attracts the corrupt.

a-french-anon··on Radicle: The Sovereign Forge
Hello, I read the FAQ and didn't manage to find (perhaps my fault) if users had to store data they didn't explicitly/manually cloned; like Freenet. Is it the case?
a-french-anon··on Can you slim macOS down?
Yes it does. It means: do my POSIX sh scripts using only POSIX utilities and their specified options/behaviour work here?
a-french-anon··on Can you slim macOS down?
Well no, it does exist, but not in UNIX itself, in Plan 9.
a-french-anon··on Can you slim macOS down?
You also need to change the /bin/sh symlink (to the included /bin/dash) to avoid multiple bugs in their ancient bash 3.2 showing in POSIX scripts.
a-french-anon··on Stories removed from the Hacker News Front Page, updated in real time (2024)
Seeing the kind of discourse you get here, how about Reddit?
← PreviousPage 3 of 13Next →