Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Search - "salami"
-
I extracted a tangled action to its own api, and wrote a test for it.
The test failed.
I added debugging, more debugging, all the debugging. It still fails. But I can at least see why it fails!
It turns out the api finds and updates the wrong user. It finds and updates the wrong user EVEN WHEN THERE ARE NO OTHER USERS.
WHAT THE SALAMI.
Also, the user lookup it uses is extremely roundabout and takes several seconds with ~2 million users. Normally I'd fix the lookup, but it has been in production for several years, and I'm terrified it will break something if I fix it.
Blargherhagrid.7 -
We were 4 dudes developing this little disposable material management system for a course in college, and we had to write documentation and present on the last day of class. Second week into the course and one dude goes rouge, not taking phonecalls nor replying to messages, just goes to class and does not get together with us to make progress. Neddless to say the other three of us had to do all the work. Fast forward to last day, all of us wondering where this dude could be. He shows up 6 mins before the presentation, already late, reads like 3 pages of the doc, and decides he will be the lead presenter.
>Mfw he takes over and starts bs'ing the whole thing.
>Mfw he mentions the possibility of the system to be extrapolated to manage salami in a butchery.
>Mfw the professor seemed to have swallowed all that bs like cake.
>Mfw we get an A, including him.
>Mfw I have no face4