cybre.space has reached the end-of-life and is now read-only. Please see the EOL announcement for details
Show newer
Asternova relayed

society if people who spent 3000 hours writing custom game maker tools just learned C and SDL instead: *picture of futuristic city*

Show thread

Python: There's only one way to do things, unless you really, really try hard. In which case you can totally misuse a function that returns local environment variables by making a function to map them into a dict

Show thread

There are so many better ways to do this and... this isn't it buddy. That's not a good way to do that. Get help

Show thread

That's not very heinous by itself, but then you get the typos and shit like the stuff in this image and just... wow.

Show thread

screenreader warning: code samples 

Mastodon.py is INCREDIBLY bad code. Like holy shit. So many instances of:

params = {}
params['foo'] = 'bar'

when you can just do

params = {
'foo': 'bar'
}

Show thread

We are rewriting the most essential parts of Mastodon.py so that we can write a mastodon-backup utility that doesn't repeatedly hammer the database until requests time out, even with --pace

Taking pure unfiltered psychic harm from the assumptions others make during online discussions

4am epub dissection and surgery 

Kudos to @minervissa for being a kind helping hand and keeping us company through this torturous ordeal

Show thread

text based meme, shitpost 

oh, I happened to do delete first? well now it's -a to delete and you'll be grateful for it!

Show thread

text based meme, shitpost 

virgin: something something semantically meaningful option letters

chad: just labels them alphabetically based on the feature implementation timeline

4am epub dissection and surgery 

Everything is completed aside from zipping it up, because I can't zip it up in a way that file(1) thinks it is an epub

So as always with Technology, what should be the easiest final step, is In Fact the most difficult

Show thread

4am epub dissection and surgery 

Ok, ok, this seems like a ten minute jobby including time for errors.

- Download and extract the fonts to the right directory in the epub (done!)
- Alter the manifest file to add them there (In progress)
- Add a few lines of font-face CSS
- Add a few lines to tell it to use the right font
- zip back up

Show thread
Asternova relayed

For each ISO standard they should assign a negative number for doing the opposite thing:

* ISO -639 Codes for representing unintelligble nonsense
* ISO -1073 Unreadable handwriting
* ISO -3103 Preparation of coffee
* ISO -9001 Corporate sabotage
* ISO -37001 Bribery management systems

4am epub dissection and surgery 

There are two manifest files??

Show thread

Being a developer is being too tired and exhausted to code something that you want

But then doing manual surgery on an epub at 4am because you can't get to sleep, your epub reader doesn't support custom fonts but /does/ support embedded fonts, and you just want the ability to read it using Atkinson Hyperlegible so you don't have to squint at the bloody thing all night

Asternova relayed

OH: powertool lesbian as a service, powered by pretix

Asternova relayed

whenever people say AI will solve things we can’t I just think of Babbage: “On two occasions I have been asked [by members of Parliament], 'Pray, Mr. Babbage, if you put into the machine wrong figures, will the right answers come out?' I am not able rightly to apprehend the kind of confusion of ideas that could provoke such a question.”

Asternova relayed

challenge the axioms of your computing

🤔 filesystem as Directed Graph instead of Tree. no root directory?
🤔 people sharing a single display. several pointers & keyboards with different authorship?
🤔 coalesce the memory heirarchy: no fread or fwrite, only mmap(). internet as numa cluster?
🤔 snapshots + rollback as a primitive operation, applied to running programs. power failure tolerance?

what else seems fundamental but is merely conventional?

Show older
Cybrespace

the mastodon instance at cybre.space is retired

see the end-of-life plan for details: https://cybre.space/~chr/cybre-space-eol