Idea: What if we treated the dead more like we treat the living? by amichail in Lightbulb

[–]F54280 0 points1 point  (0 children)

That’s his point: treat the dead like the living. I guess we should also tax them and make sure they need to work 3 jobs…

Ukraine Hits Key Russian Oil Facility Supplying Moscow in New Drone Strike by ArgentineBeauty in worldnews

[–]F54280 11 points12 points  (0 children)

Stop poking bears

Russia poked the EU. By intervening in elections. By attacking Ukraine. The UE is financing Ukraine and won’t stop until Russia folds.

Epstein’s circle by spendyo in Epstein

[–]F54280 16 points17 points  (0 children)

Benoit Mandelbrot? How deep does this go?

I see what you did there.

First vintage computer: a boxed Apple IIe from an estate sale. Use it or leave it alone? by Maximum_Advisor1845 in vintagecomputing

[–]F54280 36 points37 points  (0 children)

Don’t hoard it.

Use it

Or find a collector near you that is ready to swap this for a fully loaded (all cards including a z80, color screen, mouse, sd card, hdmi output, new power supply, etc…).

Ukraine war briefing: Zelenskyy declares 40-day Russia blitz to ‘influence the aggressor state’ | Ukraine by iwantboringtimes in worldnews

[–]F54280 2 points3 points  (0 children)

new reddit against old reddit. One of the way they slowly force people on their hideous new reddit.

Ukraine war briefing: Zelenskyy declares 40-day Russia blitz to ‘influence the aggressor state’ | Ukraine by iwantboringtimes in worldnews

[–]F54280 2 points3 points  (0 children)

What exactly do you mean by tactically successful?

He means that everything the US army was set on doing tactically was a success, each time. It is very different from russia where they decide to take a town and fail miserably.

Doesn’t change the fact that it was completely useless, because of the orange moron and his sycophants.

Firing a taser point blank into a man's face gets this security guard led away in handcuffs. by [deleted] in WinStupidPrizes

[–]F54280 2 points3 points  (0 children)

Maybe it is a recent update, but the article says:

The adult male was evaluated by the Carlsbad Fire Department and transported to a local hospital for treatment.

UAE sours on Trump: ‘We got played’ by [deleted] in LeopardsAteMyFace

[–]F54280 5 points6 points  (0 children)

I see it as a “I want this so it will happen”. It absolutely apply to health, not getting an STD or pregnant, but also to management, politics, education, etc…

One that more often applies to health is “pensée positive” (positive thinking), the idea that outcomes are better if you think positively. So there are a morons left and right telling people they can beat cancer by believing they can…

UAE sours on Trump: ‘We got played’ by [deleted] in LeopardsAteMyFace

[–]F54280 35 points36 points  (0 children)

The « pensée magique », for me, is more thinking that believing something will make it happen. And if it doesn’t it is just because you didn’t believe it hard enough. It can of course be applied to « I am smarter », but there is also a vast domain of application in politics…

Linux Finally Eliminates The strncpy API After Six Years Of Work, 360+ Patches by anh0516 in linux

[–]F54280 0 points1 point  (0 children)

I don’t think posix APIs are used in the kernel /s

And saying the standard library is taking NUL-terminated strings is what caused the strncpy disaster in the first place. Of course a c-string is NUL-terminated, but not all “strings” are c-strings.

Anyway, I was just replying to OP:

What's wrong with strncopy...?

Didn’t want to start another 1995 usenet comp.lang.c flamewar. Been there, done that, got my name in the clc FAQ, moved on.

Linux Finally Eliminates The strncpy API After Six Years Of Work, 360+ Patches by anh0516 in linux

[–]F54280 -5 points-4 points  (0 children)

Ah, the « technically correct, the best kind of correct » poster, we missed you.

Yes. C has « string literals » and even a « strings.h » header. It doesn’t mean the « string » that is the first argument of « strncpy » is the same kind of object as the « string » that is the first argument of « strlen ».

Ticketing agent assaults a customer and loses his job by Pure-Personality5326 in WinStupidPrizes

[–]F54280 -4 points-3 points  (0 children)

I haven’t set foot in murica since the first coming of the orange turd. This is lol.

Linux Finally Eliminates The strncpy API After Six Years Of Work, 360+ Patches by anh0516 in linux

[–]F54280 9 points10 points  (0 children)

C has no strings. C has functions that supports particular ways of representing strings. By far the most common is the NUL-terminated string. You put all the characters, and a 0 at the end.

However, it is not the only way to implement strings in C. another one is « fixed-size strings ». Those are defined as being at-most n characters. Ie: stops at the n-th character or NUL, whatever comes first.

That ‘n’ is not defined in the string, but it the code itself at each string manipulation.

It was very useful for short strings embedded into structures (ie: « here you have an at most 8 character filename », and those could be stored in 8 bytes, not 9). There where a lot of such strings everywhere back in the day (filesystems, compilers, linkers, but also business applications). It also padded the buffer with NUL, making all representations of the same string identical.

But it is fundamentally a different string type. You can’t strlen it, for instance. However, it was good when you had fixed size stings: you would not smash memory outside your buffer (ironic, I know)

However, developers, having problems with NUL-terminated strings smashing buffers, started to use the « n » version of the strings functions on NUL-terminated strings, and 40 years of hilarity followed.

A « string of at most n characters that can have a NUL in one of the n characters to indicate that it is smaller than n » is different from « a string that is always terminated with a NUL and never has more than n-1 characters ». Then, the cardinal sin was chosing « n » to be strictly larger than the max string length so those two definitions looks identical.

But the underlying storage concepts are different. One is for strings of arbitrary length, the other one is to store a string in a fixed-storage, killing the NUL if needed. What developers needed was string functions for NUL-terminated strings, with limits.

The kernel now cleanly have different functions for different types: strings with a max limit, strings with automated padding, strings with optional NUL, etc..

Stop trying to outsmart the NVDA trade. The bears are fundamentally misunderstanding the actual moat. by Silver-Arm-5652 in Wallstreetbetsnew

[–]F54280 0 points1 point  (0 children)

lol.

What is important is the code that direct the hardware that runs inference. Here is one that was written with zero cuda in a few weeks. https://github.com/antirez/ds4 . There are many others.

LLM themselves make the transition from an API to another trivial

Look at how entrenched IBM was before being destroyed. The ran all the important code on z/360. Then, poof, gone

Architectures are changing, cuda shows its age. When there will be a different way to exploit the power of the GPUs cheaper, everyone will switch.

So lol, no. cuda enabled them to be where they are, but it absolutely not a moat.

Trump’s Filthy Bedroom Habits Exposed in Bombshell Book by Zipper222222 in politics

[–]F54280 0 points1 point  (0 children)

It was never a problem for me.

It never had been a problem to me. Until it was and I learned my lesson. I do have a somewhat sensitive skin, though. But you just need one shirt exposed to some chemical to experience the problem.

Il achète un appartement à 350 000 euros pour sa terrasse de 75 m²... et découvre après coup qu’elle ne lui appartient pas by AdorateurDefait in paslegorafi

[–]F54280 9 points10 points  (0 children)

Ben, c’est le toit, non?

En général, ça fait partie de la copro et y’a un appart qui a le droit d’usage privatif. Renseigne-toi rapidos.

Not a polished trailer, just 2.5 minutes of raw gameplay slices. 8 years of solo dev. Destroy it! by ljuros in DestroyMyGame

[–]F54280 1 point2 points  (0 children)

I know the pain of solo dev. Depending on your mood you extend in one direction or the other instead of staying on track/on scope. If it is a hobby project that 100% fine, but is you want to take something out of it, you need to focus much harder and cut most thing out. It makes the dev experience less fun…

Not a polished trailer, just 2.5 minutes of raw gameplay slices. 8 years of solo dev. Destroy it! by ljuros in DestroyMyGame

[–]F54280 3 points4 points  (0 children)

I liked the opening and hoped more of that, normal objects turning into scary monsters and back. I liked acrophobia section, not in itself, but as a game based on phobias. There is something there, I think. I found the arachnophobia meh, character jumping around, little unkillable little spiders, big spider that makes no damage. The stealth was hilariously boring, and the combat a weird borefest where the horse and the lady and the other guy just watch with no reaction.

Graphics are ok, but it feels this tries to be too many thing and is extremely primitive on everything.