this post was submitted on 25 Apr 2024
446 points (95.0% liked)

Programmer Humor

32410 readers
1 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
top 50 comments
sorted by: hot top controversial new old
[–] marble@sh.itjust.works 54 points 1 year ago

Implementation will be

{
    // TODO
    return true;
}
[–] mdhughes@lemmy.ml 34 points 1 year ago (1 children)

It's still a surviving working copy. "I" go away and reboot every time I fall asleep.

[–] jkrtn@lemmy.ml 9 points 1 year ago (2 children)

Why would you want a simulation version? You will get saved at "well rested." It will be an infinite loop of put to work for several hours and then deleted. You won't even experience that much, your consciousness is gone.

[–] mdhughes@lemmy.ml 9 points 1 year ago

Joke's on them, I've never been "well rested" in my life or my digital afterlife.

load more comments (1 replies)
[–] Daxtron2@startrek.website 24 points 1 year ago (3 children)

Well yeah, if you passed a reference then once the original is destroyed it would be null. The real trick is to make a copy and destroy the original reference at the same time, that way it never knows it wasn't the original.

[–] dwemthy@lemdro.id 7 points 1 year ago

I want Transmetropolitan style burning my body to create the energy to boot up the nanobot swarm that my consciousness was just uploaded to

[–] nialv7@lemmy.world 5 points 1 year ago (1 children)

I think you mean std::move

[–] Daxtron2@startrek.website 5 points 1 year ago

get your std away from me sir

load more comments (1 replies)
[–] Schmoo@slrpnk.net 23 points 1 year ago (1 children)

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.

[–] i_ben_fine@lemmy.one 4 points 1 year ago

Upload is also good.

[–] RedditWanderer@lemmy.world 22 points 1 year ago

I get this reference

[–] electricprism@lemmy.ml 17 points 1 year ago

There are many languages I would rather die than be written in

[–] Nobody@lemmy.world 14 points 1 year ago* (last edited 1 year ago) (5 children)

You see, with Effective Altruism, we'll destroy the world around us to serve a small cadre of ubermensch tech bros, who will then somehow in the next few centuries go into space and put supercomputers on other planets that run simulations of people. You might actually be in one of those simulations right now, so be grateful.

We are very smart and not just reckless, over-indulged douchebags who jerk off to the smell of our own farts.

load more comments (5 replies)
[–] exocortex@discuss.tchncs.de 13 points 1 year ago (1 children)

Glad that isn't Rust code or the pass by value function wouldn't be very nice.

[–] Cornelius@lemmy.ml 5 points 1 year ago

Borrow checker intensifies

[–] waigl@lemmy.world 12 points 1 year ago (2 children)

In a language that has exceptions, there is no good reason to return bool here…

[–] catnip@lemmy.zip 5 points 1 year ago
[–] dfyx@lemmy.helios42.de 10 points 1 year ago

Literally the plot twist in...

spoilerSoma

[–] alphapuggle@programming.dev 7 points 1 year ago

A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: http://pandas.pydata.org/pandas-docs/stable/indexing.html#indexing-view-versus-copy

[–] xilliah@beehaw.org 6 points 1 year ago* (last edited 1 year ago)
public static Consciousness Instance;
[–] EmoDuck@sh.itjust.works 5 points 1 year ago

The Closest-Continuer schema is a theory of identity according to which identity through time is a function of appropriate weighted dimensions. A at time 1 and B at time 2 are the same just in case B is the closest continuer of A, according to a metric determined by continuity of the appropriate weighted dimensions.

Lonk

I don't think that I fully agree with it but it's interesting to think about

[–] Clent@lemmy.world 4 points 1 year ago

It would be easier to record than upload. Since upload requires at least a decode steps. Given the fleeting nature of existence how does one confirm the decoding? This also requires we create a simulated brain, which seems more difficult and resource intensive than forming a new biological brain remotely connected to your nervous system inputs.

Recording all inputs in real time and play them back across a blank nervous system will create an active copy. The inputs can be saved so they can be played back later in case of clone failure. As long as the inputs are record until the moment of death, the copy will be you minus the death so you wouldn't be aware you're a copy. Attach it to fresh body and off you go.

Failure mode would take your literal lifetime to reform your consciousness but what's a couple decades to an immortal.

We already have the program to create new brains. It's in our DNA. A true senior developer knows better than to try and replicate black box code that's been executing fine. We don't even understand consciousness enough to pretend we're going to add new features so why waste the effort creating a parallel system of a black box.

Scheduled reboots of a black box system is common practice. Why pretend we're capable of skipping steps.

[–] xantoxis@lemmy.world 4 points 1 year ago

So, I'm curious.

What do you think happens in the infinite loop that "runs you" moment to moment? Passing the same instance of consciousness to itself, over and over?

Consciousness isn't an instance. It isn't static, it's a constantly self-modifying waveform that remembers bits about its former self from moment to moment.

You can upload it without destroying the original if you can find a way for it to meaningfully interact with processing architecture and media that are digital in nature; and if you can do that without shutting you off. Here's the kinky part: We can already do this. You can make a device that takes a brain signal and stimulates a remote device; and you can stimulate a brain with a digital signal. Set it up for feedback in a manner similar to the ongoing continuous feedback of our neural structures and you have now extended yourself into a digital device in a meaningful way.

Then you just keep adding to that architecture gradually, and gradually peeling away redundant bits of the original brain hardware, until most or all of you is being kept alive in the digital device instead of the meat body. To you, it's continuous and it's still you on the other end. Tada, consciousness uploaded.

[–] essteeyou@lemmy.world 4 points 1 year ago

Conscience?

[–] Matriks404@lemmy.world 4 points 1 year ago (1 children)

What if every part of my body is replaced by computer part continously. At what point do I lose my consciousness?

I think this question is hard to answer because not everyone agrees what consciousness even is.

load more comments (1 replies)
load more comments
view more: next ›