TomMasz

joined 3 years ago
[–] TomMasz@lemmy.world 45 points 3 days ago

Disney: Every one of our animated films requires a half-hearted live-action remake.

Everyone else: No.

[–] TomMasz@lemmy.world 71 points 4 days ago (1 children)

It was all over when Facebook introduced the algorithmic timeline. It's just taken a while for people to notice how awful it's made everything.

[–] TomMasz@lemmy.world 29 points 1 week ago (2 children)

No industry has ever wanted unions.

[–] TomMasz@lemmy.world 9 points 1 week ago (1 children)

Nearly one-third of corporate executives are dumber than an box of rocks.

[–] TomMasz@lemmy.world 12 points 1 week ago

I had a vindaloo in a sports pub in Fulham that had me crying. The local folks I was with had no problem with it.

[–] TomMasz@lemmy.world 27 points 1 week ago (2 children)

The last one is my favorite.

[–] TomMasz@lemmy.world 4 points 1 week ago

Little Marco was considered a possibility?

[–] TomMasz@lemmy.world 10 points 1 week ago (1 children)

The spread of debris is honestly impressive.

[–] TomMasz@lemmy.world 3 points 1 week ago

As these behemoths become larger and larger, the odds of an outbreak of disease goes up and up. As does the negative environmental impact. It's gotta stop.

[–] TomMasz@lemmy.world 3 points 2 weeks ago

How to never get asked to make pizza again.

[–] TomMasz@lemmy.world 31 points 2 weeks ago (1 children)

If only this totally predictable thing could have been foreseen.

[–] TomMasz@lemmy.world 2 points 2 weeks ago

These and Erector Sets were top toys when I was a kid.

 

Nap time is nap time, no matter where he is.

 

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 ›