bleistift2

joined 8 months ago
 
[–] bleistift2@sopuli.xyz 5 points 4 weeks ago

Don’t forget that mountain.

[–] bleistift2@sopuli.xyz 42 points 4 weeks ago* (last edited 4 weeks ago) (2 children)

Couldn’t resist. In a more standard form this molecule should (I believe—chemistry has been a long time ago) look like this:

Made with MolView –https://molview.org/?smiles=C%28%5BC%40%5D%28CC%29%28C%29C%28CC%29%5BC%40%5D%28CC%29%28CC%29%5BC%40%40%5D%28C%28C%29C%29%28CC%29CCCC%29C

People knowledgeable in chemistry, please correct!

[–] bleistift2@sopuli.xyz 6 points 4 weeks ago (1 children)

You don’t need ADD to like the clickety sound and feeling.

[–] bleistift2@sopuli.xyz 4 points 4 weeks ago (1 children)

I would take the validity of this excerpt with a grain of salt

Indeed. The quote was first published in 1957 and may be heavily outdated. I cannot judge for myself, because I know next to nothing about biology, but Asimov’s astronomical essays are plain wrong by today’s knowledge.

Also keep in mind that this was written for science fiction readers. So there are necessarily simplifications that may not survive close scrutiny (again: I’m not an expert here).

[–] bleistift2@sopuli.xyz 1 points 4 weeks ago* (last edited 4 weeks ago)

You need to provide the user ID (or username) of the account you want to fetch in the query parameters.

[–] bleistift2@sopuli.xyz 1 points 4 weeks ago (1 children)

Love the function name. When asking for help it’s always appreciated to make life for your helpers as easy as possible. For instance by linking to the offending function directly (especially when the file is so large).

[–] bleistift2@sopuli.xyz 1 points 4 weeks ago* (last edited 4 weeks ago) (2 children)

~~Could you provide a link to the documentation for the endpoint you want to access? I can’t find it. My guess is that you need to fetch a specific user via ${api}/user/124356.~~

Docs here. My guess is wrong.

God, that documentation is annoying to read. I revise my revised opinion. Try providing a user ID or a username as query parameters in your API call.

const response = await fetch(`${api}/user?person_id=123456`, {
    method: "GET",
    headers: {
        "Content-Type": "application/json",
        "Authorization": `Bearer ${lemmyToken}`
    }
});
[–] bleistift2@sopuli.xyz 2 points 4 weeks ago (1 children)
[–] bleistift2@sopuli.xyz 3 points 4 weeks ago (1 children)

Yeah, that is more incompetence than I am used to.

Second that.

What original source did the social media cite? Have you looked there for your answers?

[–] bleistift2@sopuli.xyz 8 points 4 weeks ago* (last edited 4 weeks ago)

Have fun, but beware of the rabbit hole that is Asimov’s life work.

(In no way complete)

[–] bleistift2@sopuli.xyz 18 points 4 weeks ago* (last edited 4 weeks ago) (2 children)

BREAKING NEWS: It’s Winter.

A few years ago a German satire magazine made fun of news stations reporting exactly that: Wintereinbruch im Winter by extra3.

172
submitted 1 month ago* (last edited 1 month ago) by bleistift2@sopuli.xyz to c/programmer_humor@programming.dev
 

[Meme transcription:]

– Hey, why is the shell prompt on the production server red now?
– Earlier: me@prod:~$ docker container remove --force the-application

Protip: If you’re used to shutting down your computer via the CLI, make it a habit to use an alias like off.

This way you will never, ever turn off a remote server by accidentally using throwing poweroff at a residual SSH connection.

458
IEEE 754 (cdn.fosstodon.org)
 

cross-posted from: https://lemmy.ml/post/24332731

~~Stolen~~ Cross-posted from here: https://fosstodon.org/@foo/113731569632505985

 

Meme-Transkription:

Paneel 1: Ein freundlicher, Anzug tragender Mitarbeiter. Er ist als Skulpturenverkäufer gekennzeichnet und sagt: „Also wir haben Ritter, traurige Engel, zufällige Raubtiere, eine Justizia, den Kopf von irgendeinem zufälligen Typen, am Boden liegende Menschen, Menschen ohne Kopf und Insekten.

Paneel 2: Das „Shut up and take my money”-Meme aus Futurama. Frys Kopf wurde durch das Umbrella-Logo aus Resident-Evil ersetzt.

 

Wollt ihr euch alt fühlen?

Resident Evil läuft gerade im Fernsehen.

Auf Kabel 1.

63
Title (lemmy.blahaj.zone)
 
 
 
264
submitted 1 month ago* (last edited 1 month ago) by bleistift2@sopuli.xyz to c/programmer_humor@programming.dev
 
 
 

Image transcription: A lengthy source code comment. The details are irrelevant. Github Copilot autocompletes: “This is a bit of a hack, but it works.”

1
ich📺iel (sopuli.xyz)
submitted 2 months ago* (last edited 2 months ago) by bleistift2@sopuli.xyz to c/ich_iel@feddit.org
 
view more: next ›