TomMasz

joined 1 year ago
[–] TomMasz 14 points 4 days ago* (last edited 4 days 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.

[–] TomMasz 14 points 1 week ago

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

[–] TomMasz 2 points 2 weeks ago

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

[–] TomMasz 4 points 2 weeks ago
[–] TomMasz 24 points 3 weeks ago (1 children)

Of course he's Black.

[–] TomMasz 16 points 1 month ago (1 children)

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

[–] TomMasz 12 points 1 month ago

The Feds have a history of not indicting until they're sure they have enough evidence to win. Either it took them a lot of searching or they found so much they had trouble getting it all in.

[–] TomMasz 121 points 1 month ago (5 children)

Perhaps the women are tired of misogynistic religions telling them they're inferior.

[–] TomMasz 31 points 1 month ago

I was developing 30 years ago and I love what's available today. Nostalgia is fine, as far as it goes, but things change and sometimes for the better. This is one of those cases.

[–] TomMasz 19 points 1 month ago

He thinks he can get away with the same shit Trump pulls, but crazy as he is he's no Trump.

[–] TomMasz 102 points 2 months ago (26 children)

Heaven forbid an animal have emotions.

 

i have a format for note-taking in meetings that I currently copy/paste to use in new notes. I would like to be able to create a new, empty, note based on that format so I can skip the copy/paste step. I have Templater but it seems far more complex than what I need. Any suggestions?

67
Ride paranoid! (lemmy.world)
submitted 11 months ago by TomMasz to c/bikes
 
 

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 ›