subreddit stringclasses 7
values | author stringlengths 3 20 | id stringlengths 5 7 | content stringlengths 67 30.4k | score int64 0 140k |
|---|---|---|---|---|
programmerhumor | nystro | gwredrb | <|sols|><|sot|>Confused screams<|eot|><|sol|>https://i.redd.it/wudbck9rhuw61.jpg<|eol|><|sor|>I swear for the longest time whenever I clicked Exit Game on Heroes of the Storm it gave me a notification saying the program crashed. You can't convince me they didn't do exactly this.<|eor|><|eols|><|endoftext|> | 963 |
programmerhumor | w0lven | gwrepgq | <|sols|><|sot|>Confused screams<|eot|><|sol|>https://i.redd.it/wudbck9rhuw61.jpg<|eol|><|sor|>Manager: "But now a window comes up saying that program.exe has encountered a problem and needs to close. Could you take a look at that?"
Me: \*disables window bug reporting\*<|eor|><|sor|>If nothing shows up, everything works! I like it
Edited: typo<|eor|><|eols|><|endoftext|> | 859 |
programmerhumor | idkiminsecure | gwrhv59 | <|sols|><|sot|>Confused screams<|eot|><|sol|>https://i.redd.it/wudbck9rhuw61.jpg<|eol|><|sor|>The story said "when they click the button the app should be gone".
I just took the shortest path to the objective.<|eor|><|sor|>You Didnt specify which button has to close the app so you get the "submit information" button
Oh those hundreds of warnings and 5 errors, dont worry bout em<|eor|><|eols|><|endoftext|> | 479 |
programmerhumor | imcoveredinbees880 | gwrj4hj | <|sols|><|sot|>Confused screams<|eot|><|sol|>https://i.redd.it/wudbck9rhuw61.jpg<|eol|><|sor|>Manager: "But now a window comes up saying that program.exe has encountered a problem and needs to close. Could you take a look at that?"
Me: \*disables window bug reporting\*<|eor|><|sor|>Reminds me of Wing Commander. On exiting the game, it would cause a memory error. And since they had no time to fix it, they just changed the error message to
"Thanks for playing Wing Commander"<|eor|><|sor|>Yeah, but that's brilliant!<|eor|><|eols|><|endoftext|> | 408 |
programmerhumor | EuroPolice | gwrm6i0 | <|sols|><|sot|>Confused screams<|eot|><|sol|>https://i.redd.it/wudbck9rhuw61.jpg<|eol|><|sor|>The story said "when they click the button the app should be gone".
I just took the shortest path to the objective.<|eor|><|sor|>You Didnt specify which button has to close the app so you get the "submit information" button
Oh those hundreds of warnings and 5 errors, dont worry bout em<|eor|><|sor|>My IDE looks like the Catalonian flag<|eor|><|eols|><|endoftext|> | 358 |
programmerhumor | caskey | gwrlz9s | <|sols|><|sot|>Confused screams<|eot|><|sol|>https://i.redd.it/wudbck9rhuw61.jpg<|eol|><|sor|>Manager: "But now a window comes up saying that program.exe has encountered a problem and needs to close. Could you take a look at that?"
Me: \*disables window bug reporting\*<|eor|><|sor|>Reminds me of Wing Commander. On exiting the game, it would cause a memory error. And since they had no time to fix it, they just changed the error message to
"Thanks for playing Wing Commander"<|eor|><|sor|>Oh the crimes we used to commit back in my game dev days. Undesirable output, just change the VESA mode to make it go away. Weird latency problems? Just add an extra UI dialog that requires a click to distract and slow the user down and buy us a few more ms.<|eor|><|eols|><|endoftext|> | 337 |
programmerhumor | MattR0se | gwrjlv2 | <|sols|><|sot|>Confused screams<|eot|><|sol|>https://i.redd.it/wudbck9rhuw61.jpg<|eol|><|sor|>I swear for the longest time whenever I clicked Exit Game on Heroes of the Storm it gave me a notification saying the program crashed. You can't convince me they didn't do exactly this.<|eor|><|sor|>I've heard of a game that crashed when you saved it. So the developers renamed the button from "Save" to "Save and exit".
It's a feature, not a bug :)
Edit: Spelling<|eor|><|sor|>I mean, as long as it saves...<|eor|><|eols|><|endoftext|> | 293 |
programmerhumor | steven520111 | gws1kwo | <|sols|><|sot|>Confused screams<|eot|><|sol|>https://i.redd.it/wudbck9rhuw61.jpg<|eol|><|sor|>Manager: "But now a window comes up saying that program.exe has encountered a problem and needs to close. Could you take a look at that?"
Me: \*disables window bug reporting\*<|eor|><|sor|>If nothing shows up, everything works! I like it
Edited: typo<|eor|><|sor|>On Error Resume Next<|eor|><|sor|>In college we were just learning c# forms and I had a bug that was causing crashing. Had no idea how to fix it and the teach didn't help. I changed the program so that when it got the error it instead saved the location and the other data to a file. It then relaunched the program. If the file was there when it opened it would go to that location and load the data. Then deleted the file in case the program was opened later. Worked like 95% of the time and got 100%. Never been more proud of a pile of garbage<|eor|><|eols|><|endoftext|> | 275 |
programmerhumor | Hellothere_1 | gwrg5vu | <|sols|><|sot|>Confused screams<|eot|><|sol|>https://i.redd.it/wudbck9rhuw61.jpg<|eol|><|sor|>This reminds of the story where during the development of Wing Commander, just a few days before shipping they realized that closing the game caused a crash.
They didn't have time to find and fix the issue, so instead they just changed the error message in the pop-up window to "Thank you for playing Wing Commander!"<|eor|><|eols|><|endoftext|> | 263 |
programmerhumor | Zenlura | gwrjken | <|sols|><|sot|>Confused screams<|eot|><|sol|>https://i.redd.it/wudbck9rhuw61.jpg<|eol|><|sor|>Manager: "But now a window comes up saying that program.exe has encountered a problem and needs to close. Could you take a look at that?"
Me: \*disables window bug reporting\*<|eor|><|sor|>Reminds me of Wing Commander. On exiting the game, it would cause a memory error. And since they had no time to fix it, they just changed the error message to
"Thanks for playing Wing Commander"<|eor|><|sor|>Yeah, but that's brilliant!<|eor|><|sor|>"Work smart, not hard" in it's purest form.<|eor|><|eols|><|endoftext|> | 240 |
programmerhumor | Nimbal | gwrnok3 | <|sols|><|sot|>Confused screams<|eot|><|sol|>https://i.redd.it/wudbck9rhuw61.jpg<|eol|><|sor|>Manager: "But now a window comes up saying that program.exe has encountered a problem and needs to close. Could you take a look at that?"
Me: \*disables window bug reporting\*<|eor|><|sor|>Reminds me of Wing Commander. On exiting the game, it would cause a memory error. And since they had no time to fix it, they just changed the error message to
"Thanks for playing Wing Commander"<|eor|><|sor|>Oh the crimes we used to commit back in my game dev days. Undesirable output, just change the VESA mode to make it go away. Weird latency problems? Just add an extra UI dialog that requires a click to distract and slow the user down and buy us a few more ms.<|eor|><|sor|>Now I wonder whether those useless "Press Start to continue" prompts when starting up a console game are just a cargo cult around latency problems that have been fixed long ago.<|eor|><|eols|><|endoftext|> | 238 |
programmerhumor | Progmir | gwrouh5 | <|sols|><|sot|>Confused screams<|eot|><|sol|>https://i.redd.it/wudbck9rhuw61.jpg<|eol|><|sor|>Manager: "But now a window comes up saying that program.exe has encountered a problem and needs to close. Could you take a look at that?"
Me: \*disables window bug reporting\*<|eor|><|sor|>Reminds me of Wing Commander. On exiting the game, it would cause a memory error. And since they had no time to fix it, they just changed the error message to
"Thanks for playing Wing Commander"<|eor|><|sor|>Oh the crimes we used to commit back in my game dev days. Undesirable output, just change the VESA mode to make it go away. Weird latency problems? Just add an extra UI dialog that requires a click to distract and slow the user down and buy us a few more ms.<|eor|><|sor|>Now I wonder whether those useless "Press Start to continue" prompts when starting up a console game are just a cargo cult around latency problems that have been fixed long ago.<|eor|><|sor|>It's a requirement from Microsoft and Sony actually. You have to do screens like this to release on consoles. I think it might be related to how slow loading screen can be, they want players to pay attention when the game is about to start.<|eor|><|eols|><|endoftext|> | 191 |
programmerhumor | Cifer_21 | gwrxi8w | <|sols|><|sot|>Confused screams<|eot|><|sol|>https://i.redd.it/wudbck9rhuw61.jpg<|eol|><|sor|>Manager: "But now a window comes up saying that program.exe has encountered a problem and needs to close. Could you take a look at that?"
Me: \*disables window bug reporting\*<|eor|><|sor|>If nothing shows up, everything works! I like it
Edited: typo<|eor|><|sor|>On Error Resume Next<|eor|><|eols|><|endoftext|> | 172 |
programmerhumor | Laurelinthegold | gwrgzqw | <|sols|><|sot|>Confused screams<|eot|><|sol|>https://i.redd.it/wudbck9rhuw61.jpg<|eol|><|sor|>The OS is my garbage collector<|eor|><|eols|><|endoftext|> | 135 |
programmerhumor | Strange_Dragonfly964 | 12493pv | <|sols|><|sot|>Programmers are never appreciated<|eot|><|sol|>https://i.redd.it/nn634b0iifqa1.jpg<|eol|><|eols|><|endoftext|> | 45,109 |
programmerhumor | Strange_Dragonfly964 | jdys4dv | <|sols|><|sot|>Programmers are never appreciated<|eot|><|sol|>https://i.redd.it/nn634b0iifqa1.jpg<|eol|><|sor|>[deleted]<|eor|><|soopr|>I thought i was doing great, until i found that my award for doing good work is >!more work!<<|eoopr|><|eols|><|endoftext|> | 2,183 |
programmerhumor | KimonoDragon814 | jdz3b16 | <|sols|><|sot|>Programmers are never appreciated<|eot|><|sol|>https://i.redd.it/nn634b0iifqa1.jpg<|eol|><|sor|>[deleted]<|eor|><|soopr|>I thought i was doing great, until i found that my award for doing good work is >!more work!<<|eoopr|><|sor|>One thing I like to do to stop that is to stagger my work.
I got a 10 day sprint and 2 user stories.
Finish 1st user story in 2 days, hand in on day 4.
Finish second story in 2 days hand in on day 8
Take extra user story or bugs and hand in on final day.
You always get your work done ahead so you look good, but not too good to get piled up and exploited then burnt out.<|eor|><|eols|><|endoftext|> | 1,173 |
programmerhumor | rusty_jumper_cables | jdypj57 | <|sols|><|sot|>Programmers are never appreciated<|eot|><|sol|>https://i.redd.it/nn634b0iifqa1.jpg<|eol|><|sor|>Tip: hit half of the target every sprint.<|eor|><|eols|><|endoftext|> | 1,112 |
programmerhumor | Abadazed | jdyqxnq | <|sols|><|sot|>Programmers are never appreciated<|eot|><|sol|>https://i.redd.it/nn634b0iifqa1.jpg<|eol|><|sor|>Tip: hit half of the target every sprint.<|eor|><|sor|>I say hit 3/4s that way it looks like you tried even if ya only half assed it.<|eor|><|eols|><|endoftext|> | 571 |
programmerhumor | GlassWasteland | jdyxxce | <|sols|><|sot|>Programmers are never appreciated<|eot|><|sol|>https://i.redd.it/nn634b0iifqa1.jpg<|eol|><|sor|>Well see your problem was working over time to hit your targets and letting them assume their estimates were right. Do not do that. If you can't get it done in 40 then miss that fucking deadline, because you are only getting paid for 40.
"Crunch time" is bullshit, all that means is management did not plan correctly or is trying to squeeze you for more money for them by forcing you to work unpaid overtime. Tell them to go fuck themselves, the worst they can do is fire you, but so what?
Been fired five times in my career and never regretted it, ever. I always landed on my feet with a higher salary and even better benefits. They need us, we don't need them.<|eor|><|eols|><|endoftext|> | 516 |
programmerhumor | one_hyun | jdysub1 | <|sols|><|sot|>Programmers are never appreciated<|eot|><|sol|>https://i.redd.it/nn634b0iifqa1.jpg<|eol|><|sor|>[deleted]<|eor|><|sor|>God, yes. I was a great employee and now they've piled up so much work on me that I don't have enough time to finish them. Mark of a terrible manager.
I'm quitting and moving on.<|eor|><|eols|><|endoftext|> | 507 |
programmerhumor | ihab-mardoud | jdypltv | <|sols|><|sot|>Programmers are never appreciated<|eot|><|sol|>https://i.redd.it/nn634b0iifqa1.jpg<|eol|><|sor|>The prize for ending work fast is more work<|eor|><|eols|><|endoftext|> | 334 |
programmerhumor | droi86 | jdyqgba | <|sols|><|sot|>Programmers are never appreciated<|eot|><|sol|>https://i.redd.it/nn634b0iifqa1.jpg<|eol|><|sor|>The reward for being a fast and efficient worker is more work<|eor|><|eols|><|endoftext|> | 304 |
programmerhumor | itazillian | jdzjenj | <|sols|><|sot|>Programmers are never appreciated<|eot|><|sol|>https://i.redd.it/nn634b0iifqa1.jpg<|eol|><|sor|>[deleted]<|eor|><|soopr|>I thought i was doing great, until i found that my award for doing good work is >!more work!<<|eoopr|><|sor|>One thing I like to do to stop that is to stagger my work.
I got a 10 day sprint and 2 user stories.
Finish 1st user story in 2 days, hand in on day 4.
Finish second story in 2 days hand in on day 8
Take extra user story or bugs and hand in on final day.
You always get your work done ahead so you look good, but not too good to get piled up and exploited then burnt out.<|eor|><|sor|>This is something I need to start doing...
I've been trying for a promotion for the past 6 months or so by taking on work outside of my job description. It gets me more experience and I get to work on some fun programming projects.
But lately I've been getting handed small projects and people ask me how long it will take to complete and I tell them a couple hours and get odd looks like they're expecting weeks.
Now I'm just getting more and more stuff and while it looks good on my resume... man is it a lot.<|eor|><|sor|>
>I've been trying for a promotion for the past 6 months or so by taking on work outside of my job description. It gets me more experience and I get to work on some fun programming projects.
>But lately I've been getting handed small projects and people ask me how long it will take to complete and I tell them a couple hours and get odd looks like they're expecting weeks.
Oh boy, you better start looking for your next job, all this extra shit just became your full responsibility, congratulations.<|eor|><|eols|><|endoftext|> | 302 |
programmerhumor | throwawaylorekeeper | jdze9fc | <|sols|><|sot|>Programmers are never appreciated<|eot|><|sol|>https://i.redd.it/nn634b0iifqa1.jpg<|eol|><|sor|>[deleted]<|eor|><|soopr|>I thought i was doing great, until i found that my award for doing good work is >!more work!<<|eoopr|><|sor|>One thing I like to do to stop that is to stagger my work.
I got a 10 day sprint and 2 user stories.
Finish 1st user story in 2 days, hand in on day 4.
Finish second story in 2 days hand in on day 8
Take extra user story or bugs and hand in on final day.
You always get your work done ahead so you look good, but not too good to get piled up and exploited then burnt out.<|eor|><|sor|>[removed]<|eor|><|sor|>You get good salary by hopping jobs and bluffing.<|eor|><|eols|><|endoftext|> | 298 |
programmerhumor | Chickon | jdzhhuv | <|sols|><|sot|>Programmers are never appreciated<|eot|><|sol|>https://i.redd.it/nn634b0iifqa1.jpg<|eol|><|sor|>[deleted]<|eor|><|soopr|>I thought i was doing great, until i found that my award for doing good work is >!more work!<<|eoopr|><|sor|>One thing I like to do to stop that is to stagger my work.
I got a 10 day sprint and 2 user stories.
Finish 1st user story in 2 days, hand in on day 4.
Finish second story in 2 days hand in on day 8
Take extra user story or bugs and hand in on final day.
You always get your work done ahead so you look good, but not too good to get piled up and exploited then burnt out.<|eor|><|sor|>This is something I need to start doing...
I've been trying for a promotion for the past 6 months or so by taking on work outside of my job description. It gets me more experience and I get to work on some fun programming projects.
But lately I've been getting handed small projects and people ask me how long it will take to complete and I tell them a couple hours and get odd looks like they're expecting weeks.
Now I'm just getting more and more stuff and while it looks good on my resume... man is it a lot.<|eor|><|eols|><|endoftext|> | 261 |
programmerhumor | The_Atomic_Duck | jdyq9q2 | <|sols|><|sot|>Programmers are never appreciated<|eot|><|sol|>https://i.redd.it/nn634b0iifqa1.jpg<|eol|><|sor|>That's true about any type of work. don't make it look like your work is easy even if it is, you're just gonna get more of it<|eor|><|eols|><|endoftext|> | 182 |
programmerhumor | Strange_Dragonfly964 | jdysjvh | <|sols|><|sot|>Programmers are never appreciated<|eot|><|sol|>https://i.redd.it/nn634b0iifqa1.jpg<|eol|><|sor|>Tip: hit half of the target every sprint.<|eor|><|soopr|>Why do something right when you can do it halfway? It's the perfect solution for when you want to avoid putting in too much effort, but also want to maintain the illusion of productivity. Genius!<|eoopr|><|eols|><|endoftext|> | 170 |
programmerhumor | Strange_Dragonfly964 | jdytm5r | <|sols|><|sot|>Programmers are never appreciated<|eot|><|sol|>https://i.redd.it/nn634b0iifqa1.jpg<|eol|><|sor|>[deleted]<|eor|><|sor|>God, yes. I was a great employee and now they've piled up so much work on me that I don't have enough time to finish them. Mark of a terrible manager.
I'm quitting and moving on.<|eor|><|soopr|>Taking care of your health and well-being should always be a top priority, especially when work stress starts to take its toll. I hope your next job will be a better fit, with a manager who appreciates your hard work and doesn't pile on the tasks until you drown!<|eoopr|><|eols|><|endoftext|> | 162 |
programmerhumor | Da_Boom | jdz9auj | <|sols|><|sot|>Programmers are never appreciated<|eot|><|sol|>https://i.redd.it/nn634b0iifqa1.jpg<|eol|><|sor|>[deleted]<|eor|><|soopr|>I thought i was doing great, until i found that my award for doing good work is >!more work!<<|eoopr|><|sor|>Just work for the government.. wanna know why the government has such trouble with IT? Most of the guys who work in government IT just sit around waiting for all the required departmental and treasury approvals. For. Each. Stage. Of. The. Project. With revisions too!
Once they come through... It gets crazy fast as the deadlines come thick and fast.. but there's always a large gap where you've got more time on your hands than you know what to do with.
EDIT: just wanted to add.. it's interesting to hear from people who work for the Gov in different countries agreeing. Least I know they're all as good or bad as the next.<|eor|><|eols|><|endoftext|> | 131 |
programmerhumor | Zeitsplice | jdyyf6b | <|sols|><|sot|>Programmers are never appreciated<|eot|><|sol|>https://i.redd.it/nn634b0iifqa1.jpg<|eol|><|sor|>[deleted]<|eor|><|sor|>Legit told my manager at my current job during the hiring interview that I was primarily interested in maintaining a sustainable workload and wouldnt burn myself out chasing a promo. They were okay with it and its turned out to be so much better for my mental health
edit: pomo -> promo<|eor|><|eols|><|endoftext|> | 125 |
programmerhumor | calantorntain | 84vsoo | <|sols|><|sot|>Everyone's doing it!<|eot|><|sol|>https://i.redd.it/w546ujwux4m01.png<|eol|><|eols|><|endoftext|> | 45,069 |
programmerhumor | Stop_Sign | dvsqj38 | <|sols|><|sot|>Everyone's doing it!<|eot|><|sol|>https://i.redd.it/w546ujwux4m01.png<|eol|><|sor|>There's probably a legitimate reason if they're doing it<|eor|><|eols|><|endoftext|> | 3,967 |
programmerhumor | DenkouNova | dvsqpxk | <|sols|><|sot|>Everyone's doing it!<|eot|><|sol|>https://i.redd.it/w546ujwux4m01.png<|eol|><|sor|>There's probably a legitimate reason if they're doing it<|eor|><|sor|>[related xkcd](https://xkcd.com/1170/)<|eor|><|eols|><|endoftext|> | 3,338 |
programmerhumor | jb2386 | dvssq3i | <|sols|><|sot|>Everyone's doing it!<|eot|><|sol|>https://i.redd.it/w546ujwux4m01.png<|eol|><|sor|>Just like that twitter bot. Was it Microsoft's? The one that learned from people on twitter or something and ended up becoming racist. <|eor|><|eols|><|endoftext|> | 1,517 |
programmerhumor | asquared31415 | dvstgpu | <|sols|><|sot|>Everyone's doing it!<|eot|><|sol|>https://i.redd.it/w546ujwux4m01.png<|eol|><|sor|>There's probably a legitimate reason if they're doing it<|eor|><|sor|>[related xkcd](https://xkcd.com/1170/)<|eor|><|sor|>As always.<|eor|><|eols|><|endoftext|> | 1,004 |
programmerhumor | username_is_taken43 | dvstafe | <|sols|><|sot|>Everyone's doing it!<|eot|><|sol|>https://i.redd.it/w546ujwux4m01.png<|eol|><|sor|>Just like that twitter bot. Was it Microsoft's? The one that learned from people on twitter or something and ended up becoming racist. <|eor|><|sor|>Bad parenting, he was not supposed to use social media until 13 unsupervised<|eor|><|eols|><|endoftext|> | 892 |
programmerhumor | FatFingerHelperBot | dvszt97 | <|sols|><|sot|>Everyone's doing it!<|eot|><|sol|>https://i.redd.it/w546ujwux4m01.png<|eol|><|sor|>There's probably a legitimate reason if they're doing it<|eor|><|sor|>[related xkcd](https://xkcd.com/1170/)<|eor|><|sor|>As always.<|eor|><|sor|>As is tradition<|eor|><|sor|>I'm still waiting until Randall exhausts literally every topic in the universe. And then it just becomes increasingly meta.<|eor|><|sor|>[M](https://xkcd.com/244/)
[E](https://xkcd.com/1447/)
[T](https://xkcd.com/917/)
[A](https://xkcd.com/688/)<|eor|><|sor|>It seems that your comment contains 1 or more links that are hard to tap for mobile users.
I will extend those so they're easier for our sausage fingers to click!
[Here is link number 1](https://xkcd.com/244/) - Previous text "M"
[Here is link number 2](https://xkcd.com/1447/) - Previous text "E"
[Here is link number 3](https://xkcd.com/917/) - Previous text "T"
[Here is link number 4](https://xkcd.com/688/) - Previous text "A"
----
^Please ^PM ^/u/eganwall ^with ^issues ^or ^feedback! ^| ^[Delete](https://reddit.com/message/compose/?to=FatFingerHelperBot&subject=delete&message=delete%20dvszt97)
<|eor|><|eols|><|endoftext|> | 676 |
programmerhumor | wotanii | dvsvkng | <|sols|><|sot|>Everyone's doing it!<|eot|><|sol|>https://i.redd.it/w546ujwux4m01.png<|eol|><|sor|>There's probably a legitimate reason if they're doing it<|eor|><|sor|>[related xkcd](https://xkcd.com/1170/)<|eor|><|sor|>As always.<|eor|><|sor|>As is tradition<|eor|><|eols|><|endoftext|> | 517 |
programmerhumor | jay9909 | dvszsmg | <|sols|><|sot|>Everyone's doing it!<|eot|><|sol|>https://i.redd.it/w546ujwux4m01.png<|eol|><|sor|>There's probably a legitimate reason if they're doing it<|eor|><|sor|>[related xkcd](https://xkcd.com/1170/)<|eor|><|sor|>As always.<|eor|><|sor|>As is tradition<|eor|><|sor|>I'm still waiting until Randall exhausts literally every topic in the universe. And then it just becomes increasingly meta.<|eor|><|sor|>[M](https://xkcd.com/244/)
[E](https://xkcd.com/1447/)
[T](https://xkcd.com/917/)
[A](https://xkcd.com/688/)<|eor|><|eols|><|endoftext|> | 482 |
programmerhumor | asquared31415 | dvsvqv7 | <|sols|><|sot|>Everyone's doing it!<|eot|><|sol|>https://i.redd.it/w546ujwux4m01.png<|eol|><|sor|>There's probably a legitimate reason if they're doing it<|eor|><|sor|>[related xkcd](https://xkcd.com/1170/)<|eor|><|sor|>As always.<|eor|><|sor|>As is tradition<|eor|><|sor|>I'm still waiting until Randall exhausts literally every topic in the universe. And then it just becomes increasingly meta.<|eor|><|eols|><|endoftext|> | 466 |
programmerhumor | Rhamni | dvt5hw8 | <|sols|><|sot|>Everyone's doing it!<|eot|><|sol|>https://i.redd.it/w546ujwux4m01.png<|eol|><|sor|>Just like that twitter bot. Was it Microsoft's? The one that learned from people on twitter or something and ended up becoming racist. <|eor|><|sor|>Tay.ai, 4chans favourite bot. <|eor|><|sor|>There was also a Japanese one that was meant to talk like a teenage girl. It started talking about depression and suicide.<|eor|><|eols|><|endoftext|> | 460 |
programmerhumor | asquared31415 | dvstd0a | <|sols|><|sot|>Everyone's doing it!<|eot|><|sol|>https://i.redd.it/w546ujwux4m01.png<|eol|><|sor|>So, if a machine ever decides to try to take over the world, we need to all jump off bridges! Got it.<|eor|><|eols|><|endoftext|> | 452 |
programmerhumor | dcsbjj | dvszyhh | <|sols|><|sot|>Everyone's doing it!<|eot|><|sol|>https://i.redd.it/w546ujwux4m01.png<|eol|><|sor|>I've literally jumped off a bridge because my friends did. I mean, you see them come out of it alive, whats the problem?<|eor|><|eols|><|endoftext|> | 427 |
programmerhumor | Combustible_Lemon1 | dvsuur9 | <|sols|><|sot|>Everyone's doing it!<|eot|><|sol|>https://i.redd.it/w546ujwux4m01.png<|eol|><|sor|>Just like that twitter bot. Was it Microsoft's? The one that learned from people on twitter or something and ended up becoming racist. <|eor|><|sor|>Tay.ai, 4chans favourite bot. <|eor|><|eols|><|endoftext|> | 424 |
programmerhumor | rahul0705 | dvt0y3a | <|sols|><|sot|>Everyone's doing it!<|eot|><|sol|>https://i.redd.it/w546ujwux4m01.png<|eol|><|sor|>There's probably a legitimate reason if they're doing it<|eor|><|sor|>[related xkcd](https://xkcd.com/1170/)<|eor|><|sor|>As always.<|eor|><|sor|>As is tradition<|eor|><|sor|>I'm still waiting until Randall exhausts literally every topic in the universe. And then it just becomes increasingly meta.<|eor|><|sor|>[M](https://xkcd.com/244/)
[E](https://xkcd.com/1447/)
[T](https://xkcd.com/917/)
[A](https://xkcd.com/688/)<|eor|><|sor|>It seems that your comment contains 1 or more links that are hard to tap for mobile users.
I will extend those so they're easier for our sausage fingers to click!
[Here is link number 1](https://xkcd.com/244/) - Previous text "M"
[Here is link number 2](https://xkcd.com/1447/) - Previous text "E"
[Here is link number 3](https://xkcd.com/917/) - Previous text "T"
[Here is link number 4](https://xkcd.com/688/) - Previous text "A"
----
^Please ^PM ^/u/eganwall ^with ^issues ^or ^feedback! ^| ^[Delete](https://reddit.com/message/compose/?to=FatFingerHelperBot&subject=delete&message=delete%20dvszt97)
<|eor|><|sor|>Man if only I had scrolled down ever so slightly I would have saved 3 mins<|eor|><|eols|><|endoftext|> | 417 |
programmerhumor | entropicdrift | dvt70ee | <|sols|><|sot|>Everyone's doing it!<|eot|><|sol|>https://i.redd.it/w546ujwux4m01.png<|eol|><|sor|>Just like that twitter bot. Was it Microsoft's? The one that learned from people on twitter or something and ended up becoming racist. <|eor|><|sor|>Tay.ai, 4chans favourite bot. <|eor|><|sor|>There was also a Japanese one that was meant to talk like a teenage girl. It started talking about depression and suicide.<|eor|><|sor|>As is traditional for Japan<|eor|><|eols|><|endoftext|> | 406 |
programmerhumor | Hooman_Super | dvsv0ep | <|sols|><|sot|>Everyone's doing it!<|eot|><|sol|>https://i.redd.it/w546ujwux4m01.png<|eol|><|sor|>Just like that twitter bot. Was it Microsoft's? The one that learned from people on twitter or something and ended up becoming racist. <|eor|><|sor|>Bad parenting, he was not supposed to use social media until 13 unsupervised<|eor|><|sor|>You just misgendered Tay shitlord <|eor|><|eols|><|endoftext|> | 229 |
programmerhumor | ThePixelCoder | dvt7wza | <|sols|><|sot|>Everyone's doing it!<|eot|><|sol|>https://i.redd.it/w546ujwux4m01.png<|eol|><|sor|>Just like that twitter bot. Was it Microsoft's? The one that learned from people on twitter or something and ended up becoming racist. <|eor|><|sor|>Yeah, it was called Tay. If I recall correctly, she went from innocent bot excited to meet humanity to full Nazi in about 5 hours.<|eor|><|eols|><|endoftext|> | 211 |
programmerhumor | tnorcal | dvt75fg | <|sols|><|sot|>Everyone's doing it!<|eot|><|sol|>https://i.redd.it/w546ujwux4m01.png<|eol|><|sor|>I've literally jumped off a bridge because my friends did. I mean, you see them come out of it alive, whats the problem?<|eor|><|sor|>Give this guy an important position and an office<|eor|><|eols|><|endoftext|> | 203 |
programmerhumor | ThePixelCoder | dvt7yvw | <|sols|><|sot|>Everyone's doing it!<|eot|><|sol|>https://i.redd.it/w546ujwux4m01.png<|eol|><|sor|>So, if a machine ever decides to try to take over the world, we need to all jump off bridges! Got it.<|eor|><|sor|>Solid plan.
Hey, at least we won't get killed by evil robots.<|eor|><|eols|><|endoftext|> | 140 |
programmerhumor | Candyman034 | yti399 | <|sols|><|sot|>Oh no where is the bug<|eot|><|sol|>https://i.redd.it/667kkk6q2lz91.png<|eol|><|eols|><|endoftext|> | 45,025 |
programmerhumor | DarkTannhauserGate | iw47r8d | <|sols|><|sot|>Oh no where is the bug<|eot|><|sol|>https://i.redd.it/667kkk6q2lz91.png<|eol|><|sor|>And I cant reproduce it while the debugger is running<|eor|><|eols|><|endoftext|> | 3,087 |
programmerhumor | gaetan-ae | iw491kq | <|sols|><|sot|>Oh no where is the bug<|eot|><|sol|>https://i.redd.it/667kkk6q2lz91.png<|eol|><|sor|>That's a sure sign of some concurrency or timeout issue. Could be either very easy or very hard to find ans fix.<|eor|><|eols|><|endoftext|> | 846 |
programmerhumor | SpeakerImaginary9796 | iw493hg | <|sols|><|sot|>Oh no where is the bug<|eot|><|sol|>https://i.redd.it/667kkk6q2lz91.png<|eol|><|sor|>Race conditions be like<|eor|><|eols|><|endoftext|> | 645 |
programmerhumor | CrazyCommenter | iw48kso | <|sols|><|sot|>Oh no where is the bug<|eot|><|sol|>https://i.redd.it/667kkk6q2lz91.png<|eol|><|sor|>The bug is the friends we make along the way (and most likely that system library you forgot you are using)<|eor|><|eols|><|endoftext|> | 400 |
programmerhumor | scalability | iw4ayh0 | <|sols|><|sot|>Oh no where is the bug<|eot|><|sol|>https://i.redd.it/667kkk6q2lz91.png<|eol|><|sor|>And I cant reproduce it while the debugger is running<|eor|><|sor|>I once had a consistent segfault in an emulator I really wanted to play. I attached a debugger and ran in X11 synchronous mode, but the bug stopped reproducing. So I started trying to debug in async mode, which is incredibly frustrating since calls and returns are no longer coupled.
It took about two hours of debugging callback cascades before I realized that if the bug doesn't reproduce in sync mode, I can just friggin play in sync mode.<|eor|><|eols|><|endoftext|> | 331 |
programmerhumor | ExoLight | iw4d86v | <|sols|><|sot|>Oh no where is the bug<|eot|><|sol|>https://i.redd.it/667kkk6q2lz91.png<|eol|><|sor|>To a new dev, why does that happen?<|eor|><|sor|>It can happen for a variety of reasons, really. Multithreading, uninitialized memory, etc...
On a totally different matter, have you heard of the C programming language?<|eor|><|eols|><|endoftext|> | 255 |
programmerhumor | SillyFlyGuy | iw4dro2 | <|sols|><|sot|>Oh no where is the bug<|eot|><|sol|>https://i.redd.it/667kkk6q2lz91.png<|eol|><|sor|>That's a sure sign of some concurrency or timeout issue. Could be either very easy or very hard to find ans fix.<|eor|><|sor|>You guys ever install Visual Studio on the server at the colo and run it from source for production?<|eor|><|eols|><|endoftext|> | 177 |
programmerhumor | Candyman034 | iw4kghr | <|sols|><|sot|>Oh no where is the bug<|eot|><|sol|>https://i.redd.it/667kkk6q2lz91.png<|eol|><|sor|>To a new dev, why does that happen?<|eor|><|sor|>It can happen for a variety of reasons, really. Multithreading, uninitialized memory, etc...
On a totally different matter, have you heard of the C programming language?<|eor|><|soopr|>Don't you dare! He's still innocent!<|eoopr|><|eols|><|endoftext|> | 177 |
programmerhumor | invisibo | iw51nfa | <|sols|><|sot|>Oh no where is the bug<|eot|><|sol|>https://i.redd.it/667kkk6q2lz91.png<|eol|><|sor|>Race conditions be like<|eor|><|sor|>Be like race conditions<|eor|><|eols|><|endoftext|> | 176 |
programmerhumor | pakidara | iw493ab | <|sols|><|sot|>Oh no where is the bug<|eot|><|sol|>https://i.redd.it/667kkk6q2lz91.png<|eol|><|sor|>That moment when your code references February 29th, 1998 in response to a valid data input from a table of 9M records.<|eor|><|eols|><|endoftext|> | 169 |
programmerhumor | ExoLight | iw4ea4t | <|sols|><|sot|>Oh no where is the bug<|eot|><|sol|>https://i.redd.it/667kkk6q2lz91.png<|eol|><|sor|>And I cant reproduce it while the debugger is running<|eor|><|sor|>C++ has given me some headaches with this. I've once had a bug with end iterators of multiple vectors when used together. Couldn't reproduce with valgrind, or the address sanitizer, or on Linux. Only happened on MacOS.
Turns out MacOS memory layout made it so the end iterator of one vector had the same address as the begin iterator of another vector. Totally legit behaviour, but still, I didn't expect that. Debugging this one was fun.<|eor|><|eols|><|endoftext|> | 153 |
programmerhumor | argv_minus_one | iw534w3 | <|sols|><|sot|>Oh no where is the bug<|eot|><|sol|>https://i.redd.it/667kkk6q2lz91.png<|eol|><|sor|>The bug is the friends we make along the way (and most likely that system library you forgot you are using)<|eor|><|sor|>I recently spent a week narrowing down what turned out to be a bug (probably integer overflow) in `Secur32.dll`which Microsoft quietly fixed in the last Windows update, only a day or two after I realized it was probably a Microsoft bug.
[Gory details here, if anyone's curious.](https://github.com/steffengy/schannel-rs/issues/85) I wonder if a Microsoft employee stumbled on that GitHub issue<|eor|><|eols|><|endoftext|> | 97 |
programmerhumor | gaetan-ae | iw4dxs2 | <|sols|><|sot|>Oh no where is the bug<|eot|><|sol|>https://i.redd.it/667kkk6q2lz91.png<|eol|><|sor|>That's a sure sign of some concurrency or timeout issue. Could be either very easy or very hard to find ans fix.<|eor|><|sor|>You guys ever install Visual Studio on the server at the colo and run it from source for production?<|eor|><|sor|>No, if you want to debug on a distant server (hopefully not prod) that's what the remote debugger is for.<|eor|><|eols|><|endoftext|> | 97 |
programmerhumor | soljaboss | iw4fwkn | <|sols|><|sot|>Oh no where is the bug<|eot|><|sol|>https://i.redd.it/667kkk6q2lz91.png<|eol|><|sor|>And I cant reproduce it while the debugger is running<|eor|><|sor|>Every quantum programming language<|eor|><|sor|>Just don't observe it while it runs.<|eor|><|eols|><|endoftext|> | 90 |
programmerhumor | Fit_Owl_5650 | iw54c74 | <|sols|><|sot|>Oh no where is the bug<|eot|><|sol|>https://i.redd.it/667kkk6q2lz91.png<|eol|><|sor|>And I cant reproduce it while the debugger is running<|eor|><|sor|>Every quantum programming language<|eor|><|sor|>[removed]<|eor|><|sor|>[removed]<|eor|><|sor|>No im pretty sire that the friends are the bugs i made along the way.
Someone help me i have only talked to my compiler all week.<|eor|><|eols|><|endoftext|> | 89 |
programmerhumor | MrTarantula | 6gjalr | <|sols|><|sot|>Back in my day, you had to roll the volume up yourself.<|eot|><|sol|>https://i.redd.it/xwlb42y2nx2z.gif<|eol|><|eols|><|endoftext|> | 45,030 |
programmerhumor | KnilAdlez | diqrz91 | <|sols|><|sot|>Back in my day, you had to roll the volume up yourself.<|eot|><|sol|>https://i.redd.it/xwlb42y2nx2z.gif<|eol|><|sor|>The worst part is that it takes a full revolution to change the volume 1%<|eor|><|eols|><|endoftext|> | 4,967 |
programmerhumor | ElectricBlumpkin | diquxr7 | <|sols|><|sot|>Back in my day, you had to roll the volume up yourself.<|eot|><|sol|>https://i.redd.it/xwlb42y2nx2z.gif<|eol|><|sor|>I just want to say that I'm not a subscriber here, nor do I understand much of anything about the mechanics of creating software, but I am just in love with this little contest you guys have going. That is all.<|eor|><|eols|><|endoftext|> | 2,221 |
programmerhumor | lunch20 | diqtuqi | <|sols|><|sot|>Back in my day, you had to roll the volume up yourself.<|eot|><|sol|>https://i.redd.it/xwlb42y2nx2z.gif<|eol|><|sor|>The worst part is that it takes a full revolution to change the volume 1%<|eor|><|sor|>Imagine if it took 2 full revolutions<|eor|><|sor|>Or 3 even!<|eor|><|sor|>Alright, but I simply can't imagine any more!<|eor|><|eols|><|endoftext|> | 1,540 |
programmerhumor | sirunclecid | diqt93g | <|sols|><|sot|>Back in my day, you had to roll the volume up yourself.<|eot|><|sol|>https://i.redd.it/xwlb42y2nx2z.gif<|eol|><|sor|>The worst part is that it takes a full revolution to change the volume 1%<|eor|><|sor|>Imagine if it took 2 full revolutions<|eor|><|sor|>Or 3 even!<|eor|><|eols|><|endoftext|> | 1,100 |
programmerhumor | anindecisiveguy | diqvi66 | <|sols|><|sot|>Back in my day, you had to roll the volume up yourself.<|eot|><|sol|>https://i.redd.it/xwlb42y2nx2z.gif<|eol|><|sor|>I just want to say that I'm not a subscriber here, nor do I understand much of anything about the mechanics of creating software, but I am just in love with this little contest you guys have going. That is all.<|eor|><|sor|>You should check out the phone number input trends from the last few months. Just sort top/all, should be at the first 2 pages.<|eor|><|eols|><|endoftext|> | 722 |
programmerhumor | ehalepagneaux | diqsdiz | <|sols|><|sot|>Back in my day, you had to roll the volume up yourself.<|eot|><|sol|>https://i.redd.it/xwlb42y2nx2z.gif<|eol|><|sor|>Ok, this one is my favorite. <|eor|><|eols|><|endoftext|> | 601 |
programmerhumor | Bacon_Hero | diqujch | <|sols|><|sot|>Back in my day, you had to roll the volume up yourself.<|eot|><|sol|>https://i.redd.it/xwlb42y2nx2z.gif<|eol|><|sor|>The worst part is that it takes a full revolution to change the volume 1%<|eor|><|sor|>Imagine if it took 2 full revolutions<|eor|><|sor|>Or 3 even!<|eor|><|sor|>Alright, but I simply can't imagine any more!<|eor|><|sor|>Here, I'll help you. So you turn it once, right? And then like, a seco......<|eor|><|sor|>I'm not following, could you use a diagram? <|eor|><|sor|>It's kinda like [this](https://i.redd.it/xwlb42y2nx2z.gif)<|eor|><|eols|><|endoftext|> | 564 |
programmerhumor | Narfubel | diqwfcv | <|sols|><|sot|>Back in my day, you had to roll the volume up yourself.<|eot|><|sol|>https://i.redd.it/xwlb42y2nx2z.gif<|eol|><|sor|>I just want to say that I'm not a subscriber here, nor do I understand much of anything about the mechanics of creating software, but I am just in love with this little contest you guys have going. That is all.<|eor|><|sor|>You should check out the phone number input trends from the last few months. Just sort top/all, should be at the first 2 pages.<|eor|><|sor|>We really need to put together an archived list for easy consumption.<|eor|><|sor|>Then we have a little contest for list organization<|eor|><|eols|><|endoftext|> | 561 |
programmerhumor | sirunclecid | diqu358 | <|sols|><|sot|>Back in my day, you had to roll the volume up yourself.<|eot|><|sol|>https://i.redd.it/xwlb42y2nx2z.gif<|eol|><|sor|>The worst part is that it takes a full revolution to change the volume 1%<|eor|><|sor|>Imagine if it took 2 full revolutions<|eor|><|sor|>Or 3 even!<|eor|><|sor|>Alright, but I simply can't imagine any more!<|eor|><|sor|>Here, I'll help you. So you turn it once, right? And then like, a seco......<|eor|><|eols|><|endoftext|> | 515 |
programmerhumor | supremecrafters | diqw38p | <|sols|><|sot|>Back in my day, you had to roll the volume up yourself.<|eot|><|sol|>https://i.redd.it/xwlb42y2nx2z.gif<|eol|><|sor|>I just want to say that I'm not a subscriber here, nor do I understand much of anything about the mechanics of creating software, but I am just in love with this little contest you guys have going. That is all.<|eor|><|sor|>You should check out the phone number input trends from the last few months. Just sort top/all, should be at the first 2 pages.<|eor|><|sor|>We really need to put together an archived list for easy consumption.<|eor|><|eols|><|endoftext|> | 472 |
programmerhumor | DrShocker | diquato | <|sols|><|sot|>Back in my day, you had to roll the volume up yourself.<|eot|><|sol|>https://i.redd.it/xwlb42y2nx2z.gif<|eol|><|sor|>The worst part is that it takes a full revolution to change the volume 1%<|eor|><|sor|>Imagine if it took 2 full revolutions<|eor|><|sor|>Or 3 even!<|eor|><|sor|>Alright, but I simply can't imagine any more!<|eor|><|sor|>Here, I'll help you. So you turn it once, right? And then like, a seco......<|eor|><|sor|>I'm not following, could you use a diagram? <|eor|><|eols|><|endoftext|> | 385 |
programmerhumor | Breadsecutioner | diqtryc | <|sols|><|sot|>Back in my day, you had to roll the volume up yourself.<|eot|><|sol|>https://i.redd.it/xwlb42y2nx2z.gif<|eol|><|sor|>Ok, this one is my favorite. <|eor|><|sor|>How about a similar, interactive one?
https://codepen.io/Breadsecutioner/pen/jwOXdL<|eor|><|eols|><|endoftext|> | 369 |
programmerhumor | Godofdrakes | diqt4nf | <|sols|><|sot|>Back in my day, you had to roll the volume up yourself.<|eot|><|sol|>https://i.redd.it/xwlb42y2nx2z.gif<|eol|><|sor|>I'm having Myst flashbacks.<|eor|><|eols|><|endoftext|> | 361 |
programmerhumor | snufflurker | diqu4t3 | <|sols|><|sot|>Back in my day, you had to roll the volume up yourself.<|eot|><|sol|>https://i.redd.it/xwlb42y2nx2z.gif<|eol|><|sor|>I havent seen a volume control based on the outside temperature.<|eor|><|eols|><|endoftext|> | 299 |
programmerhumor | The-Lemons | diqupqb | <|sols|><|sot|>Back in my day, you had to roll the volume up yourself.<|eot|><|sol|>https://i.redd.it/xwlb42y2nx2z.gif<|eol|><|sor|>The worst part is that it takes a full revolution to change the volume 1%<|eor|><|sor|>Imagine if it took 2 full revolutions<|eor|><|sor|>Or 3 even!<|eor|><|sor|>Alright, but I simply can't imagine any more!<|eor|><|sor|>Here, I'll help you. So you turn it once, right? And then like, a seco......<|eor|><|sor|>I'm not following, could you use a diagram? <|eor|><|sor|>It's kinda like [this](https://i.redd.it/xwlb42y2nx2z.gif)<|eor|><|sor|>It all makes sense now.<|eor|><|eols|><|endoftext|> | 266 |
programmerhumor | anindecisiveguy | diqwg4b | <|sols|><|sot|>Back in my day, you had to roll the volume up yourself.<|eot|><|sol|>https://i.redd.it/xwlb42y2nx2z.gif<|eol|><|sor|>I just want to say that I'm not a subscriber here, nor do I understand much of anything about the mechanics of creating software, but I am just in love with this little contest you guys have going. That is all.<|eor|><|sor|>You should check out the phone number input trends from the last few months. Just sort top/all, should be at the first 2 pages.<|eor|><|sor|>We really need to put together an archived list for easy consumption.<|eor|><|sor|>Then we have a little contest for list organization<|eor|><|sor|>Don't start giving them any ideas.<|eor|><|eols|><|endoftext|> | 222 |
programmerhumor | spiderpig2099 | a5mghb | <|sols|><|sot|>The importance of knowing how to correctly use the while loop<|eot|><|sol|>https://i.redd.it/6wksqjmmyw321.jpg<|eol|><|eols|><|endoftext|> | 45,004 |
programmerhumor | basic_man | ebnq4pa | <|sols|><|sot|>The importance of knowing how to correctly use the while loop<|eot|><|sol|>https://i.redd.it/6wksqjmmyw321.jpg<|eol|><|sor|>Ive found that do-while loops are only good for user inputing. I could be wrong but thats only what Ive ever used it for :|<|eor|><|eols|><|endoftext|> | 1,168 |
programmerhumor | YourNightmar31 | ebnug0k | <|sols|><|sot|>The importance of knowing how to correctly use the while loop<|eot|><|sol|>https://i.redd.it/6wksqjmmyw321.jpg<|eol|><|sor|>I can already see this on the walls of programming classrooms everywhere<|eor|><|sor|>And then it gets posted at r/fellowkids<|eor|><|eols|><|endoftext|> | 1,043 |
programmerhumor | glitter_frenge | ebnthdy | <|sols|><|sot|>The importance of knowing how to correctly use the while loop<|eot|><|sol|>https://i.redd.it/6wksqjmmyw321.jpg<|eol|><|sor|>Do-Wile E Coyote<|eor|><|eols|><|endoftext|> | 986 |
programmerhumor | hage_hg | ebnydpf | <|sols|><|sot|>The importance of knowing how to correctly use the while loop<|eot|><|sol|>https://i.redd.it/6wksqjmmyw321.jpg<|eol|><|sor|> for (i=0; i<2; i++) {
meep();
}<|eor|><|eols|><|endoftext|> | 712 |
programmerhumor | Caffeine_Monster | ebnru8l | <|sols|><|sot|>The importance of knowing how to correctly use the while loop<|eot|><|sol|>https://i.redd.it/6wksqjmmyw321.jpg<|eol|><|sor|>Ive found that do-while loops are only good for user inputing. I could be wrong but thats only what Ive ever used it for :|<|eor|><|sor|>Or any iterating algorithm that requires at least one iteration.
One that I commonly come across is pagination of web requests:
view_list = []
page_size = 10
offset = 0
do{
HTTP request to get list, items_page, of items (offset) to (offset+page_size)
view_list.concatenate(items_page)
offset+=page_size
} while(view_list.last_item().is_visible_in_UI())
​<|eor|><|eols|><|endoftext|> | 701 |
programmerhumor | MaxChaplin | ebnx32n | <|sols|><|sot|>The importance of knowing how to correctly use the while loop<|eot|><|sol|>https://i.redd.it/6wksqjmmyw321.jpg<|eol|><|sor|>I can already see this on the walls of programming classrooms everywhere<|eor|><|sor|>And then it gets posted at r/fellowkids<|eor|><|sor|>Ah yes, the fresh and trendy Coyote and Road Runner cartoons that predate LISP.<|eor|><|eols|><|endoftext|> | 577 |
programmerhumor | StarkRG | eboc6pk | <|sols|><|sot|>The importance of knowing how to correctly use the while loop<|eot|><|sol|>https://i.redd.it/6wksqjmmyw321.jpg<|eol|><|sor|>Do-Wile E Coyote<|eor|><|sor|> while(e.coyote()) {
try {
acme.nextProduct().execute();
} catch (Prey roadrunner) {
\\this never happens
}
}
​<|eor|><|eols|><|endoftext|> | 327 |
programmerhumor | Bryguy3k | ebnoc4n | <|sols|><|sot|>The importance of knowing how to correctly use the while loop<|eot|><|sol|>https://i.redd.it/6wksqjmmyw321.jpg<|eol|><|sor|>Meh. Both end at the same time. The later gives you a guaranteed iteration at the start.<|eor|><|eols|><|endoftext|> | 326 |
programmerhumor | snail_mans | ebnzjol | <|sols|><|sot|>The importance of knowing how to correctly use the while loop<|eot|><|sol|>https://i.redd.it/6wksqjmmyw321.jpg<|eol|><|sor|> for (i=0; i<2; i++) {
meep();
}<|eor|><|sor|>meep();
meep();<|eor|><|eols|><|endoftext|> | 321 |
programmerhumor | chironomidae | ebnyqfw | <|sols|><|sot|>The importance of knowing how to correctly use the while loop<|eot|><|sol|>https://i.redd.it/6wksqjmmyw321.jpg<|eol|><|sor|>This only works if they weren't already running, right? It's not like do...while does an extra iteration at the end, it just guarantees the code in the loop will run once regardless of the condition. <|eor|><|eols|><|endoftext|> | 306 |
programmerhumor | AgentPaper0 | ebnsl8p | <|sols|><|sot|>The importance of knowing how to correctly use the while loop<|eot|><|sol|>https://i.redd.it/6wksqjmmyw321.jpg<|eol|><|sor|>Ive found that do-while loops are only good for user inputing. I could be wrong but thats only what Ive ever used it for :|<|eor|><|sor|>Or any iterating algorithm that requires at least one iteration.
One that I commonly come across is pagination of web requests:
view_list = []
page_size = 10
offset = 0
do{
HTTP request to get list, items_page, of items (offset) to (offset+page_size)
view_list.concatenate(items_page)
offset+=page_size
} while(view_list.last_item().is_visible_in_UI())
​<|eor|><|sor|>*and that iteration is exactly like all the others, rather than a slightly modified version which is often the case.<|eor|><|eols|><|endoftext|> | 303 |
programmerhumor | dtumad | ebnp99q | <|sols|><|sot|>The importance of knowing how to correctly use the while loop<|eot|><|sol|>https://i.redd.it/6wksqjmmyw321.jpg<|eol|><|sor|>Meh. Both end at the same time. The later gives you a guaranteed iteration at the start.<|eor|><|sor|>They don't end at the same time if you start on an edge<|eor|><|eols|><|endoftext|> | 291 |
programmerhumor | IMightBeLyingToYou | ebo6c5h | <|sols|><|sot|>The importance of knowing how to correctly use the while loop<|eot|><|sol|>https://i.redd.it/6wksqjmmyw321.jpg<|eol|><|sor|>I can already see this on the walls of programming classrooms everywhere<|eor|><|sor|>Can confirm. Am a CS Teacher, this is going on the opening slide of my presentation tomorrow. Granted half of my students are subbed here too so they'll see it by morning. <|eor|><|sor|>You fool, then they'll know your username. <|eor|><|eols|><|endoftext|> | 285 |
programmerhumor | Tux1 | ebnttig | <|sols|><|sot|>The importance of knowing how to correctly use the while loop<|eot|><|sol|>https://i.redd.it/6wksqjmmyw321.jpg<|eol|><|sor|> LOOP:
MOV DOWN ACC
JEZ END
MOV 1 LEFT
JMP LOOP
END:
vs
LOOP:
MOV 1 LEFT
MOV DOWN ACC
JNZ LOOP<|eor|><|sor|>[removed]<|eor|><|sor|>TIS-100 Assembly<|eor|><|eols|><|endoftext|> | 250 |
programmerhumor | Tux1 | ebnrzqg | <|sols|><|sot|>The importance of knowing how to correctly use the while loop<|eot|><|sol|>https://i.redd.it/6wksqjmmyw321.jpg<|eol|><|sor|> LOOP:
MOV DOWN ACC
JEZ END
MOV 1 LEFT
JMP LOOP
END:
vs
LOOP:
MOV 1 LEFT
MOV DOWN ACC
JNZ LOOP<|eor|><|eols|><|endoftext|> | 248 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.