AboutGlorified shit-shoveler shoveling shit shat by shitheads years ago.
Joined devRant on 3/28/2018
Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple APILearn More
Raise your hand if you don’t trust the comments in code most of the time, and take at least a superficial look at the code block to ensure that it does what it says it does.
If you have any exceptions, please share.14
What do you do when you realise that the code that you have been maintaining code that does illegal stuff (written by others years ago, but you implemented major changes so that the illegal stuff keeps functioning).
Here, illegal is the violation of terms8
Today I learned that in Unix/Linux or most command lines, when user is asked to choose an option as [Y/n], the uppercase one signifies the default.
I thought they made it a little harder as a security feature to prevent accidental keypress, and I’m shift+Y ing this for the last eight freaking years!!!!! Every time!17
Ah thank you for understanding.
PS: I respect people answering on StackOverflow - really helps, even though I don't like the answer itself.6
I’m paying for GitHub Copilot and it is serving me well in about 40% of the cases. It is nice to not have to type entire utility methods. Sometimes it also try-catches things that I wouldn’t generally do with a new library that I haven’t used before. Pretty cool.
I also used the Cursor IDE, that isn’t very useful in general cases, but helped me read and understand a horrible piece of 200 line-function with extremely cryptic variable names. Sadly, my free quota there ended.
I hope GitHub Copilot Chat is better at explaining things.3
When I was a kid, my dad was always busy. He is an orphan with next to inheritance and had to work really hard to send me to school. I don’t remember playing with him ever.
He is about to retire in a few years, so he gets some free time now, but now, I’m struggling too hard and don’t have time for anything random at all. The generation gap makes it impossible to share anything at all.
We don’t have any common interests, and don’t get to do stuff together.
Today, we built a mechanical keyboard together. 1 hour. I absolutely loved it.4
If you don’t like debugging, you are not going to make it. It’s going to feel very difficult to move ahead.
You really really have to love finding that sneaky little bug digging for hours at end.
Other than that, it’s all practice and common sense for me.2
There is a reason why we have Static Code Analysis tools.
Also, there is a reason why we have options to configure them.
Idiots will either try to follow things blindly, or try to skip it altogether. Depends on the monkey leading the band.3
CI came up with 265 errors. (deploying to an old server to bring it back).
I make some very clever fixes and run it again.
Now we have 269 errors.
Got the first payment of the next contract after a three month slump! The first slump since leaving university.
Time to pay devRant for Sanity Preservation Services for three months. 🤗2
There was this post in devRant regarding EU battery replacement bill.
Some selectively amnesiac people commented about battery replacement risks.
I wanted to type out that Samsung Galaxy s5 was IP67 with a replaceable battery. Sony XP was IP68.
Somehow, devRant refreshed out of the blue, and now I can’t find the post anymore.
Arrrrggghhh!! Now how will I show everyone that I’m smart - a big battery historian?11
This nice little webpage shows the different dependencies of a npm package as a graph.
Gatsby seems like an implementation due for disaster.
Someone: Be grateful that you aren’t laid off, and received all your pay checks in time.
Me: Be grateful that I haven’t severed you head and eaten noodles in your skull yet.
Of course I say it out loud in my head.1
I just had a chat with the CEO (I'll call him John) of the company I work at. I was trying to get a real alignment on what I need to do to be a valuable resource to this company. They promoted me (without a raise in pay) to a different (management) role, and I do not know what I need to do to be the best in this role.
During the discussion, the CEO failed to provide any usable metrics, or a way to track those, except for phrases like "higher productivity" and "higher quality". How to track? No idea.
So, at this point, me being the idiot I am, wanted to make things explicit:
*Me: Okay, so what if I request for a 20% raise six months from now, what metrics will you look at to decide whether to give me the raise.
(My last raise was a big one, more than 100% or so, more than a year ago. That was a dev role, and I was paid 2 cents earlier, so the doubling to 4 cents wasn't really a big deal.)
John went on a long rant on how people just expect raises every year, inflation, etc. All good and fine.
But then he mentioned something strange.
*John: ...and you know, for the last three years, there has been a race to retain resources. During this race, many companies, including us, had to pay people WAY MORE THAN THEIR VALUE to retain them. These people are going to be the first to be fired during cost-cutting as they are the most expensive resources at the company without any proven value. These people should not expect raises to come soon, and if they do expect that, they need to prove the value themselves.
Now, I, being a simpleton, am wondering how is it fair for an organization to pay someone "more than their value" to retain them once so that they can just be fired two years later. How did the company decide the value of such employees to begin with?
And all this is ignoring the fact that in the company there are no metrics, no KPIs, and performance of a person is how much the CEO likes that guy. How TF the people who joined a year ago and never interacted with the CEO prove their worth?
Developers are building PowerPoints and configuring JIRA/Confluence/Laptops of Sales team, project managers are delegating management to developers and decision-making to the CEO, Technical architect is building requirements documents, Business Analyst is the same person as the QA team lead (and badly stretched), and the Release Manager is the Product Technical Admin that cannot write one sentence in English. And then we got 3.8 hours in meetings every DAY. Why TF are Dev Managers in "QA KPI Meeting"? Why are "developers" writing documentation on "How to create meeting notes at <company>"?
And, in this hell-storm, how does one really demonstrate one's value?15
Anyone else using DevRant on iOS 16.0?
It crashes about 1-3 times a day. I haven’t been able to intentionally reproduce. The app just closes.
This never happened in previous versions.
I’m not an iOS dev so not sure how I can help prepare for public release. I’m not even sure if it is the OS, but since it worked with last iOS, I’m guessing.
Some of the events when it crashed.
1. Browsing comments on someone’s post
2. Double tapping to like a comment (it might be the rant as well, I don’t exactly remember)
3. Opening a rant from the list of rants.
Cannot reproduce. For example, relaunching the app and opening the same rant again didn’t cause a crash.4
Killing people is bad. But, there should be a law to allow killing people who don't write proper unit tests for their code. And also those "team leaders" who approve and merge code without unit tests.
Little backstory. Starts with a question.
What is the most critical part of a quoting tool (tool for resellers to set discounts and margins and create quotations)? The calculations, right?
If one formula is incorrect in one use case, people lose real money. This is the component which the user should be able to trust 100%. Right?
Okay. So this team was supposed to create a calculation engine to support all these calculations. The development was done, and the system was given to the QA team. For the last two months, the QA team finds bugs and assigns those to the development team and the development team fix those and assigns it back to the QA team. But then the QA team realizes that something else has been broken, a different calculation.
Upon investigation, today, I found out that the developers did not write a single unit test for the entire engine. There are at least 2000 different test cases involving the formulas and the QA team was doing all of that manually.
Now, Our continuous integration tool mandates coverage of 75%. What the developer did was to write a dummy test case, so that the entire code was covered.
I really really really really really think that developers should write unit tests, and proper unit tests, for each of the code lines (or, “logical blocks of code”) they write.20
The texts appear a gazillion times better on the external monitor when I am running windows 10 on Bootcamp compared with when I am running MacOS.
Monitor settings (like resolution and size and connection) exactly same in both cases. 🤷🏻11
What do you guys think about conditional salary?
Today I got a 18% raise. I'll get another 18% (on the old salary) as soon as I pass the Salesforce Platform Developer 1 certification.
I'm pretty excited as this puts me in control of my salary to some extent. What do you guys think?13
So this person is looking for a way to learn how to create websites, but apparently doesn't know what backend or frontend is.
Not sure if he is using the wrong process, or someone teaching him messed things up pretty bad. Or probably my question wasn't properly phrased?
Not sure what to say next. How to help him without investing hours? Should I share a good link for him to read? How do I do that without scaring him away?8
Now I am starting to understand the frustration of senior developers and their issues with management.
For the first two years of my career, I was a dev and a team lead, and all worked fine. In some situations, I did get frustrated and thought that was horrible.
But damn! Today I am having a 1 hour session at lunch time (said mandatory participation) with an "Atlassian Platinum Solutions Partner" on "Minimum Variable Bureaucracy".
I'm halfway down, and halfway dead. Just send me an email and I'm happy.4
This is why I hate Windows:
For about a month now, I've been learning/working on salesforce, so my Macbook was enough for me.
Today there was a bug in something I built in iur Python backend, and since it has a dependency on windows, I booted the old guy up.
And this is what I see. For about 1.5 hours this went on.
Then it started, but system consuming 100% disk and 80+% CPU. Can't do a thing.
And when zoom finally opened (for a quick meet), the camera turned on halfway down the meeting, and then the system restarted on it's own.
Old man showing that same screen again for more than 30 minutes.
Since I have dual boot on this one, I hard-shutdown it using power button, and now boot into ubuntu 20. This works so beautifully (although it froze for about 5 seconds before popping up the updates panel, something I CHOSE to keep enabled). I try going back to Windows, and it's hell again.
Here I am now trying to set up a ec2 instance and setup the app source there so that I can debug with RDP.
And yeah, Component Object Model is a motherfucking bitch. Person who invented it should die. People who build apps leveraging this should die. Business leaders who say "Hey this app (built with COM) can solve the problem easily, so use this" should die choking on their own phallus. And developers like me who keep using this because "the last guy did this" should die too.
Microsoft and it's products are the death of sane people.
Fucking Gates. Its the same damn hardware.19
User: Apps crash, UX is shit, Customisation is shit, services take huge memory, BSOD....
Microsoft: We hear you. Here's some new icons. Next year you'll get rounded corners on windows.