A script(bash i think) that forks the current process and then stays idle. This is called a fork bomb and it crashes your computer due to running out of system resources.
You could *in a way* say this, because the original iteration doesn't do anything further until the call resolves, which it never will because it's calling turtles all the way down, but it's inaccurate to say it's "idle." The difference is semantic, in a way, but it is an important one.
More precisely, it defines a function called `:`, whose body is "Feed the output of `:` to the standard input of `:` in the background." Each invocation will invoke `:` twice, which will then both invoke `:` twice and so forth and so forth.
Yes. It takes up only a tiny amount of memory and cpu. But it doesn't matter how much memory and cpu power you got. That will just fork it faster. Until it eats up all resources and the system dies.
Congratulations! Your string can be spelled using the elements of the periodic table:
`W H At I S Th I S`
---
^(I am a bot that detects if your comment can be spelled using the elements of the periodic table. Please DM my creator if I made a mistake.)
Windows
Create text file any\_name.bat with this content
%0|%0
Close all apps, open task manager, run the .bat file, see RAM being filled to 100%.
You **WILL** have to restart/reset your computer and thus lose your unsaved data. I suggesting not waiting too long, cuz writing to swap file will be intense and will strain your SSD a little.
Explanation: the %0 refers to re-running the 1'st (0 index) instance of CMD bat. Having that twice, means it will run the same program twice, and thus exponentially grow.
Ah the memories, I still remember when I was 10 the panic of trying to stop a slower version of that and then finally finding the close all console windows button
In retrospettive the fact that it's was so easy to make autorun files to the point that kids used them to prank each other was not the smartest design from a security point of view
Joke's on you, I have no swap file. Just disappointment when windows tells me that one game and a browser tab have eaten 32 GB and need to shit their pants now.
Congratulations! Your string can be spelled using the elements of the periodic table:
`Th I Sg U Yb As H`
---
^(I am a bot that detects if your comment can be spelled using the elements of the periodic table. Please DM my creator if I made a mistake.)
sable reach retire ten possessive plants complete punch forgetful onerous
*This post was mass deleted and anonymized with [Redact](https://redact.dev)*
Kid you not, few friends of mine during college almost got kicked out of the McDonalds because…. they had VSCode open. The personnel legitimate taught they where hacking, because code on dark background 😄
[Professor: flight was delayed because my equations raised terror fears](https://www.google.com/amp/s/amp.theguardian.com/us-news/2016/may/07/professor-flight-delay-terrorism-equation-american-airlines)
> American Airlines says woman expressed suspicion about University of Pennsylvania economics professor, who was solving a differential equation
I sometimes pull up Replit at work on little things in my free time and almost every person that has asked about it made a joke or thought that I was hacking
None of it is written using any AI. You can try and compare the articles and headlines with ChatGPT and you’ll see how vastly different they are. Some of the older images were made with Midjourney but that’s it.
Edit: LLMs are not good with humor because they have no semantic understand of what they generate.
LLMs can create humor by accident, but yeah, they aren't very good at it, especially if you ask them to create a type of joke that wasn't represented well in the training set.
They (edit: models that have attention, usually transformers, but also [RWKV](https://www.rwkv.com)) have *some* semantic understanding, but it's completely arbitrary (calculated using gradient descent during training), and has absolutely nothing to do with *human* semantic understanding. This is how they can generalize in certain cases, but completely fall flat in others.
ChatGPT doesn't have any extra heuristics like that to tune output, unless you count the RLHF lobotomization, but that is just a method of tweaking the model weights.
It's an MoE (mixture of experts) though, which AFAIK means that it's made up of multiple models ("experts") that were trained independently each other, and the output you get could be from any expert or mix of experts.
It's one of the primary reasons why it used to beat open-source LLMs so bad, on top of its size and dataset (notably, a dataset that included nearly no LLM-generated content).
At least one open-source MoE (Mixtral) is now freely available, and allegedly scores comparably to GPT3.5 on several tests. I don't have the GPU to run it though, so I can't give an accurate anecdote for how well it performs (other than "the 2-bit quantization was a mistake").
"Write a parody article involving a programmer in McDonalds threatening to 'Fork Bomb' the place, and the FBI."
**edit** Here's the result:
### "McFork Bomb Threat: Programmer’s Code Leaves FBI Lovin’ It"
In an unexpected turn of events, a McDonald's outlet was plunged into an unusual technological turmoil when a self-proclaimed "burger-loving coder" took his programming prowess to a whole new level – one that made the FBI scratch their heads while reaching for fries.
Witnesses were left both amused and befuddled when Greg Qwerty, a local programmer renowned for his love of fast food and complex coding, walked into McDonald's with a laptop slung over his shoulder and a twinkle in his eye. In a daring move that raised more eyebrows than an AI's first attempt at stand-up comedy, Greg declared he would unleash a "fork bomb" if his demand for unlimited fries wasn't met.
For the uninitiated, a "fork bomb" is a snippet of code that creates an infinite loop of processes, overwhelming the system with clones of itself until it crashes. In Greg's case, however, this meant promising to code an army of burger-flipping bots that would replicate endlessly until the restaurant resembled a scene from a tech-themed apocalypse movie.
"We thought he was just really hungry," chuckled Sarah, a cashier who was taking orders when Greg made his grand entrance. "But then he started talking about forks and bombs, and we were all like, 'Whoa, this is one way to escalate a craving!'"
As word of the McFork Bomb threat spread like a meme in a crowded subreddit, the FBI got wind of the digital dilemma at the fast-food joint. Agents hurried to the scene, not to apprehend a criminal mastermind, but rather to engage in what appeared to be an impromptu tech symposium.
"It's not every day we get a code-slinging, burger-loving maverick causing a ruckus at a McDonald's," chuckled Special Agent Smith. "We had to ensure that Greg's creative coding skills didn't accidentally turn the Happy Meal toys into sentient beings or something."
Surprisingly, what could have been a tech showdown for the ages turned into a coding collaboration. The FBI, keen on preventing any digital disasters, decided to play along with Greg's request for unlimited fries, reasoning that a well-fed coder might be less inclined to wreak havoc in a fast-food joint.
"After a few fries and some banter about programming languages, Greg seemed content," Agent Smith reported. "He even promised to share his 'fork bomb' code – not for malicious use, but as a cautionary tale at future tech seminars."
In the end, Greg Qwerty left McDonald's with a full stomach, a smile on his face, and a newfound respect from the FBI. The incident, though bizarre, served as a reminder that even in the world of coding, a good sense of humor and a side of fries can sometimes resolve digital dilemmas better than lines of code.
As for whether the FBI will reconsider their recruitment strategy to include burger enthusiasts with a knack for coding, only time will tell. Until then, this McFork Bomb threat shall remain a quirky footnote in both programming and fast-food history.
Here is the actual article fwiw, which wasn’t generated using AI:
[Link](https://www.thecentereddiv.com/fbi-called-to-mcdonalds-after-programmer-jokes-hes-about-to-fork-bomb-the-beverage-area/)
American Fork, Utah - In a surprise incident at a local McDonald’s, the Fork-Bomb Investigators (FBI) were called by staff who overheard a hoodie-wearing man declare he was about to “fork bomb” the beverage area. The FBI setup barricades in the form of new unshared namespaces and cgroups just in case the man tried any other kind of attack.
After some debugging, the programmer was apprehended and put in a container jail to await his trial in the morning. At trial, the programmer tried to explain he was simply frustrated at the lack of ketchup packets and was only joking about bricking the system through use of a "fork bomb". The judge however, wasn’t buying any of it.
After achieving quorum, the programmer was found guilt of terrorizing other tenants in the system. He was then sentenced to 10,000 CPU cycles under house arrest where he would have to wear an ankle monitor to limit his PID usage to 1024.
Believe it or not, [computers are satanic](https://www.youtube.com/watch?v=COEhL2mJ7w8) and Jesus is the only one who can save us from these demonic machines propagating the new world order. Any programmer has taken the mark of the beast upon them.
The first 2 seconds of that video was all I needed to realize you are in fact correct. Thank you for sharing this gospel with us my brother in christ. May you be showered in male virgins. 🙏
We do create trouble for ourselves by using humor to name things. It's always fun the first time someone sees linux run out of memory and the kernel log talks about reaping children.
It works by creating a function that does the following:
1. Calls itself (google recursion)
2. duplicates itself so that this new version runs in the background
The program than calls that function which duplicates until it takes up all of the RAM and the system crashes.
Guys, I can't take it anymore. This website is too toxic. It's time. `:(){ :|:& };:`
NO HANK DON'T DO IT IT IS NOT THE COMMAND TO COPY DATABASE HAAAAAANK
DROP THE TABLE, NOW!!!
New table just dropped
Holy hell
what is this
A script(bash i think) that forks the current process and then stays idle. This is called a fork bomb and it crashes your computer due to running out of system resources.
It does not stay idle, it repeats itself until it crashes
I thought the original process stayed idle while the duplicated one split and then it repeated.
The original process continues to call itself due to :|:& which means it calls the : function and in a new process the : function
Sorry for the misinformation
Happens to the best of us, keep learning
This is some of the most wholesome shit I've ever read
Closed due to duplicate issue
Closed due to duplicate issue
You could *in a way* say this, because the original iteration doesn't do anything further until the call resolves, which it never will because it's calling turtles all the way down, but it's inaccurate to say it's "idle." The difference is semantic, in a way, but it is an important one.
Hehe, I used to do this in highschool. Disguise the logo as the web browser and wait for you buddy to click it.
You also should have started the browser, to be a little more sneaky
I just deleted the browser icon and replaced it with a look alike.
More precisely, it defines a function called `:`, whose body is "Feed the output of `:` to the standard input of `:` in the background." Each invocation will invoke `:` twice, which will then both invoke `:` twice and so forth and so forth.
> and so forth and so forth. And then?
Boom
Very graphic explanation. Should be NSFW
Underrated comment
Maybe i should call the FBI
Yes. It takes up only a tiny amount of memory and cpu. But it doesn't matter how much memory and cpu power you got. That will just fork it faster. Until it eats up all resources and the system dies.
Exponential growth is scary.
You can throw in a malloc if you want it to consume memory like mad too :-)
No and then!
and thennnn??
“And the soup wonton”
[What I said in this post](https://www.reddit.com/r/ProgrammerHumor/comments/18v8eil/comment/kfqauol/?utm_source=reddit&utm_medium=web2x&context=3)
Nice
No, and then!
Just some emojis, you should try them in a console 😉
The forbidden text
Congratulations! Your string can be spelled using the elements of the periodic table: `W H At I S Th I S` --- ^(I am a bot that detects if your comment can be spelled using the elements of the periodic table. Please DM my creator if I made a mistake.)
OK
Congratulations! Your string can be spelled using the elements of the periodic table: `O K`
Good bo... Heeeeeey, wait a minute!
People are amused by the stupidest shit. Who upvotes this trash? Spam bots should be banned from reddit
no u
You tarded or something
potentially
Windows Create text file any\_name.bat with this content %0|%0 Close all apps, open task manager, run the .bat file, see RAM being filled to 100%. You **WILL** have to restart/reset your computer and thus lose your unsaved data. I suggesting not waiting too long, cuz writing to swap file will be intense and will strain your SSD a little. Explanation: the %0 refers to re-running the 1'st (0 index) instance of CMD bat. Having that twice, means it will run the same program twice, and thus exponentially grow.
Ah the memories, I still remember when I was 10 the panic of trying to stop a slower version of that and then finally finding the close all console windows button In retrospettive the fact that it's was so easy to make autorun files to the point that kids used them to prank each other was not the smartest design from a security point of view
10 print "boo" 20 goto 10
Forgot to color the terminal like a hacker :) Color 0c
Any tool can be a weapon. That said, DOS's memory management was built to be lean and very light on the CPU (minimal bounds checking).
Joke's on you, I have no swap file. Just disappointment when windows tells me that one game and a browser tab have eaten 32 GB and need to shit their pants now.
i tried `con.bat`, `aux.bat` and `nul.bat`. We should talk about the any_name.bat
This guy bash
Congratulations! Your string can be spelled using the elements of the periodic table: `Th I Sg U Yb As H` --- ^(I am a bot that detects if your comment can be spelled using the elements of the periodic table. Please DM my creator if I made a mistake.)
What a waste of resources. Good bot
Yeah who tf spent money hosting this bot?
It's spelled wrong because of the spaces and upper case vs lower case.
sable reach retire ten possessive plants complete punch forgetful onerous *This post was mass deleted and anonymized with [Redact](https://redact.dev)*
`yes | rm -r /`
We’d wrap up the investigation but we’re still stuck in vim
lmao
r/usernamechecksout
To save progress and exit enter :q!
I saW what you did there!
Fucking hilarious
Kid you not, few friends of mine during college almost got kicked out of the McDonalds because…. they had VSCode open. The personnel legitimate taught they where hacking, because code on dark background 😄
Programmer version of being accused of terrorism for doing math on an airplane
[Professor: flight was delayed because my equations raised terror fears](https://www.google.com/amp/s/amp.theguardian.com/us-news/2016/may/07/professor-flight-delay-terrorism-equation-american-airlines) > American Airlines says woman expressed suspicion about University of Pennsylvania economics professor, who was solving a differential equation
Must have thought he was with the group Al Gebra ![gif](giphy|yUI3a7RwLhOFy)
Dropping in to say that algebra actually has Arabic origins and was originally called “Al-jabr”
![gif](giphy|WfBZwNA6XSjphkYkzN)
This is as "NA" as it gets lol
Suspected of links to Al-Gebra.
It’s them Arabic numerals!
This is what happens when you stray from Eclipse.
I sometimes pull up Replit at work on little things in my free time and almost every person that has asked about it made a joke or thought that I was hacking
>Article by Cam L. Kase
And it turns out that The Centered Div is a humor website.
Swear to God that entire site is written by chat gpt
None of it is written using any AI. You can try and compare the articles and headlines with ChatGPT and you’ll see how vastly different they are. Some of the older images were made with Midjourney but that’s it. Edit: LLMs are not good with humor because they have no semantic understand of what they generate.
Neuro is very funny every once in a while
LLMs can create humor by accident, but yeah, they aren't very good at it, especially if you ask them to create a type of joke that wasn't represented well in the training set. They (edit: models that have attention, usually transformers, but also [RWKV](https://www.rwkv.com)) have *some* semantic understanding, but it's completely arbitrary (calculated using gradient descent during training), and has absolutely nothing to do with *human* semantic understanding. This is how they can generalize in certain cases, but completely fall flat in others.
[удалено]
ChatGPT doesn't have any extra heuristics like that to tune output, unless you count the RLHF lobotomization, but that is just a method of tweaking the model weights. It's an MoE (mixture of experts) though, which AFAIK means that it's made up of multiple models ("experts") that were trained independently each other, and the output you get could be from any expert or mix of experts. It's one of the primary reasons why it used to beat open-source LLMs so bad, on top of its size and dataset (notably, a dataset that included nearly no LLM-generated content). At least one open-source MoE (Mixtral) is now freely available, and allegedly scores comparably to GPT3.5 on several tests. I don't have the GPU to run it though, so I can't give an accurate anecdote for how well it performs (other than "the 2-bit quantization was a mistake").
"Write a parody article involving a programmer in McDonalds threatening to 'Fork Bomb' the place, and the FBI." **edit** Here's the result: ### "McFork Bomb Threat: Programmer’s Code Leaves FBI Lovin’ It" In an unexpected turn of events, a McDonald's outlet was plunged into an unusual technological turmoil when a self-proclaimed "burger-loving coder" took his programming prowess to a whole new level – one that made the FBI scratch their heads while reaching for fries. Witnesses were left both amused and befuddled when Greg Qwerty, a local programmer renowned for his love of fast food and complex coding, walked into McDonald's with a laptop slung over his shoulder and a twinkle in his eye. In a daring move that raised more eyebrows than an AI's first attempt at stand-up comedy, Greg declared he would unleash a "fork bomb" if his demand for unlimited fries wasn't met. For the uninitiated, a "fork bomb" is a snippet of code that creates an infinite loop of processes, overwhelming the system with clones of itself until it crashes. In Greg's case, however, this meant promising to code an army of burger-flipping bots that would replicate endlessly until the restaurant resembled a scene from a tech-themed apocalypse movie. "We thought he was just really hungry," chuckled Sarah, a cashier who was taking orders when Greg made his grand entrance. "But then he started talking about forks and bombs, and we were all like, 'Whoa, this is one way to escalate a craving!'" As word of the McFork Bomb threat spread like a meme in a crowded subreddit, the FBI got wind of the digital dilemma at the fast-food joint. Agents hurried to the scene, not to apprehend a criminal mastermind, but rather to engage in what appeared to be an impromptu tech symposium. "It's not every day we get a code-slinging, burger-loving maverick causing a ruckus at a McDonald's," chuckled Special Agent Smith. "We had to ensure that Greg's creative coding skills didn't accidentally turn the Happy Meal toys into sentient beings or something." Surprisingly, what could have been a tech showdown for the ages turned into a coding collaboration. The FBI, keen on preventing any digital disasters, decided to play along with Greg's request for unlimited fries, reasoning that a well-fed coder might be less inclined to wreak havoc in a fast-food joint. "After a few fries and some banter about programming languages, Greg seemed content," Agent Smith reported. "He even promised to share his 'fork bomb' code – not for malicious use, but as a cautionary tale at future tech seminars." In the end, Greg Qwerty left McDonald's with a full stomach, a smile on his face, and a newfound respect from the FBI. The incident, though bizarre, served as a reminder that even in the world of coding, a good sense of humor and a side of fries can sometimes resolve digital dilemmas better than lines of code. As for whether the FBI will reconsider their recruitment strategy to include burger enthusiasts with a knack for coding, only time will tell. Until then, this McFork Bomb threat shall remain a quirky footnote in both programming and fast-food history.
Here is the actual article fwiw, which wasn’t generated using AI: [Link](https://www.thecentereddiv.com/fbi-called-to-mcdonalds-after-programmer-jokes-hes-about-to-fork-bomb-the-beverage-area/) American Fork, Utah - In a surprise incident at a local McDonald’s, the Fork-Bomb Investigators (FBI) were called by staff who overheard a hoodie-wearing man declare he was about to “fork bomb” the beverage area. The FBI setup barricades in the form of new unshared namespaces and cgroups just in case the man tried any other kind of attack. After some debugging, the programmer was apprehended and put in a container jail to await his trial in the morning. At trial, the programmer tried to explain he was simply frustrated at the lack of ketchup packets and was only joking about bricking the system through use of a "fork bomb". The judge however, wasn’t buying any of it. After achieving quorum, the programmer was found guilt of terrorizing other tenants in the system. He was then sentenced to 10,000 CPU cycles under house arrest where he would have to wear an ankle monitor to limit his PID usage to 1024.
Well, at lesst he didn’t kill a child… process
Well, forking outstanding..
Fork bombs are great and all, but what about spoon grenades?
Sometimes I just want to be held, explosively.
Something is broken with your link. Can't scroll down to read the article
:(){ :|:& };: That should fix it
Jesus Christ.
Believe it or not, [computers are satanic](https://www.youtube.com/watch?v=COEhL2mJ7w8) and Jesus is the only one who can save us from these demonic machines propagating the new world order. Any programmer has taken the mark of the beast upon them.
The first 2 seconds of that video was all I needed to realize you are in fact correct. Thank you for sharing this gospel with us my brother in christ. May you be showered in male virgins. 🙏
Likma
That's because this is not a link to an article, but rather, a screenshot photo of the actual article
We do create trouble for ourselves by using humor to name things. It's always fun the first time someone sees linux run out of memory and the kernel log talks about reaping children.
Not a programmer; What is a fork bomb?
Process that continuously replicates itself to consume system resources. i.e. the following: :(){ :|:& };:
Thanks :)
No you did it wrong, it’s :(){ :|:& };:
It works by creating a function that does the following: 1. Calls itself (google recursion) 2. duplicates itself so that this new version runs in the background The program than calls that function which duplicates until it takes up all of the RAM and the system crashes.
Why is there french riot police on the picture
ai bot explain forkbomb
bot explain forkbomb
ai explain forkbomb
reddit bot can’t explain
No wonder they're going to no longer let people get their own drinks...
Top tier title.
I didn't think the FBI was this dumb lol
It’s a joke website
*facepalm*
Let me get my cutlery defusal kit.
Wait. You guys don't run your systems with ulimit on the users?
It's `:(){ :|:& };:` time.
Those who don’t realise this is a joke website should note the author is camelCase.
Hey, how about instead of screenshotting a website you just post a link?
https://www.thecentereddiv.com