r/ProgrammerHumor • • Aug 01 '22

>>>print(“Hello, World!”)

Post image
60.8k Upvotes

5.7k comments sorted by

9.2k

u/hansololz Aug 01 '22

kill -9 $children

11.3k

u/a-slice-of-toast Aug 01 '22

kills nine random children whenever ran

→ More replies (107)

404

u/Inabsentialucis Aug 01 '22

No Anakin, you were the chosen one!

→ More replies (4)

21

u/Y__Z____ Aug 01 '22

programming noobs take note, this command actually REVIVES 9 dead children. please like and share to save a life!

12

u/arcticmaxi Aug 01 '22

Wtf bro ran this and now i'm in police custody

→ More replies (62)

7.3k

u/TastesLikeOwlbear Aug 01 '22

$m = ( ( 1 << $b ) - 1 ) << ( 32 - $b );

471

u/666pool Aug 01 '22

Fills in the upper $b bits with 1s and the rest are 0s.

→ More replies (21)

15

u/[deleted] Aug 01 '22

Don't give me imposter syndrome

→ More replies (1)
→ More replies (64)

9.7k

u/sorryidkwhatelsetodo Aug 01 '22

;

7

u/AccountWasFound Aug 01 '22

So fun prank involving this operation, replace exactly 1 of them with a Greek questionmark. Someone did that to a classmate and it drove them up a wall.

→ More replies (2)
→ More replies (32)

550

u/ndxinroy7 Aug 01 '22

always @(a,b) begin if (a[0]==b[0] && a[1]==b[1]) eq = 1; else eq = 0; end

16

u/Voidheart88 Aug 01 '22

I'm a vhdl User, so i might be wrong but: (a1 xnor b1)&(a2 xnor b2) ?

→ More replies (2)

13

u/ChainSword20000 Aug 02 '22

Checks if the first 2 items in a pair of lists are the same, then assigns 1 or 0 to the variable eq, nonstop repeating.

→ More replies (6)

2.1k

u/ImportantSpirit Aug 01 '22

while(true){ Sysout("hello world") }

3.3k

u/a-slice-of-toast Aug 01 '22

print (“hello world”) but cooler

→ More replies (22)

24

u/[deleted] Aug 01 '22

💻➡️💥

→ More replies (3)
→ More replies (8)

3.9k

u/Diligent_Choice Aug 01 '22

++++++++++[>+>+++>+++++++>++++++++++<<<<-]>>>++.>+.+++++++..+++.<<++.>+++++++++++++++.>.+++.------.--------.

6.9k

u/a-slice-of-toast Aug 01 '22

makes your pc pass a kidney stone

→ More replies (76)

150

u/JohnCavalry Aug 01 '22

Ayo is that brainfuck?

→ More replies (5)

13

u/AtlasDrudged Aug 01 '22

Prints “Hello World!” ?

→ More replies (2)
→ More replies (27)

3.6k

u/sanchez2673 Aug 01 '22 edited Aug 02 '22

:(){ :|:& };:

6.4k

u/a-slice-of-toast Aug 01 '22

spices up the rest of the code by giving it emotions

→ More replies (107)

57

u/GreenFox1505 Aug 01 '22

I think you mean :(){ :|:& };:?

→ More replies (6)

11

u/Robosium Aug 01 '22

isn't that just some random trash you find in a fallout terminal when hacking it?

→ More replies (1)

9

u/Smccx Aug 01 '22

My friend sent me this and told me he needed a Unix terminal to run it on and see the output. I didn't have one handy and honestly didn't read the command, but did have a work QA server that was Unix. I crashed the server... At my new job. I now know to check what I'm running.

Fortunately there was a server migration happening the next day so no one questioned it. I was worrying a bit that night though.

To make it worse it didn't work at first, using the colon as the name so he gave me it back, naming the function b instead. I had every opportunity to read this but didn't... I'm a "senior" dev... And an idiot.

→ More replies (2)
→ More replies (28)

5.6k

u/Popstar403 Aug 01 '22 edited Aug 03 '22

Python:

Import Die ; Die.Die()

(Edit: Didn't expect this to blow up! Thanks for the updates and awards)

2.7k

u/Equivalent-Bench5950 Aug 01 '22

Does that give a random number from 1 to 6?

→ More replies (92)

2.0k

u/Rune_Pickaxe Aug 01 '22

It's actually German for The The The.

→ More replies (71)

303

u/Amathril Aug 01 '22

This one summons the python. Python then kills you, your next of kin and himself.

→ More replies (10)

14

u/yolo_bet Aug 01 '22

Reaper from Overwatch appears and starts spinning like a beyblade.

→ More replies (1)
→ More replies (102)

1.8k

u/[deleted] Aug 01 '22

0 == "0"

86

u/Draconian-Overlord Aug 01 '22

Zero is a string measurement of your mom's thong.

→ More replies (4)

19

u/itzNukeey Aug 01 '22

knowing javascript it will return '1'

→ More replies (4)
→ More replies (13)

1.9k

u/moonordie69420 Aug 01 '22

let args: Vec<String> = env::args().collect();

2.1k

u/a-slice-of-toast Aug 01 '22

collects the string, of course

→ More replies (12)
→ More replies (11)

2.6k

u/corner-case Aug 01 '22
Record record = new Record().record();

3.6k

u/a-slice-of-toast Aug 01 '22

creates a new record, obviously

→ More replies (43)

13

u/insta Aug 01 '22

buffalo buffalo buffalo buffalo buffalo

→ More replies (1)

9

u/graygray97 Aug 01 '22

Record record = new Record().record();

Is record a record in this?

Also why stop there:
Record record = new Record().record().record().record().record().record();
We could go on forever

→ More replies (23)

1.4k

u/senxinelo Aug 01 '22

When 🚩 clicked + create a clone of myself

When I start as a clone + create clone of myself

749

u/a-slice-of-toast Aug 01 '22

makes a giant line of yourself like that one scene in avatar

→ More replies (15)

1.2k

u/[deleted] Aug 01 '22

I did not expect to see Scratch code when I scrolled through this thread lmao

→ More replies (7)

135

u/aogmana Aug 01 '22

Scratch "fork" bomb?

→ More replies (9)

10

u/loulou310 Aug 01 '22

Is it... a Scratch fork bomb ?

19

u/Nebular_Screen Aug 01 '22

There is no such thing as a red flag in scratch

→ More replies (5)
→ More replies (16)

2.4k

u/vld-ul Aug 01 '22 edited Aug 01 '22

Haskell:

[x | x <- [1..], x `mod` 69 == 0]

805

u/[deleted] Aug 01 '22 edited Aug 01 '22

I think you forgot the backticks for infix function.

[x | x <- [1..], x `mod` 69 == 0]
→ More replies (39)

511

u/[deleted] Aug 01 '22

A script that looks for multiplies of 69?

→ More replies (21)

33

u/Riddhiman36 Aug 01 '22

Idk haskell but this is neat. It reminded me of the set builder notation in math.

→ More replies (10)

7

u/minus_uu_ee Aug 01 '22

Wtf, that's a beautiful syntax. Was Haskell always mathematically oriented?

→ More replies (1)
→ More replies (32)

758

u/_Vicix Aug 01 '22 edited Aug 02 '22

(* (typeof(* array )* )(((ssize_t)(* ((void**)(&array)))) + (2 * sizeof(*array)))) = ~(1 << 30);

127

u/314kabinet Aug 01 '22

I'll bite. Setting the int (of whatever type the array is) at index 2 to one where all bits except the 31st (index 30) are set?

→ More replies (10)

9

u/drewsiferr Aug 01 '22

Rejected in code review (hopefully)

→ More replies (13)

917

u/echoaj24 Aug 01 '22

true = True == True if True == True else True == True

135

u/[deleted] Aug 01 '22

sets true to True?

→ More replies (24)
→ More replies (27)

438

u/carlton_sand Aug 01 '22

kill child

13

u/KarpEZ Aug 01 '22

Conservatives hate this one simple trick!

→ More replies (1)
→ More replies (9)

555

u/[deleted] Aug 01 '22 edited Aug 01 '22

DISCLAIMER: backup all your data before running it

echo "test... test... test..." | perl -e '$??s:;s:s;;$?::s;;=\]=>%-{<-|}<&|\\{;;y; -/:-@\[-\\{-};\\-{/" -;;s;;$_;see'

683

u/a-slice-of-toast Aug 01 '22

implodes the universe

187

u/[deleted] Aug 01 '22

no, your computer is not the whole universe

→ More replies (4)

8

u/[deleted] Aug 01 '22

What does it actually do lmao

→ More replies (2)
→ More replies (59)

927

u/[deleted] Aug 01 '22

0[array]++;

532

u/a-slice-of-toast Aug 01 '22

extends something, i don’t know what, but something

→ More replies (14)

491

u/FCrosser Aug 01 '22

Wonderous Worlds of C

There could be an entire book written about sacrilegious C code fragments.

→ More replies (39)

156

u/Classy_Mouse Aug 01 '22

I have to admit, I am too dumb to figure out how to Google this one. Based on my limited knowledge of C:

0[] would treat 0 as a pointer (as in the 0th address)

array is just a pointer, so it is some other address.

So 0[array] would take the array-th address starting from 0 (which is just array) and return the referenced value. Then you increment that.

Is that right? If so, gross. If not, I'm scared to know how that actually works.

→ More replies (31)

19

u/Sheepherder_Loud Aug 01 '22

Increment the value at the start of the array by 1?

→ More replies (16)

26

u/Willinton06 Aug 01 '22 edited Aug 01 '22

Fucking C++ man

→ More replies (9)
→ More replies (17)

304

u/Samzwerg Aug 01 '22

#define False true
#define True false

//.....

while (True) {

cout << "Hello World";

}

351

u/a-slice-of-toast Aug 01 '22

a complicated print (“hello world”)

→ More replies (17)
→ More replies (4)

1.3k

u/[deleted] Aug 01 '22

Javascript {([][])+()}

238

u/Alzyros Aug 01 '22

I wouldn't be surprised if that resolved to 3 or something

→ More replies (3)

87

u/human-potato_hybrid Aug 01 '22

What does this actually do tho

→ More replies (19)

40

u/possibly-a-pineapple Aug 01 '22

throw an error?

15

u/feckOffMate Aug 01 '22

Are you just saying it’s JavaScript or is there actually a JavaScript object that I had no idea about?

Edit: I guess I could have just tested it myself if I’d actually do some damn work.

→ More replies (2)
→ More replies (10)

356

u/[deleted] Aug 01 '22

a=1;b=2;c=5; i = a++ + ++b + c++ / 5 * 6; printf("%d", i);

519

u/a-slice-of-toast Aug 01 '22

i could be on my deathbed and i still wouldn’t be able to tell you what this does

→ More replies (29)

161

u/ysyson Aug 01 '22

“+ c++” how can you add an entire language to a variable?

→ More replies (5)
→ More replies (14)

84

u/readyforthefall_ Aug 01 '22

l = [(i, j) for i, j in zip(range(min(x1, x2), max(x1,x2)+1), range(max(y1, y2), min(y1,y2)-1, -1))]

107

u/a-slice-of-toast Aug 01 '22

lines up a shot, of course

→ More replies (2)
→ More replies (4)

220

u/Sudden_Schedule5432 Aug 01 '22

try { for() while(); }

453

u/a-slice-of-toast Aug 01 '22

line of emotional support

350

u/eben0 Aug 01 '22
print("I am sentiment")

476

u/a-slice-of-toast Aug 01 '22

confiscates your pc automatically

→ More replies (2)

42

u/Pratham_Max_Jain Aug 01 '22

Gets the whole world taking about you

97

u/pheromone_fandango Aug 01 '22

Dont you mean sentient you doof

→ More replies (3)

16

u/not_a_testname_01 Aug 01 '22

gets you fired from google

7

u/derioderio Aug 01 '22

Causes google engineers to freak out, then use a spell checker.

→ More replies (12)

118

u/[deleted] Aug 01 '22

Void MovementGoBrrrr () { //Remember to add the code here }

40

u/a-slice-of-toast Aug 01 '22

moves the void from one place to another

→ More replies (1)

167

u/[deleted] Aug 01 '22

Compile error on line 2. I don't give a fuck your program only has 1 line, the error is on line 2.

→ More replies (4)
→ More replies (5)

40

u/Chaosfox_Firemaker Aug 01 '22

(=`#9]~67Y32Vx/4Rs+0No-&Jk"Fh}|Bcy?

`=*2]Kw9ooG4UUSO/@-ejc(:'8dc

71

u/a-slice-of-toast Aug 01 '22

this is spaghetti code for the code monster of course

→ More replies (1)
→ More replies (2)

75

u/[deleted] Aug 01 '22

Int a = ++b;

→ More replies (7)

21

u/Optimusskyler Aug 01 '22

if (goingToCrashIntoEachOther) {

dont();

}

46

u/a-slice-of-toast Aug 01 '22

prevents 1.3 million deaths a year

→ More replies (2)

8

u/Rahyan30200 Aug 01 '22

Oh it's the Tesla autopilot

75

u/rdrunner_74 Aug 01 '22

private bool truth;

My favorite fake interview question: "What does private do?"

194

u/a-slice-of-toast Aug 01 '22

creates a private room for you and bool to discuss the truth

→ More replies (5)
→ More replies (16)

49

u/emma7734 Aug 01 '22

boolean exists = false;

118

u/a-slice-of-toast Aug 01 '22

disproves the existence of boolean

→ More replies (1)
→ More replies (2)

7

u/[deleted] Aug 01 '22

this.son = notMySon;

17

u/a-slice-of-toast Aug 01 '22

if true = childsupport

13

u/[deleted] Aug 01 '22

I'm also well aware of the issues in it. Exam question I ran across.

SELECT customer#, SUM(quantity*retail) "Total Sales"
FROM orders JOIN orderitems ON orders.order# = orderitems.order#
JOIN books ON orderitems ON orderitems.ISBN = books.ISBN
HAVING orderdate = '02-APR-09'
GROUP BY customer#;

35

u/a-slice-of-toast Aug 01 '22

code if it were to work in retail

→ More replies (1)
→ More replies (11)

12

u/L0uisc Aug 01 '22

if (x == 5); printf("X is 5\r\n");

4

u/Tacomanthecat Aug 01 '22

Guys, they're just doing this to get free code.

4

u/a-slice-of-toast Aug 01 '22

drats! i’ve been made!

3

u/stomah Aug 01 '22

uint64_t x = 1 << 40;

5

u/a-slice-of-toast Aug 01 '22

initiates whatever that’s supposed to mean

→ More replies (8)

3

u/ThrasherThrash Aug 01 '22

std::cout << std::endl;

9

u/a-slice-of-toast Aug 01 '22

ends the std, hooray!

5

u/No_Interaction_1757 Aug 01 '22

if all(x not in i for i in (a,b,c)):

251

u/Barsad_the_12th Aug 01 '22

i = 0x5f3759df - ( i >> 1 ); // what the fuck?

160

u/Aphix Aug 01 '22

Fast inverse square root, by Carmack

→ More replies (3)

56

u/htmlcoderexe We have flair now?.. Aug 01 '22

Evil floating point bit-level hacking

7

u/flipcoder Aug 01 '22

damnit someone beat me to it

→ More replies (3)

449

u/magicmulder Aug 01 '22
  rm -rf /

379

u/vld-ul Aug 01 '22

Real ones use -no-preserve-root

→ More replies (12)

345

u/akashy12 Aug 01 '22

Since OP hasn't replied to this, so I think he tried this and deleted himself out of existence.

→ More replies (2)

159

u/[deleted] Aug 01 '22

pro tip - use

sudo rm -rf /
→ More replies (9)
→ More replies (23)

91

u/Arctic_SnowyFox Aug 01 '22

brainfuck:

>++++++++[<+++++++++>-]<.>++++[<+++++++>-]<+.+++++++..+++.>>++++++[<+++++++>-]<+

+.------------.>++++++[<+++++++++>-]<+.<.+++.------.--------.>>>++++[<++++++++>-

]<+.

42

u/PotatoFromGermany Aug 01 '22

secret self destuction code for calculators.

13

u/An_Angry_Terrarian Aug 01 '22

I think brainfuck succeded in fucking my brain

→ More replies (2)

49

u/Sell_Reddit_To_Elon Aug 01 '22

You’re hired. Your methodology is pristine.

14

u/TimerPoint Aug 01 '22

@echo off

21

u/ConConReddit Aug 01 '22

soundproofs the walls

25

u/NahJust Aug 01 '22

18

u/[deleted] Aug 01 '22

Wow, code that matches my thoughts. Finally.

→ More replies (1)

12

u/xdchan Aug 01 '22

/([)]+)/g

18

u/itijara Aug 01 '22

I love how this regex looks like an emoticon.

12

u/[deleted] Aug 02 '22

Dang just scrolling through a few comments shows me that OP is really good at making a karma farm without anyone else realizing 😂

10

u/[deleted] Aug 01 '22

DROP TABLE *

11

u/boot20 Aug 01 '22

That's my boys name!

→ More replies (3)
→ More replies (3)

9

u/IndigoFenix Aug 01 '22

$result = implode( "universe" , explode( "this", "computer" ) )

→ More replies (1)

7

u/[deleted] Aug 01 '22

Op just figured out the infinite karma cheat code.

→ More replies (1)

6

u/DrMathochist Aug 01 '22

let sieve (p:ns) = p : sieve [n|n <- ns, n `mod` p > 0] in takeWhile (<1000) (sieve [2..])

→ More replies (8)

6

u/Goose532gg Aug 01 '22
float a_thing( float number )
{
	long i;
	float x2, y;
	const float threehalfs = 1.5F;

	x2 = number * 0.5F;
	y  = number;
	i  = * ( long * ) &y;                       // evil floating point bit level hacking
	i  = 0x5f3759df - ( i >> 1 );               // what the fuck? 
	y  = * ( float * ) &i;
	y  = y * ( threehalfs - ( x2 * y * y ) );   // 1st iteration
//	y  = y * ( threehalfs - ( x2 * y * y ) );   // 2nd iteration, this can be removed

	return y;
}
→ More replies (2)

6

u/[deleted] Aug 01 '22

BrainFuck:

>++++++++[<+++++++++>-]<.>++++[<+++++++>-]<+.+++++++..+++.>>++++++[<+++++++>-]<++.------------.>++++++[<+++++++++>-]<+.<.+++.------.--------.>>>++++[<++++++++>-]<+.

Have fun with that one. :)

→ More replies (8)

5

u/ZertyZ_Dragon Aug 01 '22

for (int i = 0; i < 1; i++)

  {

        i = i - 1;

  }
→ More replies (1)

4

u/ajdude711 Aug 01 '22 edited Aug 01 '22

string?

Edit: basically means its a nullable string type

→ More replies (3)

6

u/TacticalFaux Aug 01 '22

[][(![]+[])[+[]]+(![]+[])[!+[]+!+[]]+(![]+[])[+!+[]]+(!![]+[])[+[]]][([][(![]+[])[+[]]+(![]+[])[!+[]+!+[]]+(![]+[])[+!+[]]+(!![]+[])[+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[][(![]+[])[+[]]+(![]+[])[!+[]+!+[]]+(![]+[])[+!+[]]+(!![]+[])[+[]]])[+!+[]+[+[]]]+([][[]]+[])[+!+[]]+(![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[+!+[]]+([][[]]+[])[+[]]+([][(![]+[])[+[]]+(![]+[])[!+[]+!+[]]+(![]+[])[+!+[]]+(!![]+[])[+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[][(![]+[])[+[]]+(![]+[])[!+[]+!+[]]+(![]+[])[+!+[]]+(!![]+[])[+[]]])[+!+[]+[+[]]]+(!![]+[])[+!+[]]]((!![]+[])[+!+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+([][[]]+[])[+[]]+(!![]+[])[+!+[]]+([][[]]+[])[+!+[]]+(+[![]]+[][(![]+[])[+[]]+(![]+[])[!+[]+!+[]]+(![]+[])[+!+[]]+(!![]+[])[+[]]])[+!+[]+[+!+[]]]+(!![]+[])[!+[]+!+[]+!+[]]+(+(!+[]+!+[]+!+[]+[+!+[]]))[(!![]+[])[+[]]+(!![]+[][(![]+[])[+[]]+(![]+[])[!+[]+!+[]]+(![]+[])[+!+[]]+(!![]+[])[+[]]])[+!+[]+[+[]]]+([]+[])[([][(![]+[])[+[]]+(![]+[])[!+[]+!+[]]+(![]+[])[+!+[]]+(!![]+[])[+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[][(![]+[])[+[]]+(![]+[])[!+[]+!+[]]+(![]+[])[+!+[]]+(!![]+[])[+[]]])[+!+[]+[+[]]]+([][[]]+[])[+!+[]]+(![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[+!+[]]+([][[]]+[])[+[]]+([][(![]+[])[+[]]+(![]+[])[!+[]+!+[]]+(![]+[])[+!+[]]+(!![]+[])[+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[][(![]+[])[+[]]+(![]+[])[!+[]+!+[]]+(![]+[])[+!+[]]+(!![]+[])[+[]]])[+!+[]+[+[]]]+(!![]+[])[+!+[]]][([][[]]+[])[+!+[]]+(![]+[])[+!+[]]+((+[])[([][(![]+[])[+[]]+(![]+[])[!+[]+!+[]]+(![]+[])[+!+[]]+(!![]+[])[+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[][(![]+[])[+[]]+(![]+[])[!+[]+!+[]]+(![]+[])[+!+[]]+(!![]+[])[+[]]])[+!+[]+[+[]]]+([][[]]+[])[+!+[]]+(![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[+!+[]]+([][[]]+[])[+[]]+([][(![]+[])[+[]]+(![]+[])[!+[]+!+[]]+(![]+[])[+!+[]]+(!![]+[])[+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[][(![]+[])[+[]]+(![]+[])[!+[]+!+[]]+(![]+[])[+!+[]]+(!![]+[])[+[]]])[+!+[]+[+[]]]+(!![]+[])[+!+[]]]+[])[+!+[]+[+!+[]]]+(!![]+[])[!+[]+!+[]+!+[]]]](!+[]+!+[]+!+[]+[!+[]+!+[]])+(![]+[])[+!+[]]+(![]+[])[!+[]+!+[]])()([][(![]+[])[+[]]+(![]+[])[!+[]+!+[]]+(![]+[])[+!+[]]+(!![]+[])[+[]]][([][(![]+[])[+[]]+(![]+[])[!+[]+!+[]]+(![]+[])[+!+[]]+(!![]+[])[+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[][(![]+[])[+[]]+(![]+[])[!+[]+!+[]]+(![]+[])[+!+[]]+(!![]+[])[+[]]])[+!+[]+[+[]]]+([][[]]+[])[+!+[]]+(![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[+!+[]]+([][[]]+[])[+[]]+([][(![]+[])[+[]]+(![]+[])[!+[]+!+[]]+(![]+[])[+!+[]]+(!![]+[])[+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[][(![]+[])[+[]]+(![]+[])[!+[]+!+[]]+(![]+[])[+!+[]]+(!![]+[])[+[]]])[+!+[]+[+[]]]+(!![]+[])[+!+[]]]((!![]+[])[+!+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+([][[]]+[])[+[]]+(!![]+[])[+!+[]]+([][[]]+[])[+!+[]]+([]+[])[(![]+[])[+[]]+(!![]+[][(![]+[])[+[]]+(![]+[])[!+[]+!+[]]+(![]+[])[+!+[]]+(!![]+[])[+[]]])[+!+[]+[+[]]]+([][[]]+[])[+!+[]]+(!![]+[])[+[]]+([][(![]+[])[+[]]+(![]+[])[!+[]+!+[]]+(![]+[])[+!+[]]+(!![]+[])[+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[][(![]+[])[+[]]+(![]+[])[!+[]+!+[]]+(![]+[])[+!+[]]+(!![]+[])[+[]]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[][(![]+[])[+[]]+(![]+[])[!+[]+!+[]]+(![]+[])[+!+[]]+(!![]+[])[+[]]])[+!+[]+[+[]]]+(!![]+[])[+!+[]]]()[+!+[]+[!+[]+!+[]]]+(![]+[])[+!+[]]+(![]+[])[!+[]+!+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]+(!![]+[])[+[]]+([][(![]+[])[+[]]+(![]+[])[!+[]+!+[]]+(![]+[])[+!+[]]+(!![]+[])[+[]]]+[])[+!+[]+[!+[]+!+[]+!+[]]]+([][(![]+[])[+[]]+(![]+[])[!+[]+!+[]]+(![]+[])[+!+[]]+(!![]+[])[+[]]][([][(![]+[])[+[]]+(![]+[])[!+[]+!+[]]+(![]+[])[+!+[]]+(!![]+[])[+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[][(![]+[])[+[]]+(![]+[])[!+[]+!+[]]+(![]+[])[+!+[]]+(!![]+[])[+[]]])[+!+[]+[+[]]]+([][[]]+[])[+!+[]]+(![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[+!+[]]+([][[]]+[])[+[]]+([][(![]+[])[+[]]+(![]+[])[!+[]+!+[]]+(![]+[])[+!+[]]+(!![]+[])[+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[][(![]+[])[+[]]+(![]+[])[!+[]+!+[]]+(![]+[])[+!+[]]+(!![]+[])[+[]]])[+!+[]+[+[]]]+(!![]+[])[+!+[]]]((!![]+[])[+!+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+([][[]]+[])[+[]]+(!![]+[])[+!+[]]+([][[]]+[])[+!+[]]+(![]+[+[]])[([![]]+[][[]])[+!+[]+[+[]]]+(!![]+[])[+[]]+(![]+[])[+!+[]]+(![]+[])[!+[]+!+[]]+([![]]+[][[]])[+!+[]+[+[]]]+([][(![]+[])[+[]]+(![]+[])[!+[]+!+[]]+(![]+[])[+!+[]]+(!![]+[])[+[]]]+[])[!+[]+!+[]+!+[]]+(![]+[])[!+[]+!+[]+!+[]]]()[+!+[]+[+[]]]+![]+(![]+[+[]])[([![]]+[][[]])[+!+[]+[+[]]]+(!![]+[])[+[]]+(![]+[])[+!+[]]+(![]+[])[!+[]+!+[]]+([![]]+[][[]])[+!+[]+[+[]]]+([][(![]+[])[+[]]+(![]+[])[!+[]+!+[]]+(![]+[])[+!+[]]+(!![]+[])[+[]]]+[])[!+[]+!+[]+!+[]]+(![]+[])[!+[]+!+[]+!+[]]]()[+!+[]+[+[]]])()[([][(![]+[])[+[]]+(![]+[])[!+[]+!+[]]+(![]+[])[+!+[]]+(!![]+[])[+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[][(![]+[])[+[]]+(![]+[])[!+[]+!+[]]+(![]+[])[+!+[]]+(!![]+[])[+[]]])[+!+[]+[+[]]]+([][[]]+[])[+!+[]]+(![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[+!+[]]+([][[]]+[])[+[]]+([][(![]+[])[+[]]+(![]+[])[!+[]+!+[]]+(![]+[])[+!+[]]+(!![]+[])[+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[][(![]+[])[+[]]+(![]+[])[!+[]+!+[]]+(![]+[])[+!+[]]+(!![]+[])[+[]]])[+!+[]+[+[]]]+(!![]+[])[+!+[]]]((![]+[+[]])[([![]]+[][[]])[+!+[]+[+[]]]+(!![]+[])[+[]]+(![]+[])[+!+[]]+(![]+[])[!+[]+!+[]]+([![]]+[][[]])[+!+[]+[+[]]]+([][(![]+[])[+[]]+(![]+[])[!+[]+!+[]]+(![]+[])[+!+[]]+(!![]+[])[+[]]]+[])[!+[]+!+[]+!+[]]+(![]+[])[!+[]+!+[]+!+[]]]()[+!+[]+[+[]]])+[])[+!+[]]+[!+[]+!+[]+!+[]+!+[]]+[!+[]+!+[]]+([][(![]+[])[+[]]+(![]+[])[!+[]+!+[]]+(![]+[])[+!+[]]+(!![]+[])[+[]]][([][(![]+[])[+[]]+(![]+[])[!+[]+!+[]]+(![]+[])[+!+[]]+(!![]+[])[+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[][(![]+[])[+[]]+(![]+[])[!+[]+!+[]]+(![]+[])[+!+[]]+(!![]+[])[+[]]])[+!+[]+[+[]]]+([][[]]+[])[+!+[]]+(![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[+!+[]]+([][[]]+[])[+[]]+([][(![]+[])[+[]]+(![]+[])[!+[]+!+[]]+(![]+[])[+!+[]]+(!![]+[])[+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[][(![]+[])[+[]]+(![]+[])[!+[]+!+[]]+(![]+[])[+!+[]]+(!![]+[])[+[]]])[+!+[]+[+[]]]+(!![]+[])[+!+[]]]((!![]+[])[+!+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+([][[]]+[])[+[]]+(!![]+[])[+!+[]]+([][[]]+[])[+!+[]]+(![]+[+[]])[([![]]+[][[]])[+!+[]+[+[]]]+(!![]+[])[+[]]+(![]+[])[+!+[]]+(![]+[])[!+[]+!+[]]+([![]]+[][[]])[+!+[]+[+[]]]+([][(![]+[])[+[]]+(![]+[])[!+[]+!+[]]+(![]+[])[+!+[]]+(!![]+[])[+[]]]+[])[!+[]+!+[]+!+[]]+(![]+[])[!+[]+!+[]+!+[]]]()[+!+[]+[+[]]]+![]+(![]+[+[]])[([![]]+[][[]])[+!+[]+[+[]]]+(!![]+[])[+[]]+(![]+[])[+!+[]]+(![]+[])[!+[]+!+[]]+([![]]+[][[]])[+!+[]+[+[]]]+([][(![]+[])[+[]]+(![]+[])[!+[]+!+[]]+(![]+[])[+!+[]]+(!![]+[])[+[]]]+[])[!+[]+!+[]+!+[]]+(![]+[])[!+[]+!+[]+!+[]]]()[+!+[]+[+[]]])()[([][(![]+[])[+[]]+(![]+[])[!+[]+!+[]]+(![]+[])[+!+[]]+(!![]+[])[+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[][(![]+[])[+[]]+(![]+[])[!+[]+!+[]]+(![]+[])[+!+[]]+(!![]+[])[+[]]])[+!+[]+[+[]]]+([][[]]+[])[+!+[]]+(![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[+!+[]]+([][[]]+[])[+[]]+([][(![]+[])[+[]]+(![]+[])[!+[]+!+[]]+(![]+[])[+!+[]]+(!![]+[])[+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[][(![]+[])[+[]]+(![]+[])[!+[]+!+[]]+(![]+[])[+!+[]]+(!![]+[])[+[]]])[+!+[]+[+[]]]+(!![]+[])[+!+[]]]((![]+[+[]])[([![]]+[][[]])[+!+[]+[+[]]]+(!![]+[])[+[]]+(![]+[])[+!+[]]+(![]+[])[!+[]+!+[]]+([![]]+[][[]])[+!+[]+[+[]]]+([][(![]+[])[+[]]+(![]+[])[!+[]+!+[]]+(![]+[])[+!+[]]+(!![]+[])[+[]]]+[])[!+[]+!+[]+!+[]]+(![]+[])[!+[]+!+[]+!+[]]]()[+!+[]+[+[]]])+[])[+!+[]]+[+!+[]]+[+!+[]]+[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(![]+[])[!+[]+!+[]]+(![]+[])[!+[]+!+[]]+(!![]+[][(![]+[])[+[]]+(![]+[])[!+[]+!+[]]+(![]+[])[+!+[]]+(!![]+[])[+[]]])[+!+[]+[+[]]]+([][(![]+[])[+[]]+(![]+[])[!+[]+!+[]]+(![]+[])[+!+[]]+(!![]+[])[+[]]][([][(![]+[])[+[]]+(![]+[])[!+[]+!+[]]+(![]+[])[+!+[]]+(!![]+[])[+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[][(![]+[])[+[]]+(![]+[])[!+[]+!+[]]+(![]+[])[+!+[]]+(!![]+[])[+[]]])[+!+[]+[+[]]]+([][[]]+[])[+!+[]]+(![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[+!+[]]+([][[]]+[])[+[]]+([][(![]+[])[+[]]+(![]+[])[!+[]+!+[]]+(![]+[])[+!+[]]+(!![]+[])[+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[][(![]+[])[+[]]+(![]+[])[!+[]+!+[]]+(![]+[])[+!+[]]+(!![]+[])[+[]]])[+!+[]+[+[]]]+(!![]+[])[+!+[]]]((!![]+[])[+!+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+([][[]]+[])[+[]]+(!![]+[])[+!+[]]+([][[]]+[])[+!+[]]+(![]+[+[]])[([![]]+[][[]])[+!+[]+[+[]]]+(!![]+[])[+[]]+(![]+[])[+!+[]]+(![]+[])[!+[]+!+[]]+([![]]+[][[]])[+!+[]+[+[]]]+([][(![]+[])[+[]]+(![]+[])[!+[]+!+[]]+(![]+[])[+!+[]]+(!![]+[])[+[]]]+[])[!+[]+!+[]+!+[]]+(![]+[])[!+[]+!+[]+!+[]]]()[+!+[]+[+[]]]+![]+(![]+[+[]])[([![]]+[][[]])[+!+[]+[+[]]]+(!![]+[])[+[]]+(![]+[])[+!+[]]+(![]+[])[!+[]+!+[]]+([![]]+[][[]])[+!+[]+[+[]]]+([][(![]+[])[+[]]+(![]+[])[!+[]+!+[]]+(![]+[])[+!+[]]+(!![]+[])[+[]]]+[])[!+[]+!+[]+!+[]]+(![]+[])[!+[]+!+[]+!+[]]]()[+!+[]+[+[]]])()[([][(![]+[])[+[]]+(![]+[])[!+[]+!+[]]+(![]+[])[+!+[]]+(!![]+[])[+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[][(![]+[])[+[]]+(![]+[])[!+[]+!+[]]+(![]+[])[+!+[]]+(!![]+[])[+[]]])[+!+[]+[+[]]]+([][[]]+[])[+!+[]]+(![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[+!+[]]+([][[]]+[])[+[]]+([][(![]+[])[+[]]+(![]+[])[!+[]+!+[]]+(![]+[])[+!+[]]+(!![]+[])[+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[][(![]+[])[+[]]+(![]+[])[!+[]+!+[]]+(![]+[])[+!+[]]+(!![]+[])[+[]]])[+!+[]+[+[]]]+(!![]+[])[+!+[]]]((![]+[+[]])[([![]]+[][[]])[+!+[]+[+[]]]+(!![]+[])[+[]]+(![]+[])[+!+[]]+(![]+[])[!+[]+!+[]]+([![]]+[][[]])[+!+[]+[+[]]]+([][(![]+[])[+[]]+(![]+[])[!+[]+!+[]]+(![]+[])[+!+[]]+(!![]+[])[+[]]]+[])[!+[]+!+[]+!+[]]+(![]+[])[!+[]+!+[]+!+[]]]()[+!+[]+[+[]]])+[])[+!+[]]+[!+[]+!+[]+!+[]+!+[]]+[!+[]+!+[]]+([+[]]+![]+[][(![]+[])[+[]]+(![]+[])[!+[]+!+[]]+(![]+[])[+!+[]]+(!![]+[])[+[]]])[!+[]+!+[]+[+[]]]+([]+[])[(![]+[])[+[]]+(!![]+[][(![]+[])[+[]]+(![]+[])[!+[]+!+[]]+(![]+[])[+!+[]]+(!![]+[])[+[]]])[+!+[]+[+[]]]+([][[]]+[])[+!+[]]+(!![]+[])[+[]]+([][(![]+[])[+[]]+(![]+[])[!+[]+!+[]]+(![]+[])[+!+[]]+(!![]+[])[+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[][(![]+[])[+[]]+(![]+[])[!+[]+!+[]]+(![]+[])[+!+[]]+(!![]+[])[+[]]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[][(![]+[])[+[]]+(![]+[])[!+[]+!+[]]+(![]+[])[+!+[]]+(!![]+[])[+[]]])[+!+[]+[+[]]]+(!![]+[])[+!+[]]]()[+!+[]+[!+[]+!+[]]])())

→ More replies (4)

3

u/nad11111 Aug 01 '22

int larg = (n1 >= n2) ? ((n1 >= n3) ? n1 : n3) : ((n2 >= n3) ? n2 : n3);

3

u/Gold-Beach-1616 Aug 01 '22 edited Aug 01 '22

Matlab:

cumtrapz(Y);

3

u/IAmLiying Aug 01 '22

While(true) Return False;

→ More replies (1)

3

u/DefaultSubsAreTerrib Aug 01 '22

You should all know this one, we couldn't have had Quake without it:

float cs101( float number )
{
  long i;
  float x2, y;
  const float threehalfs = 1.5F;
  x2 = number * 0.5F;
  y  = number;
  i  = * ( long * ) &y;
  i  = 0x5f3759df - ( i >> 1 ); // THIS LINE: what the actual fuck
  y  = * ( float * ) &i;
  y  = y * ( threehalfs - ( x2 * y * y ) ); 
  return y;
}
→ More replies (2)

3

u/TheUruz Aug 01 '22

<div class="sarcasm">im_a_programming_language</div>

3

u/Juicy_Opay Aug 01 '22

:(){:|:&};:

3

u/l9oooog Aug 01 '22 edited Aug 01 '22
  1. //i did your mom

void setup() {

pinMode(LED_BUILTIN, OUTPUT);

}

void loop() digitalWrite(LED_BUILTIN, HIGH);
delay(1000);
digitalWrite(LED_BUILTIN, LOW);
delay(1000);
}

→ More replies (2)

3

u/Timah158 Aug 02 '22

FUNCTION()=() { :;}; echo; echo; /bin/bash -c 'cat /etc/passwd'

0

u/[deleted] Aug 01 '22

[deleted]

4.6k

u/a-slice-of-toast Aug 01 '22

we do not talk about this one

→ More replies (13)
→ More replies (146)

0

u/[deleted] Aug 01 '22

[deleted]

→ More replies (4)

0

u/[deleted] Aug 01 '22

[deleted]

→ More replies (5)

573

u/[deleted] Aug 01 '22

[removed] — view removed comment

621

u/a-slice-of-toast Aug 01 '22

creates an endless feedback loop

→ More replies (10)
→ More replies (26)

207

u/[deleted] Aug 01 '22

[removed] — view removed comment

340

u/a-slice-of-toast Aug 01 '22

creates a void accessible by anyone

→ More replies (4)
→ More replies (13)

0

u/[deleted] Aug 01 '22

[deleted]

→ More replies (11)