421
submitted 5 months ago by [email protected] to c/[email protected]
top 41 comments
sorted by: hot top controversial new old
[-] [email protected] 168 points 5 months ago* (last edited 5 months ago)

It's a more easily readable drop in for A and B. And it being convention helps remove one unfamiliar element from a new topic.

[-] [email protected] 73 points 5 months ago

Not only more readable than A and B but I would argue it's also easier to remember who did what a few sentences or paragraphs earlier since Alice and Bob invoke slightly less generic mental images than A and B. For example one is a woman and the other one is a man, maybe even some person or character you know.

And now that I'm thinking about it, the different gender also makes it easier to keep track of who does what because different pronouns are used (at least in English and many other languages).

[-] [email protected] 58 points 5 months ago

If you ever go to r/relationship_advice and read posts where their friend T did S with P and then A (23 F) got into with G, then yeah...Alice and Bob suddenly makes a lot of sense.

[-] [email protected] 26 points 5 months ago

T did S with P and then A (23 F) got into with G

"This B needs a C in her A"

[-] [email protected] 8 points 4 months ago

Old guy moment here. . .why the fuck is the camera moving all over in the place in that video? Literally unwatchable to me.

[-] [email protected] 6 points 4 months ago

Oh, I didn't even notice. Probably some artistic stuff, but I would prefer if it was more stable.

[-] [email protected] 1 points 4 months ago

I guess it's cause they're on a cruise ship

[-] [email protected] 2 points 4 months ago

this, but doubly so with Eve. You'll notice that we often skip over Cindy and Dave and go right to Eve, so often that I don't even know off the top of my head whether Charlie and Deandra are the conventional names for persons 3 and 4 in this construct. That's because this construct is used a lot when talking about secure communications and the convention is that "evil" "eavesdropping" Eve is the person trying to destroy, intercept or alter the communication between Alice and Bob. Her role is built into her name.

[-] [email protected] 102 points 5 months ago

Someone tried "April & Bob" once, but MS excel converted it to date.

[-] [email protected] 92 points 4 months ago* (last edited 4 months ago)

Incels 🤝 Excel
Falsely assuming something is a date

[-] [email protected] 64 points 4 months ago
[-] [email protected] 33 points 5 months ago

A,B,C,D - A talks to B, C listens to A,...

Alice, Bob, Charlie,...

For this reason the first persona in my software is always Alice Litte, [email protected]. Easier than "asfgg afshd"

[-] [email protected] 32 points 5 months ago

Because the names by themselves give you context about who's transmitting to who, who's trying to eavesdrop, and it's become a convention.

The convention isn't necessary, but it makes material easier to understand because of the convention

[-] [email protected] 53 points 5 months ago

Alice: Point A
Bob: Point B
Eve: Eavesdropper
Mallory: Malicious Actor

[-] [email protected] 40 points 5 months ago
[-] jballs 9 points 4 months ago

Damn there really is an XKCD for everything

[-] [email protected] 1 points 4 months ago

Then you got guys like Alan Turing who couldn't even talk about how they saved the world eavesdropping

[-] xmunk 29 points 5 months ago

Cue the fiddler on the roof music....

Tradition!

There's a helpful wiki article breaking down the full convention https://en.wikipedia.org/wiki/Alice_and_Bob

[-] [email protected] 19 points 5 months ago

”Tradition is just peer pressure from dead people”
— some fella on the internet

[-] [email protected] 9 points 5 months ago* (last edited 5 months ago)

"Never forget to attribute your quotes to George Carlin" - Leonard Nimoy, probably

[-] [email protected] 2 points 4 months ago

Don't believe everything you read on the Internet. -Abraham Lincoln

[-] xmunk 2 points 4 months ago

"Only a fool would quote anyone but me." - Oscar Wilde

[-] [email protected] 1 points 4 months ago

Tradition is just dead people's baggage. Doug Stanhope.

[-] [email protected] 28 points 4 months ago
[-] [email protected] 14 points 4 months ago

why do you provide a link to creative commons license? Ive seen such links few times on lemmy.

[-] [email protected] 20 points 4 months ago

This guy licenses his comments under creative commons for some reason.

[-] [email protected] 8 points 4 months ago

Tryin to make a change :-/

[-] [email protected] -4 points 4 months ago* (last edited 4 months ago)
[-] [email protected] 2 points 4 months ago

But whats the point of giving out a license along the comment? Are you giving permission to use your comment?

[-] [email protected] 1 points 4 months ago

Maybe it has to do with people stealing content to train AI? Atleast now if there is an opportunity to be a part of a lawsuit or smth they can claim they provided a licence. I dunno just a guess

[-] [email protected] 0 points 4 months ago

For non-commercial use, yes. Aka no closed-source AI.

[-] [email protected] 2 points 4 months ago

Aaah, AI training data. That makes sense now

[-] [email protected] 3 points 4 months ago

Same as foo, bar, baz, bizzle, and bebop 😋

Adapted from [email protected], no endorsement of this comment is implied.

CC BY-NC-SA 4.0

[-] [email protected] 5 points 4 months ago

I hate foo bar etc, seems like a joke that was cringe that has gone on too long. When I was trying to learn programming I was like what the actual hell does this shit mean?

[-] [email protected] -2 points 4 months ago

Same. Really thought it was a joke until I saw it all over the place. It really isn't that hard to think of random names.

CC BY-NC-SA 4.0

[-] [email protected] 1 points 4 months ago

It's better to have a convention that makes it easy to spot example names

[-] [email protected] 28 points 5 months ago

I used to have a big list of gender ambiguous names I'd use for examples. So I'd use "Alex" and "Blake" or something like that. It also had some non-anglo names on it, just to spice things up.

In comp sci papers there's a few other common example people. "I" for intruder or imposter (Irene, Isaac). "M" often for malicious or middle-person (Mal). There's a few more im forgetting now.

[-] [email protected] 8 points 4 months ago

There’s a few more im forgetting now.

'E' (Eve) for "eavesdropper".

[-] [email protected] 20 points 4 months ago
[-] [email protected] 2 points 4 months ago

Rip ben bitdiddle

[-] [email protected] 1 points 4 months ago

They're by e2e story user names too :D

this post was submitted on 17 Feb 2024
421 points (97.1% liked)

Programmer Humor

18388 readers
880 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS