Ranter
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
Comments
-
10Dev28994yClearly the computer is just having a temper tantrum. Try doing the exact same fucking thing again with no changes
-
If you try again you have a non-zero probably that it could work.
As the number of retries goes to infinity, your probably goes to 1. -
@theabbie all it takes is one byte! Who taught this guy? Which coding preschool did he go to? We all sang If at first you don't succeed, try, try, try and catch.
-
Firstly the loop, first two line will be useless, secondly, the loader is a library, I doubt it's from a good repo. I'd love to put the rest of the code but this guy cost me a ticket reopen. His task, was to get a file from the backend by URL or id, and preview them. 2 months later, my task was to generate printing templates and pipe them through this fuckin fragment. Yea 4 seconds later, the previews show, but press back, nav is gone, bar is gone, UI is just background. You'd know it's a mem leak when this shit happens but were do you start? Literally, I almost killed my dev duck. Do you know how hard it is to convert Thermal Label language to Zebra Printer language?? And make a pdf out of it??in kotlin?. I was happy to learn this new function Array<>.joinByString(delimiter: char). My day was perfect. Snarky Puppy on repeat. Perfectionist like us are just ticking time bombs.
You blame back end, and yet you do shit like this.
rant