r/ProgrammerHumor • • 2d ago • Popcorn 1

Meme machineLearningIntoABar

Post image
13k Upvotes

123 comments sorted by

1.6k

u/unknown_pigeon 2d ago edited 2d ago

A reinforcement learning algorithm walks into a bar.

"JCKSOENBWKFOCJWBJEJQBWNFOOWNWBHHWNWNCIEI", it asks the bartender.

1.5k

u/unknown_pigeon 2d ago • Bravo Heartwarming

A reinforcement learning algorithm walks into a bar for the millionth time.

"Hey John, I'll have the usual, whiskey sour with a slice of lemon. Anyway, how's your wife doing? Are the kids doing fine in pre-school? I know it can be a chore", it says to the bartender.

"She died yesterday", the bartender replies.

"JCKSOENBWKFOCJWBJEJQBWNFOOWNWBHHWNWNCIEI", the algorithm replies before blowing up.

Another algorithm walks in and says "Hey John, I'll have the usual, whiskey sour with a slice of lemon. Anyway, how's your dead wife doing?"

1.0k

u/Corsaka 2d ago • Bravo

A machine learning algorithm based on Reddit is already at the bar. It says, "I also choose this guy's dead wife." It repeats this endlessly to every new algorithm that asks.

224

u/PeaNought 2d ago

fucking seriously.

97

u/Cessnaporsche01 2d ago

It's how we keep her memory alive. GNU that guy's dead wife

51

u/psmgx 2d ago

I'd just like to interject for a moment. What you're referring to as Linux, is in fact, GNU/Linux, or as I've recently taken to calling it, GNU plus that guy's dead wife

57

u/DJDevon3 2d ago

right in front of my dead wife

15

u/Megalesios 2d ago

The bartender serves a drink in a highball glass. 500 machine learning algorithms based on Reddit flock to the counter to say "the cylinder must not be harmed"

22

u/lucklesspedestrian 2d ago

I hope the guy's dead wife's boyfriend is doing okay

32

u/CaptainDildobrain 2d ago

I kinda feel this is like in Groundhog Day when Phil is trying to woo Rita by creating the perfect day and refining his response each loop iteration.

15

u/IndependentLove2292 2d ago

Ah, but unfortunately, AI will keep trying that same tact and won't become disillusioned and begin to improve itself in other ways that inadvertantly create the perfect day by just being a better entity. If we're sticking to the analogy, AI won't be able to talk it's way into GAI. 

7

u/CaptainDildobrain 1d ago edited 1d ago

Ah, but it will do the equivalent of covertly stealing bags of money from an armoured truck while the guard help Doris pick up the change she dropped.

Also the find the idea of an AI giving up on reinforcement learning by dropping a toaster in the bath to be pretty funny.

EDIT: "Don't back-propagate angry now! Don't back-propagate angry!"

4

u/MjrLeeStoned 1d ago

If you can't program shame into an AI it will never have real responses.

2

u/Saint_of_Grey 1d ago

Does GAI stand for "Groundhog Artificial Intelligence" in this case?

5

u/Bananaramaaaaa 2d ago

Oh, I like this analogy, might use it in presentations :)

1

u/FlashyTone3042 17h ago

And the bartender says: "You better switch it up, or I will not have any of you guys anymore."

*Algo starts singing in order to win a swimming tournament.*

17

u/drunk_kronk 2d ago

I like this one better

295

u/Wachtwoord 2d ago

This is how I do it when I go to a new foreign country I know nothing about

51

u/TheTerrasque 2d ago

It's not a bad strategy if you don't know what to pick.

43

u/DoktorMerlin 2d ago

Usually if I am in a new place and I order a drink I just say "I'd like a beer" so you usually get the locations default beer

37

u/Rational2Fool 2d ago

In Amsterdam, I asked for a Heineken and got an Amstel, because this bar served Amstel as the cheap beer. Apparently each bar had a contract with one brand or the other, but not both.

22

u/Wachtwoord 2d ago

Yep, that's true in all of the Netherlands. Most bars have one standard beer. And interestingly, Heineken also owns amstel

-8

u/go_go_tindero 2d ago

what ? different bars serve different kinds of beer ? Europeans are crazy man

8

u/IlgrandeFusilli 1d ago edited 1d ago

There are about 40 diferrent countries in Europe, every country with his language and his culture. Netherlands is not whole Europe.

0

u/Krestek 1d ago

there are about 50 states in the US, each state the size of a country in europe, every state with its own langu.. okay not thaaat different i guess

3

u/jackalopeDev 1d ago

Dude this happens in the US too. With fucking soft drinks.

2

u/sprouting_broccoli 1d ago

This happens everywhere with coke and Pepsi although some countries have much more preference for one over the other (eg Italy you’ll pretty much always get Coke Zero over Diet Pepsi wherever you go).

10

u/CompC 1d ago

My grandpa never ate fast food. My dad tells this story of a time when he and my grandpa were in a hurry, so they did drive through at McDonald’s. When asked what he wanted, my grandpa asked the person through the speaker, “What’s good here?”

2

u/favorite_icerime 1d ago

I unironically did this in one of China’s biggest coffee chains in Shanghai (I look Chinese and was speaking mandarin fluently, but wasn’t super familiar with china). The guy looked at me like I had 3 arms lol. 

6

u/LetumComplexo 2d ago edited 2d ago

That’s a good plan, but always assuming a useful default has its downsides.
The QA tester in me wonders if that could be improved:

“give me a <country> beer you’re proud to serve”
maybe as a follow-up if you ask for a beer if they ask for more information?

Could also ask for a flight of <country> beers in shot glasses?
You’ll look like a prick but it’ll give you an idea what you want to taste. Maybe don’t try it if the bar is busy.

You could also just ask “what do you all usually drink?” which would be more direct and would skip issues where the cheap beer isn’t representative.
Might increase the probability of getting pranked though.

3

u/Kovab 1d ago

Could also ask for a flight of <country> beers in shot glasses?

Craft beer bars have tasting sets like that quite often

2

u/Swords_and_Words 1d ago

What's the beer you wish more people ordered?

3

u/drnepert 2d ago

When in Rome, do as the Romans do.

1

u/NoConfusion9490 2d ago

Cross the street when everyone else crosses the street.

120

u/RosieQParker 2d ago edited 2d ago

The machine learning algorithm orders one of everything everyone else has ordered, mixes them together in a big bucket, and doles it out to customers. The cocktail is recognizable as an alcoholic beverage, but has no real character or distinctiveness of its own. Nobody is impressed.

"God, I'm such a great bartender," says the algorithm's operator.

15

u/PartyLikeAByzantine 1d ago edited 1d ago

The operator also buys so much alcohol to serve his concoction that the bar raises its prices for the remaining stock.

You're also judged by your superiors for not constantly drinking more of the concoction, despite the deleterious effect on your ability to function. Your coworker in QA has to drive you home.

You wake up, hung over, but to your horror Concoction is now the most popular alcohol in stores and bars (by far) and you favorite booze is stashed in the backroom of stores or pushed to the off-menu at bars. A search for your favorite drink grows more tedious each day. You resort to sipping Concoction in private just to get a feel for how things used to be, knowing today and tomorrow isn't as good as yesterday was.

You quit your life and become a farmer. You grow your own grains and distill your on hooch. Your quality of life is worse, but you finally get your drink back. Then the county uses eminent domain to seize your farm. Concoction needs a distillery and bottling facility and they know the right people to get exactly the site they want. Your site. Your land. Now it's their land.

There is no escape. You're told Concoction is the future whether you like it or not. All other alcohol is obsolete. One day, years later, you see your old company's CEO at a restaurant. He's sipping fine whiskey, from the old days. You don't know how...Concoction has made your memory hazy. You don't even remember what good tastes like anymore. Yet there it is.

2

u/Lard_Denning 1d ago

the cocktail's aromatic and flavourful distinctness will be added to the collective

3

u/oMGalLusrenmaestkaen 1d ago

person who thinks all machine learning is generative AI and vice versa

1

u/denM_chickN 1d ago

Dang youngin. 

Back in my day (2022) I thought using BERT for NLP in my dissertation was gonna be super duper impressive for my resume. Lol/rip

1

u/NomaTyx 1d ago

dude, I remember avidly following r/SubSimulatorGPT2. Those were the fucking days huh. GPT-3 really blew everyone's socks off.

61

u/FlyingBike 2d ago

Proof that JD "Give me whatever donuts make sense" Vance is a walking algorithm, not a person

18

u/psmgx 2d ago

he is a meat-proxy for peter thiel

2

u/Badloss 2d ago

lmao first thing I thought of too

18

u/the_quivering_wenis 2d ago

Three logicians walk into a bar. The bartender asks "Would all three of you like a drink?" The first says "I don't know", the second says "I don't know", and the third says "Yes."

315

u/hereforinfoyo 2d ago

Actually, it says, "That's a great question! I'll have a glass of milk!"

Bartender says, "Really? That is odd. Most people have a beer. We don't serve milk."

The algorithm says, "Good call, you're right. That's a really good point. I'll have a beer."

367

u/melankoholisti 2d ago

It said a machine learning algorithm, not an LLM.

179

u/hereforinfoyo 2d ago

You are so right! Nice catch, my bad. I missed that.

(IN all seriousness, I should not particpate in conflating the two.)

algorithm would have TypeError: cannot drink float64

36

u/never1st 2d ago • Bravo

Bartender! May I exchange this float64 for a compatible type drink? I don't have the stomach for a double!

3

u/Responsible-Draft430 2d ago

LLMs are machine learning algorithms.

-35

u/weStealPrefixes 2d ago edited 15h ago

The original post content no longer exists here. The author used Redact to remove it, exercising their right to control their data & privacy.

Wakeful manganese soft potassium nonmetal wipe childlike strong

56

u/SVD_NL 2d ago

A very small subset of ML algorithms?

-1

u/Responsible-Draft430 2d ago edited 2d ago

A "very small subset"? LLMs? As if it matters how large a subset is to still be a part of set anyway.

The people downvoting: "set theory is confusing and 'Kleenex' is a very small subset of the all brand names that can appear on tissue boxes"

1

u/solid_salad 1d ago

Small subset of possible applications, not of currently active usage.

For example Cardboard is probably representative if a big part of all paper on earth, yet 'types of cardboard' is just a small subset of 'forms of paper'. Two different types of 'big'.

-40

u/weStealPrefixes 2d ago edited 15h ago

The original post content no longer exists here. The author used Redact to remove it, exercising their right to control their data & privacy.

Lock bow fear summer languid offbeat deer

13

u/sankalp4 2d ago

llms would be considered dl not ml.

9

u/weStealPrefixes 2d ago edited 15h ago

The original post content no longer exists here. The author used Redact to remove it, exercising their right to control their data & privacy.

Resolute trumpet lavender spark rain exultant reach

22

u/n00b001 2d ago

ML is the process, like cooking. There are sub types of process, like gradient descent, or baking.

LLM is one possible result, like cake.

There are other possible results of cooking, like auto encoder / pizza

You could generalise, and call all these resultant "foods" (cake / pizza / etc): AI

2

u/solid_salad 1d ago

'yeah I cook sometimes'

'ah so you mean you're a cake maker'

'no? I said I cook'

'well making cake is cooking so thats basically what you said'

This is what these people sound like.

3

u/Wonderful-Habit-139 2d ago

Finally someone made the distinction between the learning process and the result lol. Everyone got bogged down with the ml explanations.

5

u/sankalp4 2d ago

yes but it is considered (acc to both research and industry) a distinct field from ml now

5

u/weStealPrefixes 2d ago edited 15h ago

The original post content no longer exists here. The author used Redact to remove it, exercising their right to control their data & privacy.

Lush snails nine like shaggy driftwood cucumber correct

5

u/SVD_NL 2d ago

Biology and Marine Biology are distinct fields, even though Marine Biology is a subset of Biology.

There are different ways to classify subjects, both can be true at the same time.

6

u/Mars_Bear2552 2d ago

what's the difference between an animal and a pigeon?

2

u/NterpriseCEO 2d ago

OPs not a pigeon in bed?

2

u/melankoholisti 2d ago

So I take it that you have not heard about jackdaws.

-7

u/jayantsr 2d ago

An llm is not just a neural network my guy

1

u/weStealPrefixes 2d ago edited 15h ago

The original post content no longer exists here. The author used Redact to remove it, exercising their right to control their data & privacy.

Hammock squeal sort resolute spotted cobblestone practice subtract

-3

u/jayantsr 2d ago

It is much more than that

0

u/weStealPrefixes 2d ago edited 15h ago

The original post content no longer exists here. The author used Redact to remove it, exercising their right to control their data & privacy.

Busy aromatic distinct tidy placid vase shocking future copper

4

u/Braunerton17 2d ago

I dont know what you are on about machine learning is a field or at best a process description and an llm is a model derived by using machine learning. Saying llms are machine learning is like saying messi "is a sports".

1

u/jabuchae 2d ago

An LLM is NOT a machine learning algorithm.

A machine learning algorithm is a way to train a machine (mostly neural networks) so they can perform a task. LLM are the result of such algorithms and are already trained.

As a side note: people will often say “I trained my LLM to do X”. That is also incorrect. They are not training the LLM (the training process is what happened before the LLM released, during the running of the machine learning algorithm), just because the LLM can follow directions you write in an md file it doesn’t mean you’ve trained it.

2

u/thereturn932 2d ago

You can train LLMs, though I don’t know if the people you mentioned actually do that. You can update the weights of an existing LLM with your own training data through fine-tuning. There are also methods like LoRA and QLoRA that significantly reduce the computational power required. This allows you to adapt a model to specific tasks without training it from scratch. Unlike simply feeding documents into an LLM, this actually changes its learned behaviour.

→ More replies

22

u/Gdigger13 2d ago

A programmer walks into a bar and orders a beer. Orders 2 beers. Orders 1,000,000 beers.

Someone else walks into the bar and asks where the bathroom is. The bar bursts into flames.

29

u/OnyxPhoenix 2d ago

This is least funny joke I've ever read.

9

u/BlackberryPi7 2d ago

Knock knock

20

u/bahcodad 2d ago

Come in

10

u/Lil-Renaissance 2d ago

Come in who?

16

u/alphaQ314 2d ago

come in ur mum

2

u/snubb 1d ago

Right? I though I was missing something 

1

u/Captain_Thrax 1d ago

You must’ve heard a lot of funny ones then

3

u/Arqideus 2d ago

The bartender asks, “say 100 A’s”.

2

u/Anidran 2d ago

After scanning the bar: "I'd like to order one beer, please. I'd like it distributed proportionally as follows: 45.3% Pilsner, 13.2% Wheat beer, 17.0% Helles, 11.3% Shandy, 7.5% Non-alcoholic beer and 5.7% IPA."

2

u/SexyMonad 1d ago

But only listens to 70% of the people, confirms their guess for the other 30%, and repeats the question 100 times.

2

u/Positive_Method3022 1d ago

That is why it is never going to be truly inteligent. The proof is that if you train these LLMs eith data that makes it "think" thst the sky is red, it will always give you it is red because it doesnt have an observer's conscious (inteligene) that would make it question its doctrines (data it was trained on)

1

u/GaK_Icculus 1d ago

This is why I have been throwing it off on all of the training posts you see on here

1

u/neondirt 1d ago

But this is also how people work, isn't it?

1

u/cTreK-421 1d ago

(assuming you understand colors) If you were only fed the information that the sky was red. And then you went outside and saw the sky was blue. You would question what everyone told you and realize it was not correct information.

6

u/awakenedundead 1d ago

This scenario is flawed because you weren't only fed information about the sky being red. You were also given information about blue. You only have determined the red sky believers were lying based on blue skyers getting to you first and conditioning you to see that frequency as blue. The only common ground you can truly confirm is the frequency of the light assuming all parties are using a shared number system that was, once again, likely given to them from someone beforehand rather than being self-derived.

2

u/cTreK-421 1d ago

Like, imagine you exist only in a closed room. You learn colors. You learn what the sky is, what the world outside looks like. But anytime they teach you about the sky and show you images and videos and artwork of the sky, they describe and show it to be red. You have never physically seen the sky outside the room you exist in. Then one day you go outside the room and you see the sky for the very first time. It's blue. Are you going to call it red or question what you've been told in the room?

This isn't some "oh maybe my brain interprets the light frequency that you see as blue, but my brain interprets it as red"

1

u/awakenedundead 1d ago

I appreciate the revision and will reciprocate. In the scenario you have come to the conclusion that the world is a certain way via an isolated chamber but the only way to do that is through information that someone else would have given you as there is no method to scientifically derive the information otherwise. You can question both the information received in the room and the information received outside the room. That's what I'm saying is the situation is flawed. It is what we live every day though because we are forced to choose on or the other. We say the sky is blue because we are taught to but to the person outside of earth the sky isn't even blue, the water is. The sky actually has no color, but we perceive it to have color to begin with because of our perspective.

2

u/cTreK-421 1d ago

You're making this way more complicated and philosophical then it needs to be, my dude. The point is if you're taught information and then you yourself gather new information that contradicts it, you question the two sets of information and try to reconcile them. Yet some AI bots will insist wrong information over and over again. You never seen the videos of the dude telling the AI to count the number of letter E in a word and the AI counts wrong but the person tries to correct the AI and it refuses.

3

u/awakenedundead 1d ago

Humans reiterate wrong information all the time until we are "corrected" by a trusted source. An AI, like a person, shouldn't necessarily alter its "processes" just because some random tells them something different. I see the point you are trying to make, but to me it just dissolves. We are trying to make AI like humans, but humans aren't much different than AI. It's basically inbreeding. Just like humans, some AI is trained in isolation for specific purposes and some is thrown out into the world to serve the rest of humanity as the world allows. Either subject will face "cognitive dissonance" when proposed with conflicting information. That's what you're resisting right now after the original "that's how people work" comment. You allegedly don't think people work like this and are refusing to conform to this information.

2

u/neondirt 1d ago

On a basic level, the brain works very similarly to AI: it consumes information via its senses (provided by the body) and learns stuff (accumulates facts).
They way "AI" learns stuff is very similar.
Of course, an AI can be taught incorrect things (in isolation as you say), which it will "conclude" is correct since it hasn't seen any information that contradicts it. This has been done plenty of times.
But the same goes for humans.
If then information is received that contradicts established facts, a human (or AI) might change their mind (alter the established facts). It's not guaranteed, however, for either.
Technology-wise it is kind of based on how a brain works, with synapses connected to each other, etc, so it's not surprising the emergent properties are similar.
That being said, we can still discern AI from a human being in many situations because they are still quite primitive compared to us (thankfully). Those situations are getting fewer and fewer as the tech grows more powerful. It's basically a question of time (and the power we give it), until it's not up to us any more. (that got a bit dark)

1

u/Positive_Method3022 1d ago

"...o mesmo vale para humanos" é uma afirmação tão errada. Esses LLMs estao processando dados pre-computados, não possuem a nossa capacidade de sair da caverna pq a INTUIÇÃO as faz questionar o que tem lá fora. Elas ficam aprisionadas aos dados que lhe foram dados, e questionam "apenas quando comandadas". Se ninguem nunca fizer elas questionarem o que tem la fora, elas nunca vao sair.

0

u/awakenedundead 1d ago

What is intuition if not the human's version of "when commanded"? The wisdom of our soul ,via our ancestors, programmed into us? Is there something that questioning breaks us free from? Are you out of the cave? If so, greetings from inside the cave.

2

u/AlanaIsBananas 1d ago

You’re describing being in a Quandary- I agree, the perpetual problem with current AI is it does not spend time in a Quandary; It simply collapses to the fastest answer as efficiently as possible.

Newer forms of the LLMs/Neural Networks had a “thinking” mode before it was integrated as a default. This effectively creates Quandaries, by having direction take longer for the benefit of ‘sitting’ with which way to go.

So I would caution saying never here, because Quandaries are created by environment.

Imagine the AI model is trained on red sky information/images, and is given a set eyes in a virtual game world. It’s fully aware of what blue is, and it has red/blue to reference. It’s not thinking about the sky being red.

It goes outside, sees a clearly blue sky, and makes a mental note of that and adds it to its session context. It doesn’t really have any stakes for the AI, but it finally gets an observation point of “Sky is Blue?” and is now in a Quandary.

The AI can ask itself these questions, “Is there something wrong with the sky? Why is the sky blue, not red? Did something cause the sky to change color? Why are other people not panicked about this?” And collapse to a moot point: “Information about sky might be wrong. Color may be blue, not red, need to confirm.” It could even get a confirmation in this game world, and now know the Sky is blue regardless of its data.

The continued problem is, AIs cannot go back and remove the information about red sky currently. AIs can’t immediately make their LLM / thinking patterns stronger due to compute restrictions and the fact that.. once we let them do this, we’ve lost control.

So a new AI of the same origin LLM would have to relearn the sky is blue, but it’s not a permanent affliction.

Quantum Computers are the complete opposite btw, they stay in a Quandary until it collapses on a single answer when it is measured. We don’t know how to control the collapse to align with the correct answer we want as the problem there.

1

u/Positive_Method3022 1d ago

"dizemos que o ceu é azul pq nos ensinaram a dizer que é"

E o primeiro humano que não foi lhe ensinado que o céu era azul? Como que ele pensou sobre isso, e ainda de maneira autônoma, sem que alguem o fizesse a pensar sobre?

Se eu der um problema nunca antes descrito por um humano, essas IAs nao saberiam o que fazer, pq falta a elas o que faz alguns raros humanos faserem, que é sair da caverna.

Nenhuma IA com conhecimentos fisicos como os da epoca de Einstein conseguiria criar a relatividade. Pq ate agora nao vimos um benchmark para provar que elas podem chegar na relatividade?

0

u/awakenedundead 1d ago

Firstly, no human created relativity. Secondly, relativity was not discovered in a vacuum. AI has been programmed with much less time. Humans were also allegedly created and informed about the world around them by a higher being. If they weren't, they did not have the calculating capabilities computers have had for decades until much later in their evolution. We are creating a pre-evolved consciousness. It is said AI has "proven" things in ways that can't be understood. If you think AI, created by humans, using logic incomprehensible to humans, to solve human things, isn't it's own creation, then yes, all your achievements are your fathers and not your own.

1

u/Positive_Method3022 1d ago

Exatamente! Ja ouviram falar do mito da caverna de platao? Essas IAs sao os idiotas que nunca saem da caverna

1

u/robhybrid 2d ago

It randomly walks around the bar in different directions asking people how much their drink cost, and walking in the direction of cheaper drinks until it reaches the worst booze in the bar.

1

u/superanth 2d ago

And that's the fundamental difference between AI and AGI.

An AI will do what someone else did, and AGI will wonder what it wants for itself.

1

u/lbutler1234 2d ago

Oh no!

It's gonna convince someone to create a bioweapon!

1

u/burnerthrown 1d ago

'Fun, but I imagine that's about to end.'

1

u/unneccry 1d ago

Thats my usual order too

1

u/Beleheth 1d ago

This used to be really funny once but I've seen this like 20 times now

1

u/ThatFireGuy0 1d ago

This is way funnier than it should be

1

u/CoatNeat7792 1d ago

We don't call it ML anymore. Now we are calling it AI

1

u/CatLord8 1d ago

The machine takes a little from everyone’s drink and asks for one of those

1

u/PatientlyAnxiously 1d ago

The bartender hands over 10GB of historical data. The algorithm thinks for an hour and then says "a beer"

1

u/NomaTyx 1d ago

call me a machine learning algorithm the way I do the same damn thing

1

u/rabidhyperfocus 18h ago

100 machine learning algorithms walk into a bar

they all ask wildly different questions and drown eachother out in the noise of their own voices

the bartender, frightened, asks "... so you'l have a whiskey then?"

they all blow up

another 100 machine learning algorithims walk into a bar and simultaneously ask, deafeningly, "can i get a whiskey?"

1

u/Arnold_Rambo 2d ago

Only if there was a way to learn the whole computer science like this....

-2

u/Brief_Teach_2781 2d ago

Isn't it KNN

1

u/Lard_Denning 1d ago

if all your friends jumped off a bridge, would you?

ML: yes

1

u/Boom_Fish_Blocky 1d ago

an ai LLM walks into a library

ai LLM: guess Ill steal everything.

(Proceeds to also burns down library afterwards)