Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
Get a devDuck
Rubber duck debugging has never been so cute! Get your favorite coding language devDuckBuy Now
Search - "process overkill"
A continuation of the worst idiot that I worked for, in possibly the worst project of the world. ( The guy who said youtube watching doesn't cost data, downloading the videos offline does)
Guy sends me a template for a patent application.. I ask him why, and he's all secretive until he takes me into a meeting with the patent officers of the organization to reveal his grand plans.
Here goes his idea. He wanted to file a patent for a sonar made for large vehicles in India. His idea was that people in India are used to overtake busses while they turn and they are overrun by the large vehicles. True to some extent but a completely overkill solution for a minor issue that could be solved by educating the masses. I try to explain this to him, and he's pissed off. Starts throwing random, made up stats at me saying 2000 people die everyday on every street. I'm like WHAT??? I look at the patent officer, and he gives me that "don't look at me dude, I'm just here for any questions about the patent process" look. He's busy doodling in his notebook while I try everything possible to invalidate the stupid idea my client has barfed all over the meeting room and the attendants. I even bring out the technical challenges leaving aside the practicality of the nonsense. I asked him how to distinguish between a pedestrian, a parked vehicle, a dog, a cow.. To which he responds with an on the spot thoughtless answer. Heat signatures!! In 5 minutes we went from sonar to heat maps in a tropical country such as India.. He now wants a hybrid solution.
He was about to start yelling when I caved in on the condition that I want nothing to do with the idea after I finish the patent application.. Made up some document and sent it to the asshole, only to never hear about it again.. Thank god for that.. R&D my ass..7
The datepicker saga
So I begin work on a page where user add their details, project is late, taking ages on this page
Nearly done, just need a component to allow users to put in some date of births. Look for react components.
Avoiding that one because fuck Bootstrap.
Ah-ha, that looks good, let's give it a go.
CSS doesn't exist, oh need copy it over from npm dist. Great it applied but...
... WTF it's tiny. Thought it was a problem with my zoom. Nope found the issue in github.com and it's something to do with using REM rather than EM or something, okay someone provided a solution, rather I saw a couple of solutions, after some hacking around I got it working and pasted it in the right location and yes, it's a reasonable size now.
Only it's a bit crap because it only allows scrolling 1 month at a time. No good. Hunting through the docs reveals several options to add year and month drop downs and allow them to be scrolled. Still a bit shit as it only shows certain years, figure I'd set the start date position somewhere at the average.
Wait. The up button on the scroll doesn't even show, it's just a blank 5px button. Mouse scroll doesn't work
... Bailing on that.
Okay sod it I'll just make my own three drop down select boxes, day, month and year. Easy.
At this point I take full responsibility and cannot blame any third party. And kids, take this as a lesson to plan out your code fully and make no assumptions on the simplicity of the problem.
For some reason (of which I regretted much) I decided to abstract things so much I made an array of three objects for each drop down. Containing the information to pretty much abstract away the field it was dealing with. This sort of meta programming really screwed with my head, I have lines like the following:
But I was in too deep and had to weave my way through this kind of abstract process like an intrepid explorer chopping through a rain forest with a butter knife.
So I am using React and Redux, decided it was overkill to use Redux to control each field. Only trouble is of course when the user clicks one of the fields, it doesn't make sense in redux to have one of the three fields selected. And I wanted to show the field title as the first option. So I went against good practice and used state to keep track of the fields before they are handed off to the parent/redux. What a nightmare that was.
Possibly the most challenging part was matching my indices with moment.js to get the UI working right, it was such a meta mess when it just shouldn't have taken so stupidly long.
But, I begin to see the light at the end of this tunnel, it's slowly coming together. And when it all clicks into place I sit back and actually quite enjoy my abysmal attempt at clean and easy to read code.
Ran the generated timestamp through a converter and I get the day before, oh yeah that's great
Seems like it's dependant on the timezone??!
Nope. Deploying. Bye. I no longer care if daylight savings makes you a day younger.1
I was building a super simple Laravel app for a client (forms APIs stuff)
For the frontend I used jQuery cuz why overkill it with react.
Now the sad part:
The app makes ajax calls to fetch the data from the database and update the view according. The code is very well written and the call is so quick that in a blink of an eye the data is processed from the controller and sent to the view -_-
Because the user doesn't gets to see what the fuck just happened when they clicked the action button, I had to add a setTimeout function before the Ajax call to slow down the process by 2000ms and added a freakin spinner.
I feel very sad when I can't show how awesome apps I can build but,
I killed my ego for the UX.
This was my sacrifice.
Anyone faced similar shits?3
I made a point to the management that people are unnecessarily reworking things and throwing away. And all products should have a product owner and they should give requirements. So the management called the same guy(who fucking does pointless rewrites in the name of code cleanup) and said come up with a solution. The guy came with a solution of Agile + Jira and a whole fucking process behind it. So guess what, we are having pointless meetings when we can just finish and ship deliverables.
The management successfully founded an efficient way to effectively waste time. Kuddos.4
I'm so sick of this task.
It's been three weeks now and I have the same problem as last week. It's very frustrating to have my name on this. I could have finished this in a few days if there weren't so many dependencies on other people or if those people would at least care enough to validate their work. I worked on more complex tasks and the most annoying part is knowing how easy it is but still being unable to finish it. I'm tired of attending stand-up meetings and giving the same "update" over and over again.
The team lead who borrowed me (team 2) messaged me yesterday asking what's holding it up. I told him I'm stuck with this thing that I need and that I already reached out to someone to get it so he already knows it's not my fault it's taking so long. Keep in mind that I cannot "just" get it myself, I would if I could, but imagine logging in and then paying right away. What items are you paying for? How much do they cost? It's a chain of events involving different teams.
Last week was spent with a team (team 3) that wouldn't respond to follow-ups. It came to a point where my original team (team 1) and the team who borrowed me (team 2) were all in the same group chat as team 3's lead. All for this one small fucking thing that I need. They kept saying "It's fixed" when it's not and I spent hours taking and sending screenshots to say "It's not there, seeeee?"
Finally, they made the changes last Friday after my work shift. Someone else from the team I'm working with (team 2) validated it, "Yep, it's fixed. The thing is there now." Now someone from team 2 has to make the changes to their API so the thing would appear in the response and then I will call that API to get the thing. While I'd love to volunteer, it's a completely different task assigned to a different developer and since I'm just borrowed by this team, I don't have access to all of their code except this module I'm working on and cannot assess the impact of making the changes. Not to mention that I would have to learn their entire process which I've already proven they are not really sure of themselves.
Why do I need to learn the entire process? Isn't that overkill? Glad you asked. I had an amazing on-boarding during the first week while setting up their shit and got a lot of "You need these first" errors, none of those things are committed to the repository, some are but are in different branches that I couldn't have guessed. Just refer to the previous rant.
So the smartest move is to wait for them to make the changes to the API. I told team 2 that I'm getting an internal server error with the API. They re-deployed and it works but after testing, the thing I need isn't in the response. They said they already made the changes to get the thing. It's not there. Now this guy I'm talking to follows up again with the developer who's working on the API and while all of this is happening, they decided to change the requirements. Team 2 is having production issues and my concerns are of course, not prioritized.
My team lead (team 1, the original) is obviously pissed off by team 3 from last week and now my team mates (team 1) are annoyed at both team 2 and 3 because of their broken applications and processes. Team 2 also made changes in their application without proper communication so the team 1 developers are affected.
I just want all of this to be over so I can return to my original team.
Whats the fucking purpose of our companys dev test and prod env. Dev always only has a single instance. Sometimes clustered services run as cluster on test. Producing headaches because the clustering behaviour couldnt be seen on a single instance and Prod lacks all the nice deployment tools off dev/test. Fuck thinking you could dev then test and prod without any major reconfiguration and headaches. And all because the Storage costs is RETARDEDLY expensive because the backup EVERYTHING with ridiculess overkill. That results in headaches when requesting new servers. Took an old Workstation from the shelves and made it my vm slave so at least i could reliably deploy to test.. Fuck this process
VPN -> SSH -> git clone -> git branch -> sshfs pull -> edit-> restart VPN/SSH every hour or so when it goes down -> sshfs push -> git commit -> git push -> fml