Yo whatup

  • 0 Posts
  • 91 Comments
Joined 9 months ago
cake
Cake day: September 28th, 2023

help-circle
  • Traister101@lemmy.todaytoTechnology@lemmy.worldNeo-Nazis Are All-In on AI
    link
    fedilink
    English
    arrow-up
    5
    arrow-down
    1
    ·
    7 days ago

    We do know we created them. The AI people are currently freaking out about does a single thing, predict text. You can think of LLMs like a hyper advanced auto correct. The main thing that’s exciting is these produce text that looks as if a human wrote it. That’s all. They don’t have any memory, or any persistence whatsoever. That’s why we have to feed it a bunch of the previous text (context) in a “conversation” in order for it to work as convincingly as it does. It cannot and does not remember what you say














  • Smart pointers model ownership. Instead of (maybe) a comment telling you if you have to free/delete a returned pointer this information is encoded into the type itself. But that’s not all, this special type even handles the whole deleting part once it goes away.

    Since they model ownership you should only use them when ownership should be expressed. Namely something that returns a pointer to a newly allocated thing should be a std::unique_ptr because the Callie has ownership of that memory. If they want to share it (multiple ownership of the object) there’s a cheap conversion to std::shared_ptr.

    How about a function that takes in an object cause it wants to look at it? Well that doesn’t have anything to do with ownership so make it a raw pointer, or better yet a reference to avoid nullability.

    What about when you’ve got a member function that wants to return a pointer to some memory the object owns? You guessed it baby raw pointer (or again reference if it’ll never be null).




  • So as a recent child depression/mental health issues are so much more common because the world we were born into is very obviously getting worse. As a little Elementary schooler we actually had like snow. Like snow days each year were expected. I remember playing outside in the snow, coming inside to some nice hot chocolate and grilled cheese. Do I even need to tell you how it’s changed? The snow we do get is more extreme (power goes out) and for shorter periods of time. This year I believe we got about a week of snow you could reasonably play in, however you wouldn’t want to do that cause everyones power was out or it was a fuckn blizzard.

    We’ve got nowhere to go hangout. Malls are closing (not that you could walk to em) parks are okay but you STILL cannot walk to my neighborhoods closest park cause A: there literally isn’t sidewalks the whole way and B: you’d have to cross two busy roads. Basically in short the world we were born into wasn’t designed with us in mind, instead it was designed for the car. Course that brings up the fact that we aren’t getting drivers licenses as often as earlier generations. We can get deep into it but frankly I don’t care this comment is already too long. Instead I’ll just tell you my personal experience and choice to not get a license. It doesn’t provide me any meaningful benefits. I’d lived life up till 16 needing to be chauffeured around by my parents or a friend’s parents to go anywhere which like all kids was something I hated as I knew I was a burden. So, as you’d expect the internet became our meeting place. It avoided the burden of being chauffeured around. Once I was finally able to drive, well, where would I even go? A friend’s house perhaps but well, we can just join a voice call and do it like that.