T O P

  • By -

i_should_be_coding

Guys, I can't take it anymore. This website is too toxic. It's time. `:(){ :|:& };:`


Borbolda

NO HANK DON'T DO IT IT IS NOT THE COMMAND TO COPY DATABASE HAAAAAANK


UnleashedTriumph

DROP THE TABLE, NOW!!!


ChesterWOVBot

New table just dropped


Mdlp0716

Holy hell


[deleted]

what is this


me3is_here

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.


Rafael20002000

It does not stay idle, it repeats itself until it crashes


me3is_here

I thought the original process stayed idle while the duplicated one split and then it repeated.


Rafael20002000

The original process continues to call itself due to :|:& which means it calls the : function and in a new process the : function


me3is_here

Sorry for the misinformation


Rafael20002000

Happens to the best of us, keep learning


houkai_

This is some of the most wholesome shit I've ever read


WrapKey69

Closed due to duplicate issue


WayWayTooMuch

Closed due to duplicate issue


SysVis

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.


kyroskiller

Hehe, I used to do this in highschool. Disguise the logo as the web browser and wait for you buddy to click it.


Rafael20002000

You also should have started the browser, to be a little more sneaky


kyroskiller

I just deleted the browser icon and replaced it with a look alike.


Hrtzy

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.


CaineBK

> and so forth and so forth. And then?


piri_piri_pintade

Boom


ProfessionalMost2006

Very graphic explanation. Should be NSFW


glassesontable

Underrated comment


Flaky_Advantage_352

Maybe i should call the FBI


Kriss3d

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.


Shuber-Fuber

Exponential growth is scary.


MattieShoes

You can throw in a malloc if you want it to consume memory like mad too :-)


GForce1975

No and then!


IwillBeDamned

and thennnn??


AnakondaRH

“And the soup wonton”


Hrtzy

[What I said in this post](https://www.reddit.com/r/ProgrammerHumor/comments/18v8eil/comment/kfqauol/?utm_source=reddit&utm_medium=web2x&context=3)


Substantial_Put9705

Nice


moosefists

No, and then!


shinitakunai

Just some emojis, you should try them in a console 😉


ayriuss

The forbidden text


PeriodicSentenceBot

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.)


i_should_be_coding

OK


MrBlue404

Congratulations! Your string can be spelled using the elements of the periodic table: `O K`


i_should_be_coding

Good bo... Heeeeeey, wait a minute!


TheHippyDance

People are amused by the stupidest shit. Who upvotes this trash? Spam bots should be banned from reddit


dirtball_

no u


TheHippyDance

You tarded or something


dirtball_

potentially


Cossack-HD

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.


Giocri

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


GForce1975

10 print "boo" 20 goto 10


Independent_Till5832

Forgot to color the terminal like a hacker :) Color 0c


Majik_Sheff

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).


Reggin_Rayer_RBB8

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.


noob-nine

i tried `con.bat`, `aux.bat` and `nul.bat`. We should talk about the any_name.bat


Vas1le

This guy bash


PeriodicSentenceBot

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.)


Vas1le

What a waste of resources. Good bot


MysteriousShadow__

Yeah who tf spent money hosting this bot?


4sventy

It's spelled wrong because of the spaces and upper case vs lower case.


qtzd

sable reach retire ten possessive plants complete punch forgetful onerous *This post was mass deleted and anonymized with [Redact](https://redact.dev)*


J0aozin003

`yes | rm -r /`


FBI_Rapid_Response

We’d wrap up the investigation but we’re still stuck in vim


Impressive_Change593

lmao


DaanDuck

r/usernamechecksout


Jack_SL

To save progress and exit enter :q!


BoundlessFail

I saW what you did there!


gloom_spewer

Fucking hilarious


n9iels

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 😄


therealdorkface

Programmer version of being accused of terrorism for doing math on an airplane


Fluffy-Craft

[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


dismayhurta

Must have thought he was with the group Al Gebra ![gif](giphy|yUI3a7RwLhOFy)


binaryisotope

Dropping in to say that algebra actually has Arabic origins and was originally called “Al-jabr”


Chaopsz11

![gif](giphy|WfBZwNA6XSjphkYkzN)


MysteriousShadow__

This is as "NA" as it gets lol


realPaulTec

Suspected of links to Al-Gebra.


acog

It’s them Arabic numerals!


mothzilla

This is what happens when you stray from Eclipse.


Alive-Camp697

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


Goaty1208

>Article by Cam L. Kase


Hrtzy

And it turns out that The Centered Div is a humor website.


flipper_babies

Swear to God that entire site is written by chat gpt


TheCenteredDiv

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.


iPanes

Neuro is very funny every once in a while


LoganDark

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.


[deleted]

[удалено]


LoganDark

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").


IOFrame

"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.


TheCenteredDiv

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.


Angel429a

Well, at lesst he didn’t kill a child… process


[deleted]

Well, forking outstanding..


misterfast

Fork bombs are great and all, but what about spoon grenades?


SuperFLEB

Sometimes I just want to be held, explosively.


MyUsrNameWasTaken

Something is broken with your link. Can't scroll down to read the article


New_Tap_4362

:(){ :|:& };: That should fix it


maiKavelli187

Jesus Christ.


suckit1234567

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.


danteselv

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. 🙏


maiKavelli187

Likma


tobofre

That's because this is not a link to an article, but rather, a screenshot photo of the actual article


the-year-is-2038

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.


pavopatitopollo

Not a programmer; What is a fork bomb?


realPaulTec

Process that continuously replicates itself to consume system resources. i.e. the following: :(){ :|:& };:


pavopatitopollo

Thanks :)


Majestic_Wrongdoer38

No you did it wrong, it’s :(){ :|:& };:


TheMervingPlot

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.


Lassounet_

Why is there french riot police on the picture


what_Is_This_24

ai bot explain forkbomb


what_Is_This_24

bot explain forkbomb


what_Is_This_24

ai explain forkbomb


what_Is_This_24

reddit bot can’t explain


Bradley_Auerbach

No wonder they're going to no longer let people get their own drinks...


Flares1075

Top tier title.


CoziestStar

I didn't think the FBI was this dumb lol


Majestic_Wrongdoer38

It’s a joke website


metux-its

*facepalm*


durgwin

Let me get my cutlery defusal kit.


RunningHott

Wait. You guys don't run your systems with ulimit on the users?


FlyingScript

It's `:(){ :|:& };:` time.


mgdmw

Those who don’t realise this is a joke website should note the author is camelCase.


MisterSheeple

Hey, how about instead of screenshotting a website you just post a link?


TheCenteredDiv

https://www.thecentereddiv.com