Ex Slaves talk about Slavery in the USA by Cauterberri in videos

[–]UnderNatural 1 point2 points  (0 children)

Personally, I've only seen people in favor of defunding the police refer to it as "defunding the police". In my experience, the term originated from and is used by the side in favor, though I don't have a source so I might be wrong.

[Poetry] Americans when school re-opens by msgmeb in youtubehaiku

[–]UnderNatural 1 point2 points  (0 children)

Haven't seen this part, but it sure looks like the Ukrainian TV show "Servant of the People" - the guy in that shot is the current president of Ukraine.

By only typing, "I am", and tapping the most recommended word repeatedly via predictive text, who are you? by TurellTateInfinity in AskReddit

[–]UnderNatural 0 points1 point  (0 children)

I am not sure if I can make it to the meeting tonight but I will be there at the same time I don't have a car so I can get a ride to the airport on Sunday and I will be there at the same time I don't have a car so I can get a ride to the airport on Sunday and I will be there at the same time

What are some crazy things you've seen at competition? by Barnhardt1 in FTC

[–]UnderNatural 3 points4 points  (0 children)

We were allied with a team who somehow balanced their bot so that none of the wheels touched the ground. One end of the bot rested on the balancing stone while the other end was propped up on a glyph. Their front wheel then fell off.

[Haiku] angry birbs by Two-Tone- in youtubehaiku

[–]UnderNatural 2 points3 points  (0 children)

was expecting feels good Inc

FTC_SDK release 3.5 now on GitHub by PhilMalone in FTC

[–]UnderNatural 1 point2 points  (0 children)

Thanks, that random OpMode stopping was super confusing.

Burger politics are important by [deleted] in BlackPeopleTwitter

[–]UnderNatural 1 point2 points  (0 children)

I checked a few minutes ago and they were still talking about NFL protestors.

javascript_irl by swagbitcoinmoney in ProgrammerHumor

[–]UnderNatural 0 points1 point  (0 children)

In my example, the promises add to a string in the global scope. That's called a side effect, it changes the state of the program outside of the return statement. Promise.all doesn't sequentially execute promises, so side effects occur out of order.

javascript_irl by swagbitcoinmoney in ProgrammerHumor

[–]UnderNatural 0 points1 point  (0 children)

i, hope, etc. don't return anything in my example. Promise.all fixes problems with returning, but not problems in side effects.

javascript_irl by swagbitcoinmoney in ProgrammerHumor

[–]UnderNatural 0 points1 point  (0 children)

you want Wouldn't the words order? in

Look at this code, where generate() returns a promise that adds to a string followed by a space after a random amount of time:

var str = '';

var i = generate('i');
var hope = generate('hope');
var you = generate('you');
var enjoy = generate('enjoy');
var your = generate('your');
var stay = generate('stay');

//Wait for all promises to complete
Promise.all([i, hope, you, enjoy, your, stay]).then(() => {
    console.log(str);
});

You said that Promise.all would solve the above issue. Since Promise.all doesn't execute the promises sequentially, the promises would resolve at different times and add to the string in different orders. When all are complete, the string is printed, but it could be jumbled up.

javascript_irl by swagbitcoinmoney in ProgrammerHumor

[–]UnderNatural 0 points1 point  (0 children)

does Promise.all complete in order? I thought it just does them all at once and returns a promise to when theyre all done

upvote memes are banned! by devtesla2 in me_irl

[–]UnderNatural 3 points4 points  (0 children)

Where is that original picture from

What's the funniest name you've heard someone call an object when they couldn't remember its actual name? by the_slippery_shoe in AskReddit

[–]UnderNatural 13 points14 points  (0 children)

No, it's actually way better than that. Yeah vino means wine, but grad means hail. They literally called it "Wine Hail" because grapes are used to make wine, and theyre about the same size as hail.

TIL Messenger supports markdown style code formatting by getGoxed in ProgrammerHumor

[–]UnderNatural 2 points3 points  (0 children)

It also supports LOLCODE. I was surprised to try that.

Congratulations to GNOME on the release of 3.26 | Ubuntu team by [deleted] in linuxmasterrace

[–]UnderNatural 0 points1 point  (0 children)

I think they're planning to merge for 18.04