c/programmerhumor · by merthyr1831@lemmy.ml · 1yI spent a week debugging a build issue Yeah, it was the cached dependencies, how did you guess? 84 points · 6 comments · view on lemmy.world
6 Comments
bjoern_tantau@swg-empire.de · 27 pts · 1y
There are two hard problems in computer sciences. Cache invalidation, naming things and off by one errors.
HubertManne@piefed.social · 20 pts · 1y
Ugh. When I can't solve something in a day the imposter syndrome starts breathing down my neck.
PunkRockSportsFan@fanaticus.social · 15 pts · 1y
Hahaaa the first thing you checked too? But didn’t realize it was that until way later? That’s me!
merthyr1831@lemmy.ml · 21 pts · 1y
Yup. I got our QA guy to help debug it and he was like "maybe just dont upgrade the dodgy dependency and delete your cache" lmfao yup fixed it
iglou@programming.dev · 8 pts · 1y
If something should work, but it doesn't, nuke all the caches before diving in the rabbit hole of debugging weird issues
angelmountain@feddit.nl · 4 pts · 1y
We literally have a "pnpm nuke" command to help us with that.