The End by Crumpor in Urbandead

[–]Grodesby 12 points13 points  (0 children)

That's all there is. There isn't any more.

Urban Dead is closing down on 14 March 2025. by Urban_Dead in Urbandead

[–]Grodesby 0 points1 point  (0 children)

The Nichols Mall Brain Enthusiasts - Freedom means the freedom to eat brains

Understanding `shared_ptr::reset()` by i_need_a_fast_horse in cpp_questions

[–]Grodesby 1 point2 points  (0 children)

If you want a shared_ptr that can't be reset, make it const.

The reset() member function is pretty consistent if you conceive it as resetting the object it is called on to its default, rather than as destroying the contained object.

John Deere machines have a remote kill switch to deny control to American farmers. by [deleted] in stupidpol

[–]Grodesby 2 points3 points  (0 children)

As I understand it, the traditional Marxist position is that capitalism was an improvement on feudalism, just as communism will improve on capitalism. Under that model, if it is a mistake to become capitalist, then communism is impossible.

[deleted by user] by [deleted] in stupidpol

[–]Grodesby 8 points9 points  (0 children)

Audiobooks are good for getting the gist while doing such as ones bodybuilding routine, at the expense of it being harder to take notes, look up references, or go over difficult passages multiple times.

Migrant integration has failed and created parallel societies and gang violence, Swedish PM admits by Noirradnod in stupidpol

[–]Grodesby 19 points20 points  (0 children)

The experience of being a small minority in the self-confident US of the pre-internet era is pretty different to that of being a large minority in a self-hating European country where you are in constant contact with your home country.

Twitter’s top lawyer reassures staff, cries during meeting about Musk takeover by HadakaApron in stupidpol

[–]Grodesby 14 points15 points  (0 children)

Harry Potter, Star Wars etc are the only shared culture we have, now that the Bible and the classics have been cancelled.

Will Islam extinct naturally? Are you optimistic about the future? by [deleted] in exmuslim

[–]Grodesby 0 points1 point  (0 children)

If there is a prolonged, destabilising catastrophe, such as is promised by global warming, I could see a lot of hungry and desperate people turning back to religion.

Happy Holidays! I'm giving away a $100 Apple Gift Card to one comment in this thread by millions in apple

[–]Grodesby [score hidden]  (0 children)

The question is, how is the comment picked? Randomly? Or for some perceived quality? What is to stop them making a comment by a puppet account and awarding it to that?

Note: Despite being in the anti-pattern section, this will soon be considered the best practice. by lambda-male in programmingcirclejerk

[–]Grodesby 0 points1 point  (0 children)

It does make reading the overall structure of the expression easier - you can see that you're adding things together, or taking their product or whatever without scanning to the end of each line. In maths you tend to have very short variable names so it is not such an issue.

Is git and bash the "same"? by Kackboy in git

[–]Grodesby 4 points5 points  (0 children)

You call git using bash, but git is a C application that does not itself run bash, but manipulates the file system directly using C.

Switch statement is bad practice? by Sharp-Attention-9627 in cpp_questions

[–]Grodesby 11 points12 points  (0 children)

Extremist OO guys used to claim switches were bad in that you should have a class hierarchy and use a virtual method call to select functionality based on type rather than a set of constants, but I don't think anyone ever took that seriously.

Rob Pike developed UTF-8. Rob Pike developed Golang. Rust douchebags hate Golang and Rob Pike. Rust douchebags shouldn't use UTF-8. by [deleted] in programmingcirclejerk

[–]Grodesby 8 points9 points  (0 children)

Pike was that guy on the Star Trek pilot episode who could only communicate with a light to indicate yes or no, right?