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 - "querys"
-
Boss comes in and gives me some js code for syncing data (he hacked it together the other day, really messy with like 5 callback lamdas stacked into each other)
Boss: Make it faster and more reliable and add some progress indicator
So i look at the code and he literally pulls all the data as one json (20+ MiB). Server needs multiple minutes to generate the response (lots of querys), sometimes even causing timeouts....
So i do what everyone would do and clean up the code, split the request into multiple ones, only fetching the necessary data and send the code back to my boss.
He comes in and asks me what all this complexity is about. And why i need 5 functions to do what he did in one. (He didn't -.-). He says he only told me to "make it faster and show progress" not "to split everything up".
So I ask him how he wants to do this over HTTP with just one request...
His response: "I don't care make it work!".
Sometimes i hate my job -.-11 -
How I should approach a new project:
- think about data design
- draw some tables
- configure relations
- create data structures
....
How reality proves I'm a donkey:
- builds random table
- works on models, with random querys
- realizes things get to complicated and relations are broken or tables need duplicate logic
- starts thinking about 'good' design
- draw some tables
- configure relations
- create data structures
.... -
One employee explained something to another, while i was walking by.
He: "... now we have 800 instead of 4000 on this Page ..."
Me: "Miliseconds?"
He: "Executed sql querys"
WTF?!?5 -
In our department, we've to send some reports at different times in the same month, for example, three the first day, one the fifteenth, three the last day...
This was a task assigned to my coworker, but it consumed a lot of time to modify and execute the required querys and write the reports in Excek with the results, so O was assignes to create a program that created the reports automatically.
I asked my coworker for the querys, a lot of times since he "forgot it", and once my program was fully completed him, I asked him to test it and tell me if he saw any errors, if the reports were done correctly, etc... And, twenty days later, when I asked him again, told me that everything was okay, so the whole months of July and August, the reports were done automatically.
Today we've receives a ton of emails about how the reports were not correct, how the information was incomplete and such.
Guess who gave me only half the querys requested. Now I've to do every single of them manually. While my manager rants.
Note to future self: Never trust that guy again, and always re-check everything he checks. This better be a lesson for the future.4 -
First time developing an app wich handles millions of rows on database querys with complex joins and etc, never had to get into deep db tuning, liked it more than i thought.2
-
When you open an access db in visual studio so you can do sql querys with out the annoying access interface and then i realize visual studio uses the same interface as access except its worse *-*3
-
Today a collegue ranted about that he needs 96 variables in his code and also for the database querys and told me that's not possible to do it without so many variables... I just thought wtf.. I definitely need a new job!