Show newer

@Acer

>"I only got 50% of the test cases passed."

Does this mean that 50% produced an error, or that 50% produced the wrong result?

Just looking at it without actually testing it myself, I suspect the problem is in the divide by 2, (C/=2;) which would be a non-integer result about 50% of the time.

Perhaps a better way is to use bitwise operators. Use bitwise shift left (<<) and then test if it is greater than 2^(n-1). (where n=number of bits). Or optionally, after the shift do a logical AND (&) with a mask that has the highest bit set, then compare, etc.

@trinsec @lucifargundam

I don't think much about many and much. I probably mess that up a lot.

It took me a long time to learn about "less" and "fewer", which is another similar countable/non-countable mistake. (Use "fewer" for countable objects.)

Since the pandemic started, the US healthcare industry has lost 684,286 customers.

The death rate in the US is now equivalent to a 9/11 attack happening everyday.

Pat boosted

@trinsec @lucifargundam

I don't mind stupidity as long as a person is willing to learn.

By the way, that should be "there are", not "there's". The word "people" is plural so it requires the plural verb "are".

You wouldn't say, "There is people." That's incorrect. You say, "There are people." Even though you placed modifiers ("too many stupid") in between the verb and its noun.

In grammar, this is known as agreement, specifically number agreement.

This mathematical model says that respirators could have stopped COVID-19 in the US...

This study by researchers at Harvard Medical School and other institutions says that if just 40% of the population had worn N95 respirators at the beginning of the outbreak in the US, then the epidemic would never have become established.

royalsocietypublishing.org/doi

This is an elastomeric respirator. These respirators provide the best protection and fit (other than units that provide a separate air supply, like SCBA (self-contained breathing aparatus) or PAPR (powered air-purifying respirator)). Elastomeric respirators are designed for reuse and the filters are replaceable. The most effective filters for these respirators are rated N100 or P100 (or P3 in Europe). The respirators usually have an exhalation valve to make breathing easier. If source control is desired, then the exhalation valve should be covered with separate cloth or filter material. (Being careful not to excessively impede breathing.)

(This pic is licensed under the Creative Commons Attribution 2.5 Generic license.
Attribution: Ryssby at English Wikipedia)

This is a respirator, also known as an N95 mask. These respirators have the filter built into the mask and are usually designed for limited use and disposal, although when supplies are short they can be reused as long as they still provide a good fit and are not clogged so as to make breathing difficult. They sometimes have an exhalation valve that allows exhaled air to escape directly without being filtered so as to make breathing easier. The unit in this picture also provides source control.

Pic: Astronaut Kate Rubins wearing a respirator.

This is a surgical mask. It is designed to provide some level of source control, but is not designed to protect the wearer from airborne pathogens because it does not fit tightly to the face and allows some air to flow around the mask. The mask material is made of non-woven fabric, like melt-blown media, which can often filter smaller particles better than a simple cloth mask.

However, if you want to protect yourself from COVID-19, you must wear a respirator, like an N95 mask (or even better, N100).

Happy Constitution Day!

The American Revolution and the (imperfect) Constitution we created from it was an outlier among political revolutions in history. Although some among the founders were in it for a power grab, most were sincere and we won freedom.

Here's how revolutions typically play out...

Revolutionary leader says, "oppressed, blah, blah, blah, injustice, blah blah, blah, corrupt, blah, blah, incompetent, blah, blah...<insert list of contemporary grievances> ... Therefore, give me absolute power because only I can fit this..."

(Sometimes that last part is disguised as, "power to the people and I'll decide what the people want." )

- because this is a science instance, right?

@freemo @M0YNG @hans_w

Does that mean that the plants that grow in the soil are cannibals?

@freemo @M0YNG @hans_w

The plants are dead, but the soil is alive.

@freemo

Then if you bury those plants underground and wait a few million years, you can pump out those hydrocarbons and burn them so there is more CO2 for the plants again. (sarcasm)

@freemo

I just heard today that plants are made mostly of air, and a little water. Most of the structure of plants are carbon from CO2, and hydrogen from the rain. Just a very small amount is minerals from the soil.

I just blocked a qoto user who was promoting violence.

@lupyuen

Because that's what they would look like if they were actual relief maps. (It's a map, not a sat image.)

@DavidBond

Looks like someone poured ammonia or H2O2 into a dispenser of hand sanitizer or whatever, then screwed the top back on and shook it.

Show older
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.