subreddit stringclasses 7
values | author stringlengths 3 20 | id stringlengths 5 7 | content stringlengths 67 30.4k | score int64 0 140k |
|---|---|---|---|---|
programmerhumor | Tyfyter2002 | ivo44jf | <|sols|><|sot|>Evil a + b<|eot|><|sol|>https://i.redd.it/jw8ode019wy91.png<|eol|><|sor|>[Sleep sort](https://rosettacode.org/wiki/Sorting_algorithms/Sleep_sort):
from asyncio import run, sleep, wait
from sys import argv
async def f(n):
await sleep(n)
print(n)
if __name__ == '__main__':
run(wait(map(f, map(int, argv[1:]))))<|eor|><|sor|>I have to wonder if it's at all possible for sleep sort to be the most efficient option in some situation.<|eor|><|eols|><|endoftext|> | 356 |
programmerhumor | calimares | ivo82sf | <|sols|><|sot|>Evil a + b<|eot|><|sol|>https://i.redd.it/jw8ode019wy91.png<|eol|><|sor|>I've just tried it with params 1000 and 500 and it looks like it's not working.
Edit: nevermind, it worked just fine<|eor|><|eols|><|endoftext|> | 340 |
programmerhumor | ryn01 | ivo6jgd | <|sols|><|sot|>Evil a + b<|eot|><|sol|>https://i.redd.it/jw8ode019wy91.png<|eol|><|sor|>[Sleep sort](https://rosettacode.org/wiki/Sorting_algorithms/Sleep_sort):
from asyncio import run, sleep, wait
from sys import argv
async def f(n):
await sleep(n)
print(n)
if __name__ == '__main__':
run(wait(map(f, map(int, argv[1:]))))<|eor|><|sor|>I have to wonder if it's at all possible for sleep sort to be the most efficient option in some situation.<|eor|><|sor|>Not really. In the end, something would have to sort it in some way, and if it's not you then it's the scheduler.<|eor|><|eols|><|endoftext|> | 328 |
programmerhumor | DrainZ- | ivo4289 | <|sols|><|sot|>Evil a + b<|eot|><|sol|>https://i.redd.it/jw8ode019wy91.png<|eol|><|sor|>Nice! And you did it in O(m+n) complexity! So rare to find his linear algorithms these days...<|eor|><|sor|>It's actually O(2^(m)+2^(n)) as m and n refers to the size of the input and not the actual input <|eor|><|eols|><|endoftext|> | 319 |
programmerhumor | voiza | ivo70g5 | <|sols|><|sot|>Evil a + b<|eot|><|sol|>https://i.redd.it/jw8ode019wy91.png<|eol|><|sor|>Nice! And you did it in O(m+n) complexity! So rare to find his linear algorithms these days...<|eor|><|sor|>It's actually O(2^(m)+2^(n)) as m and n refers to the size of the input and not the actual input <|eor|><|sor|>In terms of bits, addition actually has O( n ) complexity. Multiplication has O( n^2 ), except you use [1729-dimensional Fourier transform](https://en.wikipedia.org/wiki/Galactic_algorithm#Integer_multiplication), then it'll be O( n*log( n ) )<|eor|><|eols|><|endoftext|> | 279 |
programmerhumor | demon_ix | ivoctlu | <|sols|><|sot|>Evil a + b<|eot|><|sol|>https://i.redd.it/jw8ode019wy91.png<|eol|><|sor|>Nice! And you did it in O(m+n) complexity! So rare to find his linear algorithms these days...<|eor|><|sor|>It's actually O(2^(m)+2^(n)) as m and n refers to the size of the input and not the actual input <|eor|><|sor|>In terms of bits, addition actually has O( n ) complexity. Multiplication has O( n^2 ), except you use [1729-dimensional Fourier transform](https://en.wikipedia.org/wiki/Galactic_algorithm#Integer_multiplication), then it'll be O( n*log( n ) )<|eor|><|sor|>Bro, I just wanted a*b. Why we gotta bring the multiverse into this?<|eor|><|eols|><|endoftext|> | 231 |
programmerhumor | Ariane_16 | ivo5bvo | <|sols|><|sot|>Evil a + b<|eot|><|sol|>https://i.redd.it/jw8ode019wy91.png<|eol|><|sor|>O(fuck you) complexity<|eor|><|eols|><|endoftext|> | 215 |
programmerhumor | SaintNewts | ivollae | <|sols|><|sot|>Evil a + b<|eot|><|sol|>https://i.redd.it/jw8ode019wy91.png<|eol|><|sor|>Me Omw to add negative numbers and travel back in time <|eor|><|sor|>Now *that*'s some serious optimization.<|eor|><|sor|>O(-n)<|eor|><|sor|>But is it NP complete?<|eor|><|eols|><|endoftext|> | 214 |
programmerhumor | zyygh | ivo8vqf | <|sols|><|sot|>Evil a + b<|eot|><|sol|>https://i.redd.it/jw8ode019wy91.png<|eol|><|sor|>`fun add(a: Int, b: Int): Int = if (b == 0) { a } else if (a == 0) { b } else { add(a xor b, (a and b) shl 1) }`<|eor|><|sor|>Had to stare at it for 10min to make sure it works.<|eor|><|sor|>That's my previous client's test strategy in a nutshell.<|eor|><|eols|><|endoftext|> | 212 |
programmerhumor | sarapnst | ivo6smx | <|sols|><|sot|>Evil a + b<|eot|><|sol|>https://i.redd.it/jw8ode019wy91.png<|eol|><|sor|>`fun add(a: Int, b: Int): Int = if (b == 0) { a } else if (a == 0) { b } else { add(a xor b, (a and b) shl 1) }`<|eor|><|sor|>Had to stare at it for 10min to make sure it works.<|eor|><|eols|><|endoftext|> | 206 |
programmerhumor | DangyDanger | ivpb6uz | <|sols|><|sot|>Evil a + b<|eot|><|sol|>https://i.redd.it/jw8ode019wy91.png<|eol|><|sor|>Me Omw to add negative numbers and travel back in time <|eor|><|sor|>Now *that*'s some serious optimization.<|eor|><|sor|>O(-n)<|eor|><|sor|>But is it NP complete?<|eor|><|sor|>Yes. It's also OSHA compliant<|eor|><|eols|><|endoftext|> | 166 |
programmerhumor | Insider_Pants | bh67se | <|sols|><|sot|>Its a joke<|eot|><|sol|>https://i.redd.it/b0r04pu3gdu21.jpg<|eol|><|eols|><|endoftext|> | 29,746 |
programmerhumor | an0nym0us3hat | elqf3jl | <|sols|><|sot|>Its a joke<|eot|><|sol|>https://i.redd.it/b0r04pu3gdu21.jpg<|eol|><|sor|>[deleted]<|eor|><|sor|>There are 5 rules.<|eor|><|eols|><|endoftext|> | 1,347 |
programmerhumor | yourteam | elqg8ge | <|sols|><|sot|>Its a joke<|eot|><|sol|>https://i.redd.it/b0r04pu3gdu21.jpg<|eol|><|sor|>"Ok, fine.. I want to be able to be both a master front-end developer and a master backend developer.."
"5 rules.."<|eor|><|sor|>I sell myself as a full stack but the truth is I am a backender that can Google JavaScript stuff and cry in silence<|eor|><|eols|><|endoftext|> | 603 |
programmerhumor | eyekwah2 | elqc42b | <|sols|><|sot|>Its a joke<|eot|><|sol|>https://i.redd.it/b0r04pu3gdu21.jpg<|eol|><|sor|>"Ok, fine.. I want to be able to be both a master front-end developer and a master backend developer.."
"5 rules.."<|eor|><|eols|><|endoftext|> | 530 |
programmerhumor | DownshiftedRare | elqkulo | <|sols|><|sot|>Its a joke<|eot|><|sol|>https://i.redd.it/b0r04pu3gdu21.jpg<|eol|><|sor|>[deleted]<|eor|><|sor|>There are 5 rules.<|eor|><|sor|>I want Internet Explorer to be good.<|eor|><|sor|>"I wish Internet Explorer was as good as Chrome!"
*the monkey's paw seems to move in your hand*<|eor|><|eols|><|endoftext|> | 510 |
programmerhumor | jujug_28 | elqkzwo | <|sols|><|sot|>Its a joke<|eot|><|sol|>https://i.redd.it/b0r04pu3gdu21.jpg<|eol|><|sor|>[deleted]<|eor|><|sor|>There are 5 rules.<|eor|><|sor|>I want Internet Explorer to be good.<|eor|><|sor|>"I wish Internet Explorer was as good as Chrome!"
*the monkey's paw seems to move in your hand*<|eor|><|sor|>Granted. Chrome sucks.<|eor|><|eols|><|endoftext|> | 441 |
programmerhumor | poopellar | elqkoij | <|sols|><|sot|>Its a joke<|eot|><|sol|>https://i.redd.it/b0r04pu3gdu21.jpg<|eol|><|sor|>[deleted]<|eor|><|sor|>There are 5 rules.<|eor|><|sor|>I want Internet Explorer to be good.<|eor|><|eols|><|endoftext|> | 362 |
programmerhumor | knaekce | elqkmrp | <|sols|><|sot|>Its a joke<|eot|><|sol|>https://i.redd.it/b0r04pu3gdu21.jpg<|eol|><|sor|>Because crypto miners using only 1 core aren't bad enough. I miss the Pentium days of having the whole PC freeze because of a web page.<|eor|><|sor|>They can already use multiple cores thanks to web workers. It's not full blown threads with shared memory but you can absolutely do parallel processing in modern browsers.<|eor|><|eols|><|endoftext|> | 219 |
programmerhumor | galexj9 | elqh4hu | <|sols|><|sot|>Its a joke<|eot|><|sol|>https://i.redd.it/b0r04pu3gdu21.jpg<|eol|><|sor|>I want programming to be a genetic trait
In my line only.<|eor|><|sor|>Granted. Society's progress comes to a crumbling halt as one programmer isn't enough to support anything massive.
Also: (the most horrifying) as the only programmer there is no stackoverflow or any help or tutorials. only you and your family.<|eor|><|eols|><|endoftext|> | 187 |
programmerhumor | tomthecool | elqfcud | <|sols|><|sot|>Its a joke<|eot|><|sol|>https://i.redd.it/b0r04pu3gdu21.jpg<|eol|><|sor|>[deleted]<|eor|><|sor|>I want a browser that supports a better language than JavaScript<|eor|><|eols|><|endoftext|> | 177 |
programmerhumor | Scoundrelic | elqdmbm | <|sols|><|sot|>Its a joke<|eot|><|sol|>https://i.redd.it/b0r04pu3gdu21.jpg<|eol|><|sor|>I want programming to be a genetic trait
In my line only.<|eor|><|eols|><|endoftext|> | 167 |
programmerhumor | fel_bra_sil | elqmrhh | <|sols|><|sot|>Its a joke<|eot|><|sol|>https://i.redd.it/b0r04pu3gdu21.jpg<|eol|><|sor|>[deleted]<|eor|><|sor|>There are 5 rules.<|eor|><|sor|>I want Internet Explorer to be good.<|eor|><|sor|>"I wish Internet Explorer was as good as Chrome!"
*the monkey's paw seems to move in your hand*<|eor|><|sor|>Granted. Chrome sucks.<|eor|><|sor|>[In case you missed it.](https://blogs.windows.com/windowsexperience/2018/12/06/microsoft-edge-making-the-web-better-through-more-open-source-collaboration/)<|eor|><|sor|>>*"In the future, everything is* `google` *chrome"*
^(-Spongebob Squarepants)<|eor|><|eols|><|endoftext|> | 160 |
programmerhumor | DownshiftedRare | elql589 | <|sols|><|sot|>Its a joke<|eot|><|sol|>https://i.redd.it/b0r04pu3gdu21.jpg<|eol|><|sor|>[deleted]<|eor|><|sor|>There are 5 rules.<|eor|><|sor|>I want Internet Explorer to be good.<|eor|><|sor|>"I wish Internet Explorer was as good as Chrome!"
*the monkey's paw seems to move in your hand*<|eor|><|sor|>Granted. Chrome sucks.<|eor|><|sor|>[In case you missed it.](https://blogs.windows.com/windowsexperience/2018/12/06/microsoft-edge-making-the-web-better-through-more-open-source-collaboration/)<|eor|><|eols|><|endoftext|> | 156 |
programmerhumor | SirChasm | elqk5xf | <|sols|><|sot|>Its a joke<|eot|><|sol|>https://i.redd.it/b0r04pu3gdu21.jpg<|eol|><|sor|>"Ok, fine.. I want to be able to be both a master front-end developer and a master backend developer.."
"5 rules.."<|eor|><|sor|>I sell myself as a full stack but the truth is I am a backender that can Google JavaScript stuff and cry in silence<|eor|><|sor|>[deleted]<|eor|><|sor|>Here's the thing. Of course I can do front-end work. I even really like it. But the minute I touch html and javascript everything I've ever learned about keeping code organized goes out the window. I treat it like it's a sandbox where I have permission to be shitty and hacky.<|eor|><|sor|>I like front end up until something doesn't look/work right in some browser, or some browser *version*, or some *mobile* browser, or some weird resolution, then I say "fuck it, spending half a day getting a label to align right is a stupid waste of time" and happily go back to writing back-end functions that take some specified input and return the expected output.<|eor|><|eols|><|endoftext|> | 102 |
programmerhumor | NickHoyer | elqgsoj | <|sols|><|sot|>Its a joke<|eot|><|sol|>https://i.redd.it/b0r04pu3gdu21.jpg<|eol|><|sor|>It already does, they're called WebWorkers
edit: okay, not **exactly** multithreading, but they do the job and are very useful. I used them recently in my [Ultimate Tic Tac Toe bot using MCTS](https://react-uttt.herokuapp.com), and the only problem I had was not being able to import my es6 classes, which I fixed by installing [this marvelous webpack plugin](https://github.com/GoogleChromeLabs/worker-plugin)<|eor|><|eols|><|endoftext|> | 95 |
programmerhumor | LeFayssal | elqgghh | <|sols|><|sot|>Its a joke<|eot|><|sol|>https://i.redd.it/b0r04pu3gdu21.jpg<|eol|><|sor|>[deleted]<|eor|><|sor|>Temple OS wants to know your location<|eor|><|eols|><|endoftext|> | 95 |
programmerhumor | honeysrk72 | uon4xk | <|sols|><|sot|>Every. Damn. Time.<|eot|><|sol|>https://i.redd.it/fr2z5t9mf7z81.gif<|eol|><|eols|><|endoftext|> | 29,737 |
programmerhumor | Tomohiro09 | i8fr8u9 | <|sols|><|sot|>Every. Damn. Time.<|eot|><|sol|>https://i.redd.it/fr2z5t9mf7z81.gif<|eol|><|sor|>Lol, I was one of these guys<|eor|><|eols|><|endoftext|> | 955 |
programmerhumor | iTecX | i8fucqz | <|sols|><|sot|>Every. Damn. Time.<|eot|><|sol|>https://i.redd.it/fr2z5t9mf7z81.gif<|eol|><|sor|>And this, kids, is why we use git<|eor|><|eols|><|endoftext|> | 697 |
programmerhumor | jbisatg | i8gb1v0 | <|sols|><|sot|>Every. Damn. Time.<|eot|><|sol|>https://i.redd.it/fr2z5t9mf7z81.gif<|eol|><|sor|>And this, kids, is why we use git<|eor|><|sor|>revert that shit and let's go home. It's friday and is already noon<|eor|><|eols|><|endoftext|> | 481 |
programmerhumor | SeungminHong | i8fu164 | <|sols|><|sot|>Every. Damn. Time.<|eot|><|sol|>https://i.redd.it/fr2z5t9mf7z81.gif<|eol|><|sor|>That was me a few months ago. Thank goodness git exists<|eor|><|eols|><|endoftext|> | 345 |
programmerhumor | SgtExo | i8g83ef | <|sols|><|sot|>Every. Damn. Time.<|eot|><|sol|>https://i.redd.it/fr2z5t9mf7z81.gif<|eol|><|sor|>Lol, I was one of these guys<|eor|><|sor|>We all were/are at one time or the other.<|eor|><|eols|><|endoftext|> | 251 |
programmerhumor | nhh | i8g8pzz | <|sols|><|sot|>Every. Damn. Time.<|eot|><|sol|>https://i.redd.it/fr2z5t9mf7z81.gif<|eol|><|sor|>was i not supposed to push to master?<|eor|><|sor|>If u can push to master, thats the seniors fault<|eor|><|eols|><|endoftext|> | 229 |
programmerhumor | 666devilsadvocate | i8g2u82 | <|sols|><|sot|>Every. Damn. Time.<|eot|><|sol|>https://i.redd.it/fr2z5t9mf7z81.gif<|eol|><|sor|>was i not supposed to push to master?<|eor|><|eols|><|endoftext|> | 196 |
programmerhumor | iamrohit_n | i8gei31 | <|sols|><|sot|>Every. Damn. Time.<|eot|><|sol|>https://i.redd.it/fr2z5t9mf7z81.gif<|eol|><|sor|>And this, kids, is why we use git<|eor|><|sor|>revert that shit and let's go home. It's friday and is already noon<|eor|><|sor|>True dev spirit right here<|eor|><|eols|><|endoftext|> | 170 |
programmerhumor | JeDetesteParis | i8g6r16 | <|sols|><|sot|>Every. Damn. Time.<|eot|><|sol|>https://i.redd.it/fr2z5t9mf7z81.gif<|eol|><|sor|>That was me a few months ago. Thank goodness git exists<|eor|><|sor|>That code isn't legacy enough then.<|eor|><|eols|><|endoftext|> | 145 |
programmerhumor | tournesol90 | i8ftokz | <|sols|><|sot|>Every. Damn. Time.<|eot|><|sol|>https://i.redd.it/fr2z5t9mf7z81.gif<|eol|><|sor|>hes adorable<|eor|><|eols|><|endoftext|> | 102 |
programmerhumor | I_Hate_Reddit | i8g3lix | <|sols|><|sot|>Every. Damn. Time.<|eot|><|sol|>https://i.redd.it/fr2z5t9mf7z81.gif<|eol|><|sor|>Prod stops working would be better, compiler errors are easy to fix <|eor|><|eols|><|endoftext|> | 80 |
programmerhumor | Soundless_Pr | i8g48jg | <|sols|><|sot|>Every. Damn. Time.<|eot|><|sol|>https://i.redd.it/fr2z5t9mf7z81.gif<|eol|><|sor|>`git reset --hard`<|eor|><|eols|><|endoftext|> | 64 |
programmerhumor | NotHachi | i8g4b1j | <|sols|><|sot|>Every. Damn. Time.<|eot|><|sol|>https://i.redd.it/fr2z5t9mf7z81.gif<|eol|><|sor|>I'm not a software engineer, is code refactoring a menial task that takes no skill and that is why it is handed off to interns?
Edit: The replies to my question were pretty much what I expected. Good to know more details though. Thank you all for replying.<|eor|><|sor|>Nope, actually, to refacto code, it requires alot of understanding in both code and functionality to do. If you let an intern do it, let alone merge into develop, let alone merge it into master, without throughout testing is kinda on the lead tech fault...<|eor|><|eols|><|endoftext|> | 63 |
programmerhumor | HereLiesDickBoy | i8g7drn | <|sols|><|sot|>Every. Damn. Time.<|eot|><|sol|>https://i.redd.it/fr2z5t9mf7z81.gif<|eol|><|sor|>And this, kids, is why we use git<|eor|><|sor|>I programmed with git and without. With git is so much better.<|eor|><|sor|>This guy gits it...<|eor|><|eols|><|endoftext|> | 63 |
programmerhumor | solreaper | i8gpjcd | <|sols|><|sot|>Every. Damn. Time.<|eot|><|sol|>https://i.redd.it/fr2z5t9mf7z81.gif<|eol|><|sor|>Lol, I was one of these guys<|eor|><|sor|>We all were/are at one time or the other.<|eor|><|sor|>[removed]<|eor|><|sor|>I'm that guy right now. It's terrifying.<|eor|><|sor|>Hey, I moved that button down in the GUI for more visibility
*screaming and black smoke coming from the QA lab*<|eor|><|eols|><|endoftext|> | 62 |
programmerhumor | jerkcommenter | i8g7aj0 | <|sols|><|sot|>Every. Damn. Time.<|eot|><|sol|>https://i.redd.it/fr2z5t9mf7z81.gif<|eol|><|sor|>That was me a few months ago. Thank goodness git exists<|eor|><|sor|>That code isn't legacy enough then.<|eor|><|sor|>What would be possible reasons to not move any code base, legacy or not, to a versioning control system?<|eor|><|eols|><|endoftext|> | 61 |
programmerhumor | Med_vast | i8gdpbc | <|sols|><|sot|>Every. Damn. Time.<|eot|><|sol|>https://i.redd.it/fr2z5t9mf7z81.gif<|eol|><|sor|>Lol, I was one of these guys<|eor|><|sor|>We all were/are at one time or the other.<|eor|><|sor|>[removed]<|eor|><|sor|>I'm that guy right now. It's terrifying.<|eor|><|eols|><|endoftext|> | 59 |
programmerhumor | GregTheMad | i8g721i | <|sols|><|sot|>Every. Damn. Time.<|eot|><|sol|>https://i.redd.it/fr2z5t9mf7z81.gif<|eol|><|sor|>And this, kids, is why we use git<|eor|><|sor|>I programmed with git and without. With git is so much better.<|eor|><|eols|><|endoftext|> | 58 |
programmerhumor | bwhite94 | i8gg20o | <|sols|><|sot|>Every. Damn. Time.<|eot|><|sol|>https://i.redd.it/fr2z5t9mf7z81.gif<|eol|><|sor|>And this, kids, is why we use git<|eor|><|sor|>revert that shit and let's go home. It's friday and is already noon<|eor|><|sor|>My team loves to git push -f to master :(<|eor|><|sor|>Yikes. Nobody should have that access really. MAYBE senior leads, but even then, ehhh.<|eor|><|eols|><|endoftext|> | 54 |
programmerhumor | Ok_Contact_1234 | peg604 | <|sols|><|sot|>Behind the scenes<|eot|><|sol|>https://i.redd.it/vqzkgckochk71.png<|eol|><|eols|><|endoftext|> | 29,729 |
programmerhumor | Morrido | hax0lnr | <|sols|><|sot|>Behind the scenes<|eot|><|sol|>https://i.redd.it/vqzkgckochk71.png<|eol|><|sor|>Missed the os.sleep(2)<|eor|><|eols|><|endoftext|> | 3,099 |
programmerhumor | millerbest | hax1rpg | <|sols|><|sot|>Behind the scenes<|eot|><|sol|>https://i.redd.it/vqzkgckochk71.png<|eol|><|sor|>Missed printing a huge amount of random numbers, in green.<|eor|><|eols|><|endoftext|> | 1,772 |
programmerhumor | Ok_Contact_1234 | hax0r13 | <|sols|><|sot|>Behind the scenes<|eot|><|sol|>https://i.redd.it/vqzkgckochk71.png<|eol|><|sor|>Missed the os.sleep(2)<|eor|><|soopr|>NO movies use super computers so they do that heavy hacking without any sleeping required<|eoopr|><|eols|><|endoftext|> | 1,006 |
programmerhumor | ILoveOldFatHairyMen | haxkhu5 | <|sols|><|sot|>Behind the scenes<|eot|><|sol|>https://i.redd.it/vqzkgckochk71.png<|eol|><|sor|>Missed printing a huge amount of random numbers, in green.<|eor|><|sor|>`sudo apt-get install firefox`<|eor|><|eols|><|endoftext|> | 933 |
programmerhumor | metalovingien | hax4esj | <|sols|><|sot|>Behind the scenes<|eot|><|sol|>https://i.redd.it/vqzkgckochk71.png<|eol|><|sor|>Maybe delays between prints, so it looks like running shit<|eor|><|eols|><|endoftext|> | 860 |
programmerhumor | exxxxkc | hax1sja | <|sols|><|sot|>Behind the scenes<|eot|><|sol|>https://i.redd.it/vqzkgckochk71.png<|eol|><|sor|>
````
#!/bin/sh
echo "Start Attack..."
echo "--Hacking NASA--"
echo "Hacking NASA 1%"
echo "Hacking NASA 10%"
sleep 5
echo "Hacking NASA 50%"
sleep 100
echo "Hacking NASA 100%"
echo "NASA Hacked Successfully"
````<|eor|><|eols|><|endoftext|> | 527 |
programmerhumor | coloredgreyscale | haxi6xi | <|sols|><|sot|>Behind the scenes<|eot|><|sol|>https://i.redd.it/vqzkgckochk71.png<|eol|><|sor|>Missed the os.sleep(2)<|eor|><|soopr|>NO movies use super computers so they do that heavy hacking without any sleeping required<|eoopr|><|sor|>Where is the suspense for the viewer if the text / hacking is done within the 40ms between 2 frames of the movie?<|eor|><|eols|><|endoftext|> | 500 |
programmerhumor | enjoytheshow | haxmjqy | <|sols|><|sot|>Behind the scenes<|eot|><|sol|>https://i.redd.it/vqzkgckochk71.png<|eol|><|sor|>Missed printing a huge amount of random numbers, in green.<|eor|><|sor|>`sudo apt-get install firefox`<|eor|><|sor|>`du -a /`
At an old job where they micromanaged and made you sit there til 5pm I would full screen terminal and run shit like this at the end of the day and sit in my phone.<|eor|><|eols|><|endoftext|> | 434 |
programmerhumor | CommanderZanderTGS | hax9mxk | <|sols|><|sot|>Behind the scenes<|eot|><|sol|>https://i.redd.it/vqzkgckochk71.png<|eol|><|sor|>
````
#!/bin/sh
echo "Start Attack..."
echo "--Hacking NASA--"
echo "Hacking NASA 1%"
echo "Hacking NASA 10%"
sleep 5
echo "Hacking NASA 50%"
sleep 100
echo "Hacking NASA 100%"
echo "NASA Hacked Successfully"
````<|eor|><|sor|>Instructions unclear, actually hacked into NASA and FBI came to arrest me. Currently hiding in Russia<|eor|><|eols|><|endoftext|> | 320 |
programmerhumor | Hans_Peter_Jackson | haxsgcj | <|sols|><|sot|>Behind the scenes<|eot|><|sol|>https://i.redd.it/vqzkgckochk71.png<|eol|><|sor|>Missed printing a huge amount of random numbers, in green.<|eor|><|sor|>`sudo apt-get install firefox`<|eor|><|sor|>`du -a /`
At an old job where they micromanaged and made you sit there til 5pm I would full screen terminal and run shit like this at the end of the day and sit in my phone.<|eor|><|sor|>what that do?<|eor|><|sor|>Apparently it prints out the size of every single file
https://www.geeksforgeeks.org/du-command-linux-examples/
du - Disk usage
-a - all files, not Just direktories
/ - starting at root<|eor|><|eols|><|endoftext|> | 267 |
programmerhumor | pimezone | hax83jz | <|sols|><|sot|>Behind the scenes<|eot|><|sol|>https://i.redd.it/vqzkgckochk71.png<|eol|><|sor|>But to make it work you have to be constantly typing as fast as possible<|eor|><|sor|>https://hackertyper.net/<|eor|><|eols|><|endoftext|> | 228 |
programmerhumor | very__nice__username | haxhsfp | <|sols|><|sot|>Behind the scenes<|eot|><|sol|>https://i.redd.it/vqzkgckochk71.png<|eol|><|sor|>There is a scene in White House Down where the "hacking scene" is just random source code scrolled down really fast, not console output. It even has syntax highlighting and everything<|eor|><|eols|><|endoftext|> | 200 |
programmerhumor | YoCrustyDude | haxbakl | <|sols|><|sot|>Behind the scenes<|eot|><|sol|>https://i.redd.it/vqzkgckochk71.png<|eol|><|sor|>Maybe delays between prints, so it looks like running shit<|eor|><|sor|>Sorry...running shit
<|eor|><|eols|><|endoftext|> | 193 |
programmerhumor | Spook404 | haxmsew | <|sols|><|sot|>Behind the scenes<|eot|><|sol|>https://i.redd.it/vqzkgckochk71.png<|eol|><|sor|>Missed the os.sleep(2)<|eor|><|soopr|>NO movies use super computers so they do that heavy hacking without any sleeping required<|eoopr|><|sor|>Where is the suspense for the viewer if the text / hacking is done within the 40ms between 2 frames of the movie?<|eor|><|sor|>Yeah this is nasa we're talking about<|eor|><|eols|><|endoftext|> | 177 |
programmerhumor | EmmaFitmzmaurice | hax6h0t | <|sols|><|sot|>Behind the scenes<|eot|><|sol|>https://i.redd.it/vqzkgckochk71.png<|eol|><|sor|>But to make it work you have to be constantly typing as fast as possible<|eor|><|eols|><|endoftext|> | 164 |
programmerhumor | The-Mathematician | haxp20e | <|sols|><|sot|>Behind the scenes<|eot|><|sol|>https://i.redd.it/vqzkgckochk71.png<|eol|><|sor|>Missed the os.sleep(2)<|eor|><|sor|>[deleted]<|eor|><|sor|>I think in python you can just have:
rest = os.sleep<|eor|><|eols|><|endoftext|> | 146 |
programmerhumor | vickera | hax959z | <|sols|><|sot|>Behind the scenes<|eot|><|sol|>https://i.redd.it/vqzkgckochk71.png<|eol|><|sor|>Wait you are telling me they don't actually hack nasa in movies and it's all just a big lie?!<|eor|><|eols|><|endoftext|> | 144 |
programmerhumor | Ravens_Quote | hay5she | <|sols|><|sot|>Behind the scenes<|eot|><|sol|>https://i.redd.it/vqzkgckochk71.png<|eol|><|sor|>Missed printing a huge amount of random numbers, in green.<|eor|><|sor|>`sudo apt-get install firefox`<|eor|><|sor|>`du -a /`
At an old job where they micromanaged and made you sit there til 5pm I would full screen terminal and run shit like this at the end of the day and sit in my phone.<|eor|><|sor|>what that do?<|eor|><|sor|>Apparently it prints out the size of every single file
https://www.geeksforgeeks.org/du-command-linux-examples/
du - Disk usage
-a - all files, not Just direktories
/ - starting at root<|eor|><|sor|>>not just direktories
Ist klus Deutch, Russian, or Grineer you speak?<|eor|><|eols|><|endoftext|> | 130 |
programmerhumor | exxxxkc | haxbwor | <|sols|><|sot|>Behind the scenes<|eot|><|sol|>https://i.redd.it/vqzkgckochk71.png<|eol|><|sor|>
````
#!/bin/sh
echo "Start Attack..."
echo "--Hacking NASA--"
echo "Hacking NASA 1%"
echo "Hacking NASA 10%"
sleep 5
echo "Hacking NASA 50%"
sleep 100
echo "Hacking NASA 100%"
echo "NASA Hacked Successfully"
````<|eor|><|sor|>Instructions unclear, actually hacked into NASA and FBI came to arrest me. Currently hiding in Russia<|eor|><|sor|>sudo give me all the leaked data to me<|eor|><|eols|><|endoftext|> | 128 |
programmerhumor | LeoDog896 | c8uy47 | <|sols|><|sot|>The new web dev generation<|eot|><|sol|>https://i.redd.it/imv7op9556831.png<|eol|><|eols|><|endoftext|> | 29,716 |
programmerhumor | windwalk06 | esq5o37 | <|sols|><|sot|>The new web dev generation<|eot|><|sol|>https://i.redd.it/imv7op9556831.png<|eol|><|sor|>Try 127.0.0.1 instead.<|eor|><|eols|><|endoftext|> | 3,692 |
programmerhumor | thomasreichmann | esqajqx | <|sols|><|sot|>The new web dev generation<|eot|><|sol|>https://i.redd.it/imv7op9556831.png<|eol|><|sor|>Try 127.0.0.1 instead.<|eor|><|sor|>He might only have IPv6 enabled, try ::1<|eor|><|eols|><|endoftext|> | 1,447 |
programmerhumor | mcruz15 | esq47zx | <|sols|><|sot|>The new web dev generation<|eot|><|sol|>https://i.redd.it/imv7op9556831.png<|eol|><|sor|>Actually i think the hardest part of web development is this. When you know the basics of html css javascrip and php but dont have a clue about servers. So you can have all setted in local but not visible from the outside due to a router configuration or apache or selinux or the firewall or whatever<|eor|><|eols|><|endoftext|> | 1,386 |
programmerhumor | cherryblossom001 | esq4zbq | <|sols|><|sot|>The new web dev generation<|eot|><|sol|>https://i.redd.it/imv7op9556831.png<|eol|><|sor|>*Image Transcription: Text Messages*
---
**[Grey]**: Hey can you check out my new project? https://localhost:300
> **[Blue]**: i dont think thats valid
**[Grey]**: What do you mean? It works for me
> **[Blue]**: its "localhost" for a reason
**[Grey]**: Did you see it yet?
> **[Blue]**: def no.
**[Grey]**: You probably have a virus
---
^^Im a human volunteer content transcriber for Reddit and you could be too! [If youd like more information on what we do and why we do it, click here!](https://www.reddit.com/r/TranscribersOfReddit/wiki/index)<|eor|><|eols|><|endoftext|> | 687 |
programmerhumor | Waddamagonnadooo | esqhbro | <|sols|><|sot|>The new web dev generation<|eot|><|sol|>https://i.redd.it/imv7op9556831.png<|eol|><|sor|>Try 127.0.0.1 instead.<|eor|><|sor|>He might only have IPv6 enabled, try ::1<|eor|><|sor|>I'm gonna show my ignorance here but what is the point of ipv6 on a local network? I get the need for address space on the web, but why ever use it on a lan? Not saying you specifically, it's just pushed default and I don't get why?<|eor|><|sor|>So we can phase out ipv4?<|eor|><|eols|><|endoftext|> | 654 |
programmerhumor | ionxeph | esqap0y | <|sols|><|sot|>The new web dev generation<|eot|><|sol|>https://i.redd.it/imv7op9556831.png<|eol|><|sor|>Actually i think the hardest part of web development is this. When you know the basics of html css javascrip and php but dont have a clue about servers. So you can have all setted in local but not visible from the outside due to a router configuration or apache or selinux or the firewall or whatever<|eor|><|sor|>In the modern cloud world, you can know almost nothing about backend, and still get your websites deployed via any cloud service pretty easily, and pretty cheaply too<|eor|><|eols|><|endoftext|> | 574 |
programmerhumor | windwalk06 | esqgw7z | <|sols|><|sot|>The new web dev generation<|eot|><|sol|>https://i.redd.it/imv7op9556831.png<|eol|><|sor|>Try 127.0.0.1 instead.<|eor|><|sor|>He might only have IPv6 enabled, try ::1<|eor|><|sor|>I'm gonna show my ignorance here but what is the point of ipv6 on a local network? I get the need for address space on the web, but why ever use it on a lan? Not saying you specifically, it's just pushed default and I don't get why?<|eor|><|eols|><|endoftext|> | 401 |
programmerhumor | c1e0c72c69e5406abf55 | esqn2bd | <|sols|><|sot|>The new web dev generation<|eot|><|sol|>https://i.redd.it/imv7op9556831.png<|eol|><|sor|>Actually i think the hardest part of web development is this. When you know the basics of html css javascrip and php but dont have a clue about servers. So you can have all setted in local but not visible from the outside due to a router configuration or apache or selinux or the firewall or whatever<|eor|><|sor|>In the modern cloud world, you can know almost nothing about backend, and still get your websites deployed via any cloud service pretty easily, and pretty cheaply too<|eor|><|sor|>[deleted]<|eor|><|sor|>Basically everything in being a programmer feels like this.<|eor|><|eols|><|endoftext|> | 371 |
programmerhumor | PhoenixRising17 | esq9wxv | <|sols|><|sot|>The new web dev generation<|eot|><|sol|>https://i.redd.it/imv7op9556831.png<|eol|><|sor|>*Image Transcription: Text Messages*
---
**[Grey]**: Hey can you check out my new project? https://localhost:300
> **[Blue]**: i dont think thats valid
**[Grey]**: What do you mean? It works for me
> **[Blue]**: its "localhost" for a reason
**[Grey]**: Did you see it yet?
> **[Blue]**: def no.
**[Grey]**: You probably have a virus
---
^^Im a human volunteer content transcriber for Reddit and you could be too! [If youd like more information on what we do and why we do it, click here!](https://www.reddit.com/r/TranscribersOfReddit/wiki/index)<|eor|><|sor|>Good human<|eor|><|eols|><|endoftext|> | 299 |
programmerhumor | TheRealPitabred | esqoxva | <|sols|><|sot|>The new web dev generation<|eot|><|sol|>https://i.redd.it/imv7op9556831.png<|eol|><|sor|>Try 127.0.0.1 instead.<|eor|><|sor|>He might only have IPv6 enabled, try ::1<|eor|><|sor|>I'm gonna show my ignorance here but what is the point of ipv6 on a local network? I get the need for address space on the web, but why ever use it on a lan? Not saying you specifically, it's just pushed default and I don't get why?<|eor|><|sor|>So we can phase out ipv4?<|eor|><|sor|>[deleted]<|eor|><|sor|>IPv4 only has about 4 billion addresses. Weve pretty much run out of those, and it makes networking super complicated working around it, private IPs, NAT, etc. IPv6 has more addresses than grains of sand on earth, so we good there. Just gotta switch.<|eor|><|eols|><|endoftext|> | 290 |
programmerhumor | IHeartBadCode | esqbu6x | <|sols|><|sot|>The new web dev generation<|eot|><|sol|>https://i.redd.it/imv7op9556831.png<|eol|><|sor|>recite all 7 OSI layers from memory or gtfo!<|eor|><|sor|>* Physical - Describes the transport of bits on the wire (or via radio if you're into that kind of thing). Hey wires 1, 2, 3, and 5 are for data. 4, 6, and 7 are unused. Number 8 is to signal the Antichrist.
* Data link - Describes the transmission of frames across a physical link. Frames being an arbitrary arrangement of raw bits. My wires will blinky blink fifty times a second, every other second. If you're not cool with that blinky blink yours at second number two twenty times.
* Network - Adds structure to connected links. Like addressing, routing, etc. Because just having frames running willy nilly is non-good.
* Transport - Creates reliable transmission between addresses. Structure is great, but you need assurances that network over here got message from network over there.
* Session - The begin and end of a period of transport. Okay we can get from A to B just fine. Here's how we indicate we're starting, here's how we indicate we're done, here's how we indicate an error, etc.
* Presentation - Provides the encoding and translation of data within a session. Oh yeah did I mention I'm talking UTF-8? Least significant bit first? Oh that package you got, it's number 2, here's how you tell that.
* Application - The high level API that your application works with. Hey I understand HTTP!
All People Should Take New Doughnuts Pronto!<|eor|><|eols|><|endoftext|> | 281 |
programmerhumor | McCoovy | esqqw6s | <|sols|><|sot|>The new web dev generation<|eot|><|sol|>https://i.redd.it/imv7op9556831.png<|eol|><|sor|>Actually i think the hardest part of web development is this. When you know the basics of html css javascrip and php but dont have a clue about servers. So you can have all setted in local but not visible from the outside due to a router configuration or apache or selinux or the firewall or whatever<|eor|><|sor|>In the modern cloud world, you can know almost nothing about backend, and still get your websites deployed via any cloud service pretty easily, and pretty cheaply too<|eor|><|sor|>[deleted]<|eor|><|sor|>Basically everything in being a programmer feels like this.<|eor|><|sor|>Meh. All stem professions can be boiled down to "if everyone knew enough about my job they could do this the easy way too".<|eor|><|eols|><|endoftext|> | 245 |
programmerhumor | spacemudd | esrad4q | <|sols|><|sot|>The new web dev generation<|eot|><|sol|>https://i.redd.it/imv7op9556831.png<|eol|><|sor|>[deleted]<|eor|><|sor|>3000 is more common, but 300 is surely possible? You can set the port in most Webpack-like things.<|eor|><|sor|>I mean sure it is possible but it's like trying to run an FTP server on port 443.
It irritates me because usually you shouldn't touch ports under ~~1000~~ 1024 as those are most likely reserved for OS or other widely standardized protocols.<|eor|><|eols|><|endoftext|> | 233 |
programmerhumor | bpooqd | esq7ck2 | <|sols|><|sot|>The new web dev generation<|eot|><|sol|>https://i.redd.it/imv7op9556831.png<|eol|><|sor|>recite all 7 OSI layers from memory or gtfo!<|eor|><|eols|><|endoftext|> | 232 |
programmerhumor | cryptopig | esqa4va | <|sols|><|sot|>The new web dev generation<|eot|><|sol|>https://i.redd.it/imv7op9556831.png<|eol|><|sor|>It's easy to mock inexperienced folks. I've done some really stupid stuff and I'm sure you have too.<|eor|><|eols|><|endoftext|> | 222 |
programmerhumor | 4gedN5tars_ | wjy0ra | <|sols|><|sot|>I think I'm about done making memes.<|eot|><|sol|>https://i.redd.it/5lq09gclgng91.jpg<|eol|><|eols|><|endoftext|> | 29,704 |
programmerhumor | mobilecheese | ijkdk9r | <|sols|><|sot|>I think I'm about done making memes.<|eot|><|sol|>https://i.redd.it/5lq09gclgng91.jpg<|eol|><|sor|>You open source your code because it is useful.
I open source my code because it is worthless.
We are not the same.<|eor|><|eols|><|endoftext|> | 1,980 |
programmerhumor | ash_hashtag | ijk5k9e | <|sols|><|sot|>I think I'm about done making memes.<|eot|><|sol|>https://i.redd.it/5lq09gclgng91.jpg<|eol|><|sor|>I open source my code because I don't know what I'm doing and hoping help<|eor|><|eols|><|endoftext|> | 810 |
programmerhumor | Attila_22 | ijkdo2u | <|sols|><|sot|>I think I'm about done making memes.<|eot|><|sol|>https://i.redd.it/5lq09gclgng91.jpg<|eol|><|sor|>You open source your code because it is useful.
I open source my code because it is worthless.
We are not the same.<|eor|><|sor|>Stealing this, thanks for open sourcing it.<|eor|><|eols|><|endoftext|> | 469 |
programmerhumor | 4gedN5tars_ | ijk2qas | <|sols|><|sot|>I think I'm about done making memes.<|eot|><|sol|>https://i.redd.it/5lq09gclgng91.jpg<|eol|><|sor|>I open source my code because i use 3 digits variables that makes it unreadable, thus making it too hard to crack it<|eor|><|soopr|>My password manager creates my variables<|eoopr|><|eols|><|endoftext|> | 453 |
programmerhumor | Shadow-Raleigh | ijk4nxx | <|sols|><|sot|>I think I'm about done making memes.<|eot|><|sol|>https://i.redd.it/5lq09gclgng91.jpg<|eol|><|sor|>I don't open source my code because I don't have one. We are not the same.<|eor|><|eols|><|endoftext|> | 347 |
programmerhumor | SolarLiner | ijkhc7y | <|sols|><|sot|>I think I'm about done making memes.<|eot|><|sol|>https://i.redd.it/5lq09gclgng91.jpg<|eol|><|sor|>I open source my code because I don't know what I'm doing and hoping help<|eor|><|sor|>The very first repo I opened - on SourceForge - I was expecting people to be able to randomly contribute and help me with my niche project. Turns out, it doesn't work like that. <|eor|><|eols|><|endoftext|> | 324 |
programmerhumor | Krabumb-Gaming | ijk2e55 | <|sols|><|sot|>I think I'm about done making memes.<|eot|><|sol|>https://i.redd.it/5lq09gclgng91.jpg<|eol|><|sor|>I open source my code because i use 3 digits variables that makes it unreadable, thus making it too hard to crack it<|eor|><|eols|><|endoftext|> | 323 |
programmerhumor | BertoLaDK | ijkkz30 | <|sols|><|sot|>I think I'm about done making memes.<|eot|><|sol|>https://i.redd.it/5lq09gclgng91.jpg<|eol|><|sor|>I open source my code because I don't know what I'm doing and hoping help<|eor|><|sor|>The very first repo I opened - on SourceForge - I was expecting people to be able to randomly contribute and help me with my niche project. Turns out, it doesn't work like that. <|eor|><|sor|>Same - but GitHub.
I've also submitted a question to stack overflow before.
Never again<|eor|><|sor|>What happened on SO? Didn't you use the two accounts method. First ask the question then with another account answer it wrongly. Then you are going to get answers, people will rather prove others wrong than help.<|eor|><|eols|><|endoftext|> | 323 |
programmerhumor | 4gedN5tars_ | ijk1ojw | <|sols|><|sot|>I think I'm about done making memes.<|eot|><|sol|>https://i.redd.it/5lq09gclgng91.jpg<|eol|><|sor|>I don't open source my codes because I am too lazy to learn github or the likes<|eor|><|soopr|>But it's easy you just gotta commit to it.<|eoopr|><|eols|><|endoftext|> | 258 |
programmerhumor | Rodot | ijkhh1b | <|sols|><|sot|>I think I'm about done making memes.<|eot|><|sol|>https://i.redd.it/5lq09gclgng91.jpg<|eol|><|sor|>I open source code because it makes my github squares green<|eor|><|eols|><|endoftext|> | 202 |
programmerhumor | _Weyland_ | ijkqfym | <|sols|><|sot|>I think I'm about done making memes.<|eot|><|sol|>https://i.redd.it/5lq09gclgng91.jpg<|eol|><|sor|>You open source your code because it is useful.
I open source my code because it is worthless.
We are not the same.<|eor|><|sor|>Stealing this, thanks for open sourcing it.<|eor|><|sor|>[deleted]<|eor|><|sor|>I'm forking your mom<|eor|><|eols|><|endoftext|> | 134 |
programmerhumor | Mushiren_ | ijkra2u | <|sols|><|sot|>I think I'm about done making memes.<|eot|><|sol|>https://i.redd.it/5lq09gclgng91.jpg<|eol|><|sor|>You open source your code because it is useful.
I open source my code because it is worthless.
We are not the same.<|eor|><|sor|>Stealing this, thanks for open sourcing it.<|eor|><|sor|>[deleted]<|eor|><|sor|>I'm forking your mom<|eor|><|sor|>You sayin' their mom is open source?<|eor|><|eols|><|endoftext|> | 127 |
programmerhumor | SoundDrill | ijkgup3 | <|sols|><|sot|>I think I'm about done making memes.<|eot|><|sol|>https://i.redd.it/5lq09gclgng91.jpg<|eol|><|sor|>I open source my code because i use 3 digits variables that makes it unreadable, thus making it too hard to crack it<|eor|><|soopr|>My password manager creates my variables<|eoopr|><|sor|>What happens if we use 100% of our brain?
This guy :<|eor|><|eols|><|endoftext|> | 114 |
programmerhumor | cinlung | ijk0yrt | <|sols|><|sot|>I think I'm about done making memes.<|eot|><|sol|>https://i.redd.it/5lq09gclgng91.jpg<|eol|><|sor|>I don't open source my codes because I am too lazy to learn github or the likes<|eor|><|eols|><|endoftext|> | 108 |
programmerhumor | Rndom_Gy_159 | ijkwx4v | <|sols|><|sot|>I think I'm about done making memes.<|eot|><|sol|>https://i.redd.it/5lq09gclgng91.jpg<|eol|><|sor|>I open source my code because I don't know what I'm doing and hoping help<|eor|><|sor|>The very first repo I opened - on SourceForge - I was expecting people to be able to randomly contribute and help me with my niche project. Turns out, it doesn't work like that. <|eor|><|sor|>Same - but GitHub.
I've also submitted a question to stack overflow before.
Never again<|eor|><|sor|>What happened on SO? Didn't you use the two accounts method. First ask the question then with another account answer it wrongly. Then you are going to get answers, people will rather prove others wrong than help.<|eor|><|sor|>Ah yes, Poe's law. Happens quite often online.<|eor|><|eols|><|endoftext|> | 103 |
programmerhumor | SoundDrill | ijkgwmf | <|sols|><|sot|>I think I'm about done making memes.<|eot|><|sol|>https://i.redd.it/5lq09gclgng91.jpg<|eol|><|sor|>I don't open source my code because I don't have one. We are not the same.<|eor|><|sor|>Sometimes I wonder why people like us are the majority of this sub<|eor|><|eols|><|endoftext|> | 97 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.