AboutI develop software religiously
Skillsjs & frameworks...
Joined devRant on 1/3/2018
Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
Warning: Long rant ahead!
So we built an amazing system for managing swarms of drones, and we have flown hundreds of hours, testing, etc.
Comes a client and says, that he wants to buy our system, but he wants to integrate it in a bigger system that is supposed to orchestrate many small systems.
Sounds like a deal.
So they send me on a week course (see previous rant: https://devrant.com/rants/2049071/...) to learn how to integrate our system in theirs.
I was sure that they have some API or something and it should be a breeze. but apparently they give us an SDK that includes all their files, and we have to build and run their entire system, and then build our own API inside of it!
And the reason we needed a week-long course, was to know all the paths where the XML configuration files exist!
So for the last month, I am hacking away inside this huge program, navigating thousands of files in a language I don't know, in order to build an API for their system, so that I can use it on our side.
Yesterday they informed us that a new version is available.
And sure enough, waiting in my inbox this morning was a link to download a new SDK.
No Changelog, No Instructions, Just a zip file with over 25,000 files.
So I phone my contact in their company to ask how exactly I am supposed to update their files, and his answer was: diff them!
WHAT! 25,000 files, half of them built by the c++ compiler, tens of configuration files scattered in different places, linking all the new libraries from scratch, are they crazy or what?
And then he tells me that they are working for 15 years this way. That's why everyone hates them I guess.
going to have a long day...
P.S. many more rants to come from this integration.6
We offer you to join our A-team and be an important contributor in an exciting agile web development team using the latest web technologies to develop our new front end using AngularJS.1
So pm2 (a node process manager package on npm) just caused thousands of CI builds to fail because of an "optionalDependency" on a package called gkt which is requested as a tarball from a server that was returning 503. That package consists of one file which contains this17
"Jose Simms cut a deal with police in Torrington, Connecticut, to turn himself in if the post went viral. It did and he didn’t."
- who would have ever guessed that would happen...
So first day in the course (https://devrant.com/rants/2049071/...), the lecturer want's to tell us a joke but forgets the punchline...
While he is trying to remember, everyone is like "let's Google it" And proceed to open their phones.
So someone in the back says, what are you guys? Geeks? Let's duck it!3
Boss: Who knows C#?
Me: I've heard of the language...
Sends me (a JS dev) to a week long course to implement a gateway in c#.
So I say to myself, who cares, I will learn a new language.
Apparently the lady in charge of the course mixed up between c# and c++
Funny thing is, the other participants are complaining that they shouldn't be in this course cause they don't know the language...5
When Google recruits, I guess they don't need to ask you anything, since they are already tracking your every move.14
TLDR; I was editing the wrong file, let's go to bed.
We have this huge system that receives data from an API endpoint, does a whole bunch of stuff, going through three other servers, and then via some calculation based on the data received from the UI, and data received from the endpoint, it finally sends the calculated fields to the UI via websocket.
Poor me sitting for over 4 hours debugging and changing values in the logic file trying to understand why one of the fields ends up being null.
Of course every change needs a reboot to all the 4 servers involved, and a hard refresh of the UI.
I even tried to search for the word null in that file, but to no avail.
After scattering hundreds of console logs, and pulling my hair out, I found out that I am editing the wrong file.
I guess it's time for some sleep.1
TLDR; I just screwed a production server and rendered it useless!!!
I went to install a product that we built at the customer's site, and was given a Linux running server, to deploy our app.
I work in windows, and barely know the basic Linux commands.
So I look at the files in the home directory, and see that the are a lot of files, so I ask the customer if it is ok that I move all the files to a separate directory.
He agrees, and me thinking that I am smart, proceed to enter the following commands in the terminal:
mv /* old
Of course I got an error that I don't have permission so my next command was:
sudo mv /* old
And that was the end of that computer.
The amazing part of the story is that as soon as it happened, I understood so much about Linux.
The file structure, sudo, the power of the terminal, aliases and so much more...15
Huge developer convention with 4 speakers today.
A government innovation team,
I'm freaking out.
Wish me luck, I need it...10
Who in their right mind though it would be a good idea to move the web development team to a new office without checking that the internet is connected.
What a waste of three working days.
And of course the project needs to be delivered by Sunday...3
Isn't that the same as the last update?
Someone forgot to change the commit message before pushing to master...6
Today we moved to a new office in the next building.
It is a very big upgrade, since it is bigger and nicer.
So I ask where the bathroom is and go in the direction told, and the bathroom is so nice! Huge mirror, everything is clean and new.
On the way out I find that it was the girls bathroom....15
I just found out that Microsoft created solitaire to teach users to click and drag with the mouse, and minesweeper to teach users to use the right button of their mouse.
Last Sunday the boss says:
About this project we are working on, the client stopped paying, so we are not touching it untill we hear back from him.
Spent the whole week learning new technologies, and having a good time.
Guess what happens this morning...
Listen, about that project, they paid and it needs to be delivered by tomorrow morning! shouldn't be a problem, right?
My top 3:
* Inline styling instead of creating a class.
* slapping the new class at the end of a 700 LOC CSS file.
* Using !important14
I love my job!
On the right:
One windows 10 desktop dual screen.
On the table ahead:
2 ubuntu desktop + one ubuntu laptop.
On the floor:
A dji matrice 100 drone connected to a raspberry pi, and HDMI.
Did I mention already that I love my job?1
Another day, another client story.
So today the client is sending me the text for the website, and after 15(!!!) iterations, add a period, center the text, justify the text, center it again etc.
Me: Can you please create a word document, design it as you like, and I will copy that to HTML for you?
Him: But if I do all the work what am I paying you for?
Me: To listen to you ...3
Ok, so I have a SAAS website where users pay a daily fee to use my platform as there fundraiser landing page.
A new client comes, asks for a discount, and got a 50% off because his brother was a previous client.
Him: Can you please add a list of the days of the year so a donor can donate a day?
Me: Sure, sounds like a good idea, and will probably take me about a week to implement with testing etc. And so I want $$ (hourly rate * one week) for the work.
Him: Don't bluff me I understand a bit in programming, it shouldn't take you more than an hour, and I am paying you, so you should do it for free.
Me: Ok, here is a fair deal, since you understand in programming, build it for me, I give you two weeks and I will pay you double what I am asking for.
Him: I don't understand enough to do it myself, I just estimated how much work it is.
Me: Forget about it, if you want me to build you this feature, you pay. If not you can go to my competition happily.
Who needs bad clients at all?
Why do they think they know everything?
And why don't they understand that time is money?5