TomMasz

joined 1 year ago
[–] [email protected] 17 points 10 hours ago (1 children)

Saw this one coming. He'll do the same to justify ending elections.

[–] [email protected] 11 points 3 days ago* (last edited 3 days ago)

It was a long time ago that I realized that women’s clothing sizing was largely fiction. Trying to buy clothing for a girlfriend or (later) my wife based on the tag of something they already owned was an exercise in futility.

[–] [email protected] 4 points 4 days ago* (last edited 4 days ago) (2 children)

Dark Star(1974), directed by John Carpenter (The Thing) and written by him and Dan O'Bannon (Alien). Worth a watch for the low-budget effects and realistic depiction of what it must be like to be stuck in a spaceship for 20 years with the same people.

[–] [email protected] 8 points 4 days ago

Is this what being on drugs is like in normal times?

[–] [email protected] 6 points 1 week ago (1 children)

Make sure your hosting supports webfinger, otherwise activitypub probably won't work. I'm on Siteground and they explicitly prevent it. Matthias Pfeferle, who wrote the ActivityPub plugin and now works for Automattic, actually asked them to enable it but they said no. Other hosts might do this as well.

[–] [email protected] 14 points 2 weeks ago* (last edited 2 weeks ago)

I'm so angry I'm going to spend hours angrily inscribing a clay tablet telling Ea-nāṣir know how angry I am.

[–] [email protected] 14 points 3 weeks ago

Eventually, even Tom Brady wasn't Tom Brady. And he's no Tom Brady.

[–] [email protected] 2 points 1 month ago

I'm sure he'll be prosecuted. Oh, wait, he's a Republican, nevermind.

[–] [email protected] 4 points 1 month ago
[–] [email protected] 24 points 1 month ago (1 children)

Of course he's Black.

[–] [email protected] 16 points 1 month ago (1 children)

ChatGPT, show me the world's tiniest violin playing "No One Gives a Fuck" in A minor.

 

Absolute JS newbie here. I am able to use fetch() to get JSON from a URL but I can't figure out how to do anything with that JSON outside of the fetch itself.

Here's my code (API key and GPS redacted):

fetch('https://www.airnowapi.org/aq/forecast/latLong/?format=application/json&latitude=X&longitude=X&distance=50&API_KEY=X')
        .then(result => result.json())
        .then((out2) => {     
            console.log('Fetch Output: ', out2);
        }).catch(err => console.error(err)); 

Any code that references out2 other than console.log() call gives an error that out2 is undefined. How do I get access to out2 anywhere else?

view more: next ›