subreddit stringclasses 7
values | author stringlengths 3 20 | id stringlengths 5 7 | content stringlengths 67 30.4k | score int64 0 140k |
|---|---|---|---|---|
programmerhumor | jacksalssome | dqlniu9 | <|sols|><|sot|>Getting a job at Apple<|eot|><|sol|>https://i.redd.it/yv0fpjwjm8101.png<|eol|><|sor|>What's the lastname of root? <|eor|><|sor|>I believe the full name is Sudo Root.<|eor|><|sor|>Root, Sudo Root.
I like my password salted, not hashed. <|eor|><|sor|>Why not both?<|eor|><|sor|>rootpass+saltysalt is easier to remember than 61f4ca7106eee18fdb76002c1859987c30a23bdb18692074af5cbdcbbe6e9c84<|eor|><|sor|>What? its easy
six
one
**f**or
four
**Ca**lifornia
seven
one
zero
six
**eee**zy
eighteen
**f**ox
**d**og
**b**at
i5-**7600**
two
sea
thirty
**a**yy AMD
twenty three
**b**ad
**d**og
**b**ad
eighteen
sixty nine
twenty
seven
four
**a**s
**f**uck
five
**c**entral
**b**ank
ac **dc**
**bb** - 8
**e**azy
nine
see
19 **eighty four**<|eor|><|eols|><|endoftext|> | 267 |
programmerhumor | Rextumen | dqlpofz | <|sols|><|sot|>Getting a job at Apple<|eot|><|sol|>https://i.redd.it/yv0fpjwjm8101.png<|eol|><|sor|>You may need to send in the application two or three times, though.<|eor|><|sor|>Then after you upload your rsum, you have to fill out everything that is on your rsum.<|eor|><|sor|>But the recruter and interviewer only print out and read a black and white copy of your resume<|eor|><|sor|>lmao i have absolutely no idea what this joke is<|eor|><|sor|>You can gain administrative access only by typing root in the user name and leaving the password blank in MacOS High Sierra<|eor|><|eols|><|endoftext|> | 242 |
programmerhumor | 0x126 | dqlnq14 | <|sols|><|sot|>Getting a job at Apple<|eot|><|sol|>https://i.redd.it/yv0fpjwjm8101.png<|eol|><|sor|>You may need to send in the application two or three times, though.<|eor|><|sor|>Then after you upload your rsum, you have to fill out everything that is on your rsum.<|eor|><|sor|>But the recruter and interviewer only print out and read a black and white copy of your resume<|eor|><|eols|><|endoftext|> | 235 |
programmerhumor | Lonsdale1086 | dqlqcuj | <|sols|><|sot|>Getting a job at Apple<|eot|><|sol|>https://i.redd.it/yv0fpjwjm8101.png<|eol|><|sor|>You may need to send in the application two or three times, though.<|eor|><|sor|>Then after you upload your rsum, you have to fill out everything that is on your rsum.<|eor|><|sor|>But the recruter and interviewer only print out and read a black and white copy of your resume<|eor|><|sor|>lmao i have absolutely no idea what this joke is<|eor|><|sor|>You can gain administrative access only by typing root in the user name and leaving the password blank in MacOS High Sierra<|eor|><|sor|>I don't get the replies to the parent comment though. I think they're jokes about actual resums?<|eor|><|sor|>It's just about job applications online.
You upload your CV, and fill out the questions.
The answers to all the questions are in the CV.
Then when you get to the interview, the interviewer just has the CV.<|eor|><|eols|><|endoftext|> | 178 |
programmerhumor | papijaja | dqlm7vo | <|sols|><|sot|>Getting a job at Apple<|eot|><|sol|>https://i.redd.it/yv0fpjwjm8101.png<|eol|><|sor|>I am Root. <|eor|><|eols|><|endoftext|> | 161 |
programmerhumor | NatoBoram | dqlh1mc | <|sols|><|sot|>Getting a job at Apple<|eot|><|sol|>https://i.redd.it/yv0fpjwjm8101.png<|eol|><|sor|>What's the lastname of root? <|eor|><|sor|>I believe the full name is Sudo Root.<|eor|><|sor|>Root, Sudo Root.
I like my password salted, not hashed. <|eor|><|sor|>Why not both?<|eor|><|eols|><|endoftext|> | 159 |
programmerhumor | jacksalssome | dqlpkd5 | <|sols|><|sot|>Getting a job at Apple<|eot|><|sol|>https://i.redd.it/yv0fpjwjm8101.png<|eol|><|sor|>What's the lastname of root? <|eor|><|sor|>I believe the full name is Sudo Root.<|eor|><|sor|>Root, Sudo Root.
I like my password salted, not hashed. <|eor|><|sor|>Why not both?<|eor|><|sor|>rootpass+saltysalt is easier to remember than 61f4ca7106eee18fdb76002c1859987c30a23bdb18692074af5cbdcbbe6e9c84<|eor|><|sor|>What? its easy
six
one
**f**or
four
**Ca**lifornia
seven
one
zero
six
**eee**zy
eighteen
**f**ox
**d**og
**b**at
i5-**7600**
two
sea
thirty
**a**yy AMD
twenty three
**b**ad
**d**og
**b**ad
eighteen
sixty nine
twenty
seven
four
**a**s
**f**uck
five
**c**entral
**b**ank
ac **dc**
**bb** - 8
**e**azy
nine
see
19 **eighty four**<|eor|><|sor|>> 1859987
You missed these numbers after
>i7-7600
>two
>sea
and
>e6
after bb - 8<|eor|><|sor|>Well just call it "optimisation and compression" and ship it.<|eor|><|eols|><|endoftext|> | 157 |
programmerhumor | MarcellusDrum | 752day | <|sols|><|sot|>What's New?<|eot|><|sol|>https://i.redd.it/ypdufrd1mmqz.jpg<|eol|><|eols|><|endoftext|> | 30,611 |
programmerhumor | ETHproductions | do2uqrk | <|sols|><|sot|>What's New?<|eot|><|sol|>https://i.redd.it/ypdufrd1mmqz.jpg<|eol|><|sor|>Ah, the classic "I'm going to continue having a job for the next few weeks" update<|eor|><|eols|><|endoftext|> | 3,223 |
programmerhumor | lytes | do36o4z | <|sols|><|sot|>What's New?<|eot|><|sol|>https://i.redd.it/ypdufrd1mmqz.jpg<|eol|><|sor|>Ah, the classic "I'm going to continue having a job for the next few weeks" update<|eor|><|sor|>Does that actually happen? Where someone leaves shitty code on purpose to extend a contract or have something to 'fix' later? <|eor|><|sor|>Theres a story Ive been told where a sys admin made the system check to see if his name was active in payroll. If not, system will crash.
I think its uncommon but happens.<|eor|><|eols|><|endoftext|> | 2,127 |
programmerhumor | Freebandaids | do36slz | <|sols|><|sot|>What's New?<|eot|><|sol|>https://i.redd.it/ypdufrd1mmqz.jpg<|eol|><|sor|>Ah, the classic "I'm going to continue having a job for the next few weeks" update<|eor|><|sor|>Does that actually happen? Where someone leaves shitty code on purpose to extend a contract or have something to 'fix' later? <|eor|><|sor|>Theres a story Ive been told where a sys admin made the system check to see if his name was active in payroll. If not, system will crash.
I think its uncommon but happens.<|eor|><|sor|>That would be called a logic bomb <|eor|><|eols|><|endoftext|> | 905 |
programmerhumor | Master_Glorfindel | do31aic | <|sols|><|sot|>What's New?<|eot|><|sol|>https://i.redd.it/ypdufrd1mmqz.jpg<|eol|><|sor|>Ah, the classic "I'm going to continue having a job for the next few weeks" update<|eor|><|sor|>Does that actually happen? Where someone leaves shitty code on purpose to extend a contract or have something to 'fix' later? <|eor|><|eols|><|endoftext|> | 866 |
programmerhumor | binaryPilot84 | do2z8dd | <|sols|><|sot|>What's New?<|eot|><|sol|>https://i.redd.it/ypdufrd1mmqz.jpg<|eol|><|sor|>[deleted]<|eor|><|sor|>Every app<|eor|><|eols|><|endoftext|> | 802 |
programmerhumor | DroidAG | do2utaf | <|sols|><|sot|>What's New?<|eot|><|sol|>https://i.redd.it/ypdufrd1mmqz.jpg<|eol|><|sor|>Good, most releases add bugs never to be fixed.<|eor|><|eols|><|endoftext|> | 622 |
programmerhumor | Freebandaids | do39r7t | <|sols|><|sot|>What's New?<|eot|><|sol|>https://i.redd.it/ypdufrd1mmqz.jpg<|eol|><|sor|>Ah, the classic "I'm going to continue having a job for the next few weeks" update<|eor|><|sor|>Does that actually happen? Where someone leaves shitty code on purpose to extend a contract or have something to 'fix' later? <|eor|><|sor|>Theres a story Ive been told where a sys admin made the system check to see if his name was active in payroll. If not, system will crash.
I think its uncommon but happens.<|eor|><|sor|>That would be called a logic bomb <|eor|><|sor|>[deleted]<|eor|><|sor|>Corporate likes me right now, but if the situation ever changes I am pretty sure this method will keep me employed for a few extra years at least.<|eor|><|eols|><|endoftext|> | 283 |
programmerhumor | mirx | do3czsb | <|sols|><|sot|>What's New?<|eot|><|sol|>https://i.redd.it/ypdufrd1mmqz.jpg<|eol|><|sor|>Ah, the classic "I'm going to continue having a job for the next few weeks" update<|eor|><|sor|>Does that actually happen? Where someone leaves shitty code on purpose to extend a contract or have something to 'fix' later? <|eor|><|sor|>Theres a story Ive been told where a sys admin made the system check to see if his name was active in payroll. If not, system will crash.
I think its uncommon but happens.<|eor|><|sor|>I just read this on Quora today.
[What is the most illegal or unethical code you ever wrote?](https://www.quora.com/What-is-the-most-illegal-or-unethical-code-you-ever-wrote/answer/Nupul-Kukreja)
Not me, but my advisor back in India would narrate this to us as reasons to why its necessary to review/test code: (Edit: This is about ~30yrs ago)
Dude to company: If you fire me, your system will stop working.
The company was planning to downsize and this project lead, to save his position, threatened the higher ups with the statement above. It worked for a bit but then they decided they just had to let him go, on a Friday.
Sure enough, on Monday morning, the system just stopped working! They tried frantically to fix the problem, but decided to hire him back. He came back to work the following week and sure enough, everything was back to normal.
What was the magic?
He made sure that the system does a check for his employee badge being swiped and buried it under some cryptic code, that no one thought to look/understand.
Illegal? Probably. Unethical? Yep. Great story? You bet!<|eor|><|eols|><|endoftext|> | 262 |
programmerhumor | hrehbfthbrweer | do3fd5d | <|sols|><|sot|>What's New?<|eot|><|sol|>https://i.redd.it/ypdufrd1mmqz.jpg<|eol|><|sor|>Ah, the classic "I'm going to continue having a job for the next few weeks" update<|eor|><|sor|>Does that actually happen? Where someone leaves shitty code on purpose to extend a contract or have something to 'fix' later? <|eor|><|sor|>Theres a story Ive been told where a sys admin made the system check to see if his name was active in payroll. If not, system will crash.
I think its uncommon but happens.<|eor|><|sor|>That would be called a logic bomb <|eor|><|sor|>[deleted]<|eor|><|sor|>Corporate likes me right now, but if the situation ever changes I am pretty sure this method will keep me employed for a few extra years at least.<|eor|><|sor|>The last company I worked at had a big merger and they just straight up *gutted* tech. Lots of old systems were moved offshore and they had no idea how to support them anymore.
Maybe upper management thought are jobs just weren't that hard, and that cheaper employees could take over. Maybe they just wanted big bonuses for this year.
However, for the first year, stock prices had increased a lot, so shareholders were happy af.
Moral of the story - everyone is dispensable when the CEO doesn't give a shit about the company long term. <|eor|><|eols|><|endoftext|> | 243 |
programmerhumor | kindall | do3b3e9 | <|sols|><|sot|>What's New?<|eot|><|sol|>https://i.redd.it/ypdufrd1mmqz.jpg<|eol|><|sor|>"If debugging is the process of removing bugs, then programming must be the process of putting them in."<|eor|><|eols|><|endoftext|> | 239 |
programmerhumor | NotThisFucker | do3d5yq | <|sols|><|sot|>What's New?<|eot|><|sol|>https://i.redd.it/ypdufrd1mmqz.jpg<|eol|><|sor|>Ah, the classic "I'm going to continue having a job for the next few weeks" update<|eor|><|sor|>Does that actually happen? Where someone leaves shitty code on purpose to extend a contract or have something to 'fix' later? <|eor|><|sor|>Theres a story Ive been told where a sys admin made the system check to see if his name was active in payroll. If not, system will crash.
I think its uncommon but happens.<|eor|><|sor|>That would be called a logic bomb <|eor|><|sor|>[deleted]<|eor|><|sor|>Could you explain this one? Do you write incorrect stuff and then leave it there if youre fired?<|eor|><|sor|>You write correct stuff and then never tell anybody how it works or how to maintain it.<|eor|><|eols|><|endoftext|> | 198 |
programmerhumor | issamaysinalah | do3a46y | <|sols|><|sot|>What's New?<|eot|><|sol|>https://i.redd.it/ypdufrd1mmqz.jpg<|eol|><|sor|>[deleted]<|eor|><|sor|>Every app<|eor|><|sor|>not really, most of them don't bother fixing the bugs.<|eor|><|eols|><|endoftext|> | 192 |
programmerhumor | Aleriya | do3mgy7 | <|sols|><|sot|>What's New?<|eot|><|sol|>https://i.redd.it/ypdufrd1mmqz.jpg<|eol|><|sor|>Ah, the classic "I'm going to continue having a job for the next few weeks" update<|eor|><|sor|>Does that actually happen? Where someone leaves shitty code on purpose to extend a contract or have something to 'fix' later? <|eor|><|sor|>Theres a story Ive been told where a sys admin made the system check to see if his name was active in payroll. If not, system will crash.
I think its uncommon but happens.<|eor|><|sor|>That would be called a logic bomb <|eor|><|sor|>[deleted]<|eor|><|sor|>Corporate likes me right now, but if the situation ever changes I am pretty sure this method will keep me employed for a few extra years at least.<|eor|><|sor|>The last company I worked at had a big merger and they just straight up *gutted* tech. Lots of old systems were moved offshore and they had no idea how to support them anymore.
Maybe upper management thought are jobs just weren't that hard, and that cheaper employees could take over. Maybe they just wanted big bonuses for this year.
However, for the first year, stock prices had increased a lot, so shareholders were happy af.
Moral of the story - everyone is dispensable when the CEO doesn't give a shit about the company long term. <|eor|><|sor|>Seconded.<|eor|><|eols|><|endoftext|> | 167 |
programmerhumor | Freebandaids | do397bk | <|sols|><|sot|>What's New?<|eot|><|sol|>https://i.redd.it/ypdufrd1mmqz.jpg<|eol|><|sor|>Ah, the classic "I'm going to continue having a job for the next few weeks" update<|eor|><|sor|>Does that actually happen? Where someone leaves shitty code on purpose to extend a contract or have something to 'fix' later? <|eor|><|sor|>Theres a story Ive been told where a sys admin made the system check to see if his name was active in payroll. If not, system will crash.
I think its uncommon but happens.<|eor|><|sor|>That would be called a logic bomb <|eor|><|sor|>Nah, logic bombs tend to be more about some seemingly benign input having disastrous consequences on a system due to a logic loop or impossibility somewhere. This is much closer to a digital dead man's switch.<|eor|><|sor|>Definition per wikipedia article and every netsec textbook ever:
A logic bomb is a piece of code intentionally inserted into a software system that will set off a malicious function when specified conditions are met. For example, a programmer may hide a piece of code that starts deleting files (such as a salary database trigger), should they ever be terminated from the company.
Source 1: https://en.wikipedia.org/wiki/Logic_bomb
Source 2: https://www.sans.edu/cyber-research/security-laboratory/article/log-bmb-trp-door
Source 3: https://www.symantec.com/security_response/glossary/define.jsp?letter=l&word=logic-bomb<|eor|><|eols|><|endoftext|> | 156 |
programmerhumor | issamaysinalah | do3a36j | <|sols|><|sot|>What's New?<|eot|><|sol|>https://i.redd.it/ypdufrd1mmqz.jpg<|eol|><|sor|>Good, most releases add bugs never to be fixed.<|eor|><|sor|>this, at least they're being honest.<|eor|><|eols|><|endoftext|> | 127 |
programmerhumor | X-Craft | do36bgq | <|sols|><|sot|>What's New?<|eot|><|sol|>https://i.redd.it/ypdufrd1mmqz.jpg<|eol|><|sor|>That's a redundant statement, really
If you changed code, there *will be* a bug<|eor|><|eols|><|endoftext|> | 125 |
programmerhumor | twisterbite23 | 10jaeaw | <|sols|><|sot|>1 am programming be like<|eot|><|sol|>https://i.redd.it/nvbxwtqxltda1.jpg<|eol|><|eols|><|endoftext|> | 30,609 |
programmerhumor | GYN-k4H-Q3z-75B | j5ja2pu | <|sols|><|sot|>1 am programming be like<|eot|><|sol|>https://i.redd.it/nvbxwtqxltda1.jpg<|eol|><|sor|>Me when I get a new project idea.
Me when I try to name said project.<|eor|><|eols|><|endoftext|> | 788 |
programmerhumor | dev4loop | j5j7t7j | <|sols|><|sot|>1 am programming be like<|eot|><|sol|>https://i.redd.it/nvbxwtqxltda1.jpg<|eol|><|sor|>I have like 30 different named folders each with the idea of what I wanted to make and together take up space of around 30 empty folders<|eor|><|eols|><|endoftext|> | 580 |
programmerhumor | sebbdk | j5japeu | <|sols|><|sot|>1 am programming be like<|eot|><|sol|>https://i.redd.it/nvbxwtqxltda1.jpg<|eol|><|sor|>I dont stop until i'm 95% of the way there.
Gotta maximise the amount of guilt i feel for leaving it uncompleted.<|eor|><|eols|><|endoftext|> | 441 |
programmerhumor | mr_claw | j5je6vx | <|sols|><|sot|>1 am programming be like<|eot|><|sol|>https://i.redd.it/nvbxwtqxltda1.jpg<|eol|><|sor|>I have like 30 different named folders each with the idea of what I wanted to make and together take up space of around 30 empty folders<|eor|><|sor|>What a noob. Don't you know to use version control? You should have 30 empty git repositories instead.<|eor|><|eols|><|endoftext|> | 328 |
programmerhumor | warriorloewe | j5jqpt7 | <|sols|><|sot|>1 am programming be like<|eot|><|sol|>https://i.redd.it/nvbxwtqxltda1.jpg<|eol|><|sor|>I dont stop until i'm 95% of the way there.
Gotta maximise the amount of guilt i feel for leaving it uncompleted.<|eor|><|sor|>I stop around 50% when i know i can do it, it gets boring<|eor|><|eols|><|endoftext|> | 200 |
programmerhumor | Bryght7 | j5jbwyb | <|sols|><|sot|>1 am programming be like<|eot|><|sol|>https://i.redd.it/nvbxwtqxltda1.jpg<|eol|><|sor|>My "ideas" projects folder be like :
* a hello world source file
* a 500MB unused node\_modules folder<|eor|><|eols|><|endoftext|> | 174 |
programmerhumor | poeir | j5jzgg2 | <|sols|><|sot|>1 am programming be like<|eot|><|sol|>https://i.redd.it/nvbxwtqxltda1.jpg<|eol|><|sor|>Me when I get a new project idea.
Me when I try to name said project.<|eor|><|sor|>One possible strategy for naming new projects:
`sort -R /usr/share/dict/words`<|eor|><|eols|><|endoftext|> | 134 |
programmerhumor | thespud_332 | j5jjsqz | <|sols|><|sot|>1 am programming be like<|eot|><|sol|>https://i.redd.it/nvbxwtqxltda1.jpg<|eol|><|sor|>I have like 30 different named folders each with the idea of what I wanted to make and together take up space of around 30 empty folders<|eor|><|sor|>What a noob. Don't you know to use version control? You should have 30 empty git repositories instead.<|eor|><|sor|>What a noob. Don't you know git best practice? You should have 30 got repositories, each with an empty main, develop, and 3 empty feature branches.<|eor|><|eols|><|endoftext|> | 132 |
programmerhumor | qeadwrsf | j5jrozf | <|sols|><|sot|>1 am programming be like<|eot|><|sol|>https://i.redd.it/nvbxwtqxltda1.jpg<|eol|><|sor|>I dont stop until i'm 95% of the way there.
Gotta maximise the amount of guilt i feel for leaving it uncompleted.<|eor|><|sor|>I stop around 50% when i know i can do it, it gets boring<|eor|><|sor|>haha this.
Ok I made a chess board, I made pieces, I made all the moves, I made all the chess games states, I made pieces check for other pieces and edge of board so no illegal move can be created, Now I just need to glue all classes together and create UI! Fuck that, my tests is probably right and it will be super easy, lets do something else.<|eor|><|eols|><|endoftext|> | 122 |
programmerhumor | JollyJoker3 | j5jgo3i | <|sols|><|sot|>1 am programming be like<|eot|><|sol|>https://i.redd.it/nvbxwtqxltda1.jpg<|eol|><|sor|>You guys start coding your projects?<|eor|><|eols|><|endoftext|> | 109 |
programmerhumor | -null | j5kb6hd | <|sols|><|sot|>1 am programming be like<|eot|><|sol|>https://i.redd.it/nvbxwtqxltda1.jpg<|eol|><|sor|>Me when I get a new project idea.
Me when I try to name said project.<|eor|><|sor|>I've adopted the modern classic "Booger AIDS" naming convention.<|eor|><|sor|>Elaborate further<|eor|><|sor|>Just a joke. On the show Rick and Morty, the Rick character is self-admittedly bad at naming things. It's his go-to combination of words for a placeholder name. So there are a lot of things filed under Booger AIDS throughout the seasons.<|eor|><|eols|><|endoftext|> | 74 |
programmerhumor | -null | j5k7l8x | <|sols|><|sot|>1 am programming be like<|eot|><|sol|>https://i.redd.it/nvbxwtqxltda1.jpg<|eol|><|sor|>Me when I get a new project idea.
Me when I try to name said project.<|eor|><|sor|>I've adopted the modern classic "Booger AIDS" naming convention.<|eor|><|eols|><|endoftext|> | 66 |
programmerhumor | lilB0bbyTables | j5k7obk | <|sols|><|sot|>1 am programming be like<|eot|><|sol|>https://i.redd.it/nvbxwtqxltda1.jpg<|eol|><|sor|>You guys start coding your projects?<|eor|><|sor|>I know this is a joke and all but the problem most people have is that they go from I have an idea right to Im gonna jump in and start coding it (all giddy). Then they spend a day setting up the dependencies, configs, tooling and maybe fight with naming conventions, and perhaps at best create a readme which is both exhaustive with content and lacking usefulness.
Instead, you have to spend time iteratively drawing out the less sexy stuff: business plan (not that it has to be a proper business but at least define the problem space and solution set); high level architecture; diagrams; technology stacks; define your data structures and perhaps even your persistence schemas; define your APIs;
If you have all of that stuff done (I like to use draw.io for that stuff) - then you effectively have documented your thoughts and have a concrete way to create a roadmap. Having that should make it easier to sit down and tackle pieces one at a time, leave off for a period of time and come back to it with a much clearer path to continue your progress.
Or in my case youll have a bunch of project folders with great architectural design and documentation files but zero lines of code. And every few years you get to look at those and either say hey this idea was dumb as fuck or oh this was a brilliant idea, and since I last opened this, someone else actually created this solution and turned it into a business worth a ton of money.<|eor|><|eols|><|endoftext|> | 60 |
programmerhumor | Electronic-Bat-1830 | j5jaqfk | <|sols|><|sot|>1 am programming be like<|eot|><|sol|>https://i.redd.it/nvbxwtqxltda1.jpg<|eol|><|sor|>Me when I get a new project idea.
Me when I try to name said project.<|eor|><|sor|>r/angryupvote<|eor|><|eols|><|endoftext|> | 59 |
programmerhumor | Educational-Metal152 | j5jgd9b | <|sols|><|sot|>1 am programming be like<|eot|><|sol|>https://i.redd.it/nvbxwtqxltda1.jpg<|eol|><|sor|>I am currently 2 hours into a terrible game idea involving LWJGL3 which I have never used before, on a Java version way newer than what I'm used to (used to 8, using 19), and no OpenGL experience
how did I get to 2 hours????<|eor|><|sor|>Using Java for game development?
I see. So you have chosen death!<|eor|><|eols|><|endoftext|> | 48 |
programmerhumor | defietser | j5jg56o | <|sols|><|sot|>1 am programming be like<|eot|><|sol|>https://i.redd.it/nvbxwtqxltda1.jpg<|eol|><|sor|>Once you get past the scaffolding stage the fun begins. It's the stuff like authentication (if any), dependency injection, figuring out the data structure, making a hello world version of your project work on whatever blank slate machine you have work, that kind of thing.
By the time you get to build the stuff you're *actually* excited about, you're 3 months in and have lost track of why it was you were excited about it.
75% of projects die before I make a folder, 20% have various levels of implementation, and 5% are actually usable. The working stuff is also fun to tinker with since you can do it half an hour here and there instead of tracking down a misplaced character somewhere in the JSON output or whatever.<|eor|><|eols|><|endoftext|> | 46 |
programmerhumor | Quesodealer | j5k21lr | <|sols|><|sot|>1 am programming be like<|eot|><|sol|>https://i.redd.it/nvbxwtqxltda1.jpg<|eol|><|sor|>I dont stop until i'm 95% of the way there.
Gotta maximise the amount of guilt i feel for leaving it uncompleted.<|eor|><|sor|>Why go that far? Just start the project, Google your idea, realize it's been done at least 3 times (there's a commercial version and several open source projects), get disillusioned with the reality that you will never create anything original and if you do then you'll never be able to effectively monetize it because you're poor and by the time you market it there will be several replicas that may even do it better, then give up like the rest of us.<|eor|><|eols|><|endoftext|> | 45 |
programmerhumor | ilylily_ | j5je0m8 | <|sols|><|sot|>1 am programming be like<|eot|><|sol|>https://i.redd.it/nvbxwtqxltda1.jpg<|eol|><|sor|>I am currently 2 hours into a terrible game idea involving LWJGL3 which I have never used before, on a Java version way newer than what I'm used to (used to 8, using 19), and no OpenGL experience
how did I get to 2 hours????<|eor|><|eols|><|endoftext|> | 43 |
programmerhumor | freakin_anurag | h052mu | <|sols|><|sot|>Lemme Change variable names real quick......<|eot|><|sol|>https://i.redd.it/lzz08tcny0451.jpg<|eol|><|eols|><|endoftext|> | 30,571 |
programmerhumor | DecidedlyAmbigous | ftkb1xi | <|sols|><|sot|>Lemme Change variable names real quick......<|eot|><|sol|>https://i.redd.it/lzz08tcny0451.jpg<|eol|><|sor|>Only after spending way too long on it and not knowing how to explain yourself on why you wasted so much time if you could have just googled the answer.
I swear 80% of writing software is knowing what to look up.<|eor|><|eols|><|endoftext|> | 1,168 |
programmerhumor | eduarbio15 | ftkdljf | <|sols|><|sot|>Lemme Change variable names real quick......<|eot|><|sol|>https://i.redd.it/lzz08tcny0451.jpg<|eol|><|sor|>Only after spending way too long on it and not knowing how to explain yourself on why you wasted so much time if you could have just googled the answer.
I swear 80% of writing software is knowing what to look up.<|eor|><|sor|>sshuuuuusshhhhh Don't let them know, we would become jobless!<|eor|><|eols|><|endoftext|> | 464 |
programmerhumor | bowllord | ftkbl69 | <|sols|><|sot|>Lemme Change variable names real quick......<|eot|><|sol|>https://i.redd.it/lzz08tcny0451.jpg<|eol|><|sor|>Reminds me of the time when I was spending hours trying to do a certain task, then finding out a day later on stack overflow that there was literally a built-in function that does the very thing I spent hours doing.
Yes, I am pretty stupid.<|eor|><|eols|><|endoftext|> | 340 |
programmerhumor | NarutoDragon732 | ftkgcch | <|sols|><|sot|>Lemme Change variable names real quick......<|eot|><|sol|>https://i.redd.it/lzz08tcny0451.jpg<|eol|><|sor|>Only after spending way too long on it and not knowing how to explain yourself on why you wasted so much time if you could have just googled the answer.
I swear 80% of writing software is knowing what to look up.<|eor|><|sor|>sshuuuuusshhhhh Don't let them know, we would become jobless!<|eor|><|sor|>Searching, finding and even using it is a skill only IT guys have. That's what my professor kept saying to me<|eor|><|sor|>It's true. I've always wondered why I was able to find what I wanted in about half the time that it would take a regular person. Watching other people search for things just makes me want to take over and do it for them because of how painfully slow they are. You just kind of develop instincts for this kind of thing, what seems legit and what isn't.<|eor|><|eols|><|endoftext|> | 320 |
programmerhumor | MedonSirius | ftkfwm4 | <|sols|><|sot|>Lemme Change variable names real quick......<|eot|><|sol|>https://i.redd.it/lzz08tcny0451.jpg<|eol|><|sor|>Only after spending way too long on it and not knowing how to explain yourself on why you wasted so much time if you could have just googled the answer.
I swear 80% of writing software is knowing what to look up.<|eor|><|sor|>sshuuuuusshhhhh Don't let them know, we would become jobless!<|eor|><|sor|>Searching, finding and even using it is a skill only IT guys have. That's what my professor kept saying to me<|eor|><|eols|><|endoftext|> | 294 |
programmerhumor | NarutoDragon732 | ftkcmx5 | <|sols|><|sot|>Lemme Change variable names real quick......<|eot|><|sol|>https://i.redd.it/lzz08tcny0451.jpg<|eol|><|sor|>Reminds me of the time when I was spending hours trying to do a certain task, then finding out a day later on stack overflow that there was literally a built-in function that does the very thing I spent hours doing.
Yes, I am pretty stupid.<|eor|><|sor|>For one of my cs classes we had an assignment where we input numbers and have it output graphs. I looked at the template and realized that there's almost nothing that helps me graph. Any reasonable person would've asked the instructor on why there's nothing to at least get you started but my dumbass decided not to. Instead, I started literally building an entirely new library for just graphing. After 3 hours of work I started getting errors and was having a very difficult time so I asked the teacher. He looked at the code for a solid 2 seconds before calling me an idiot and saying we were supposed to use matplotlib.
To this day I still don't know whether to laugh at myself or call myself an idiot. Probably both.<|eor|><|eols|><|endoftext|> | 282 |
programmerhumor | nuclear_gandhii | ftkhmnh | <|sols|><|sot|>Lemme Change variable names real quick......<|eot|><|sol|>https://i.redd.it/lzz08tcny0451.jpg<|eol|><|sor|>Only after spending way too long on it and not knowing how to explain yourself on why you wasted so much time if you could have just googled the answer.
I swear 80% of writing software is knowing what to look up.<|eor|><|sor|>sshuuuuusshhhhh Don't let them know, we would become jobless!<|eor|><|sor|>Searching, finding and even using it is a skill only IT guys have. That's what my professor kept saying to me<|eor|><|sor|>It's true. I've always wondered why I was able to find what I wanted in about half the time that it would take a regular person. Watching other people search for things just makes me want to take over and do it for them because of how painfully slow they are. You just kind of develop instincts for this kind of thing, what seems legit and what isn't.<|eor|><|sor|>***Virgin regular internet user***
On Google: "How to replace a car tire on a 2012 Nissan 350z"
Reads every article carefully till he finds the one he likes.
Time taken: 30 minutes
***Chad elite internet user/programmer***
On Google: "Replace a car tire"
Only reads articles with pictures on it. No video/text walls.
Time taken: Shorter than I last in bed<|eor|><|eols|><|endoftext|> | 262 |
programmerhumor | whatnowwproductions | ftkhm08 | <|sols|><|sot|>Lemme Change variable names real quick......<|eot|><|sol|>https://i.redd.it/lzz08tcny0451.jpg<|eol|><|sor|>A whole code<|eor|><|eols|><|endoftext|> | 209 |
programmerhumor | socialismnotevenonce | ftkcp8b | <|sols|><|sot|>Lemme Change variable names real quick......<|eot|><|sol|>https://i.redd.it/lzz08tcny0451.jpg<|eol|><|sor|>What is a "whole code?"<|eor|><|eols|><|endoftext|> | 146 |
programmerhumor | NarutoDragon732 | ftkep9u | <|sols|><|sot|>Lemme Change variable names real quick......<|eot|><|sol|>https://i.redd.it/lzz08tcny0451.jpg<|eol|><|sor|>Reminds me of the time when I was spending hours trying to do a certain task, then finding out a day later on stack overflow that there was literally a built-in function that does the very thing I spent hours doing.
Yes, I am pretty stupid.<|eor|><|sor|>For one of my cs classes we had an assignment where we input numbers and have it output graphs. I looked at the template and realized that there's almost nothing that helps me graph. Any reasonable person would've asked the instructor on why there's nothing to at least get you started but my dumbass decided not to. Instead, I started literally building an entirely new library for just graphing. After 3 hours of work I started getting errors and was having a very difficult time so I asked the teacher. He looked at the code for a solid 2 seconds before calling me an idiot and saying we were supposed to use matplotlib.
To this day I still don't know whether to laugh at myself or call myself an idiot. Probably both.<|eor|><|sor|>I can feel the humility just by reading this<|eor|><|sor|>He announced it to the class and made damn sure I knew to never make that mistake again. I was notorious (Still kinda am) for over complicating things and writing shitty unoptimized long code. His way of fixing that was making people laugh at my code. Not just the class but also the seniors and juniors at the time. Which in a sense actually did work and motivated me to pay attention to what I'm writing.
My first year having him, he'd spend hours debugging my sorry excuse of code. I remember getting texts from his saying what caused my errors in python at 2 am and telling me to please learn to code or gtfo, all in good fun ofc. Lmao he was sick of it.<|eor|><|eols|><|endoftext|> | 141 |
programmerhumor | nuclear_gandhii | ftkjdy4 | <|sols|><|sot|>Lemme Change variable names real quick......<|eot|><|sol|>https://i.redd.it/lzz08tcny0451.jpg<|eol|><|sor|>Only after spending way too long on it and not knowing how to explain yourself on why you wasted so much time if you could have just googled the answer.
I swear 80% of writing software is knowing what to look up.<|eor|><|sor|>sshuuuuusshhhhh Don't let them know, we would become jobless!<|eor|><|sor|>Searching, finding and even using it is a skill only IT guys have. That's what my professor kept saying to me<|eor|><|sor|>It's true. I've always wondered why I was able to find what I wanted in about half the time that it would take a regular person. Watching other people search for things just makes me want to take over and do it for them because of how painfully slow they are. You just kind of develop instincts for this kind of thing, what seems legit and what isn't.<|eor|><|sor|>***Virgin regular internet user***
On Google: "How to replace a car tire on a 2012 Nissan 350z"
Reads every article carefully till he finds the one he likes.
Time taken: 30 minutes
***Chad elite internet user/programmer***
On Google: "Replace a car tire"
Only reads articles with pictures on it. No video/text walls.
Time taken: Shorter than I last in bed<|eor|><|sor|>Too many words, the a is superfluous<|eor|><|sor|>[deleted]<|eor|><|sor|>why waste time say lot word when few word do trick<|eor|><|eols|><|endoftext|> | 126 |
programmerhumor | bowllord | ftkd51z | <|sols|><|sot|>Lemme Change variable names real quick......<|eot|><|sol|>https://i.redd.it/lzz08tcny0451.jpg<|eol|><|sor|>Reminds me of the time when I was spending hours trying to do a certain task, then finding out a day later on stack overflow that there was literally a built-in function that does the very thing I spent hours doing.
Yes, I am pretty stupid.<|eor|><|sor|>For one of my cs classes we had an assignment where we input numbers and have it output graphs. I looked at the template and realized that there's almost nothing that helps me graph. Any reasonable person would've asked the instructor on why there's nothing to at least get you started but my dumbass decided not to. Instead, I started literally building an entirely new library for just graphing. After 3 hours of work I started getting errors and was having a very difficult time so I asked the teacher. He looked at the code for a solid 2 seconds before calling me an idiot and saying we were supposed to use matplotlib.
To this day I still don't know whether to laugh at myself or call myself an idiot. Probably both.<|eor|><|sor|>I can feel the humility just by reading this<|eor|><|eols|><|endoftext|> | 120 |
programmerhumor | simohayha | ftkldyr | <|sols|><|sot|>Lemme Change variable names real quick......<|eot|><|sol|>https://i.redd.it/lzz08tcny0451.jpg<|eol|><|sor|>A whole code<|eor|><|sor|>*a whole new code* <|eor|><|eols|><|endoftext|> | 70 |
programmerhumor | R4ttlesnake | ftkfkbr | <|sols|><|sot|>Lemme Change variable names real quick......<|eot|><|sol|>https://i.redd.it/lzz08tcny0451.jpg<|eol|><|sor|>Reminds me of the time when I was spending hours trying to do a certain task, then finding out a day later on stack overflow that there was literally a built-in function that does the very thing I spent hours doing.
Yes, I am pretty stupid.<|eor|><|sor|>For one of my cs classes we had an assignment where we input numbers and have it output graphs. I looked at the template and realized that there's almost nothing that helps me graph. Any reasonable person would've asked the instructor on why there's nothing to at least get you started but my dumbass decided not to. Instead, I started literally building an entirely new library for just graphing. After 3 hours of work I started getting errors and was having a very difficult time so I asked the teacher. He looked at the code for a solid 2 seconds before calling me an idiot and saying we were supposed to use matplotlib.
To this day I still don't know whether to laugh at myself or call myself an idiot. Probably both.<|eor|><|sor|>I can feel the humility just by reading this<|eor|><|sor|>He announced it to the class and made damn sure I knew to never make that mistake again. I was notorious (Still kinda am) for over complicating things and writing shitty unoptimized long code. His way of fixing that was making people laugh at my code. Not just the class but also the seniors and juniors at the time. Which in a sense actually did work and motivated me to pay attention to what I'm writing.
My first year having him, he'd spend hours debugging my sorry excuse of code. I remember getting texts from his saying what caused my errors in python at 2 am and telling me to please learn to code or gtfo, all in good fun ofc. Lmao he was sick of it.<|eor|><|sor|>good prof<|eor|><|eols|><|endoftext|> | 62 |
programmerhumor | autumnal_fling | ftkodjo | <|sols|><|sot|>Lemme Change variable names real quick......<|eot|><|sol|>https://i.redd.it/lzz08tcny0451.jpg<|eol|><|sor|>A whole code<|eor|><|sor|>*a whole new code* <|eor|><|sor|> A new fantastic pointer view <|eor|><|eols|><|endoftext|> | 56 |
programmerhumor | theghostofme | ftkl0st | <|sols|><|sot|>Lemme Change variable names real quick......<|eot|><|sol|>https://i.redd.it/lzz08tcny0451.jpg<|eol|><|sor|>What is a "whole code?"<|eor|><|sor|>Its the equivalent of heading for India but crashing into the Bahamas; a once-in-lifetime phenomenon where you fucked up so much that you inadvertently circled back to saving your ass by blindly stumbling into saving the entire project.
Or, more succinctly: a fairy tale.<|eor|><|eols|><|endoftext|> | 53 |
programmerhumor | _bingokites | ftkpit4 | <|sols|><|sot|>Lemme Change variable names real quick......<|eot|><|sol|>https://i.redd.it/lzz08tcny0451.jpg<|eol|><|sor|>A whole code<|eor|><|sor|>*a whole new code* <|eor|><|sor|> A new fantastic pointer view <|eor|><|sor|> No one to tell us *NULL* <|eor|><|eols|><|endoftext|> | 52 |
programmerhumor | brownntooth | ftke5yb | <|sols|><|sot|>Lemme Change variable names real quick......<|eot|><|sol|>https://i.redd.it/lzz08tcny0451.jpg<|eol|><|sor|>Only after spending way too long on it and not knowing how to explain yourself on why you wasted so much time if you could have just googled the answer.
I swear 80% of writing software is knowing what to look up.<|eor|><|sor|>Jr Software Googler<|eor|><|eols|><|endoftext|> | 51 |
programmerhumor | TheOnlyMisterFlow | h83mqx | <|sols|><|sot|>Parser be like<|eot|><|sol|>https://v.redd.it/q06zmhtt1n451<|eol|><|eols|><|endoftext|> | 30,563 |
programmerhumor | tired_rick | fuoqjlo | <|sols|><|sot|>Parser be like<|eot|><|sol|>https://v.redd.it/q06zmhtt1n451<|eol|><|sor|>I wonder what recursion looks like<|eor|><|eols|><|endoftext|> | 1,708 |
programmerhumor | TheOnlyMisterFlow | fuoqolv | <|sols|><|sot|>Parser be like<|eot|><|sol|>https://v.redd.it/q06zmhtt1n451<|eol|><|sor|>I wonder what recursion looks like<|eor|><|soopr|>I wonder what wondering about recursion looks like<|eoopr|><|eols|><|endoftext|> | 1,452 |
programmerhumor | DoctorStrangeBlood | fupey49 | <|sols|><|sot|>Parser be like<|eot|><|sol|>https://v.redd.it/q06zmhtt1n451<|eol|><|sor|>A meme for the cool Profs to use in the compiler class.<|eor|><|sor|>"Alright my fellow compu-wizards. Before we start, as usual I'll be showing all of you our daily may-may."<|eor|><|eols|><|endoftext|> | 590 |
programmerhumor | ToMaszuu | fuosyus | <|sols|><|sot|>Parser be like<|eot|><|sol|>https://v.redd.it/q06zmhtt1n451<|eol|><|sor|>I wonder what recursion looks like<|eor|><|soopr|>I wonder what wondering about recursion looks like<|eoopr|><|sor|>I wonder what wondering about wondering about recursion looks like<|eor|><|eols|><|endoftext|> | 498 |
programmerhumor | UbiquitousLedger | fuotxwo | <|sols|><|sot|>Parser be like<|eot|><|sol|>https://v.redd.it/q06zmhtt1n451<|eol|><|sor|>I wonder what recursion looks like<|eor|><|soopr|>I wonder what wondering about recursion looks like<|eoopr|><|sor|>I wonder what wondering about wondering about recursion looks like<|eor|><|sor|>I'm wondering wtf a recursion is in the first place.<|eor|><|sor|>this is the base case<|eor|><|eols|><|endoftext|> | 352 |
programmerhumor | UnemployedCoworker | fuoqz8q | <|sols|><|sot|>Parser be like<|eot|><|sol|>https://v.redd.it/q06zmhtt1n451<|eol|><|sor|>I'd this valid syntax tho?
I thought printf was from C and there is no formatted string here<|eor|><|eols|><|endoftext|> | 349 |
programmerhumor | TheOnlyMisterFlow | fuor6lh | <|sols|><|sot|>Parser be like<|eot|><|sol|>https://v.redd.it/q06zmhtt1n451<|eol|><|sor|>I'd this valid syntax tho?
I thought printf was from C and there is no formatted string here<|eor|><|soopr|>Yeah you're right it is not valid.
I was going to do it with console.log from JS but it was too tall so I replaced it with printf without really thinking tbh<|eoopr|><|eols|><|endoftext|> | 264 |
programmerhumor | Kaze_Senshi | fuoulvu | <|sols|><|sot|>Parser be like<|eot|><|sol|>https://v.redd.it/q06zmhtt1n451<|eol|><|sor|>A classic use of AST:
* Abstract
* Syntax
* Trance<|eor|><|eols|><|endoftext|> | 246 |
programmerhumor | Redemption_R | fuotbk8 | <|sols|><|sot|>Parser be like<|eot|><|sol|>https://v.redd.it/q06zmhtt1n451<|eol|><|sor|>I wonder what recursion looks like<|eor|><|soopr|>I wonder what wondering about recursion looks like<|eoopr|><|sor|>I wonder what wondering about wondering about recursion looks like<|eor|><|sor|>I'm wondering wtf a recursion is in the first place.<|eor|><|eols|><|endoftext|> | 233 |
programmerhumor | ShittyCompiler | fuov7hk | <|sols|><|sot|>Parser be like<|eot|><|sol|>https://v.redd.it/q06zmhtt1n451<|eol|><|sor|>I'd this valid syntax tho?
I thought printf was from C and there is no formatted string here<|eor|><|sor|>It's syntactically valid. If you do this in C, most compilers will just produce a gentle warning that you're using an integer as a pointer.<|eor|><|eols|><|endoftext|> | 178 |
programmerhumor | Tyflowshun | fupf6p4 | <|sols|><|sot|>Parser be like<|eot|><|sol|>https://v.redd.it/q06zmhtt1n451<|eol|><|sor|>A meme for the cool Profs to use in the compiler class.<|eor|><|sor|>"Alright my fellow compu-wizards. Before we start, as usual I'll be showing all of you our daily may-may."<|eor|><|sor|>The way I laughed at the pronunciation of Meme makes me think I should become a computer technologies teacher. Years ago when I was first introduced to the internet I remember calling it a may-may<|eor|><|eols|><|endoftext|> | 170 |
programmerhumor | RonSijm | fuozmee | <|sols|><|sot|>Parser be like<|eot|><|sol|>https://v.redd.it/q06zmhtt1n451<|eol|><|sor|>I wonder what recursion looks like<|eor|><|sor|>If you wonder about recursion, [just checkout this link](https://www.reddit.com/r/ProgrammerHumor/comments/h83mqx/parser_be_like/fuozmee/)<|eor|><|eols|><|endoftext|> | 167 |
programmerhumor | Terebo04 | fuout4z | <|sols|><|sot|>Parser be like<|eot|><|sol|>https://v.redd.it/q06zmhtt1n451<|eol|><|sor|>I'd this valid syntax tho?
I thought printf was from C and there is no formatted string here<|eor|><|soopr|>Yeah you're right it is not valid.
I was going to do it with console.log from JS but it was too tall so I replaced it with printf without really thinking tbh<|eoopr|><|sor|>print from python might work<|eor|><|eols|><|endoftext|> | 135 |
programmerhumor | dont_roast_me | fuozab6 | <|sols|><|sot|>Parser be like<|eot|><|sol|>https://v.redd.it/q06zmhtt1n451<|eol|><|sor|>I wonder what recursion looks like<|eor|><|soopr|>I wonder what wondering about recursion looks like<|eoopr|><|sor|>I wonder what wondering about wondering about recursion looks like<|eor|><|sor|>I'm wondering wtf a recursion is in the first place.<|eor|><|sor|>this is the base case<|eor|><|sor|>you are a base case<|eor|><|eols|><|endoftext|> | 122 |
programmerhumor | UnDosTresPescao | fuozzv4 | <|sols|><|sot|>Parser be like<|eot|><|sol|>https://v.redd.it/q06zmhtt1n451<|eol|><|sor|>No one has mentioned that 6*a happens before *b? Bad meme is not standard compliant.<|eor|><|eols|><|endoftext|> | 114 |
programmerhumor | dejaydev | fupo5pn | <|sols|><|sot|>Parser be like<|eot|><|sol|>https://v.redd.it/q06zmhtt1n451<|eol|><|sor|>[deleted]<|eor|><|sor|>Finally some good fucking food<|eor|><|eols|><|endoftext|> | 111 |
programmerhumor | misteick | zt9oov | <|sols|><|sot|>it works!! don't touch!!!<|eot|><|sol|>https://i.redd.it/kmtsw8mz9n7a1.jpg<|eol|><|eols|><|endoftext|> | 30,540 |
programmerhumor | MegaromStingscream | j1ckts3 | <|sols|><|sot|>it works!! don't touch!!!<|eot|><|sol|>https://i.redd.it/kmtsw8mz9n7a1.jpg<|eol|><|sor|>It works, but the time complexity is interesting because it scales based on the largest value instead of number of values.<|eor|><|eols|><|endoftext|> | 4,953 |
programmerhumor | paav-bhaji | j1ckutx | <|sols|><|sot|>it works!! don't touch!!!<|eot|><|sol|>https://i.redd.it/kmtsw8mz9n7a1.jpg<|eol|><|sor|>When using larger numbers, the user can sleep as well!<|eor|><|eols|><|endoftext|> | 3,985 |
programmerhumor | VivaLaVita555 | j1cv3sx | <|sols|><|sot|>it works!! don't touch!!!<|eot|><|sol|>https://i.redd.it/kmtsw8mz9n7a1.jpg<|eol|><|sor|>All fun and games until you have to sort the array [52,65000000,1]<|eor|><|eols|><|endoftext|> | 2,275 |
programmerhumor | Objective-Ad-8664 | j1cqb0v | <|sols|><|sot|>it works!! don't touch!!!<|eot|><|sol|>https://i.redd.it/kmtsw8mz9n7a1.jpg<|eol|><|sor|>People who say "if its stupid but its works, its not stupid" have never seen this solution.<|eor|><|eols|><|endoftext|> | 2,162 |
programmerhumor | TCOLSTATS | j1d2y87 | <|sols|><|sot|>it works!! don't touch!!!<|eot|><|sol|>https://i.redd.it/kmtsw8mz9n7a1.jpg<|eol|><|sor|>All fun and games until you have to sort the array [52,65000000,1]<|eor|><|sor|>Itd only take two years. Its fine.
My code is compiling<|eor|><|eols|><|endoftext|> | 1,249 |
programmerhumor | TheBrownMamba8 | j1cutcr | <|sols|><|sot|>it works!! don't touch!!!<|eot|><|sol|>https://i.redd.it/kmtsw8mz9n7a1.jpg<|eol|><|sor|>It works, but the time complexity is interesting because it scales based on the largest value instead of number of values.<|eor|><|sor|>O(wtf)<|eor|><|sor|>O(wtf) time, O(this shit too big) space<|eor|><|eols|><|endoftext|> | 1,120 |
programmerhumor | thelostcreator | j1cn78r | <|sols|><|sot|>it works!! don't touch!!!<|eot|><|sol|>https://i.redd.it/kmtsw8mz9n7a1.jpg<|eol|><|sor|>Couldnt elements printing time be off due to the time it takes to iterate through the array given a large enough array?
This would only work if every thread for each element starts at the same time.<|eor|><|eols|><|endoftext|> | 962 |
programmerhumor | MrTase | j1cnq0x | <|sols|><|sot|>it works!! don't touch!!!<|eot|><|sol|>https://i.redd.it/kmtsw8mz9n7a1.jpg<|eol|><|sor|>Couldnt elements printing time be off due to the time it takes to iterate through the array given a large enough array?
This would only work if every thread for each element starts at the same time.<|eor|><|sor|>Multiply each element in the vector by 10 to give you more processing time<|eor|><|eols|><|endoftext|> | 850 |
programmerhumor | HellaDev | j1dh694 | <|sols|><|sot|>it works!! don't touch!!!<|eot|><|sol|>https://i.redd.it/kmtsw8mz9n7a1.jpg<|eol|><|sor|>All fun and games until you have to sort the array [52,65000000,1]<|eor|><|sor|>Itd only take two years. Its fine.
My code is compiling<|eor|><|sor|>All I'm hearing is at least two years of job security.<|eor|><|eols|><|endoftext|> | 664 |
programmerhumor | djlywtf | j1crfij | <|sols|><|sot|>it works!! don't touch!!!<|eot|><|sol|>https://i.redd.it/kmtsw8mz9n7a1.jpg<|eol|><|sor|>When using larger numbers, the user can sleep as well!<|eor|><|sor|>sleep by ns?<|eor|><|eols|><|endoftext|> | 609 |
programmerhumor | misteick | j1cl4fm | <|sols|><|sot|>it works!! don't touch!!!<|eot|><|sol|>https://i.redd.it/kmtsw8mz9n7a1.jpg<|eol|><|sor|>It works, but the time complexity is interesting because it scales based on the largest value instead of number of values.<|eor|><|soopr|>So it's both the most efficient and not efficient st the same time<|eoopr|><|eols|><|endoftext|> | 554 |
programmerhumor | No_Airport_6118 | j1clvun | <|sols|><|sot|>it works!! don't touch!!!<|eot|><|sol|>https://i.redd.it/kmtsw8mz9n7a1.jpg<|eol|><|sor|>Finally. Some good fucking code.<|eor|><|eols|><|endoftext|> | 532 |
programmerhumor | ZacharyRock | j1cqozv | <|sols|><|sot|>it works!! don't touch!!!<|eot|><|sol|>https://i.redd.it/kmtsw8mz9n7a1.jpg<|eol|><|sor|>It works, but the time complexity is interesting because it scales based on the largest value instead of number of values.<|eor|><|soopr|>So it's both the most efficient and not efficient st the same time<|eoopr|><|sor|>Its O(n + k) - n for creating the threads, k for the sleep (where k is the max # allowed). k will generally dominate because, well, the UNIX minimum sleep amount is like 10ms and thats over a million instructions on a 100 MHz processor, making this about as useful as counting sort but still way way way worse.
If you want something that scales similarly, check out radix sort - its O( n log(k) ), where k is the max number representable.
Its the best sort for arrays which have tons of duplicates (like, 50 million uint32s - anything where the pidgenhole principle requires duplicates) since k is relativly small, so it behaves almost like an O(n) sort.<|eor|><|eols|><|endoftext|> | 502 |
programmerhumor | Bloody_Insane | j1d0lsu | <|sols|><|sot|>it works!! don't touch!!!<|eot|><|sol|>https://i.redd.it/kmtsw8mz9n7a1.jpg<|eol|><|sor|>It works, but the time complexity is interesting because it scales based on the largest value instead of number of values.<|eor|><|sor|>O(wtf)<|eor|><|sor|>O(wtf) time, O(this shit too big) space<|eor|><|sor|>O(shit)<|eor|><|eols|><|endoftext|> | 494 |
programmerhumor | paav-bhaji | j1cs1x5 | <|sols|><|sot|>it works!! don't touch!!!<|eot|><|sol|>https://i.redd.it/kmtsw8mz9n7a1.jpg<|eol|><|sor|>When using larger numbers, the user can sleep as well!<|eor|><|sor|>sleep by ns?<|eor|><|sor|>If user enters maximum number allowed by sleep, that is 2147483647, then it will take around 68years to finish when that is the only number in the list.<|eor|><|eols|><|endoftext|> | 489 |
programmerhumor | The_Clarence | j1d4eer | <|sols|><|sot|>it works!! don't touch!!!<|eot|><|sol|>https://i.redd.it/kmtsw8mz9n7a1.jpg<|eol|><|sor|>Couldnt elements printing time be off due to the time it takes to iterate through the array given a large enough array?
This would only work if every thread for each element starts at the same time.<|eor|><|sor|>Multiply each element in the vector by 10 to give you more processing time<|eor|><|sor|>Coffee Break Sort<|eor|><|eols|><|endoftext|> | 468 |
programmerhumor | indoninjah | j1dcmis | <|sols|><|sot|>it works!! don't touch!!!<|eot|><|sol|>https://i.redd.it/kmtsw8mz9n7a1.jpg<|eol|><|sor|>People who say "if its stupid but its works, its not stupid" have never seen this solution.<|eor|><|sor|>I doubt this actually reliably works haha<|eor|><|eols|><|endoftext|> | 382 |
programmerhumor | No-Witness2349 | j1dtbzt | <|sols|><|sot|>it works!! don't touch!!!<|eot|><|sol|>https://i.redd.it/kmtsw8mz9n7a1.jpg<|eol|><|sor|>People who say "if its stupid but its works, its not stupid" have never seen this solution.<|eor|><|sor|>I doubt this actually reliably works haha<|eor|><|sor|>Ive tried to implement it. Race conditions abound. The algorithm basically assumes that the underlying code can run in 0 ms.
Edit: people seem to be really latching onto the 0 ms bit as a literal value. I used a fuzz factor which was just a coefficient to scale the sleep times by. Id adjust it as I was testing, which worked pretty well.
Sure, 1 second (fuzz=1000) is long enough for most inputs. Its also large enough that even relatively small inputs would be impractical to test.
For any given input, there will always be a fuzz factor which will avoid race conditions. My point is that the fuzz factor needed to be adjusted and tweaked more often than Id have expected as I was writing. Theres just a lot of edge cases, especially if youre trying to minimize the necessity of the fuzz factor.<|eor|><|eols|><|endoftext|> | 340 |
programmerhumor | Submarine-Goat | j1co47x | <|sols|><|sot|>it works!! don't touch!!!<|eot|><|sol|>https://i.redd.it/kmtsw8mz9n7a1.jpg<|eol|><|sor|>I haven't bashed in a while, but I think the time efficiency could be improved with this:
`sleep $1 / 1000` instead of `sleep $1`.<|eor|><|eols|><|endoftext|> | 298 |
programmerhumor | MrLambNugget | 9zflz9 | <|sols|><|sot|>There's meowing duck in Amazon source code<|eot|><|sol|>https://i.redd.it/zcgf35jkuwz11.jpg<|eol|><|eols|><|endoftext|> | 30,543 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.