

Excellent. I just use the CLI executable directly and update it as it breaks. Wasn’t even aware there were Docker versions of it lol.
I’m surprisingly level-headed for being a walking knot of anxiety.
Ask me anything.
I also develop Tesseract UI for Lemmy/Sublinks
Avatar by @SatyrSack@feddit.org
Excellent. I just use the CLI executable directly and update it as it breaks. Wasn’t even aware there were Docker versions of it lol.
Weird. I did a test download before replying, and it worked. Though I’m just using vanilla yt-dlp
and am unfamiliar with the other two variants you listed.
Try updating. I got that a few days ago using an old version, and updating fixed it.
Yeah. It’s a poorly-compressed 6.5 MB GIF. I’m running it through my instance’s proxy to not overwhelm catbox where it’s hosted. Not part of the joke lol.
Ah, lol. Weirdly, I warmed the proxy and it worked for me (so should have worked for everyone after). Should be fixed.
I tried to make the afterthought that increments the loop counter use the increment
function recursively, but Javascript said no lol.
// this increments i:
// Version 2: Now more efficient; only loops to 50 and just rounds up. That's 50% less inefficient!
function increment(val:number): number {
for (let i:number = 0; i < 50; i = i +1) {
val = val + 0.01
}
return Math.round(val)
}
let i = 100
i = increment(i)
// 101
Don’t forget the beige box that protects you from the magic happening:
It’ll give you 1 ~= true or 0 ~= undefined, but I typically use Typescript which prefers actual booleans to boolean-ish
In Javascript, Math.random()
produces a float value between 0 and 1, so I multiply by 1000 and round it to get a larger integer. The value %2 == 0
is a non-library way of performing isEven()
on the random integer (value % 2
is 0 if even, 1 if odd, and the ==0
makes it return a boolean). When used in the if
statement, it’s essentially a coin flip.
Nope. I’m staunchly against “AI”. If the code sucks, it’s because I wrote bad code.
Edit: Oh, or did you mean is that how “AI” works?
Hey, I like a little chaos in my codebase 😆
const funsies = () => (Math.round(Math.random() * 1000) % 2 == 0)
if ( condition || funsies() ) {
// do the thing
}
Please don’t let this be the next “the dress” lol. It’s too creepy to see posted everywhere.
Funny story. I did wake up this morning with a pain in my absolute fuckwaffle.
Thanks for clarifying. I took the mention of stem cells in the wall of crazy tweet to be the more credible form of stem cell therapy. Considering I was fully aware of who was making the statement, the fault is mine.
Right, but we already have that so I left it off the list. Not that there aren’t things that slip through, but that’s mostly a matter of enforcement and ensuring compliance (both things I do not expect him to take seriously).
In all that crazy, there’s, shockingly, two good points:
Psychedelics. There’s at least anecdotal evidence they’re good for treating certain traumas / PTSD. So, yeah, we should be looking into their medicinal applications. But is it the FDA or the DEA that’s cockblocking those?
Stem cells. Abso-fucking-lutely yes. But wasn’t it the “pro life” people holding that up?
Just going to leave this horror here. It’s the post feed logic from Tesseract that determines what posts should be displayed or hidden.
Yeah, I’m just very spatially-challenged, and I think that’s where my academic understanding and actual understanding breaks down.
Evolution is just future-proofing Australian animals.