subreddit
stringclasses
7 values
author
stringlengths
3
20
id
stringlengths
5
7
content
stringlengths
67
30.4k
score
int64
0
140k
programminghorror
IamPiano
f7krdi1
<|sols|><|sot|>Dangerous times we live in...<|eot|><|sol|>https://i.redd.it/62j38yo9mpy31.jpg<|eol|><|sor|>Aaaaaaaand Im unemployed<|eor|><|sor|>You're the guy who is in charge of the servers?<|eor|><|sor|>He's the guy that needs the servers :D<|eor|><|sor|>:D<|eor|><|sor|>D':<|eor|><|eols|><|endoftext|>
13
programminghorror
KamikazeHamster
f7kpv0w
<|sols|><|sot|>Dangerous times we live in...<|eot|><|sol|>https://i.redd.it/62j38yo9mpy31.jpg<|eol|><|sor|>The scariest part is they have to fix this without using stack overflow<|eor|><|sor|>I'm sure they have a QA server that's on a different cluster.<|eor|><|eols|><|endoftext|>
11
programminghorror
IHunteer
f7keeih
<|sols|><|sot|>Dangerous times we live in...<|eot|><|sol|>https://i.redd.it/62j38yo9mpy31.jpg<|eol|><|sor|>Aaaaaaaand Im unemployed<|eor|><|sor|>You're the guy who is in charge of the servers?<|eor|><|sor|>He's the guy that needs the servers :D<|eor|><|sor|>:D<|eor|><|eols|><|endoftext|>
11
programminghorror
Moulinoski
f7jqwho
<|sols|><|sot|>Dangerous times we live in...<|eot|><|sol|>https://i.redd.it/62j38yo9mpy31.jpg<|eol|><|sor|>It does raise a legit concern though: SO is obviously a huge repository of collected knowledge. Jokes aside, what happens if it really goes away? Is there maybe an archival download available or something?<|eor|><...
10
programminghorror
fzammetti
f7js2fd
<|sols|><|sot|>Dangerous times we live in...<|eot|><|sol|>https://i.redd.it/62j38yo9mpy31.jpg<|eol|><|sor|>It does raise a legit concern though: SO is obviously a huge repository of collected knowledge. Jokes aside, what happens if it really goes away? Is there maybe an archival download available or something?<|eor|><...
9
programminghorror
Wittyname_McDingus
ktr7en
<|sols|><|sot|>One simple coding trick C programmers DO NOT want you to know!<|eot|><|sol|>https://i.imgur.com/skfyl6Y.png<|eol|><|eols|><|endoftext|>
2,019
programminghorror
Wittyname_McDingus
ginmgct
<|sols|><|sot|>One simple coding trick C programmers DO NOT want you to know!<|eot|><|sol|>https://i.imgur.com/skfyl6Y.png<|eol|><|sor|>Typical C programmer, leaking memory everywhere.<|eor|><|soopr|> exit(0); is my garbage collector.<|eoopr|><|eols|><|endoftext|>
980
programminghorror
paul2718
ginlft7
<|sols|><|sot|>One simple coding trick C programmers DO NOT want you to know!<|eot|><|sol|>https://i.imgur.com/skfyl6Y.png<|eol|><|sor|>Typical C programmer, leaking memory everywhere.<|eor|><|eols|><|endoftext|>
691
programminghorror
not_your_mate
ginreuo
<|sols|><|sot|>One simple coding trick C programmers DO NOT want you to know!<|eot|><|sol|>https://i.imgur.com/skfyl6Y.png<|eol|><|sor|>I dont know C enough to know what the hell is happening here that doesnt make me any less scared of it<|eor|><|sor|>Basically throwing type safety out of the window and working with m...
357
programminghorror
GVmG
ginqz92
<|sols|><|sot|>One simple coding trick C programmers DO NOT want you to know!<|eot|><|sol|>https://i.imgur.com/skfyl6Y.png<|eol|><|sor|>I dont know C enough to know what the hell is happening here that doesnt make me any less scared of it<|eor|><|eols|><|endoftext|>
316
programminghorror
Benanov
gintbiy
<|sols|><|sot|>One simple coding trick C programmers DO NOT want you to know!<|eot|><|sol|>https://i.imgur.com/skfyl6Y.png<|eol|><|sor|>I dont know C enough to know what the hell is happening here that doesnt make me any less scared of it<|eor|><|sor|>Basically throwing type safety out of the window and working with m...
202
programminghorror
MosAlf
ginq4d4
<|sols|><|sot|>One simple coding trick C programmers DO NOT want you to know!<|eot|><|sol|>https://i.imgur.com/skfyl6Y.png<|eol|><|sor|>Jesus christ. Literal horror. If someone in my company writes something like that he'll get fired immediately. How the hell can someone call malloc without checking if it failed right ...
194
programminghorror
Triplobasic
ginrp1e
<|sols|><|sot|>One simple coding trick C programmers DO NOT want you to know!<|eot|><|sol|>https://i.imgur.com/skfyl6Y.png<|eol|><|sor|>Typical C programmer, leaking memory everywhere.<|eor|><|soopr|> exit(0); is my garbage collector.<|eoopr|><|sor|>Just restart the server already.<|eor|><|eols|><|endoftext|>
154
programminghorror
road_laya
ginsh39
<|sols|><|sot|>One simple coding trick C programmers DO NOT want you to know!<|eot|><|sol|>https://i.imgur.com/skfyl6Y.png<|eol|><|sor|>I dont know C enough to know what the hell is happening here that doesnt make me any less scared of it<|eor|><|sor|>Basically throwing type safety out of the window and working with m...
153
programminghorror
Kapps
giof9kk
<|sols|><|sot|>One simple coding trick C programmers DO NOT want you to know!<|eot|><|sol|>https://i.imgur.com/skfyl6Y.png<|eol|><|sor|>I dont know C enough to know what the hell is happening here that doesnt make me any less scared of it<|eor|><|sor|>Basically throwing type safety out of the window and working with m...
124
programminghorror
Mr_Redstoner
ginvjeq
<|sols|><|sot|>One simple coding trick C programmers DO NOT want you to know!<|eot|><|sol|>https://i.imgur.com/skfyl6Y.png<|eol|><|sor|>Jesus christ. Literal horror. If someone in my company writes something like that he'll get fired immediately. How the hell can someone call malloc without checking if it failed right ...
105
programminghorror
SageHunter
ginxy3l
<|sols|><|sot|>One simple coding trick C programmers DO NOT want you to know!<|eot|><|sol|>https://i.imgur.com/skfyl6Y.png<|eol|><|sor|>Typical C programmer, leaking memory everywhere.<|eor|><|soopr|> exit(0); is my garbage collector.<|eoopr|><|sor|>I'm gonna screenshot this, print it and frame it<|eor|><|eols|><|en...
69
programminghorror
zhongwenmi
gioog0l
<|sols|><|sot|>One simple coding trick C programmers DO NOT want you to know!<|eot|><|sol|>https://i.imgur.com/skfyl6Y.png<|eol|><|sor|>I dont know C enough to know what the hell is happening here that doesnt make me any less scared of it<|eor|><|sor|>Basically throwing type safety out of the window and working with m...
69
programminghorror
road_laya
ginw539
<|sols|><|sot|>One simple coding trick C programmers DO NOT want you to know!<|eot|><|sol|>https://i.imgur.com/skfyl6Y.png<|eol|><|sor|>I dont know C enough to know what the hell is happening here that doesnt make me any less scared of it<|eor|><|sor|>Basically throwing type safety out of the window and working with m...
64
programminghorror
khedoros
ginwitu
<|sols|><|sot|>One simple coding trick C programmers DO NOT want you to know!<|eot|><|sol|>https://i.imgur.com/skfyl6Y.png<|eol|><|sor|>I dont know C enough to know what the hell is happening here that doesnt make me any less scared of it<|eor|><|sor|>They allocated a chunk of memory, kept it as a "this is a pointer t...
62
programminghorror
JeSuisJedi
ginrcdr
<|sols|><|sot|>One simple coding trick C programmers DO NOT want you to know!<|eot|><|sol|>https://i.imgur.com/skfyl6Y.png<|eol|><|sor|>Why let the compiler handle the types if I can also do it, except very poorly.<|eor|><|eols|><|endoftext|>
59
programminghorror
serg06
ginw5w5
<|sols|><|sot|>One simple coding trick C programmers DO NOT want you to know!<|eot|><|sol|>https://i.imgur.com/skfyl6Y.png<|eol|><|sor|>Someone wrote this explanation last time it was posted: #define STRING_SIZE 1000 // Allocate enough space for an int, for a float, and then some extra space for the string. void* ...
51
programminghorror
McFistPunch
gipizbf
<|sols|><|sot|>One simple coding trick C programmers DO NOT want you to know!<|eot|><|sol|>https://i.imgur.com/skfyl6Y.png<|eol|><|sor|>Typical C programmer, leaking memory everywhere.<|eor|><|soopr|> exit(0); is my garbage collector.<|eoopr|><|sor|>https://devblogs.microsoft.com/oldnewthing/20180228-00/?p=98125 thi...
45
programminghorror
devhashtag
ginx8yw
<|sols|><|sot|>One simple coding trick C programmers DO NOT want you to know!<|eot|><|sol|>https://i.imgur.com/skfyl6Y.png<|eol|><|sor|>I dont know C enough to know what the hell is happening here that doesnt make me any less scared of it<|eor|><|sor|>Basically throwing type safety out of the window and working with m...
44
programminghorror
Slinger17
gioc7b1
<|sols|><|sot|>One simple coding trick C programmers DO NOT want you to know!<|eot|><|sol|>https://i.imgur.com/skfyl6Y.png<|eol|><|sor|>Typical C programmer, leaking memory everywhere.<|eor|><|soopr|> exit(0); is my garbage collector.<|eoopr|><|sor|>the real programminghorror is in the comments<|eor|><|eols|><|endof...
43
programminghorror
MuieLaSaraci
fgwbwp
<|sols|><|sot|>We need to go deeper<|eot|><|sol|>https://i.redd.it/rlnkgav8e1m41.png<|eol|><|eols|><|endoftext|>
2,018
programminghorror
im_person_dude
fk7a8ug
<|sols|><|sot|>We need to go deeper<|eot|><|sol|>https://i.redd.it/rlnkgav8e1m41.png<|eol|><|sor|>Now that's what you call meta data :P<|eor|><|eols|><|endoftext|>
240
programminghorror
FateJH
fk7boyd
<|sols|><|sot|>We need to go deeper<|eot|><|sol|>https://i.redd.it/rlnkgav8e1m41.png<|eol|><|sor|>For data, while data, if data, then data.<|eor|><|eols|><|endoftext|>
231
programminghorror
i3aizey
fk7o5di
<|sols|><|sot|>We need to go deeper<|eot|><|sol|>https://i.redd.it/rlnkgav8e1m41.png<|eol|><|sor|>For data, while data, if data, then data.<|eor|><|sor|>for data in Data: while data != null: if data.hasData: yield getData(data.data);<|eor|><|eols|><|endoftext|>
103
programminghorror
Ericfyre
fk7urch
<|sols|><|sot|>We need to go deeper<|eot|><|sol|>https://i.redd.it/rlnkgav8e1m41.png<|eol|><|sor|>Now that's what you call meta data :P<|eor|><|sor|>BIG DATA<|eor|><|eols|><|endoftext|>
88
programminghorror
Qazzian
fk7dvdo
<|sols|><|sot|>We need to go deeper<|eot|><|sol|>https://i.redd.it/rlnkgav8e1m41.png<|eol|><|sor|>Caught myself doing this once. Think I managed to rename some of the keys to be more meaningful once I realised how lazy I was being.<|eor|><|eols|><|endoftext|>
84
programminghorror
Arkham80
fk7s7m5
<|sols|><|sot|>We need to go deeper<|eot|><|sol|>https://i.redd.it/rlnkgav8e1m41.png<|eol|><|sor|>For data, while data, if data, then data.<|eor|><|sor|>for data in Data: while data != null: if data.hasData: yield getData(data.data);<|eor|><|sor|>// data<|eor|><|eols|><|endoftext|>
62
programminghorror
MuieLaSaraci
fk7e970
<|sols|><|sot|>We need to go deeper<|eot|><|sol|>https://i.redd.it/rlnkgav8e1m41.png<|eol|><|sor|>Caught myself doing this once. Think I managed to rename some of the keys to be more meaningful once I realised how lazy I was being.<|eor|><|soopr|>These are all coming from the backend and my fellow FE devs treat the BE...
45
programminghorror
Karnex
fk7w0dr
<|sols|><|sot|>We need to go deeper<|eot|><|sol|>https://i.redd.it/rlnkgav8e1m41.png<|eol|><|sor|>For data, while data, if data, then data.<|eor|><|sor|>for data in Data: while data != null: if data.hasData: yield getData(data.data);<|eor|><|sor|>> != Get out<|eor|><|sor|>Found the js guy<|eor|><|eols|><|endoftext|>
42
programminghorror
Faust925
fk7hiuz
<|sols|><|sot|>We need to go deeper<|eot|><|sol|>https://i.redd.it/rlnkgav8e1m41.png<|eol|><|sor|>We looked at the data, and what we found surprised us.<|eor|><|eols|><|endoftext|>
36
programminghorror
jmack2424
fk7iv1q
<|sols|><|sot|>We need to go deeper<|eot|><|sol|>https://i.redd.it/rlnkgav8e1m41.png<|eol|><|sor|>Caught myself doing this once. Think I managed to rename some of the keys to be more meaningful once I realised how lazy I was being.<|eor|><|soopr|>These are all coming from the backend and my fellow FE devs treat the BE...
33
programminghorror
ivgd
fk7lxqd
<|sols|><|sot|>We need to go deeper<|eot|><|sol|>https://i.redd.it/rlnkgav8e1m41.png<|eol|><|sor|> while(true){ data = data.data; } There made it easy for you<|eor|><|eols|><|endoftext|>
30
programminghorror
_kasdeya_
fk8pp86
<|sols|><|sot|>We need to go deeper<|eot|><|sol|>https://i.redd.it/rlnkgav8e1m41.png<|eol|><|sor|>For data, while data, if data, then data.<|eor|><|sor|>for data in Data: while data != null: if data.hasData: yield getData(data.data);<|eor|><|sor|>> != Get out<|eor|><|sor|>Oh that's right I forgot that if you want to c...
28
programminghorror
MuieLaSaraci
fk7jrvs
<|sols|><|sot|>We need to go deeper<|eot|><|sol|>https://i.redd.it/rlnkgav8e1m41.png<|eol|><|sor|>Caught myself doing this once. Think I managed to rename some of the keys to be more meaningful once I realised how lazy I was being.<|eor|><|soopr|>These are all coming from the backend and my fellow FE devs treat the BE...
20
programminghorror
joemckie
fk7stzg
<|sols|><|sot|>We need to go deeper<|eot|><|sol|>https://i.redd.it/rlnkgav8e1m41.png<|eol|><|sor|>For data, while data, if data, then data.<|eor|><|sor|>for data in Data: while data != null: if data.hasData: yield getData(data.data);<|eor|><|sor|>> != Get out<|eor|><|eols|><|endoftext|>
17
programminghorror
Where_Do_I_Fit_In
fk8k0wz
<|sols|><|sot|>We need to go deeper<|eot|><|sol|>https://i.redd.it/rlnkgav8e1m41.png<|eol|><|sor|>Now that's what you call meta data :P<|eor|><|sor|>Web APIs be like "yo dawg, I heard you like data so I put your data in some data and wrapped it in some data. "<|eor|><|eols|><|endoftext|>
15
programminghorror
jmack2424
fk7iww6
<|sols|><|sot|>We need to go deeper<|eot|><|sol|>https://i.redd.it/rlnkgav8e1m41.png<|eol|><|sor|>We looked at the data, and what we found surprised us.<|eor|><|sor|>we looked at the data.data.data<|eor|><|eols|><|endoftext|>
15
programminghorror
stamminator
fk83qq6
<|sols|><|sot|>We need to go deeper<|eot|><|sol|>https://i.redd.it/rlnkgav8e1m41.png<|eol|><|sor|> while(true){ data = data.data; } There made it easy for you<|eor|><|sor|> while (typeof data.data !== undefined) { data = data.data; } There we go<|eor|><|eols|><|endoftext|>
15
programminghorror
MuieLaSaraci
fk7uxud
<|sols|><|sot|>We need to go deeper<|eot|><|sol|>https://i.redd.it/rlnkgav8e1m41.png<|eol|><|sor|>Caught myself doing this once. Think I managed to rename some of the keys to be more meaningful once I realised how lazy I was being.<|eor|><|soopr|>These are all coming from the backend and my fellow FE devs treat the BE...
15
programminghorror
peppaz
fk87ktg
<|sols|><|sot|>We need to go deeper<|eot|><|sol|>https://i.redd.it/rlnkgav8e1m41.png<|eol|><|sor|>For data, while data, if data, then data.<|eor|><|sor|>Why use lot var when one var do trick<|eor|><|eols|><|endoftext|>
14
programminghorror
Xenoxsis
f38ujr
<|sols|><|sot|>A colleague wrote this in our company slack channel<|eot|><|sol|>https://i.redd.it/7g4g5ttijog41.png<|eol|><|eols|><|endoftext|>
2,010
programminghorror
x1rom
fhh8lat
<|sols|><|sot|>A colleague wrote this in our company slack channel<|eot|><|sol|>https://i.redd.it/7g4g5ttijog41.png<|eol|><|sor|>They're probably paid in how many lines of code they write.<|eor|><|eols|><|endoftext|>
406
programminghorror
one_big_tomato
fhhe3di
<|sols|><|sot|>A colleague wrote this in our company slack channel<|eot|><|sol|>https://i.redd.it/7g4g5ttijog41.png<|eol|><|sor|>They're probably paid in how many lines of code they write.<|eor|><|sor|>I would love to see a programming competition where you have to write the most verbose code to execute an incredibly s...
263
programminghorror
esfraritagrivrit
fhhaqqc
<|sols|><|sot|>A colleague wrote this in our company slack channel<|eot|><|sol|>https://i.redd.it/7g4g5ttijog41.png<|eol|><|sor|>Why say few word when many word do trick<|eor|><|eols|><|endoftext|>
177
programminghorror
gardyna
fhheftw
<|sols|><|sot|>A colleague wrote this in our company slack channel<|eot|><|sol|>https://i.redd.it/7g4g5ttijog41.png<|eol|><|sor|>They're probably paid in how many lines of code they write.<|eor|><|sor|>I would love to see a programming competition where you have to write the most verbose code to execute an incredibly s...
159
programminghorror
pancomputationalist
fhh9to8
<|sols|><|sot|>A colleague wrote this in our company slack channel<|eot|><|sol|>https://i.redd.it/7g4g5ttijog41.png<|eol|><|sor|>Why, just why?<|eor|><|sor|> int i = 0; bool just = false; // ask two questions for dramatic purposeses while (i < 2) { if (just) print("just "); print("Why?"...
126
programminghorror
gardyna
fhhcsvo
<|sols|><|sot|>A colleague wrote this in our company slack channel<|eot|><|sol|>https://i.redd.it/7g4g5ttijog41.png<|eol|><|sor|>Why say few word when many word do trick<|eor|><|sor|>Why would a person such as yourself decide to say something with the absolute minimum amount of selected words from our vocabulary when i...
111
programminghorror
b1ackcat
fhhgusn
<|sols|><|sot|>A colleague wrote this in our company slack channel<|eot|><|sol|>https://i.redd.it/7g4g5ttijog41.png<|eol|><|sor|>They're probably paid in how many lines of code they write.<|eor|><|sor|>I would love to see a programming competition where you have to write the most verbose code to execute an incredibly s...
79
programminghorror
UnacceptableUse
fhhf6hh
<|sols|><|sot|>A colleague wrote this in our company slack channel<|eot|><|sol|>https://i.redd.it/7g4g5ttijog41.png<|eol|><|sor|>They're probably paid in how many lines of code they write.<|eor|><|sor|>I would love to see a programming competition where you have to write the most verbose code to execute an incredibly s...
74
programminghorror
SheikhThingsUp
fhh8f0a
<|sols|><|sot|>A colleague wrote this in our company slack channel<|eot|><|sol|>https://i.redd.it/7g4g5ttijog41.png<|eol|><|sor|>They should also check if b is false before assigning true to it. <|eor|><|eols|><|endoftext|>
60
programminghorror
Fabbylicious
fhh86x4
<|sols|><|sot|>A colleague wrote this in our company slack channel<|eot|><|sol|>https://i.redd.it/7g4g5ttijog41.png<|eol|><|sor|>Why, just why?<|eor|><|eols|><|endoftext|>
50
programminghorror
bausscode
fhh6i7u
<|sols|><|sot|>A colleague wrote this in our company slack channel<|eot|><|sol|>https://i.redd.it/7g4g5ttijog41.png<|eol|><|sor|>is this discord with light theme<|eor|><|sor|>It clearly says slack.<|eor|><|eols|><|endoftext|>
46
programminghorror
earthqaqe
fhhbjic
<|sols|><|sot|>A colleague wrote this in our company slack channel<|eot|><|sol|>https://i.redd.it/7g4g5ttijog41.png<|eol|><|sor|>I guess the loop was iterating more often some time ago and then the requirements changed and someone was too lazy to change it so he just changed the number to 2.<|eor|><|eols|><|endoftext|>
37
programminghorror
hamarki
fhhknod
<|sols|><|sot|>A colleague wrote this in our company slack channel<|eot|><|sol|>https://i.redd.it/7g4g5ttijog41.png<|eol|><|sor|>They're probably paid in how many lines of code they write.<|eor|><|sor|>I would love to see a programming competition where you have to write the most verbose code to execute an incredibly s...
37
programminghorror
Square789
fhhisyz
<|sols|><|sot|>A colleague wrote this in our company slack channel<|eot|><|sol|>https://i.redd.it/7g4g5ttijog41.png<|eol|><|sor|>They're probably paid in how many lines of code they write.<|eor|><|sor|>I would love to see a programming competition where you have to write the most verbose code to execute an incredibly s...
36
programminghorror
Dreadedsemi
fhhhffv
<|sols|><|sot|>A colleague wrote this in our company slack channel<|eot|><|sol|>https://i.redd.it/7g4g5ttijog41.png<|eol|><|sor|>They're probably paid in how many lines of code they write.<|eor|><|sor|>I would love to see a programming competition where you have to write the most verbose code to execute an incredibly s...
31
programminghorror
Ben_0
fhhj0lz
<|sols|><|sot|>A colleague wrote this in our company slack channel<|eot|><|sol|>https://i.redd.it/7g4g5ttijog41.png<|eol|><|sor|>They're probably paid in how many lines of code they write.<|eor|><|sor|>I would love to see a programming competition where you have to write the most verbose code to execute an incredibly s...
31
programminghorror
radulfr2
fhhc5th
<|sols|><|sot|>A colleague wrote this in our company slack channel<|eot|><|sol|>https://i.redd.it/7g4g5ttijog41.png<|eol|><|sor|>I don't actually hate this in principle, I just hate that $language doesn't make it easy to write. It already looks a lot better in ES6: [false, true].forEach((b) => dropdown(b)) I also...
29
programminghorror
DonUdo
fhhco7y
<|sols|><|sot|>A colleague wrote this in our company slack channel<|eot|><|sol|>https://i.redd.it/7g4g5ttijog41.png<|eol|><|sor|>Why, just why?<|eor|><|sor|> int i = 0; bool just = false; // ask two questions for dramatic purposeses while (i < 2) { if (just) print("just "); print("Why?"...
25
programminghorror
frex4
r4kh99
<|sols|><|sot|>My teammate added a new package without updating package-lock, failing the pipeline. Here's how he fixed it.<|eot|><|sol|>https://i.redd.it/wu379yabyf281.png<|eol|><|eols|><|endoftext|>
2,006
programminghorror
YM_Industries
hmhy8h6
<|sols|><|sot|>My teammate added a new package without updating package-lock, failing the pipeline. Here's how he fixed it.<|eot|><|sol|>https://i.redd.it/wu379yabyf281.png<|eol|><|sor|>Your pipeline shouldn't do `npm install`, it should do `npm ci`.<|eor|><|eols|><|endoftext|>
340
programminghorror
sim642
hmhlrno
<|sols|><|sot|>My teammate added a new package without updating package-lock, failing the pipeline. Here's how he fixed it.<|eot|><|sol|>https://i.redd.it/wu379yabyf281.png<|eol|><|sor|>Also `CI=false` in a CI script.<|eor|><|eols|><|endoftext|>
302
programminghorror
droi86
hmhra2l
<|sols|><|sot|>My teammate added a new package without updating package-lock, failing the pipeline. Here's how he fixed it.<|eot|><|sol|>https://i.redd.it/wu379yabyf281.png<|eol|><|sor|>If violence doesn't solve your problems you're not using enough of it<|eor|><|eols|><|endoftext|>
216
programminghorror
cedric005
hmhrbhx
<|sols|><|sot|>My teammate added a new package without updating package-lock, failing the pipeline. Here's how he fixed it.<|eot|><|sol|>https://i.redd.it/wu379yabyf281.png<|eol|><|sor|>Its probably Friday night and he really wanted to leave.<|eor|><|eols|><|endoftext|>
187
programminghorror
Craksy
hmhuorf
<|sols|><|sot|>My teammate added a new package without updating package-lock, failing the pipeline. Here's how he fixed it.<|eot|><|sol|>https://i.redd.it/wu379yabyf281.png<|eol|><|sor|>So the first problem here is node... Discuss<|eor|><|sor|>Look at everyone, discussing away with the vote buttons! Seems like they ...
82
programminghorror
PlasticBk
hmif6ms
<|sols|><|sot|>My teammate added a new package without updating package-lock, failing the pipeline. Here's how he fixed it.<|eot|><|sol|>https://i.redd.it/wu379yabyf281.png<|eol|><|sor|>Also `CI=false` in a CI script.<|eor|><|sor|>Hey, I know this one! Somewhere in the build script, there's a check to treat warnings as...
77
programminghorror
MeatyLabia
hmi6nz5
<|sols|><|sot|>My teammate added a new package without updating package-lock, failing the pipeline. Here's how he fixed it.<|eot|><|sol|>https://i.redd.it/wu379yabyf281.png<|eol|><|sor|>Your pipeline shouldn't do `npm install`, it should do `npm ci`.<|eor|><|sor|>I thought npm ci didnt work with pipeline caching?<|eor|...
61
programminghorror
kek28484934939
hmi6nta
<|sols|><|sot|>My teammate added a new package without updating package-lock, failing the pipeline. Here's how he fixed it.<|eot|><|sol|>https://i.redd.it/wu379yabyf281.png<|eol|><|sor|>thats why you use `npm ci` in a pipeline<|eor|><|eols|><|endoftext|>
48
programminghorror
jerslan
hmi9xur
<|sols|><|sot|>My teammate added a new package without updating package-lock, failing the pipeline. Here's how he fixed it.<|eot|><|sol|>https://i.redd.it/wu379yabyf281.png<|eol|><|sor|>Why is a pipeline updating package-lock?<|eor|><|sor|>The pipeline isn't really updating package-lock though. The problem is that some...
44
programminghorror
andii1997_
hmic8op
<|sols|><|sot|>My teammate added a new package without updating package-lock, failing the pipeline. Here's how he fixed it.<|eot|><|sol|>https://i.redd.it/wu379yabyf281.png<|eol|><|sor|>Your pipeline shouldn't do `npm install`, it should do `npm ci`.<|eor|><|sor|>I thought npm ci didnt work with pipeline caching?<|eor|...
29
programminghorror
YM_Industries
hmitmiz
<|sols|><|sot|>My teammate added a new package without updating package-lock, failing the pipeline. Here's how he fixed it.<|eot|><|sol|>https://i.redd.it/wu379yabyf281.png<|eol|><|sor|>Your pipeline shouldn't do `npm install`, it should do `npm ci`.<|eor|><|sor|>I thought npm ci didnt work with pipeline caching?<|eor|...
27
programminghorror
Motylde
hmiseou
<|sols|><|sot|>My teammate added a new package without updating package-lock, failing the pipeline. Here's how he fixed it.<|eot|><|sol|>https://i.redd.it/wu379yabyf281.png<|eol|><|sor|>Solution: don't add extra packages<|eor|><|sor|>yeah, just copy library code to yours. This is the way<|eor|><|eols|><|endoftext|>
25
programminghorror
benaffleks
hmhxvr6
<|sols|><|sot|>My teammate added a new package without updating package-lock, failing the pipeline. Here's how he fixed it.<|eot|><|sol|>https://i.redd.it/wu379yabyf281.png<|eol|><|sor|>Why is a pipeline updating package-lock?<|eor|><|eols|><|endoftext|>
22
programminghorror
BakuhatsuK
hmj0qck
<|sols|><|sot|>My teammate added a new package without updating package-lock, failing the pipeline. Here's how he fixed it.<|eot|><|sol|>https://i.redd.it/wu379yabyf281.png<|eol|><|sor|>thats why you use `npm ci` in a pipeline<|eor|><|sor|>Ah yes: - Make sure to cache node_modules from previous run. - Download and ext...
22
programminghorror
YM_Industries
hmittao
<|sols|><|sot|>My teammate added a new package without updating package-lock, failing the pipeline. Here's how he fixed it.<|eot|><|sol|>https://i.redd.it/wu379yabyf281.png<|eol|><|sor|>Your pipeline shouldn't do `npm install`, it should do `npm ci`.<|eor|><|sor|>`npm` is good for one reason: `npm install yarn`.<|eor|>...
21
programminghorror
frex4
hmj7ie4
<|sols|><|sot|>My teammate added a new package without updating package-lock, failing the pipeline. Here's how he fixed it.<|eot|><|sol|>https://i.redd.it/wu379yabyf281.png<|eol|><|sor|>Alright Ive got a question. What software do yall use for programming things as a team? Like if one of you adds something to a program...
19
programminghorror
Jonno_FTW
hmhz23g
<|sols|><|sot|>My teammate added a new package without updating package-lock, failing the pipeline. Here's how he fixed it.<|eot|><|sol|>https://i.redd.it/wu379yabyf281.png<|eol|><|sor|>So the first problem here is node... Discuss<|eor|><|sor|>The problem isn't node, it's poor use of node's tools.<|eor|><|eols|><|endo...
19
programminghorror
EmperorArthur
hmitvnu
<|sols|><|sot|>My teammate added a new package without updating package-lock, failing the pipeline. Here's how he fixed it.<|eot|><|sol|>https://i.redd.it/wu379yabyf281.png<|eol|><|sor|>It's "What's the fastest fix that works?" mentality. I've seen it at management level before as well. Be glad you can potentially cat...
13
programminghorror
pille1910
hmipwqn
<|sols|><|sot|>My teammate added a new package without updating package-lock, failing the pipeline. Here's how he fixed it.<|eot|><|sol|>https://i.redd.it/wu379yabyf281.png<|eol|><|sor|>Your pipeline shouldn't do `npm install`, it should do `npm ci`.<|eor|><|sor|>`npm` is good for one reason: `npm install yarn`.<|eor|>...
12
programminghorror
jrw01
emh1pr
<|sols|><|sot|>"if loop"<|eot|><|sol|>https://i.imgur.com/tEHmKPR.jpg<|eol|><|eols|><|endoftext|>
2,013
programminghorror
MyNameIsRichardCS54
fdonfch
<|sols|><|sot|>"if loop"<|eot|><|sol|>https://i.imgur.com/tEHmKPR.jpg<|eol|><|sor|>Slap a goto at the end and you will have an if loop.<|eor|><|eols|><|endoftext|>
471
programminghorror
jrw01
fdon6mf
<|sols|><|sot|>"if loop"<|eot|><|sol|>https://i.imgur.com/tEHmKPR.jpg<|eol|><|soopr|>In a college level programming/engineering class.<|eoopr|><|eols|><|endoftext|>
244
programminghorror
-0__0
fdpoxk9
<|sols|><|sot|>"if loop"<|eot|><|sol|>https://i.imgur.com/tEHmKPR.jpg<|eol|><|sor|>Slap a goto at the end and you will have an if loop.<|eor|><|sor|> function ifLoop() { if(true) { statements; ifLoop(); } }<|eor|><|eols|><|endoftext|>
215
programminghorror
SausageHunter556
fdoxios
<|sols|><|sot|>"if loop"<|eot|><|sol|>https://i.imgur.com/tEHmKPR.jpg<|eol|><|sor|>Control structure keyword? Condition in parenthesis? Curly braces with code in it? # LOOP<|eor|><|eols|><|endoftext|>
170
programminghorror
Semarc01
fdppo78
<|sols|><|sot|>"if loop"<|eot|><|sol|>https://i.imgur.com/tEHmKPR.jpg<|eol|><|sor|>Slap a goto at the end and you will have an if loop.<|eor|><|sor|> function ifLoop() { if(true) { statements; ifLoop(); } }<|eor|><|sor|>Also known as a bad way to build a while-loop.<|eor|><|eols|><|endoftex...
116
programminghorror
AustinCorgiBart
fdpij96
<|sols|><|sot|>"if loop"<|eot|><|sol|>https://i.imgur.com/tEHmKPR.jpg<|eol|><|soopr|>In a college level programming/engineering class.<|eoopr|><|sor|>What school committed this heinous act?<|eor|><|eols|><|endoftext|>
85
programminghorror
UnacceptableUse
fdoziri
<|sols|><|sot|>"if loop"<|eot|><|sol|>https://i.imgur.com/tEHmKPR.jpg<|eol|><|sor|>Control structure keyword? Condition in parenthesis? Curly braces with code in it? # LOOP<|eor|><|sor|>Lps<|eor|><|eols|><|endoftext|>
76
programminghorror
TheDiplocrap
fdoxim0
<|sols|><|sot|>"if loop"<|eot|><|sol|>https://i.imgur.com/tEHmKPR.jpg<|eol|><|sor|>like, clearly misleading terminology, but from a certain perspective, \`if\` falls into the same category as loops, because both are control-flow primitives in high-level languages that are implemented using conditional branches in low-l...
69
programminghorror
Nicd
fdq44e0
<|sols|><|sot|>"if loop"<|eot|><|sol|>https://i.imgur.com/tEHmKPR.jpg<|eol|><|sor|>Slap a goto at the end and you will have an if loop.<|eor|><|sor|> function ifLoop() { if(true) { statements; ifLoop(); } }<|eor|><|sor|>Also known as a bad way to build a while-loop.<|eor|><|sor|>Also known ...
64
programminghorror
anydalch
fdou70l
<|sols|><|sot|>"if loop"<|eot|><|sol|>https://i.imgur.com/tEHmKPR.jpg<|eol|><|sor|>like, clearly misleading terminology, but from a certain perspective, \`if\` falls into the same category as loops, because both are control-flow primitives in high-level languages that are implemented using conditional branches in low-l...
60
programminghorror
ViriaX
fdooyto
<|sols|><|sot|>"if loop"<|eot|><|sol|>https://i.imgur.com/tEHmKPR.jpg<|eol|><|sor|>Ha yes, my favourite loop<|eor|><|eols|><|endoftext|>
58
programminghorror
amjh
fdpe8c9
<|sols|><|sot|>"if loop"<|eot|><|sol|>https://i.imgur.com/tEHmKPR.jpg<|eol|><|sor|>Loop if: While(condition){ stuff.do(); break; }<|eor|><|eols|><|endoftext|>
51
programminghorror
imsitco
fdpyck6
<|sols|><|sot|>"if loop"<|eot|><|sol|>https://i.imgur.com/tEHmKPR.jpg<|eol|><|soopr|>In a college level programming/engineering class.<|eoopr|><|sor|>What school committed this heinous act?<|eor|><|sor|>[deleted]<|eor|><|sor|>If someone with a mechanical engineering degree is making slides for your class, id ve worried...
49
programminghorror
Skendum
fdq4x4j
<|sols|><|sot|>"if loop"<|eot|><|sol|>https://i.imgur.com/tEHmKPR.jpg<|eol|><|sor|>Slap a goto at the end and you will have an if loop.<|eor|><|sor|> function ifLoop() { if(true) { statements; ifLoop(); } }<|eor|><|sor|>Also known as a bad way to build a while-loop.<|eor|><|sor|>functional ...
37
programminghorror
SaggiSponge
fdpr7a8
<|sols|><|sot|>"if loop"<|eot|><|sol|>https://i.imgur.com/tEHmKPR.jpg<|eol|><|sor|>Slap a goto at the end and you will have an if loop.<|eor|><|sor|> function ifLoop() { if(true) { statements; ifLoop(); } }<|eor|><|sor|>Sneaky tail call.<|eor|><|sor|>*Cries in Java*<|eor|><|sor|>wait, wut? ...
37