- 5 Posts
- 89 Comments
counterpoint:
The first reliably documented report of Psilocybe semilanceata intoxication involved a British family in 1799, who prepared a meal with mushrooms they had picked in London’s Green Park
it’s
while (true) { let t = Date.now(); if (timeoutMap.has(t)) timeoutMap[t](); }of course. Clearly O(n).
disclaimer
Feel free to use it. I guarantee it is bug free. Comes with express warranty. This notice is legally binding.
“You want to use teams a bit? We have a session here” “I’d be happy to, actually. Not really, but it wouldn’t be bad” “Not really? If you say so, I have a teams session ready right here” “No. No. I’m not stupid” “People use it every day.” “Tell the truth” “It’s a good user experience.” “So are you ready to use it? For 5 minutes?” “No, I’m not an idiot.”
Taleb’s mind just isn’t antifragile enough. Or maybe too antifragile. Idk I didn’t read his book
Neuroplasticity does drop with age, but the drop is smaller than it was previously assumed to be, especially outside of early childhood (you may note that eg. this graph starts at 20 years old)
wtf is up with that confidence interval(?) though
sus@programming.devto
Programmer Humor@programming.dev•i love ai in my offline foss softwares that are still in beta
3·4 months agoThey already have almost all of the discrete gpu market, they’d have to expand to new markets (although they are kind of exploring that already)
But orbiting a point 1 meter outside the sun is not orbiting the sun?
sus@programming.devto
Programmer Humor@programming.dev•I got to avoid memory management for quite some time
7·5 months agoand with a good enough leak, the amount of unused memory will become negative!
The oxford that says this?
Acronym
- A group of initial letters used as an abbreviation for a name or expression, each letter or part being pronounced separately; an initialism
or the merriam webster that says this?
Some people feel strongly that acronym should only be used for terms like NATO, which is pronounced as a single word, and that initialism should be used if the individual letters are all pronounced distinctly, as with FBI. Our research shows that acronym is commonly used to refer to both types of abbreviations.
sus@programming.devto
Programmer Humor@programming.dev•Coincidentally, FFM peg is also something you can find on the hub
6·6 months agoWell eh, the binary seems to be about 130MB while the ffmpeg source repository is only 80MB (and the version with separate .so files (all part of the project as far as I can see) is even larger)
sus@programming.devto
Programmer Humor@programming.dev•Something something history is a flat circle
4·6 months agobuffer overflows are critical for memory safety since they can cause silent data corruption (bad) and remote code execution (very bad). Compared to those a “clean” unhandled runtime error is far preferable in most cases.
We can avoid expensive branches (gasp) by using some bitwise arithmetic to achieve the so-called “absolute value”, an advanced hacker technique I learnt at Blizzard. Also unlike c, c# is not enlightened enough to understand that my code is perfect so it complains about “not all code paths returning a value”.
private bool IsEven(int number) { number *= 1 - 2*(int)(((uint)number & 2147483648) >> 31); if (number > 1) return IsEven(number - 2); if (number == 0) return true; if (number == 1) return false; throw new Exception(); }
After working at blizzard for 51 years, I finally found an elegant solution by using the power of recursion
private bool IsEven(int number){ if (number > 1) return IsEven(number - 2); if (number == 0) return true; if (number == 1) return false; }
funny how well this fits for both meanings
Yeah, it’s in my edit I realized the same thing. I’m thinking it doesn’t actually really make sense and the real reason is more “the specific way C does it causes a lot of problems so we’re not poking syntax like that with a 10 foot pole” + “it makes writing the parser easier” + maybe a bit of “it makes grepping easier”
So I think it’s still probably unclear to people why “mix of keywords and identifiers” is bad: it means any new keyword could break backwards compatibility because someone could have already named a type the same thing as that new keyword.
This syntax puts type identifiers in the very prominent position of “generic fresh statement after semicolon or newline”
…though I’ve spent like 10 minutes thinking about this and now it’s again not making sense to me. Isn’t the very common plain “already_existing_variable = 5” also causing the same problem? We’d have to go back to cobol style “SET foo = 5” for everything to actually make it not an issue
You can still be snobby by instead insisting on “fold, scan, iterate”
I haven’t heard of .500 blackout before, and google gives conflicting info on whether it’s “necked down .338 lapua magnum” or “like .510 whisper”
polar bears have historically been felled with “panicked shooting with ar-15”, and the “standard recommendation” seems to be “magnum rifle round”

maybe they were looking for extra special characters like 🁄 or ⶸ. Who am I kidding, RFC 1738 tells us that literally everything is unsafe and you know, we need to prepare for the inevitable occasion when the password somehow ends up inside an URL.
It ends up with