

One could argue by historical standards that we’re closer than not already. How sane would you say sane is?
Formerly u/CanadaPlus101 on Reddit.
One could argue by historical standards that we’re closer than not already. How sane would you say sane is?
The cream does, in fact, rise to the top. All the rich idiots I’ve met were brilliant in a subtle way I couldn’t appreciate, and I myself am just being lead on by the people I know about having redeeming qualities of any kind. All the studies showing social mobility is small both upwards and downwards had some kind of fatal flaw built into their assumptions.
Stuff about moral decline is another candidate. In both cases, I’m actually pretty sure everyone in every time, place and walk of life has roughly the same capacities on average, but narratives suggesting otherwise are so damn pervasive I have to wonder if I’m missing something.
Yeah, this seems short-sighted of them.
Yes, but unfortunately we have a system that only produces minorities when you’re very close to the other guy getting a majority.
They weren’t real and still aren’t. You can make a nuke small enough to fit in, say, a shell (and the US did), but the minimum critical mass is still way too heavy to carry around. Uranium and plutonium are both significantly denser than lead.
It’s kind of wild you think any nuclear weapon would be “easy to access”.
I mean, central planning would be more like the dairy board, but both the prices they sell for and the prices the farmers pay to suppliers are fixed at weird values, so they never can afford quite enough containers for the amount of product they produce, and have no reason to add new cheeses until things build to a crisis point and politicians are involved.
Nothing is centrally controlled outside of what a normal business controls AFAIK, so it’s more of a plain legally enforced monopoly, like monarchs used to grant by letters of patent.
Yeah, but to how much outdoor area? IIRC it’s still pretty factory farm. Maybe you can get super-freerange eggs as well, but not at my local store.
Backyard hens are dope.
What are you talking about, history is over. /s
No, because I’m sure it’s passed the tipping point towards autocracy. There’s endless different forms of both it and democracy, but it’s a constant that democracy begets democracy and autocracy begets autocracy, so that’s my “line in the sand”.
In America’s case as of now, all the checks and balances that used to work are still there, but they’ve been questionable for many years and aren’t going to do anything going forwards, so they’re functionally more like Canada’s monarchy.
If you’re looking for a perspective on what’s normal and what’s not, consider that when there’s a big social problem in Canada, it’s only a matter of time until a law trying to address it gets passed. That’s what a functioning democracy is like. Meanwhile, there’s been a known place in the US where no courts have jurisdiction to prosecute serious crimes for two decades now.
I mean, “criticism” is a little extreme even, because it’s a humour post, and I was just riffing back.
Apparently GCC does indeed do tail-call optimization at -O2
Hmm, I wonder why it’s considered O2 heavy. The concept of turning tail recursion into loops is simple.
But in that case, I’m not sure why the solution to the denial of service vulnerability isn’t just “compile with -foptimize-sibling-calls.”
Probably because some of the recursion involved is non-tail. Actually, it looks like GCC might still be able to cases of corecursion where the functions are “stack compatibale”, but presumably most functions aren’t, and who knows what little knots they tied the parsing functions in this XML library into.
The basic definition would be something like use of a function in that function’s own code. It’s pretty easy to find examples that aren’t tail-recursive specifically, like mergesort, and examples within those that would overflow a hardware stack, like in OP. And that’s without looking at (mildly) exotic examples like the Ackermann function.
Basically, the “Please leave recursion to math and keep it out of (in particular C) software” in OP means don’t define functions using those functions. It’s pretty and it can work, but not reliably.
I was answering a specific question put directly to me. There’s no “point”, exactly.
Who here is misunderstanding how computers implement recursion?
Taking a wild stab at how you might be reading this exchange, my original reply was about the title of the post, which implies a CompSci professor would be unhappy about someone criticising the use of recursion in code.
(in a language that doesn’t have tail-recursion optimization)
Wait, it doesn’t? I had kind of assumed GCC (for example) would do that at anything greater than -O0.
And this is my weekly reminder to work on a way to collect that data.
That’s correct, although the stuff he personally cares about is in the two big cities. You’re right that it’s not MAD exactly, but it’s more of a deterrent than it would be if this was DC and New York, or Paris and London.
They have a pretty famous strategic use, actually. To be fair, it dovetails heavily with domestic politics, but MAD is still strategy.
Russia is also pretty much those two cities and their little colonies, in practice.
Meat-eating and political apathy. Few people are vegetarians at this point in history, and activism tends to attract defective personalities.
If it sounds like I must be a misanthropic bastard that hates everyone, unfortunately, yeah, I think I do at this point.
They don’t prevent it, they just don’t implement it. A real (physical) CPU is a fixed electrical circuit and can’t just divide in two the way it would have to for the ideal mathematical version of recursion. If you want a simple way to visualise this, how would you implement recursion (as opposed to just loops) on a Turing machine with tapes?
Different CPUs might have strategies to approximate certain kinds of recursion, but at some point my own knowledge ends, and there has been many different designs. Tail recursion in particular is usually just turned back into a loop at the compiler, and typical modern architectures implement a call stack at the hardware level, which allows you to do limited-depth recursion, but breaks like in OP if you try to go too deep.
And omnibenevolent? A god that’s just screwing with us is feeling relatively more likely these days, and I’m not comforted.