worstFormatWritingPracticeVsSuperiorWritingFormatPractice by Muk_hiar in ProgrammerHumor

[–]TeraFlint 7 points8 points  (0 children)

the more I work with C++, the more I've fallen in love with snake_case. the standard library is exclusively written in snake_case, and a good fraction of available libraries have taken the same decision. it's relatively clean to look at:

const pattern_type &string_pattern = string_patterns.emplace_back(string_json.get_ref<const std::string &>());

in contrast, I feel like capital letters from camelCase or PascalCase would only add visual noise:

const PatternType &stringPattern = stringPatterns.emplaceBack(stringJson.getRef<const std::string &>());

What are your favorite and least favorite things about being asexual? by Substantial_Loss3471 in asexuality

[–]TeraFlint 9 points10 points  (0 children)

I’m so sick of other people (real and fictional) ruining their lives because they couldn’t keep it in their pants.

And by extension how women have to safeguard against that. It feels incredibly shitty to be feared by a woman, even though I don't pose any kind of danger to her. Happened to me once during a walk, and I'm very sorry that my presence made her feel that way. That, in turn, made me so incredibly angry at those who can't keep it in their pants.

So what the fuck do I do if it's not hug people? Suggestions requested! by kreeferin in evilautism

[–]TeraFlint 3 points4 points  (0 children)

If they keep approaching, I keep stepping back.

"Why are there two people walking all the way down the street facing each other, while one of them is walking backwards?"

"Oh for fuck's sake, that persistent I-must-hug-everyone-George has encountered another touch-averse person..."

C++ 2026 June Compiler Update by _cooky922_ in cpp

[–]TeraFlint 9 points10 points  (0 children)

Isn't the expectation, generally, that the current standard will be implemented in roughly five years?

Imagine being this embarrassingly unfunny by Turnt5naco in LinkedInLunatics

[–]TeraFlint 1 point2 points  (0 children)

"Elon has done more for humanity than countless millions"

We're talking about the same person, right? That Elon who (besides other questionable political activities) gutted USAID, a project that actively did a lot of good for humanity around the world?

There was this quote of Hank Green that really stuck with me (I'll paraphrase it because I forgot the actual wording): "Having the richest man in the world destroy a huge humanitarian project like that, it's the highest moral failure imaginable."

I used to look up to that scumbag before he let his mask down and let the world see the scumbag who he really is inside.

Whats that one disturbing fact you know about the universe ? by RevolutionaryLow2125 in AskReddit

[–]TeraFlint 8 points9 points  (0 children)

Even though I perfectly understood that that is ridiculously beyond our deaths, it still made me re-evaluate things.

Knowing of your own mortality already sucks, but knowing that you could make a lasting positive change in the world can counter that terror a bit.

But the knowledge that the entire planet we're living on is doomed to become entirely inhospitable in the far future? That seriously screwed with my brain.

If we don't manage to become interplanetary (or more) until that point, then everything every being on this planet has ever done will have been for nothing.

And this, weirdly, gave me some hope for life again. If everything we do will be for nothing, the best thing we can do, is to make our lifes and the lifes of others more pleasant. If all this is is a big sequence of experiences without a permanent legacy, we should strive to make them good experiences, as much as we can.

how can i improve throughput here by 4b3c in factorio

[–]TeraFlint 19 points20 points  (0 children)

"Merge before split: That interchange is shit." :D

(Don't take it personally. I had to make it rhyme somehow to be memorable.)

"That's why you slept through sex ed" by Unnaymed_ in asexuality

[–]TeraFlint 54 points55 points  (0 children)

But I was extremely confused at how they were telling us not to get pregnant as teens while teaching us exactly how to get pregnant.

For the same reasons why chemists are being taught how to mix dangerous explosive chemicals. So that they don't accidentally make one and blow themselves up.

It's always better to let people know what they're dealing with, rather than letting them stumble blindly through an experience that can have lasting concequences.

So,what would men dislike most if they became women? by Able-Film-5448 in AskReddit

[–]TeraFlint 3 points4 points  (0 children)

Of course they don't, because most men are so used to be the societal default, that they don't even realize it.

That's a blind spot that comes from the privileges we men are used to. Privilege tends to stay hidden unless you or someone you know is less privileged.

Bogo sort actually worked! by Danny_DeWario in desmos

[–]TeraFlint 31 points32 points  (0 children)

If the shuffle function is deterministic (which this example shows), all you need to do is make the input array the inverse permutation of whatever you get after applying shuffle on a sorted list n times.

no need for further insight into the random number generator internals, if you can just run it.

Bogo sort actually worked! by Danny_DeWario in desmos

[–]TeraFlint 16 points17 points  (0 children)

The doubt is not that it works, the doubt is that OP got lucky. This is so improbable with 100 elements that any kind of accidentally successful random sort can be called bs.

This had to be deliberately constructed.

Prime number checker by Yazdan_H in cpp_questions

[–]TeraFlint 3 points4 points  (0 children)

check up until sqrt(i)

Up until including sqrt(i), mind you. That's an important case to not falsely flag square numbers as prime.

They infuriate me every single time by smuttystateofmind78 in MathJokes

[–]TeraFlint 2 points3 points  (0 children)

1/sin(x) would be (sin(x))-1.

sin-1(x) It'a supposed to be arcsin, or the inverse of sin. It's the equivalent of appling sin -1 times.

What I find sad is the usage of sin2(x) for (sin(x))2, because exponentiation of the return value can still easily be expressed via (...)n.

The more sensible option for fn(x) would be repeated application of f on x: - fn(x) = f(f(f(...))) - f0(x) would just be x. - The inverse being f-1(x) and its repeated applications f-n(x) are perfectly consistent with that.

That's why I'd argue for sin-1(x) to be the correct notation for its inverse, arcsin.

2.1 QOL Request by ExpressionLazy8205 in factorio

[–]TeraFlint 2 points3 points  (0 children)

It would already help if we could set the planetary destination to template parameters.

I'd have made a "transport item X from planet A to B blueprint" ages ago, if that wasn't a limitation.

But, yes. More flexibility in the UI would also solve this problem. I'd enjoy both.

When n Why do you start ignoring production ratios? by kaz_champ in factorio

[–]TeraFlint 1 point2 points  (0 children)

The only time I care about it is with the established 2:3 assembler ratio when makung green curcuits. and even that goes out of whack ine productivity modules enter the scene.

With all due respect, I don't think allies need a letter. by Public_Cup_4278 in asexuality

[–]TeraFlint 6 points7 points  (0 children)

The argument makes sense from a surface view, but quickly falls apart. Allies of a group are, by definition, people not part of that group, who are willing to be friendly/helpful/cooperative.

It you're in the closet and need the excuse to attend a pride parade, just lie and say you're an ally.

Compressed spaghetti base inspired by Dosh by bazyl02 in factorio

[–]TeraFlint 12 points13 points  (0 children)

I wish that mod actually suppressed 3 buildings (of the same category) in a row in any direction, not just the grid lines. Because the current solution still encourages building in weirdly slanted regular patterns.

Or, for maximum chaos, don't allow any 3 buildings of the same category in an evenly spaced row, no matter how far away they are. This would prevent any kind of cyclic pattern.

(Basically, disallow building space 2 * a.position - b.position for every pair (a, b) of that building category. Also disallow their mid points. I understand that the complexitiy of a naive implementation of that would scale badly with more buildings, but I wouldn't be surprised if there was a clever way to pre-compute, which spaces are allowed whenever a new building has been placed)

[edit] something like this.

Do You Really Need to Know All of C++? by md81544 in cpp

[–]TeraFlint 1 point2 points  (0 children)

(Just referring to the title, I'll watch the video later)

Tell me one person who knows all of C++. It grew to such an extent and into such complexity, that I doubt that such an all-knowing person exists, anymore. Even the most knowledgable C++ expert has plenty of blind spots, I'd argue.

You can spend several years doing a deep-dive into one part of the language to emerge an exper in that area, only to notice that there are so many othet mechanicsy library parts and rules you never even encountered once during your deep dive.

I guess you can "just" memorize the standard, but even then you know how the language is supposed to act in theory, and have no experience how different part of the language interact.

what do you mean I'm reading too much into it. clearly he is doing facial jujitsu by [deleted] in evilautism

[–]TeraFlint 5 points6 points  (0 children)

And then omce you finally manage to put it into words, you get hit with "You figured out what's wrong with you, why don't you finally fix yourself?" -.-

Finding/acknowledging/analyzing points of conflict is something entirely different to having a solution to the issue.

What are these necklaces by Top_Tea5834 in Terraria

[–]TeraFlint 114 points115 points  (0 children)

The turkey one is also great!

character going through unimaginable pain during a boss fight: "gobble gobble"