society if people who spent 3000 hours writing custom game maker tools just learned C and SDL instead: *picture of futuristic city*
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
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
That's not very heinous by itself, but then you get the typos and shit like the stuff in this image and just... wow.
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'
}
4am epub dissection and surgery
Kudos to @minervissa for being a kind helping hand and keeping us company through this torturous ordeal
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!
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
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
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
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.”
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?
23. Trans / Poly / Pan-Lesbian / Plural / Apparently Ace / Disabled
Won't put up with bullshit from Nazis, Racists, etc.
New headmate for someone you probably know.