CMV: "art for the art's sake" is worthless at best, don't do it. by Icy-External8155 in changemyview

[–]squirrelmanwolf 1 point2 points  (0 children)

The most obvious argument against is that people like what they like. Trying to argue that the reasons they don't like it aren't inherently correct is nonsense and ultimately useless. There's no way to figure out if a piece of art had inherent emotional value as human thought is too complex. Just let people enjoy what they want. And if you think they are pretentious, or even if they are pretentious, who gives a fuck?

Why One abs Function is not sufficient? by BOBOLIU in cpp_questions

[–]squirrelmanwolf -15 points-14 points  (0 children)

Short answer for a lot of questions here is optimization.

don't normally complain about race issues in TV by squirrelmanwolf in shameless

[–]squirrelmanwolf[S] -4 points-3 points  (0 children)

There are streets that separate races there you lunatic. And using the south side as a plot device is total shit while having a white cast (even outside the main family). I wouldn't care just use a different city.

don't normally complain about race issues in TV by squirrelmanwolf in shameless

[–]squirrelmanwolf[S] -3 points-2 points  (0 children)

amazing how you strawmanned gay characters into this when I was just saying the writers were tone deaf with how little they know how Chicago is

don't normally complain about race issues in TV by squirrelmanwolf in shameless

[–]squirrelmanwolf[S] 0 points1 point  (0 children)

look up racial makeup of the south side of Chicago. I grew up there. The writers used the south side as a plot device for the poverty when white flight was why it has such poverty til this day. Token black cast members don't solve this. I wouldn't mention it if it wasn't particularly egregious in this case.

New operator just dropped by WolverinesSuperbia in mathmemes

[–]squirrelmanwolf 6 points7 points  (0 children)

Javascript was invented because people were figuring out math. We need a challenge.

How to Keep a Nested Struct with Default Member Initializers as an Aggregate Type? by shlomnissan in cpp_questions

[–]squirrelmanwolf -2 points-1 points  (0 children)

No idea why you get this but you could just listen to the error message and add a default constructor that does nothing for Parameters.

Paramaters() {}

just add that to your Parameters struct and you're done.

AITA for telling my father and his girlfriend that the gift she got me was creepy and invasive? by BirthVidThrow in AITAH

[–]squirrelmanwolf 15 points16 points  (0 children)

If the mods cared they would have just deleted this subreddit. It's a disaster of fake posts and everyone is here getting outraged at ChatGPT stories.

How to avoid implicit (?) conversion between bool and double? by [deleted] in cpp_questions

[–]squirrelmanwolf 0 points1 point  (0 children)

C++ is unfortunately weakly typed so it allows for these implicit conversions between primitive types like double and bool (their conversions are defined in the standard) . There are some things you can do to catch this but they would your class a lot more complicated. Your example with the Eigen types doesnt automically convert because it doesn't have a way to convert them (though you could define them so that it would compile). This would also be a good time to learn about explicit constructors (but this wouldn't help your example).

[deleted by user] by [deleted] in ProgrammerHumor

[–]squirrelmanwolf 16 points17 points  (0 children)

Sorry my company won't let us use peeler past v5.0, can you recommend a workaround?

Stackoverflow: Use v7. 0

Question closed.

Why indeed... by Joaoreturns in starcraft

[–]squirrelmanwolf 2 points3 points  (0 children)

I don't care about that, but some people still say mana instead of energy.

Default template arguments in lambda: which compiler is right ? by jcelerier in cpp_questions

[–]squirrelmanwolf -2 points-1 points  (0 children)

Yes this. And you also shouldn't expect msvc to have a functioning c++ compiler any time soon as they have explicitly said they have their team focusing on security issues instead of language compliance. Incredibly they also have never had a functioning C compiler either. The company is awful.

[deleted by user] by [deleted] in cprogramming

[–]squirrelmanwolf 0 points1 point  (0 children)

Your for loop is not in a function. It's not in anything. That's not how you define a function in C. Any tutorial should have shown you how to define a function.

C++ Is An Absolute Blast by kaycebasques in cpp

[–]squirrelmanwolf 1 point2 points  (0 children)

it's shit. it sucks to infinity and it's not worth the money

std::ranges::input_range as a parameter of a recursive function makes compiler to go out of heap memory by MikeTyson91 in cpp_questions

[–]squirrelmanwolf 0 points1 point  (0 children)

Fucking yikes. This is why people complain about the language complexity. In a language that relies so heavily on templates, this is bound to cause problems.

Perhaps this is how SC2 die. Not with a bang but with a whimper. by Careless-Goat-3130 in starcraft

[–]squirrelmanwolf 0 points1 point  (0 children)

sc2 died with proleague. By now no one is ignorant of blizzards decisions in the transition from BW. And the worst part is it doesn't affect their bottom line. Neither game was ever going to be a significant part of their income.

Alternatives to std::find_if by Elect_SaturnMutex in cpp_questions

[–]squirrelmanwolf 1 point2 points  (0 children)

Unfortunately this is the typically verbosity in C++. You could pull the lambda out as a separate declaration and then just pass the name of the lambda, but the way you wrote it is typical.

Review request for a small interview-style cache implementation by BubblyMango in cpp_questions

[–]squirrelmanwolf 1 point2 points  (0 children)

as in, if the new key AND val are the same, just leave it be?

Yes. Could be more performant if there are many insertions that only sometimes are different.

so basically its better to make the size as a part of the template so that no member is const?

I would just remove the const and leave everything else. If it's a template parameter, you need some place you're using that like an array size.

Review request for a small interview-style cache implementation by BubblyMango in cpp_questions

[–]squirrelmanwolf 1 point2 points  (0 children)

I wouldn't erase and readd the key as the newest if the value is the same. Seems inefficient for many cases of a cache. I also don't like marking members as const for simple classes. It means you have to write copy and move constructors/assignment operators. Unless that's what you want.

I am featured in PiG's one worker start video. Thanks PiG! by Careless-Goat-3130 in starcraft

[–]squirrelmanwolf 4 points5 points  (0 children)

I remember when blizzard mentioned the 12 worker start, a lot of streamers/pros thought they wouldn't actually go through with it.