Details
-
AboutMid Developer
-
Skillsc# / Asp.NetCore / JS /
Joined devRant on 1/15/2020
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
-
Dual Boot Linux & Windows.
I hardly ever see anyone do it right. And there is just two tricks that make a completely new experience out of it. I am not sharing it with you to be nice, I am sharing because I am curious if you're already doing it.
1. Install on a second hard drive, not a different partition. Learn which button to hold on the boot screen to select the boot drive. You can still chain-load via Grub, but the major advantage, updates of neither OS will fuck up your boot loader. You can update it abso-fucking-lutely risk free. Second advantage, advice 2. becomes trivially easy.
2. Set up a virtual machine. Select as its hard drive the raw disk volume where you have installed your Windows. You can do this with VirtualBox, but QEMU with virtual machine manager make is far easier to set this up in. You can now start Windows under Linux as a virtual machine. You can always start a small application, but the big deal is installing. Start a Steam download, have it installed and ready without switching over. Running windows updates. And when you then have time to play the game, just reboot and you have it already installed.
I feel like many are not aware that you can start a virtual machine of a real hard drive. It's one of those things that improve usability of it enormously. It's something where many will just not think about it because they keep dual booting and virtual machines in two different categories in their brains, but immediately will think it is obvious as soon as they hear about it.
So, who already did this? Raise your hands!25 -
today i was very sleep deprived and i had an anxiety episode at work. that was the first time my coworkers saw me like that. they took me to a cafe, got me a pastry and kept chatting about random stuff while i calmed down. i felt vulnerable and ashamed for not keeping it together, but it was one of the nicest things anyone's ever done for me.14
-
“sEniOr tEcHniCiaN”: “I don’t know what Blazor is. I write my projects in ASP.NET. You should just use ASP.NET”
Me: …”Blazor *is* ASP. This project is running on ASP.NET 6.”
“seNioR tEchNiCiaN”: “As previously stated, I don’t use Blazor. I don’t care what version it is.”
Yes, this is a real exchange from my ongoing problems with this idiot.
His attitude is what ticks me off the most.
He doesn’t know what CORS is.
He doesn’t understand that “ASP.NET” covers Blazor, Razor Pages, the old MVC stuff, web APIs, and more.
He doesn’t understand the difference between a web request being initiated from the browser via Fetch and a web request being initiated from the server. (“My ASP site is shown in the browser, so requests to the third party API aren’t originating from the server.”)
And yet has the arrogance to repeatedly talk down to me while I try to explain basic concepts to him in the least condescending way possible.
After going around and around in circles with him, he finally admitted to me that “he doesn’t actually know what the CORS configuration looks like or how to modify it, to be honest.”
I just wanna go home.15 -
Don't buy the "We're bleeding edge, agile and embrace devops.". Those who proclaim that the loudest are the ones that think they do, but don't.
Oh, and any place that refers to employees as "tech ninjas" or "superstars" or anything cringy like that. Stay away.
This was more how to avoid shitty places. So to find a good place to work, use this statement in your search:
if (!<this_rant>)
{
... // maybe you're lucky
}9 -
Ask questions during interview.
Ask about trainings - it's usually a good sign when company offers training budget. Ask about specifics - sometimes it's a shared pluralsight account, and nothing else, which means that that had an idea and half assed it into existence.
Ask tech recruiter about overtime, a good sign is when they have no idea or say that it must be budgeted and scheduled - it means that it does not happen often.
Ask if it is possible to select and change projects, and how often it happens - if often, it may be bad low level management, or people learning new things and jumping between projects.
Also make sure to ask about rules for promotions and pay rises. Good company wił have a clear set of rules in place.
All of the above apply to mid to large companies.
For small company, i'm sure it will be different.3 -
Asked junior to clone a git repo
junior: tried everything it doesn't work
me: show me how you did it
junior: right clicked on the repository, 'Copy link address' then paste it into the terminal
me: put that mouse down right now!26 -
Useless feature I've built?
Too many to mention. Here's #25.
Modified an existing "Are you sure..?" dialog pop-up (Yes/No buttons) to Yes/No/Cancel. Why? Managers claimed users were "accidentally" clicking 'Yes' when they should have clicked 'No' and causing all kinds of chaos, costing the company money, etc. Managers believed giving the user two chances instead of one would make it easier to avoid the problems they caused.
The meeting:
Me: "Users can click 'No', hit the 'Esc' key, or click the close 'X' button on the window, how will an extra button make it more foolproof?"
Mgr1: "It just will. Andy accidentally deleted inventory and when I asked him if an extra button would have saved them a days worth of re-counts, he said yes."
Mgr2: "Barb accidentally credited a customer $1,500. She promised me she clicked 'No', but the system credited the account anyway. An extra button would have saved us thousands of dollars!"
Me: "Um...these sound like training issues, not an extra button issue."
MyMgr: "PaperTrail, how hard is it to add an extra button?"
Dev1: "Oh yea, adding buttons is easy."
Dev2: "I can do it 5 minutes"
Dev3: "We'll save the company thousands and thousands of dollars!"
<lots of head-knodding and smiles>
MyMgr: "That settles it. PaperTrail, add the extra button!"
Users still screwed things up, but at least they couldn't blame it on not having an extra button.24 -
That glorious moment when you remove a function from your Javascript.
is_internet_explorer()
It's one job was to detect and prompt a user about not using IE on this shit for a stain website - ironically built for IE 😂
You sir, will not be missed 🥳11 -
A repressed memory just popped into my head:
At my former job I tried to explain a problem I was having to the tech lead. Then, without fully understanding the problem, he decided to rewrite my code that I had been working on for weeks. His code, that took him 2 days to write, went straight to master without peer review.
He introduced about 10 regressions…
Queue the client meeting where the client says “These bugs came back, and we thought they were fixed already…” (They demo the bugs)
So obviously I say “I’ll let Techlead address that one.”
He just mumbles some stuff, and goes quiet for the rest of the meeting. Finally, when the meeting was wrapping up we hear “It’s Fixed!”
Everyone was like ???
“That bug from earlier, it’s fixed, it should work now….”
Would you believe this guy decided to code during the entire meeting, clearly missing important feedback and information that would help him understand the problem. Again, pushing to master without review….
Not to mention that we were talking about 10 regressions…5 -
Prioritize work/life balance
These companies don’t give a F about you
If you die slaving for them, they’ll move on like you never existed to begin with.8 -
Just very diplomatically told the VP of Engineering to kick rocks (fuck off) for calling me at nearly 9pm to talk about project planning for a thing that isn’t even in active development.
Asked point blank if we were dealing with a life or death thing. He said no. I replied “then we can talk about this tomorrow”.
He balks and tries to tell me how important it is.
I cut him off “I wasn’t asking you, I am telling you it’s a quarter to 9 and I’m at a bar. This call is over. We’ll talk tomorrow. Good NIGHT”. With as much aggression and pissed off emphasis as I could muster on the ending.
Stay tuned to find out if I still have a job after this.12 -
Manager: I’m so sick and tired of you devs whining about technical debt and how it’s slowing down our progress, so here’s the deal. You have until the end of this week to eliminate all technical debt in the codebase. After that I NEVER WANT TO HEAR YOU COMPLAIN ABOUT TECHNICAL DEBT EVER AGAIN!!!
Dev: …14 -
Went in, done everything perfectly, they want me in… cool.
“We know you have a 2 months notice, but could you boil it down to 2 weeks?”
“I uh… no… not really, I have tasks to pass and I doubt the company would like me to just rush out like that…”
“Come on, just stop working and tell them to fire you”
“I… no? I told you I have an important role it would be irresponsible to just leave like that… assuming they want me out that bad…”
“Okay then give notice and we’ll send you the contract”
1 week later, fortunately I didn’t give the notice
“Aaaah regarding the contract… we are postponing it for 4 months cause we needed 2 roles and we decided to hire the other role as we wait”
2 months and a half later, still didn’t give notice cause the postponing was a red flag
“Aaah sorry buddy the budget is not enough but we have to wait 3 more months cause investors moved the payment to January”
Never heard from them again… fortunately I didn’t give the notice and I started to search another job after the 2 months and a half thing.
Remember: until the contract is signed, nothing is set in stone.11 -
You’re not just an imposter. You’re the trickster goddess, the deception prodigy, the mastermind. The supervillain surrounded by mere mortals.
Embrace it.5 -
Recipe of cold coffee.
Step 1: Make Coffee
Step 2: Start Coding
Step 3: Forget you made Coffee
Step 4: Drink it Cold
Don't say thank you I understand!33 -
Dev: *Recieves email from manager with several typos/grammar mistakes asking to open attachment with strange name and click on tinyurl style link*
Dev: *Flags as phishing*
Manager: Hey how come you didn’t action my email?
Dev: That was actually from you?
Manager: Yes.
Dev: …3 -
Dude, remote work in a country side city makes me feel like people think I'm a drug dealer or something
I never leave my house10 -
Manager: Feature C doesn’t work
Dev: We never built feature C
Manager: Nonsense, I remember feature C clearly!
Dev: It’s still in the backlog
Manager: But we had many meetings about it
Dev: Never got put on the board
Manager: Feature C is very important!
Dev: It was never assigned to anyone
Manager: What could possibly be more important than Feature C?
Dev: All the other features you placed on the board and assigned up until now
Manager: Well I need Feature C done asap! It should be top priority!
Dev: Ok then next sprint add feature C to the board and assign it to someone
*Next planning session manager leaves feature C in backlog in favour of other tickets*
*2 days later*
Manager: What is the status of feature C?
Dev: You opted to leave it in the backlog
Manager: BUT IT SHOULD BE TOP PRIORITY!
Dev: …9 -
Rant
Why do shithead clients think they can walk away without paying us once we deliver the project !!!
So, here goes nothing..
Got an online gig to create a dashboard.
Since i had to deal with a lot of shitheads in the past, I told them my rules were simple, 20% advance, 40% on 50% completion and 40% after i complete and send them proof of completion. Once i receive the payment in full, only then i will hand over the code.
They said it was fine and paid 20%.
I got the next 40% also without any effort but they said they also needed me to deploy the code on their AWS account, and they were ready to pay extra for it, so i agreed.
I complete the whole project and sent them the screenshots, asking for the remaining 40% payment. They rejected the request saying my work was not complete as i had not deployed on AWS yet. After a couple of more such exchanges, i agreed to setup their account before the payment. But i could sense something fishy, so i did everything on their AWS account, except registered the domain from my account and set up everything. Once i inform them that its done and ask for the remaining payment.
The reply i got was LOL.
I tried to login to the AWS account, only to find password had been changed.
Database access revoked.
Even my admin account on the app had been removed. Thinking that they have been successful, they even published ads about thier NEW dashboard to their customers.
I sent them a final mail with warning ending with a middle finger emoji. 24 hours later,
I created a github page with the text " This website has been siezed by the government as the owner is found accused in fraud" and redirected the domain to it. Got an apology mail from them 2 hours later begging me to restore the website. i asked for an extra 10% penalty apart from the remaining payment. After i got paid, set an auto-reply of LOL to thier emails and chilled for a week before restoring the domain back to normal.
Dev : 1
Shithead Client: 024 -
HR: At company A where we are all about hiring top talent!
Dev: What does this position pay?
HR: Well we’ve done a market assessment of local wages and an happy to announce the VERY competitive offer of (insert 30% less than the median wage here).
Dev: …
HR: I assure you this is a very competitive. What we don’t offer in pay we more than make up for in culture. We are a family here!!
Dev: …5 -
Dev: Sam’s a little nervous about taking his paid leave. I guess it’s not common in Nigeria. He needs to hear from the company that taking time off like that is acceptable.
HR: THAT’S SO INAPPROPRIATE! YOU CAN’T ASSUME HE’S FRON NIGERIA JUST BECAUSE HE’S BLACK. BLACK PEOPLE HAVE A VERY RICH AND DIVERSE CULTURE, THEY ARE NOT ALL FROM NIGERIA!!!
Dev: Sam is from Nigeria. He told me so. He tells me a lot of stories from there.
HR: …
Dev: Can you tell me something about Sam besides his skin colour?
HR: …
Dev: …13 -
Family reaction story to me being a dev?
- My dad still refers to my profession as 'something in computers'.
- My older sister goes to her weirdo friends for technical advice because she thinks all I do is fill paper in printers (that's a long TL;DR story about a phone upgrade)
- My brother, a car mechanical genius thinks what I do is near God-like. He also races cars and can blabber on about the physics, aero-dynamics, weight ratios, etc and says "Oh, no way. I'm too stupid to do what you do." Then I'm like, "Dude, shut up, I can barely change my oil and you could replace an engine blindfolded", then he just laughs "Yea, probably."
- Baby sister just wants me to fix her phone. "Can you make <insert some random app> do <insert a random behavior the app was never designed to do>?". I'm like "Uh no, I didn't write Instagram", then she's like "I thought you went to school for computers?".
- My mom passed way (long battle with cancer). I'm sure she'd be proud, but still asking me to how to switch the channel so she could watch a movie on the VCR.
I can clearly see having this conversation with my mom.
Me: "Mom, why are you still using a VCR? I bought you a subscription to Netflix"
Mom: "Net what? Do I turn the dial to channel 2 or 3?"
Me: "No, its the Netflix button on the remote."
Mom: "Can't you come over and do this? I just want to watch my shows. Didn't you go to school to learn these things?"
Me: "No mom, that's not...um...never mind. I'll be right over."17 -
Manager: I don’t understand what is so complicated about this feature. Under a certain set of conditions do one thing, under a separate set of conditions do another. It’s just an if else statement! Those take seconds to write!
Dev: The problem is the memory required to calculate the conditions is quite cumbersome
Manager: Well then find a faster way! It’s just an if else!
Dev: …11