• @Heavybell@lemmy.world
    link
    fedilink
    English
    51 year ago

    The best part is, unless that function name is misleading, it doesn’t matter how the data is passed; a copy is being sent out over TCP/IP to another device regardless.

  • pewpew
    link
    fedilink
    131 year ago

    Whats the difference between void fn(Type& var) and void fn(Type* var)?

    • @Tangent5280@lemmy.world
      link
      fedilink
      291 year ago

      Sends original data vs making a copy of data and sending it.

      In meme context you’d be just making a copy of your consciousness and putting it in a machine. Whatever reason you’re doing it for - escape illness, survive armageddon, nothing changes for you. A copy of you lives on though.

      • MaggiWuerze
        link
        fedilink
        81 year ago

        I mean, just kill the host as soon as the upload is complete. at best you are not conscious during the process and when “you” wake up you are in the cloud. The version of you that awakes gets told that the “transfer” was complete.

    • @Valmond@lemmy.world
      link
      fedilink
      71 year ago

      You can pass nullptr in the second example (that is not what OP wrote though, hes second is making a copy).

      • pewpew
        link
        fedilink
        31 year ago

        Thanks, I was Just curious. I knew what * did but I wasn’t sure about &

    • @cbazero@programming.dev
      link
      fedilink
      81 year ago

      I guess you ask for C++. There Type* can be null while Type& can’t be null. When it gets compiled Type& is compiled (mostly) to the same machinecode as Type*.

  • @Schmoo@slrpnk.net
    link
    fedilink
    571 year ago

    If anyone’s interested in a hard sci-fi show about uploading consciousness they should watch the animated series Pantheon. Not only does the technology feel realistic, but the way it’s created and used by big tech companies is uncomfortably real.

    The show got kinda screwed over on advertising and fell to obscurity because of streaming service fuck ups and region locking, and I can’t help but wonder if it’s at least partially because of its harsh criticisms of the tech industry.

    • Gnome Kat
      link
      fedilink
      English
      111 year ago

      Just FYI content warning for Pantheon there is a seriously disturbing gore/kill scene that is animated too well in the first season. Anyone who has seen the show knows what scene I am talking about, I found the scene pretty upsetting and I almost didn’t finish the show. I am still a little upset that the scene is burned in my memory.

    • @localme@lemm.ee
      link
      fedilink
      31 year ago

      Yes, I just finished watching Pantheon and absolutely loved it!

      Totally agree that it deserved more attention. At least it got a proper ending with season 2.

      Also, the voice acting talent they got was impressive. Paul Dano was fantastic as one of the leads.

    • Kairos
      link
      fedilink
      61 year ago

      The show got kinda screwed over on advertising and fell to obscurity because of streaming service fuck ups and region locking, and I can’t help but wonder if it’s at least partially because of its harsh criticisms of the tech industry.

      Okay so I can’t 100% confirm this, but the first season wasn’t popular because it was on whatever the fuck AMC+ is. Amazon bought it because of the writer’s strike to get something out.

  • DivineDev
    link
    fedilink
    871 year ago

    Consciousness and conscience are not the same thing, this naming is horrible

  • Stage Owl
    link
    fedilink
    491 year ago

    Soma is a wonderful game that covers this type of thing. It does make you wonder what consciousness really is… Maybe the ability to perceive and store information, along with retrieving that information, is enough to provide an illusion of consistent self?

    Or maybe it’s some competely strange system, unkown to science. Who knows?

      • Gamma
        link
        fedilink
        English
        11 year ago

        Self? Seemed pretty clear in their comment

    • Gnome Kat
      link
      fedilink
      English
      11 year ago

      I think the definition of consciousness needs to not be solely about abilities or attributes. It needs to account for the active process of consciousness. Like a hair dryer can burn things… but a fire is things burning. Without the active nature its simply not conscious.

    • The joke is that there are some people who think that by uploading themselves into a machine “to live forever,” their consciousness will also be transferred, like when you travel by bus from one city to another. In reality, you “upload yourself,” but that yourself is not you, but a copy of you. So, once the copy is done, you will still be in your original body, and the copy will “think” it is you, but it’s not you. It’s a copy of you! So, you continue to live in your body until you die, and, well, for you - that’s it. You’re dead. You’re not living. You’re finished. Everything is black. Void. Null. Done - unless you believe in the afterlife, so you’ll be in heaven, hell, purgatory or whatever, but the point is, you’re not longer on Earth “living forever.” That’s just some other entity who thinks it is you, but it’s not you (again, because you’re dead.)

      This is represented by the parameters being passed by value (a copy) instead of by reference (same data) in the poster’s image.

    • It wouldn’t be you, it would just be another person with the same memories that you had up until the point the copy was made.

      When you transfer a file, for example, all you are really doing is sending a message telling the other machine what bits the file is made up of, and then that other machines creates a file that is just like the original - a copy, while the original still remains in the first machine. Nothing is even actually transferred.

      If we apply this logic to consciousness, then to “transfer” your brain to a machine you will have to make a copy, which exist simultaneously with the original you. At that point in time, there will be two different instances of “you”; and in fact, from that point forward, the two instances will begin to create different memories and experience different things, thereby becoming two different identities.

      • Queen HawlSera
        link
        fedilink
        English
        11 year ago

        And since we know nothing about what consciousness is, you base this on absolutely nothing.

  • @blind3rdeye@lemm.ee
    link
    fedilink
    111 year ago

    There’s a cool computer game that makes this point as part of the story line… I’d recommend it, but I can’t recommend it in this context without it being a spoiler!