i just think ¿what kind of person would do that! is a better way of marking up rhetorical exclamations and ¡how could you? is a better way of marking up emphatic questions
const uuid7 = (date) => {
const n = BigInt(Math.floor(new Date(date))) << 80n | 7n << 76n | BigInt(Math.random() * 2 ** 12 >>> 0) << 64n | 2n << 62n | BigInt(Math.random() * 2 ** 32 >>> 0) << 30n | BigInt(Math.random() * 2 ** 30 >>> 0)
return `${(n >> 96n).toString(16).padStart(8, "0")}-${((n >> 80n) & (2n ** 16n) - 1n).toString(16).padStart(4, "0")}-${((n >> 64n) & (2n ** 16n) - 1n).toString(16).padStart(4, "0")}-${((n >> 48n) & (2n ** 16n) - 1n).toString(16).padStart(4, "0")}-${(n & (2n ** 48n - 1n)).toString(16).padStart(12, "0")}`
}
the post-receive hook is written in python and i hated every minute of it
but it will be low-maintenance and stable, and it has zero dependencies beyond the standard library
for something which needs to interact with the filesystem and output both xml and json that’s pretty good
this is all set up on my end i’m just waiting for my girlfriend to figure out the routing for the server; i gave her a somewhat complex list of demands
or tag+SHA1; shortcuts can generate those and it would guard against adding the same thing twice
i'm now wondering if in addition to normal timestamp-based statuses it would be useful to also have tag+uuid7-based statuses for things like notes or snippets which are not so ephemeral; that might be future work
python HTML processing is bad so the only markup i will support is <example://link> or <example://link>="link text"
i did make this shortcut and i'm working on the post-receive hook and some minimal html files to display the thing but it will probably be done tomorrow
the purpose of CORS is to make sure things which are only on the intranet stay only on the intranet and things which require credentials keep requiring credentials. if your thing doesn't fit either of those cases please just let people use scripts with them
type of guy who doesn't set access-control-allow-origin to the wildcard on a publicly-accessible redirect to a page with access-control-allow-origin set to the wildcard
working copy has shortcuts support; i bet i could real easily and just have a CI pipeline to turn those text files into structured data
Administrator / Public Relations for GlitchCat. Not actually glitchy, nor a cat. I wrote the rules for this instance.
“Constitutionally incapable of not going hard” — @aescling
“Fedi Cassandra” – @Satsuma
I HAVE EXPERIENCE IN THINGS. YOU CAN JUST @ ME.
I work for a library but I post about Zelda fanfiction.