Show newer

mechanical keyboard are indeed more fun... have an urge to play a typing game

now, envy me! my keyboard is more expensive than my computer...

Stack exchange licensing code under CC-BY-SA is just bonkers, from all perspectives.
Should I sacrifice my code snippet to this demon in exchange for feedback?

Should 0 total duration be a valid state for a timer?

It's a sentinel value that might take care of some edge cases, but then have to guard against division by 0 when calculating progress ratio (elapsed/total). It's the only sensible default initialization value, but it also doesn't really makes sense conceptually - it's done/triggered before it's even started.

Prioritizing mechanical thinking, functional programming languages are primitive and inexpressive, at their extremes resembling assembly.

lower is marries to both higher and upper, and downer is just sad... life is so unfair...

I wrote

container.push_back(item);
auto& new_item = container.front();

and suffered grave consequences.

From now on i will only write

auto& new_item = container.emplace_back(item);

phone crashed, lost all subway tooter columns, never felt more free

std::visit should have been called transform and should have worked with tuples

std::reduce as it is now should have just been an std::accumulate overload (barring the default init, which is evil, and should be instead inferred from the operator when possible, through some standard interface)

a function called reduce should support partial reductions

namark boosted

a write sentence... miss word a... it insert in... wrong the place... notice never

my vector type is not properly vectorized by the compilers in non trivial programs... re

Absolutists are called absolutists cause they can twist their words to mean absolutely anything.

@georgia I missed the reply button -_- this in response to your last question.

Show thread

For example, how the cruel have an advantage in a gunfight, or any confrontation with guns. And the kind have a disadvantage. And that it is not at all equal.

Initial argument was, the one who shoots first with intent to kill wins the gunfight.

Show older
Qoto Mastodon

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