this post was submitted on 14 Oct 2023
849 points (98.7% liked)

Programmer Humor

32069 readers
451 users here now

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

Rules:

founded 5 years ago
MODERATORS
 

Programmers can answer all existential questions with ease

top 50 comments
sorted by: hot top controversial new old
[–] [email protected] 34 points 11 months ago (2 children)

No more than identical twins are the same person.

[–] [email protected] 19 points 11 months ago (3 children)

Scientifically speaking, identical twins are clones, so yes, I agree

load more comments (3 replies)
[–] [email protected] 2 points 11 months ago (3 children)

Except with cloning the other twin would be a different age as with current tech the clone is back to being a baby. You'd need rapid growth tech and mind transfer tech to at least make the clone have the same age, memories and personality, although that would most likely introduce other differences.

[–] [email protected] 2 points 11 months ago

Nothing more than bootstrapping the data for some integration testing

[–] [email protected] 1 points 11 months ago

There is at least one case of parents, told at a very early stage that they're expecting twins, deciding to remove and freeze one of the embryos for later reimplantation, so even with actual identical twins, they can be different ages.

But yes, transferring minds is not something we can do. I'm not sure it's something we'll ever be able to do.

Should it actually become possible, I assume that certain parties would even advocate for the unique life/lives of the clone(s). The argument would be that the clones' chance at life shouldn't be overwritten by other being's attempts at extension of life.

"Ethical minefield" doesn't even begin to cover it!

load more comments (1 replies)
[–] [email protected] 23 points 11 months ago* (last edited 11 months ago) (4 children)

They are, on the exact moment they are cloned. On the next attosecond they are not.

Edit: Well, if they are cloned on the cellular level, otherwise it's just NO.

[–] [email protected] 6 points 11 months ago (2 children)

What if they're placed into two completely identical environments?

[–] [email protected] 9 points 11 months ago (2 children)

Quantum multiverse theory says that happens all the time.

[–] [email protected] 1 points 11 months ago

Is there a universe where that doesn't happen all the time?

load more comments (1 replies)
[–] [email protected] 2 points 11 months ago (1 children)

You have no idea what cloning is, right? You're too young to remember Dolly

load more comments (1 replies)
[–] avonarret1 2 points 11 months ago

But they don't occupy the same space 🤔

load more comments (1 replies)
[–] [email protected] 20 points 11 months ago (2 children)

If you fork a process, then it's the two separate processes but sharing the same memory with copy-on-write mapping.

[–] [email protected] 8 points 11 months ago (1 children)

Is that actually more efficient if I need my child process to do something different with different data?

[–] [email protected] 8 points 11 months ago (2 children)

It's more efficient for memory until you start working with different data. Threads also rely on the same syscall on Linux, clone(2), but they don't share the entire context by default, so they're more lightweight. It is recommended to use pthreads(3) API instead of fork(2).

[–] [email protected] 4 points 11 months ago* (last edited 11 months ago)

Also, if you care about Windows, threads are far lighter than processes on that platform. Starting a new process is relatively slow compared to other platforms.

[–] [email protected] 2 points 11 months ago

Ah thx for the info

load more comments (1 replies)
[–] [email protected] 16 points 11 months ago* (last edited 11 months ago) (4 children)

If you just clone a reference to them, then you are just pointing another finger at them.

Is this really an analogy that resonates with programmers today?

load more comments (4 replies)
[–] [email protected] 15 points 11 months ago* (last edited 11 months ago) (2 children)

The real answer btw is no, cloned animals aren't identical to their original, same base traits, but for example in cows spot position will be different

Also unless you can copy their memories, they just won't be the same person.

And then they'd have two different life experiences and would immediately begin to differ.

[–] [email protected] 7 points 11 months ago (1 children)

And we also change every milisecond. How long this process takes? It may seem irrelevant but copy of you 5 seconds ago is not you now. It's your restored back up.

[–] [email protected] 4 points 11 months ago (2 children)

Unless your pause execution of the original or there's an ongoing synchronization during the cloning process

load more comments (2 replies)
[–] [email protected] 1 points 11 months ago (1 children)

So it's kind of like the moment of inception is the memory reference, and they won't ever be the same?

[–] [email protected] 1 points 11 months ago

They're now two people who will love two different lives, they will naturally begin to diverge

[–] [email protected] 12 points 11 months ago (6 children)

Okay, now do the Trolley Problem.

[–] [email protected] 5 points 11 months ago

easy:

    break
[–] [email protected] 3 points 11 months ago

throw IllegalStateException()

load more comments (3 replies)
[–] [email protected] 8 points 11 months ago

Is it a copy or a hardlink?

[–] [email protected] 5 points 11 months ago

Make a deep clone

[–] [email protected] 5 points 11 months ago (3 children)

If you copy by reverence there’s still only one person.

What is clone by reference?

[–] [email protected] 2 points 11 months ago (1 children)
[–] [email protected] 2 points 11 months ago* (last edited 11 months ago)

We are all one.

load more comments (2 replies)
[–] [email protected] 5 points 11 months ago

Huh. Now my confusion about the chicken and the egg debate makes a lot more sense, it seems odd to me that such an easily answered question ended with so much confusion

I'm now realizing it's only a debate with non programmers, I thought it was a mutual ADHD communication thing, now I'm realizing maybe it's just because they learned about inheritance

[–] [email protected] 4 points 11 months ago

Depends if you add the ethicator or not

[–] [email protected] 3 points 11 months ago

It’s not, it’s a copy, but if you think all consciousness is the same, then maybe.

[–] [email protected] 2 points 11 months ago

If you clone them, you'll lose their functions.

[–] [email protected] 1 points 11 months ago (1 children)

Imagine if you saw someone who looked exactly like you and mimicked your exact actions, but they were just 3 or 4 feet to the left of you. That's by reference (I think)

Contrasting an exact copy of you that can think for itself and has autonomy, which is by value (I think)

[–] [email protected] 4 points 11 months ago

By value could be described as, the exact same as you at the time of cloning, but it will be its own object and in no way connected to your actions.

Whereas by reference would be exactly what you described

load more comments
view more: next ›