subreddit
stringclasses
7 values
author
stringlengths
3
20
id
stringlengths
5
7
content
stringlengths
67
30.4k
score
int64
0
140k
programmerhumor
bearwood_forest
itgqx1a
<|sols|><|sot|>I make the same mistake too, sometimes.<|eot|><|sol|>https://i.redd.it/bma1iny1ziv91.png<|eol|><|sor|>Ben will think everyone can access his localhost forever now.<|eor|><|sor|>Bold of you to assume that we can't.<|eor|><|eols|><|endoftext|>
2,531
programmerhumor
matyklug
itgsqe9
<|sols|><|sot|>I make the same mistake too, sometimes.<|eot|><|sol|>https://i.redd.it/bma1iny1ziv91.png<|eol|><|sor|>Ben will think everyone can access his localhost forever now.<|eor|><|sor|>Bold of you to assume that we can't.<|eor|><|sor|>Virgin "I can't access that" vs chad *hacks in to fix your code then nicely patches the exploit he used to get in*<|eor|><|eols|><|endoftext|>
2,071
programmerhumor
-Manu_
itg5uuz
<|sols|><|sot|>I make the same mistake too, sometimes.<|eot|><|sol|>https://i.redd.it/bma1iny1ziv91.png<|eol|><|sor|>Just checked and that code looks so shitty, who is the ape who wrote that garbage?<|eor|><|eols|><|endoftext|>
1,973
programmerhumor
JAKZ-
itg0adf
<|sols|><|sot|>I make the same mistake too, sometimes.<|eot|><|sol|>https://i.redd.it/bma1iny1ziv91.png<|eol|><|sor|>Rahmesh1998 must be an absolute genius to figure out the tweet OPs IP address and access port 8080 on his system and then give you an answer<|eor|><|sor|>Or he has the same problem on his local ![gif](emote|free_emotes_pack|grin)<|eor|><|eols|><|endoftext|>
1,248
programmerhumor
dschramm_at
itfx76d
<|sols|><|sot|>I make the same mistake too, sometimes.<|eot|><|sol|>https://i.redd.it/bma1iny1ziv91.png<|eol|><|sor|>Somebody must know which tutorial that is. Or this is level of, "have you tried turning it off and on again?". Also the irony in the name <|eor|><|eols|><|endoftext|>
774
programmerhumor
nickmaran
itg8evc
<|sols|><|sot|>I make the same mistake too, sometimes.<|eot|><|sol|>https://i.redd.it/bma1iny1ziv91.png<|eol|><|sor|>I wonder how he got that localhost URL. Must have cost a fortune!<|eor|><|sor|>But couldn't afford ssl certificate for it<|eor|><|eols|><|endoftext|>
643
programmerhumor
yeehaa_15
itftefu
<|sols|><|sot|>I make the same mistake too, sometimes.<|eot|><|sol|>https://i.redd.it/bma1iny1ziv91.png<|eol|><|sor|>"" vs be like:<|eor|><|eols|><|endoftext|>
595
programmerhumor
Saavedroo
itguy2p
<|sols|><|sot|>I make the same mistake too, sometimes.<|eot|><|sol|>https://i.redd.it/bma1iny1ziv91.png<|eol|><|sor|>Ben will think everyone can access his localhost forever now.<|eor|><|sor|>Bold of you to assume that we can't.<|eor|><|sor|>Virgin "I can't access that" vs chad *hacks in to fix your code then nicely patches the exploit he used to get in*<|eor|><|sor|>My white hat to you, good sir/madam.<|eor|><|eols|><|endoftext|>
566
programmerhumor
jmaca90
itggd3k
<|sols|><|sot|>I make the same mistake too, sometimes.<|eot|><|sol|>https://i.redd.it/bma1iny1ziv91.png<|eol|><|sor|>When you did no changes and receive a Pull Request from your local machine.<|eor|><|sor|>I pull my local machine all the time, and it works fine.<|eor|><|eols|><|endoftext|>
504
programmerhumor
Reelix
itgdknj
<|sols|><|sot|>I make the same mistake too, sometimes.<|eot|><|sol|>https://i.redd.it/bma1iny1ziv91.png<|eol|><|sor|>I wonder how he got that localhost URL. Must have cost a fortune!<|eor|><|sor|>But couldn't afford ssl certificate for it<|eor|><|sor|>Your paying for SSL?<|eor|><|sor|>If LetsEncrypt is good enough for the NSA, it's good enough for me :p<|eor|><|eols|><|endoftext|>
304
programmerhumor
cyb3rstrik3
itg9kr9
<|sols|><|sot|>I make the same mistake too, sometimes.<|eot|><|sol|>https://i.redd.it/bma1iny1ziv91.png<|eol|><|sor|>I wonder how he got that localhost URL. Must have cost a fortune!<|eor|><|sor|>But couldn't afford ssl certificate for it<|eor|><|sor|>Your paying for SSL?<|eor|><|eols|><|endoftext|>
298
programmerhumor
Bright-Historian-216
itfyhy2
<|sols|><|sot|>I make the same mistake too, sometimes.<|eot|><|sol|>https://i.redd.it/bma1iny1ziv91.png<|eol|><|sor|>How tf did he access the local host in their computer Can't imaging how the questioner would feel when he realised he posted localhost link but got a working answer.<|eor|><|sor|>"I am in your walls" mfs when someone is actually in their walls<|eor|><|eols|><|endoftext|>
258
programmerhumor
centran
itgixgj
<|sols|><|sot|>I make the same mistake too, sometimes.<|eot|><|sol|>https://i.redd.it/bma1iny1ziv91.png<|eol|><|sor|>Rahmesh1998 must be an absolute genius to figure out the tweet OPs IP address and access port 8080 on his system and then give you an answer<|eor|><|sor|>Yeah, that, or the conversation never happened. https://twitter.com/benjavaguy doesn't exist, and a Google search for the exact username turns up zero results.<|eor|><|sor|>But that would mean people lie on the Internet. Why would someone do that!?<|eor|><|eols|><|endoftext|>
219
programmerhumor
Toast42
itgnbjx
<|sols|><|sot|>I make the same mistake too, sometimes.<|eot|><|sol|>https://i.redd.it/bma1iny1ziv91.png<|eol|><|sor|>Just checked and that code looks so shitty, who is the ape who wrote that garbage?<|eor|><|sor|>git blame Oh it was me<|eor|><|eols|><|endoftext|>
213
programmerhumor
MurkilyChirr
x6kbul
<|sols|><|sot|>It's almost certain it will be worth it..<|eot|><|sol|>https://i.redd.it/0q2zn88dg2m91.jpg<|eol|><|eols|><|endoftext|>
42,375
programmerhumor
armstrong147
in78i3y
<|sols|><|sot|>It's almost certain it will be worth it..<|eot|><|sol|>https://i.redd.it/0q2zn88dg2m91.jpg<|eol|><|sor|>Probibly...<|eor|><|eols|><|endoftext|>
5,806
programmerhumor
myrsnipe
in7efwq
<|sols|><|sot|>It's almost certain it will be worth it..<|eot|><|sol|>https://i.redd.it/0q2zn88dg2m91.jpg<|eol|><|sor|>Ahh yes, the idea guy<|eor|><|eols|><|endoftext|>
4,667
programmerhumor
AdDear5411
in79sdz
<|sols|><|sot|>It's almost certain it will be worth it..<|eot|><|sol|>https://i.redd.it/0q2zn88dg2m91.jpg<|eol|><|sor|>If you can almost assure me money, I can almost assure you work.<|eor|><|eols|><|endoftext|>
4,526
programmerhumor
TheZophiel
in7i3ep
<|sols|><|sot|>It's almost certain it will be worth it..<|eot|><|sol|>https://i.redd.it/0q2zn88dg2m91.jpg<|eol|><|sor|>Ahh yes, the idea guy<|eor|><|sor|>Fiverr had a commercial once that started something like "oh, you have an idea? My six year old has a dozen ideas a day. Ideas are cheap unless you're going to put in the work."<|eor|><|eols|><|endoftext|>
2,409
programmerhumor
JMC-design
in799b4
<|sols|><|sot|>It's almost certain it will be worth it..<|eot|><|sol|>https://i.redd.it/0q2zn88dg2m91.jpg<|eol|><|sor|>I see my brother learned how to use the internet. edit: i see I'm not alone in this! It doesn't even have to be programming related. Latest was, design and build a sustainable homestead and campground, complete with sustainability targets and presentation and he will secure the financing and let me live there...if I clean all the rentals on an ongoing basis. Brotherly love like this is not easy to come by!<|eor|><|eols|><|endoftext|>
1,974
programmerhumor
wRadion
in7egzy
<|sols|><|sot|>It's almost certain it will be worth it..<|eot|><|sol|>https://i.redd.it/0q2zn88dg2m91.jpg<|eol|><|sor|>"Code writers" Ah... yes... us, code writers. Among all the terms used to designate someone who code/develop/program, this might be the last one I could think of.<|eor|><|eols|><|endoftext|>
1,248
programmerhumor
undefined-account
in7afna
<|sols|><|sot|>It's almost certain it will be worth it..<|eot|><|sol|>https://i.redd.it/0q2zn88dg2m91.jpg<|eol|><|sor|>Probibly...<|eor|><|sor|>pribobly..<|eor|><|eols|><|endoftext|>
922
programmerhumor
confusedndfrustrated
in7my80
<|sols|><|sot|>It's almost certain it will be worth it..<|eot|><|sol|>https://i.redd.it/0q2zn88dg2m91.jpg<|eol|><|sor|>If you can almost assure me money, I can almost assure you work.<|eor|><|sor|>for an extended amount of time.<|eor|><|eols|><|endoftext|>
913
programmerhumor
deVriesse
in8k30h
<|sols|><|sot|>It's almost certain it will be worth it..<|eot|><|sol|>https://i.redd.it/0q2zn88dg2m91.jpg<|eol|><|sor|>Ahh yes, the idea guy<|eor|><|sor|>Fiverr had a commercial once that started something like "oh, you have an idea? My six year old has a dozen ideas a day. Ideas are cheap unless you're going to put in the work."<|eor|><|sor|>"Genius is one percent inspiration and 99 percent perspiration" - some famous inventor I'm too lazy to look up<|eor|><|eols|><|endoftext|>
858
programmerhumor
armstrong147
in7buid
<|sols|><|sot|>It's almost certain it will be worth it..<|eot|><|sol|>https://i.redd.it/0q2zn88dg2m91.jpg<|eol|><|sor|>Probibly...<|eor|><|sor|>pribobly..<|eor|><|sor|>I almost missed "succsess"<|eor|><|eols|><|endoftext|>
847
programmerhumor
deekaph
in7idn9
<|sols|><|sot|>It's almost certain it will be worth it..<|eot|><|sol|>https://i.redd.it/0q2zn88dg2m91.jpg<|eol|><|sor|>The audacity. "I'm opening a restaurant and need kitchen staff. No pay for half a year but if it goes good you might get paid." "We're opening a new office and need accountants. No pay, but after 6 months we might pay you." On what planet do these people think they are??? Edited to add that the OP obviously doesn't have any experience in dev ("professional code writers"!?) But somehow knows how long it will take to develop.<|eor|><|eols|><|endoftext|>
774
programmerhumor
DudesworthMannington
in7vfvv
<|sols|><|sot|>It's almost certain it will be worth it..<|eot|><|sol|>https://i.redd.it/0q2zn88dg2m91.jpg<|eol|><|sor|>I see my brother learned how to use the internet. edit: i see I'm not alone in this! It doesn't even have to be programming related. Latest was, design and build a sustainable homestead and campground, complete with sustainability targets and presentation and he will secure the financing and let me live there...if I clean all the rentals on an ongoing basis. Brotherly love like this is not easy to come by!<|eor|><|sor|>My idea is to make like Facebook, but better!<|eor|><|eols|><|endoftext|>
768
programmerhumor
Normal_Fishing9824
in8lx16
<|sols|><|sot|>It's almost certain it will be worth it..<|eot|><|sol|>https://i.redd.it/0q2zn88dg2m91.jpg<|eol|><|sor|>Ahh yes, the idea guy<|eor|><|sor|>Fiverr had a commercial once that started something like "oh, you have an idea? My six year old has a dozen ideas a day. Ideas are cheap unless you're going to put in the work."<|eor|><|sor|>"Genius is one percent inspiration and 99 percent perspiration" - some famous inventor I'm too lazy to look up<|eor|><|sor|>The inspiration was to steal patents and the perspiration was from worrying about being found out.<|eor|><|eols|><|endoftext|>
698
programmerhumor
Sgt_Redwood
in7ba6z
<|sols|><|sot|>It's almost certain it will be worth it..<|eot|><|sol|>https://i.redd.it/0q2zn88dg2m91.jpg<|eol|><|sor|>All these efforts just to build another dating app no one will use other than the creator<|eor|><|sor|>Lovefinderrz<|eor|><|eols|><|endoftext|>
609
programmerhumor
massivenull
in7jlrt
<|sols|><|sot|>It's almost certain it will be worth it..<|eot|><|sol|>https://i.redd.it/0q2zn88dg2m91.jpg<|eol|><|sor|>"Code writers" Ah... yes... us, code writers. Among all the terms used to designate someone who code/develop/program, this might be the last one I could think of.<|eor|><|sor|>App doer. You do something and app appears. Easy as that. Money flows in.<|eor|><|eols|><|endoftext|>
536
programmerhumor
LEGENDARYKING_
in7s3g0
<|sols|><|sot|>It's almost certain it will be worth it..<|eot|><|sol|>https://i.redd.it/0q2zn88dg2m91.jpg<|eol|><|sor|>If you can almost assure me money, I can almost assure you work.<|eor|><|sor|>for an extended amount of time.<|eor|><|sor|>for an almost extended amount of time\*<|eor|><|eols|><|endoftext|>
461
programmerhumor
Yasea
in7k1u9
<|sols|><|sot|>It's almost certain it will be worth it..<|eot|><|sol|>https://i.redd.it/0q2zn88dg2m91.jpg<|eol|><|sor|>Ahh yes, the idea guy<|eor|><|sor|>I just need as high end laptop, three large screens and a few servers to start. Here's the list of software to buy for me. Don't forget the RGB keyboard, no code writing without RGB.<|eor|><|eols|><|endoftext|>
432
programmerhumor
dpfrd
in7w4sn
<|sols|><|sot|>It's almost certain it will be worth it..<|eot|><|sol|>https://i.redd.it/0q2zn88dg2m91.jpg<|eol|><|sor|>I see my brother learned how to use the internet. edit: i see I'm not alone in this! It doesn't even have to be programming related. Latest was, design and build a sustainable homestead and campground, complete with sustainability targets and presentation and he will secure the financing and let me live there...if I clean all the rentals on an ongoing basis. Brotherly love like this is not easy to come by!<|eor|><|sor|>My idea is to make like Facebook, but better!<|eor|><|sor|>I literally got on a phone meeting with a designer friend of mine to quote a project where the dude's wanted to make Facebook for workouts. No money up front, but they knew it was gonna make millions and we'd get 15%... We laughed at them and hung up.<|eor|><|eols|><|endoftext|>
402
programmerhumor
nuke-the-wales
in7xhyl
<|sols|><|sot|>It's almost certain it will be worth it..<|eot|><|sol|>https://i.redd.it/0q2zn88dg2m91.jpg<|eol|><|sor|>I see my brother learned how to use the internet. edit: i see I'm not alone in this! It doesn't even have to be programming related. Latest was, design and build a sustainable homestead and campground, complete with sustainability targets and presentation and he will secure the financing and let me live there...if I clean all the rentals on an ongoing basis. Brotherly love like this is not easy to come by!<|eor|><|sor|>My idea is to make like Facebook, but better!<|eor|><|sor|>I literally got on a phone meeting with a designer friend of mine to quote a project where the dude's wanted to make Facebook for workouts. No money up front, but they knew it was gonna make millions and we'd get 15%... We laughed at them and hung up.<|eor|><|sor|>you are gonna feel silly when themusclebook.com takes off<|eor|><|eols|><|endoftext|>
383
programmerhumor
GeorgeWalt
mkm6ef
<|sols|><|sot|>Naming is the most difficult part<|eot|><|sol|>https://i.redd.it/nszm4bab9dr61.jpg<|eol|><|eols|><|endoftext|>
42,334
programmerhumor
thank_me_its_friday
gtgp2a1
<|sols|><|sot|>Naming is the most difficult part<|eot|><|sol|>https://i.redd.it/nszm4bab9dr61.jpg<|eol|><|sor|>tmpChild<|eor|><|eols|><|endoftext|>
3,053
programmerhumor
SlumdogSkillionaire
gtgmqa2
<|sols|><|sot|>Naming is the most difficult part<|eot|><|sol|>https://i.redd.it/nszm4bab9dr61.jpg<|eol|><|sor|>`i`? He's not an iterator. Poor little `x`.<|eor|><|eols|><|endoftext|>
1,365
programmerhumor
old_man_khan
gtgkm4r
<|sols|><|sot|>Naming is the most difficult part<|eot|><|sol|>https://i.redd.it/nszm4bab9dr61.jpg<|eol|><|sor|>humanChildWalt<|eor|><|eols|><|endoftext|>
1,309
programmerhumor
xiipaoc
gtgu17y
<|sols|><|sot|>Naming is the most difficult part<|eot|><|sol|>https://i.redd.it/nszm4bab9dr61.jpg<|eol|><|sor|>`children[0]`. No need to get verbose; what is this, Java?<|eor|><|eols|><|endoftext|>
477
programmerhumor
Bizzle_worldwide
gtgryqq
<|sols|><|sot|>Naming is the most difficult part<|eot|><|sol|>https://i.redd.it/nszm4bab9dr61.jpg<|eol|><|sor|>`i`? He's not an iterator. Poor little `x`.<|eor|><|sor|>Clearly you dont have multiple children. For i in dependents: summarizes how it can feel some days. As a side note, child class and pet class both inherit from dependents class, and are generally grouped together when iterating over names. Edit: maybe Im the iterator.<|eor|><|eols|><|endoftext|>
428
programmerhumor
ExTheSea
gtheog8
<|sols|><|sot|>Naming is the most difficult part<|eot|><|sol|>https://i.redd.it/nszm4bab9dr61.jpg<|eol|><|sor|>tmpChild<|eor|><|sor|>// TODO Rename before Push<|eor|><|eols|><|endoftext|>
426
programmerhumor
silly_red
gtgzamy
<|sols|><|sot|>Naming is the most difficult part<|eot|><|sol|>https://i.redd.it/nszm4bab9dr61.jpg<|eol|><|sor|>`foo`<|eor|><|eols|><|endoftext|>
362
programmerhumor
ArtSchoolRejectedMe
gth2mnm
<|sols|><|sot|>Naming is the most difficult part<|eot|><|sol|>https://i.redd.it/nszm4bab9dr61.jpg<|eol|><|sor|>Why don't name him Robert'); DROP TABLE Students;#?<|eor|><|eols|><|endoftext|>
232
programmerhumor
datathecodievita
gtgzsdt
<|sols|><|sot|>Naming is the most difficult part<|eot|><|sol|>https://i.redd.it/nszm4bab9dr61.jpg<|eol|><|sor|>Try null. It's going to mess with so many systems...<|eor|><|eols|><|endoftext|>
213
programmerhumor
shutanovac
gth14s6
<|sols|><|sot|>Naming is the most difficult part<|eot|><|sol|>https://i.redd.it/nszm4bab9dr61.jpg<|eol|><|sor|>`foo`<|eor|><|sor|>and his younger brother bar<|eor|><|eols|><|endoftext|>
183
programmerhumor
flipmcf
gthij7w
<|sols|><|sot|>Naming is the most difficult part<|eot|><|sol|>https://i.redd.it/nszm4bab9dr61.jpg<|eol|><|sor|>`children[0]`. No need to get verbose; what is this, Java?<|eor|><|sor|>I'd like to introduce you to my wife `ChildFactory`<|eor|><|sor|>that is the most cursed thing I've ever heard<|eor|><|sor|>Gets worse: `ChildFactory.pop()`<|eor|><|eols|><|endoftext|>
172
programmerhumor
P0L1Z1STENS0HN
gtguev7
<|sols|><|sot|>Naming is the most difficult part<|eot|><|sol|>https://i.redd.it/nszm4bab9dr61.jpg<|eol|><|sor|>That's easy. It's your kid and it has exactly one unique property that will never change over its lifetime: the date and time of birth in UTC. The time difference between twins usually allows you to cut after the minute. So you should call it, based on the actual date and time of birth, myKidBorn{YYYY}{MM}{DD}{HH}{MM}...<|eor|><|eols|><|endoftext|>
171
programmerhumor
115049
gtgv910
<|sols|><|sot|>Naming is the most difficult part<|eot|><|sol|>https://i.redd.it/nszm4bab9dr61.jpg<|eol|><|sor|>Time for little Bobby [tables](https://xkcd.com/327/).<|eor|><|eols|><|endoftext|>
168
programmerhumor
apomd
gthb6lp
<|sols|><|sot|>Naming is the most difficult part<|eot|><|sol|>https://i.redd.it/nszm4bab9dr61.jpg<|eol|><|sor|>tmpChild<|eor|><|sor|>for sale: One Child subclass. Never instantiated<|eor|><|sor|>Nice reference XD<|eor|><|eols|><|endoftext|>
153
programmerhumor
Bainos
gth1ru0
<|sols|><|sot|>Naming is the most difficult part<|eot|><|sol|>https://i.redd.it/nszm4bab9dr61.jpg<|eol|><|sor|>That's why I wrote a program to generate names, missed it when I was copying things to a new computer, tried rewriting it, gave up, and then tried again last week. It came up with kevandrew.<|eor|><|sor|>> That's why I wrote a program to generate names That's how you get children named SyntaxError.<|eor|><|eols|><|endoftext|>
148
programmerhumor
Elqueq
saz2gn
<|sols|><|sot|>Namespacing...<|eot|><|sol|>https://i.redd.it/vszzw6r45hd81.jpg<|eol|><|eols|><|endoftext|>
42,314
programmerhumor
bless-you-mlud
htwxrqg
<|sols|><|sot|>Namespacing...<|eot|><|sol|>https://i.redd.it/vszzw6r45hd81.jpg<|eol|><|sor|>And that, childen, is why global variables are bad.<|eor|><|eols|><|endoftext|>
4,434
programmerhumor
from_the_east
htx8orn
<|sols|><|sot|>Namespacing...<|eot|><|sol|>https://i.redd.it/vszzw6r45hd81.jpg<|eol|><|sor|>And that, childen, is why global variables are bad.<|eor|><|sor|>No, global variables are good for "surprise bugs" as shown here in the meme..<|eor|><|eols|><|endoftext|>
1,478
programmerhumor
Sovic91
htwrm2t
<|sols|><|sot|>Namespacing...<|eot|><|sol|>https://i.redd.it/vszzw6r45hd81.jpg<|eol|><|sor|>Oh wait, I thought I was in r/TNG. Good meme, though.<|eor|><|eols|><|endoftext|>
739
programmerhumor
Koervege
htxettt
<|sols|><|sot|>Namespacing...<|eot|><|sol|>https://i.redd.it/vszzw6r45hd81.jpg<|eol|><|sor|>And that, childen, is why global variables are bad.<|eor|><|sor|>No, global variables are good for "surprise bugs" as shown here in the meme..<|eor|><|sor|>Susprise features<|eor|><|eols|><|endoftext|>
619
programmerhumor
wjandrea
htxdcdy
<|sols|><|sot|>Namespacing...<|eot|><|sol|>https://i.redd.it/vszzw6r45hd81.jpg<|eol|><|sor|>[deleted]<|eor|><|sor|>"No matter what temperature a room is, it's always room temperature." -- Steven Wright<|eor|><|eols|><|endoftext|>
496
programmerhumor
Anxious_Start4839
htwnud4
<|sols|><|sot|>Namespacing...<|eot|><|sol|>https://i.redd.it/vszzw6r45hd81.jpg<|eol|><|sor|>That's why initialising and resetting your variables is important. ()<|eor|><|eols|><|endoftext|>
422
programmerhumor
ColsonThePCmechanic
htxkxnj
<|sols|><|sot|>Namespacing...<|eot|><|sol|>https://i.redd.it/vszzw6r45hd81.jpg<|eol|><|sor|>And that, childen, is why global variables are bad.<|eor|><|sor|>No, global variables are good for "surprise bugs" as shown here in the meme..<|eor|><|sor|>Susprise features<|eor|><|sor|>[Relevant XKCD](https://m.xkcd.com/2570/)<|eor|><|eols|><|endoftext|>
329
programmerhumor
Salanmander
htxelcg
<|sols|><|sot|>Namespacing...<|eot|><|sol|>https://i.redd.it/vszzw6r45hd81.jpg<|eol|><|sor|>And that, childen, is why global variables are bad.<|eor|><|sor|>Wait...we are not supposed to be defining all variables in the global scope? Fuck...<|eor|><|sor|>Nah, defining all variables in global scope is fine. Just name all variables following this pattern: _className_methodName_scopedBlockIdentifier_dataDescription That way you can avoid namespace collisions and avoid using variables in the wrong place, and still have everything in global scope!<|eor|><|eols|><|endoftext|>
264
programmerhumor
RockleyBob
htxigc5
<|sols|><|sot|>Namespacing...<|eot|><|sol|>https://i.redd.it/vszzw6r45hd81.jpg<|eol|><|sor|>This meme has everything. TNG and programming humor that goes beyond hurr, Java/Javascript/PHP bad, hurr. Almost makes wading through all the repetitive crap worth it.<|eor|><|eols|><|endoftext|>
240
programmerhumor
jexmex
htxaort
<|sols|><|sot|>Namespacing...<|eot|><|sol|>https://i.redd.it/vszzw6r45hd81.jpg<|eol|><|sor|>And that, childen, is why global variables are bad.<|eor|><|sor|>Wait...we are not supposed to be defining all variables in the global scope? Fuck...<|eor|><|eols|><|endoftext|>
211
programmerhumor
I_Am_Upvoter
htwwdec
<|sols|><|sot|>Namespacing...<|eot|><|sol|>https://i.redd.it/vszzw6r45hd81.jpg<|eol|><|sor|>That's why initialising and resetting your variables is important. ()<|eor|><|sor|>Scope<|eor|><|eols|><|endoftext|>
196
programmerhumor
FlyingStirFryMonster
htxktwx
<|sols|><|sot|>Namespacing...<|eot|><|sol|>https://i.redd.it/vszzw6r45hd81.jpg<|eol|><|sor|>[deleted]<|eor|><|sor|>"No matter what temperature a room is, it's always room temperature." -- Steven Wright<|eor|><|sor|>[No it ain't](https://www.youtube.com/watch?v=VxxYqE4Gil8) (clip from Community)<|eor|><|eols|><|endoftext|>
191
programmerhumor
Sekhen
htws8sj
<|sols|><|sot|>Namespacing...<|eot|><|sol|>https://i.redd.it/vszzw6r45hd81.jpg<|eol|><|sor|>That's hilarious. Good ending.<|eor|><|eols|><|endoftext|>
181
programmerhumor
SpacecraftX
htxa3m4
<|sols|><|sot|>Namespacing...<|eot|><|sol|>https://i.redd.it/vszzw6r45hd81.jpg<|eol|><|sor|>Oh wait, I thought I was in r/TNG. Good meme, though.<|eor|><|sor|>I thought it was /r/risa<|eor|><|eols|><|endoftext|>
181
programmerhumor
jexmex
htxgqdb
<|sols|><|sot|>Namespacing...<|eot|><|sol|>https://i.redd.it/vszzw6r45hd81.jpg<|eol|><|sor|>And that, childen, is why global variables are bad.<|eor|><|sor|>Wait...we are not supposed to be defining all variables in the global scope? Fuck...<|eor|><|sor|>Nah, defining all variables in global scope is fine. Just name all variables following this pattern: _className_methodName_scopedBlockIdentifier_dataDescription That way you can avoid namespace collisions and avoid using variables in the wrong place, and still have everything in global scope!<|eor|><|sor|>I just name them by the sequence they come in. vaR1, vaR2, etc, easy to make sure you never reuse the names that way!<|eor|><|eols|><|endoftext|>
169
programmerhumor
Bigluser
htxh9dh
<|sols|><|sot|>Namespacing...<|eot|><|sol|>https://i.redd.it/vszzw6r45hd81.jpg<|eol|><|sor|>And that, childen, is why global variables are bad.<|eor|><|sor|>Wait...we are not supposed to be defining all variables in the global scope? Fuck...<|eor|><|sor|>Nah, defining all variables in global scope is fine. Just name all variables following this pattern: _className_methodName_scopedBlockIdentifier_dataDescription That way you can avoid namespace collisions and avoid using variables in the wrong place, and still have everything in global scope!<|eor|><|sor|>I just name them by the sequence they come in. vaR1, vaR2, etc, easy to make sure you never reuse the names that way!<|eor|><|sor|>Just use uuids as names, that way each name is unique<|eor|><|eols|><|endoftext|>
156
programmerhumor
oheohLP
htx3i1l
<|sols|><|sot|>Namespacing...<|eot|><|sol|>https://i.redd.it/vszzw6r45hd81.jpg<|eol|><|sor|>[Related xkcd](https://xkcd.com/2570/)<|eor|><|eols|><|endoftext|>
152
programmerhumor
TheBlindApe
htx1hju
<|sols|><|sot|>Namespacing...<|eot|><|sol|>https://i.redd.it/vszzw6r45hd81.jpg<|eol|><|sor|>Except that she did namespace it, external.temperature And Picard is evidently using Tea.EarlGrey.Hot<|eor|><|eols|><|endoftext|>
143
programmerhumor
atomicwrites
htyf33f
<|sols|><|sot|>Namespacing...<|eot|><|sol|>https://i.redd.it/vszzw6r45hd81.jpg<|eol|><|sor|>And that, childen, is why global variables are bad.<|eor|><|sor|>No, global variables are good for "surprise bugs" as shown here in the meme..<|eor|><|sor|>Susprise features<|eor|><|sor|>[Relevant XKCD](https://m.xkcd.com/2570/)<|eor|><|sor|>Now I want to know what Ballistic Earl Grey is.<|eor|><|eols|><|endoftext|>
89
programmerhumor
SmilesWithDelight
ya8znc
<|sols|><|sot|>Skills<|eot|><|sol|>https://i.redd.it/w5vqrxxz19v91.jpg<|eol|><|eols|><|endoftext|>
42,316
programmerhumor
slgray16
ita5o3b
<|sols|><|sot|>Skills<|eot|><|sol|>https://i.redd.it/w5vqrxxz19v91.jpg<|eol|><|sor|>The professor would probably be thrilled that a student was this interested in improving his algorithm. Win or lose its a teachable comparison<|eor|><|eols|><|endoftext|>
6,362
programmerhumor
Derura
itas7cl
<|sols|><|sot|>Skills<|eot|><|sol|>https://i.redd.it/w5vqrxxz19v91.jpg<|eol|><|sor|>The professor would probably be thrilled that a student was this interested in improving his algorithm. Win or lose its a teachable comparison<|eor|><|sor|>Can confirm. Back in uni, during my intro to algorithms lecture I made a similar bet with my professor. I suggested a tactic to improve a sorting algorithm, and gave an example. The professor said it will not work on scale. But I was stubborn, and bet that it will work, to which the professor offered an immediate A regardless of the exam or assignments on the condition I do small (1000), medium (50,000), and large (1,000,000) datasets of sorted, reversed, almost sorted, and completely random elements. And he was right, my idea only worked on small almost sorted data. Other than that, the standard algorithm was much faster. I was upset, but decided to make the best of it and made a small report explaining the methodology and that I have failed miserably with graphs and tables. He was very happy, and said that it was a good demonstration of asymptotic notation. And that summer he even invited me to intern in his laboratory, and I worked with him there for 2.5 years. And if you're wondering, I did get an A. But I had to do it the long way.<|eor|><|eols|><|endoftext|>
2,385
programmerhumor
Devil_May_Kare
itaotay
<|sols|><|sot|>Skills<|eot|><|sol|>https://i.redd.it/w5vqrxxz19v91.jpg<|eol|><|sor|>Lots of python functions are faster than you'd think because they work by invoking highly optimized C code.<|eor|><|eols|><|endoftext|>
2,294
programmerhumor
oshunman
itafzq8
<|sols|><|sot|>Skills<|eot|><|sol|>https://i.redd.it/w5vqrxxz19v91.jpg<|eol|><|sor|>[deleted]<|eor|><|sor|>I'm sick of these C memes after using C for 8 hours at work<|eor|><|sor|>Sorry you had to C this<|eor|><|eols|><|endoftext|>
1,745
programmerhumor
bruhbruhthatsbruh
itaas23
<|sols|><|sot|>Skills<|eot|><|sol|>https://i.redd.it/w5vqrxxz19v91.jpg<|eol|><|sor|>[deleted]<|eor|><|sor|>I'm sick of these C memes after using C for 8 hours at work<|eor|><|eols|><|endoftext|>
1,116
programmerhumor
trymypi
itavz58
<|sols|><|sot|>Skills<|eot|><|sol|>https://i.redd.it/w5vqrxxz19v91.jpg<|eol|><|sor|>The professor would probably be thrilled that a student was this interested in improving his algorithm. Win or lose its a teachable comparison<|eor|><|sor|>Can confirm. Back in uni, during my intro to algorithms lecture I made a similar bet with my professor. I suggested a tactic to improve a sorting algorithm, and gave an example. The professor said it will not work on scale. But I was stubborn, and bet that it will work, to which the professor offered an immediate A regardless of the exam or assignments on the condition I do small (1000), medium (50,000), and large (1,000,000) datasets of sorted, reversed, almost sorted, and completely random elements. And he was right, my idea only worked on small almost sorted data. Other than that, the standard algorithm was much faster. I was upset, but decided to make the best of it and made a small report explaining the methodology and that I have failed miserably with graphs and tables. He was very happy, and said that it was a good demonstration of asymptotic notation. And that summer he even invited me to intern in his laboratory, and I worked with him there for 2.5 years. And if you're wondering, I did get an A. But I had to do it the long way.<|eor|><|sor|>PhD student here: mostly i just document my failures, it's great. Never challenged a prof tho, kudos.<|eor|><|eols|><|endoftext|>
760
programmerhumor
mpattok
itaa34a
<|sols|><|sot|>Skills<|eot|><|sol|>https://i.redd.it/w5vqrxxz19v91.jpg<|eol|><|sor|>The speed of an algorithm is language-independent, only the speed of its execution depends on language, but at that point we may as well also talk about hardware<|eor|><|eols|><|endoftext|>
744
programmerhumor
Disciple153
itaby70
<|sols|><|sot|>Skills<|eot|><|sol|>https://i.redd.it/w5vqrxxz19v91.jpg<|eol|><|sor|>Can we see the algorithms?<|eor|><|sor|>In the words of Principal Skinner: "No."<|eor|><|eols|><|endoftext|>
712
programmerhumor
Shinob1
ita8skv
<|sols|><|sot|>Skills<|eot|><|sol|>https://i.redd.it/w5vqrxxz19v91.jpg<|eol|><|sor|>Can we see the algorithms?<|eor|><|eols|><|endoftext|>
711
programmerhumor
zelmoghazy
itaoho0
<|sols|><|sot|>Skills<|eot|><|sol|>https://i.redd.it/w5vqrxxz19v91.jpg<|eol|><|sor|>The professor would probably be thrilled that a student was this interested in improving his algorithm. Win or lose its a teachable comparison<|eor|><|sor|>I would pull out my three way partition implementation of quick sort and embarrass myself<|eor|><|eols|><|endoftext|>
625
programmerhumor
pingveno
itb3zpa
<|sols|><|sot|>Skills<|eot|><|sol|>https://i.redd.it/w5vqrxxz19v91.jpg<|eol|><|sor|>Lots of python functions are faster than you'd think because they work by invoking highly optimized C code.<|eor|><|sor|>I remember when I was a tutor in college someone came to me with a merge sort implementation written in Python that was running slowly. Python's not fast, but it's not *that* slow. When I took a look, I found the source. In their merge, they were popping the head off the list with smaller value, requiring all following items to be shifted down by one. This caused O(n^2) behavior. Changing to first reversing, then removing from the end reduced it to running in less than a second.<|eor|><|eols|><|endoftext|>
523
programmerhumor
ell0bo
itau9mp
<|sols|><|sot|>Skills<|eot|><|sol|>https://i.redd.it/w5vqrxxz19v91.jpg<|eol|><|sor|>The professor would probably be thrilled that a student was this interested in improving his algorithm. Win or lose its a teachable comparison<|eor|><|sor|>Can confirm. Back in uni, during my intro to algorithms lecture I made a similar bet with my professor. I suggested a tactic to improve a sorting algorithm, and gave an example. The professor said it will not work on scale. But I was stubborn, and bet that it will work, to which the professor offered an immediate A regardless of the exam or assignments on the condition I do small (1000), medium (50,000), and large (1,000,000) datasets of sorted, reversed, almost sorted, and completely random elements. And he was right, my idea only worked on small almost sorted data. Other than that, the standard algorithm was much faster. I was upset, but decided to make the best of it and made a small report explaining the methodology and that I have failed miserably with graphs and tables. He was very happy, and said that it was a good demonstration of asymptotic notation. And that summer he even invited me to intern in his laboratory, and I worked with him there for 2.5 years. And if you're wondering, I did get an A. But I had to do it the long way.<|eor|><|sor|>There was a part of me that was expecting the last bit to be... "and now we're married"<|eor|><|eols|><|endoftext|>
457
programmerhumor
Daniel_H212
itap7zr
<|sols|><|sot|>Skills<|eot|><|sol|>https://i.redd.it/w5vqrxxz19v91.jpg<|eol|><|sor|>r/ProgrammerHumor user: C is faster than python! Random person: but is *your* C code faster than python? r/ProgrammerHumor user: <|eor|><|eols|><|endoftext|>
453
programmerhumor
Derura
itawlyt
<|sols|><|sot|>Skills<|eot|><|sol|>https://i.redd.it/w5vqrxxz19v91.jpg<|eol|><|sor|>The professor would probably be thrilled that a student was this interested in improving his algorithm. Win or lose its a teachable comparison<|eor|><|sor|>Can confirm. Back in uni, during my intro to algorithms lecture I made a similar bet with my professor. I suggested a tactic to improve a sorting algorithm, and gave an example. The professor said it will not work on scale. But I was stubborn, and bet that it will work, to which the professor offered an immediate A regardless of the exam or assignments on the condition I do small (1000), medium (50,000), and large (1,000,000) datasets of sorted, reversed, almost sorted, and completely random elements. And he was right, my idea only worked on small almost sorted data. Other than that, the standard algorithm was much faster. I was upset, but decided to make the best of it and made a small report explaining the methodology and that I have failed miserably with graphs and tables. He was very happy, and said that it was a good demonstration of asymptotic notation. And that summer he even invited me to intern in his laboratory, and I worked with him there for 2.5 years. And if you're wondering, I did get an A. But I had to do it the long way.<|eor|><|sor|>PhD student here: mostly i just document my failures, it's great. Never challenged a prof tho, kudos.<|eor|><|sor|>I mean, someone somewhere said something along the lines of "the less you know about something, the more you're confident in your convictions regarding it". And I think it has truth to it.<|eor|><|eols|><|endoftext|>
413
programmerhumor
JRockBC19
itarkii
<|sols|><|sot|>Skills<|eot|><|sol|>https://i.redd.it/w5vqrxxz19v91.jpg<|eol|><|sor|>The professor would probably be thrilled that a student was this interested in improving his algorithm. Win or lose its a teachable comparison<|eor|><|sor|>I would pull out my three way partition implementation of quick sort and embarrass myself<|eor|><|sor|>I'd use a Bogosort and show him what's up<|eor|><|sor|>Just tell him you did a quantum bogosort so it compiled in O(1) in some reality<|eor|><|eols|><|endoftext|>
389
programmerhumor
slgray16
itapim5
<|sols|><|sot|>Skills<|eot|><|sol|>https://i.redd.it/w5vqrxxz19v91.jpg<|eol|><|sor|>The professor would probably be thrilled that a student was this interested in improving his algorithm. Win or lose its a teachable comparison<|eor|><|sor|>I would pull out my three way partition implementation of quick sort and embarrass myself<|eor|><|sor|>I'd use a Bogosort and show him what's up<|eor|><|eols|><|endoftext|>
371
programmerhumor
Dry_Extension7993
itapolg
<|sols|><|sot|>Skills<|eot|><|sol|>https://i.redd.it/w5vqrxxz19v91.jpg<|eol|><|sor|>He wrote bubble sort in C vs his professor who wrote merge sort in Python<|eor|><|eols|><|endoftext|>
343
programmerhumor
RespectableLurker555
itav4gs
<|sols|><|sot|>Skills<|eot|><|sol|>https://i.redd.it/w5vqrxxz19v91.jpg<|eol|><|sor|>The professor would probably be thrilled that a student was this interested in improving his algorithm. Win or lose its a teachable comparison<|eor|><|sor|>I would pull out my three way partition implementation of quick sort and embarrass myself<|eor|><|sor|>I'd use a Bogosort and show him what's up<|eor|><|sor|>Just tell him you did a quantum bogosort so it compiled in O(1) in some reality<|eor|><|sor|>"creating the bridge to the sorted reality is an exercise left to the reader"<|eor|><|eols|><|endoftext|>
326
programmerhumor
sofabeddd
itaip4p
<|sols|><|sot|>Skills<|eot|><|sol|>https://i.redd.it/w5vqrxxz19v91.jpg<|eol|><|sor|>[deleted]<|eor|><|sor|>I'm sick of these C memes after using C for 8 hours at work<|eor|><|sor|>Sorry you had to C this<|eor|><|sor|>Someone award this guy<|eor|><|sor|>i got you<|eor|><|eols|><|endoftext|>
320
programmerhumor
ccooldean
8v4080
<|sols|><|sot|>yOU HAVE NO IDEA<|eot|><|sol|>https://i.redd.it/rhs7em88p6711.jpg<|eol|><|eols|><|endoftext|>
42,303
programmerhumor
Syllellipsis
e1keqwv
<|sols|><|sot|>yOU HAVE NO IDEA<|eot|><|sol|>https://i.redd.it/rhs7em88p6711.jpg<|eol|><|sor|>Still slightly better than "NM fixed it". At least here you know you need to download something.<|eor|><|eols|><|endoftext|>
5,981
programmerhumor
Dentarthurdent42
e1kp2kk
<|sols|><|sot|>yOU HAVE NO IDEA<|eot|><|sol|>https://i.redd.it/rhs7em88p6711.jpg<|eol|><|sor|>Still slightly better than "NM fixed it". At least here you know you need to download something.<|eor|><|sor|>WHAT DID YOU SEE, DENVERCODER9?!<|eor|><|eols|><|endoftext|>
2,940
programmerhumor
zdakat
e1kew72
<|sols|><|sot|>yOU HAVE NO IDEA<|eot|><|sol|>https://i.redd.it/rhs7em88p6711.jpg<|eol|><|sor|>And then there's either no other posts on the topic,or they all say "lern 2 Google" and point to the long dead webpage.<|eor|><|eols|><|endoftext|>
1,727
programmerhumor
Luvax
e1kpo0z
<|sols|><|sot|>yOU HAVE NO IDEA<|eot|><|sol|>https://i.redd.it/rhs7em88p6711.jpg<|eol|><|sor|>[deleted]<|eor|><|sor|>You forgot the part about the log that's actually a completely different issue but somehow becomes the main focus of the thread since the original poster never came back.<|eor|><|eols|><|endoftext|>
1,163
programmerhumor
Bosun_Tom
e1ke5ep
<|sols|><|sot|>yOU HAVE NO IDEA<|eot|><|sol|>https://i.redd.it/rhs7em88p6711.jpg<|eol|><|sor|>As always, there's a relevant XKCD: https://xkcd.com/979/<|eor|><|eols|><|endoftext|>
1,069
programmerhumor
kooshipuff
e1kqo5y
<|sols|><|sot|>yOU HAVE NO IDEA<|eot|><|sol|>https://i.redd.it/rhs7em88p6711.jpg<|eol|><|sor|>Still slightly better than "NM fixed it". At least here you know you need to download something.<|eor|><|sor|>WHAT DID YOU SEE, DENVERCODER9?!<|eor|><|sor|>relevant xkcd<|eor|><|sor|>Wait, theres no link. I need to know<|eor|><|sor|>We've surpassed the need to actually link XKCD comics. I love it.<|eor|><|eols|><|endoftext|>
982
programmerhumor
bad_luck_charm
e1kpbgg
<|sols|><|sot|>yOU HAVE NO IDEA<|eot|><|sol|>https://i.redd.it/rhs7em88p6711.jpg<|eol|><|sor|>Still slightly better than "NM fixed it". At least here you know you need to download something.<|eor|><|sor|>WHAT DID YOU SEE, DENVERCODER9?!<|eor|><|sor|>relevant xkcd<|eor|><|eols|><|endoftext|>
844
programmerhumor
8ate8
e1kjbcr
<|sols|><|sot|>yOU HAVE NO IDEA<|eot|><|sol|>https://i.redd.it/rhs7em88p6711.jpg<|eol|><|sor|>And then there's either no other posts on the topic,or they all say "lern 2 Google" and point to the long dead webpage.<|eor|><|sor|>My favorite is reading the ibm mainframes forums where every reply is a from a pompous asshole thats been programming for 30 years that answers did you read the manual?<|eor|><|eols|><|endoftext|>
789
programmerhumor
jclocks
e1kn1sw
<|sols|><|sot|>yOU HAVE NO IDEA<|eot|><|sol|>https://i.redd.it/rhs7em88p6711.jpg<|eol|><|sor|>Forgot the following: Forum User 3, 3 months later: Hey I'm having <specific variation of the issue you've been having for the past hour> with this too but this other thing happened, what do you guys think? Admin: Please post a new thread, locking.<|eor|><|eols|><|endoftext|>
540