Aboutparticle or wave
SkillsPHP, not js, C, Linux
Joined devRant on 7/8/2020
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
I think i need vaca. Launched huge project 2 weeks ago. Like Donald Trump huge. Well not really, Trump huge isn't huge so bigger than Trump huge. Lots of eyes on project. Replaced a critical system with messenger system. I'm tired. Was gonna take vaca after launch. But then was assigned another important task with hard deadline. Ugh...
I spend most of my days cursing covid. I either want to go to Puru on an ayahuasca retreat or go balls out in Amsterdam. But afraid when I get to either everything will be rediculously boring due to covid rules.3
Sometimes I run into PHP wierdness that I'm like wtf.
Like 0 == 'yes' validates as True.
I guess they are fixing in PHP8 but still.12
Company gives me raise 5 hours before a deploy super critical code to prod. Code super fails and have to rollback. They should give raises after super critical deadlines not 5 hours before.2
Best: Still have my job. Still think my job is awesome. Still think I have best coworkers.
Worst: Restaurants/bars closed. Boredom.1
I think as a developer the most frustrating bugs to troubleshoot are cookie and session bugs. Idk why but i hate these the worst. Second in line are cache bugs.3
My boredom knows no bounds. This is gonna be a sucky holiday. Every social gathering place has been closed for a month here and doesn't look to open up anytime soon.
I'm even thinking about looking for some old school chat groups like they used to have on AOL and MySpace....
Beats head against wall...14
Big meeting yesterday with all the senior leadership. Was called out twice in meeting for two of my contributions. One that isn't in production yet and I know there are going to be issues with it when it does finally go live. So I think the congrats are a little premature.2
So, in my terminal I have ctrl+shft+c for copy. I obviously use this quite a bit and have gotten pretty used to accidentally opening devtools in chrome.
Well, in Microsoft teams apparently ctrl+shft+c calls everyone in chat, even if you immediately hang up everyone still has call and they all chat with each other wondering who initiated call I guess.
I was in general chat and went to copy something and initiated a company wide call accidentally. Oops.8
Seems everytime I find an open source module that comes close to needing what I need to do and I use it as a base to extend off of, in end I end up completely rewriting it and spend a lot more time than I would have writing from scratch.
Need to get out of mindset of trying to find easy ways of doing stuff and just hunker down from beginning and write what needs to be written.
So what are the ids to the discord servers everyone from here is on? There used to be a discord like a year ago but doesn't look like anyone is on it anymore7
Getting really tired of not having requirements or specs detailed out at beginning of project.
I have to decide myself what might be use case while developing
Then 3 months later when it finally gets used I get management asking me why doesn't it do this or that? Uhhh.... You never told me to make it do anything so be happy it does something.7
Made the mistake of drinking a cocktail at lunch, when I returned to office, about an hour later became very drowsy.
Solution: Go back to restaurant with laptop, order another cocktail and work from restaurant.3
The hardest part about fridays is when most of your work is finished, you don't want to start a new task at 3p so you pretty much gaff off rest of day but have to find a task to put that gaff off time on. Becomes harder than actually just starting another task because you have to judge exactly how long it will take you to do a pending task (that you are going to put your gaff off time on) and ensure that gaff off time won't bust the tasks time estimate when you actually do the task.3
Argh... When you create a module for a framework that has ability to override classes and methods. DON'T USE PRIVATE METHODS FOR EVERYTHING!!!! Expect that someone is actually going to use your module and extend it. Thank you.2
Working on huge project that is supposed to replace a critical component in our system. I wrote it a year ago and now tidying it up and fixing things.
It is so broken and so shit idk even how to approach fixing the brokenness. I have a lot of time invested in it but I know its going to be a failure out of the gate. I'm so fucked.3
Things I learned this month.
1. Do not reference your solution as a hack. As in "I can make a hack to get around that" management actually views the solution as bad. But present the same solution with "I have this idea to get around that" then they love it and think you're great.
2. Management has no idea the difference between ML and if/else statements. If you can mimick ML with if/else then do it. Takes a lot less time and resources.
3. Don't enter a video meeting in just your skivvies, management views this as bad and HR will release a bunch of work-from-home policies in retaliation.
4. When explaining things to management don't try to explain the technical stuff. Is a waste of time and breath. All they really want to know is when you will be done. They don't care the difficulty level of the code involved.
I'm sure next month I'll learn more things.10
So, when I first started with this company a year ago, they had me write a project that was hard af and replaces a very very important system, then said project was shelved (much to my relief)
Now they are dusting it off, and want to implement it.
I am tasked with going through and making sure it does what it says it is supposed to..
To me last year: "why tf didn't you use more comments in your code!"3
So, I applied to this hosting company years ago. Took an online test and scored like 17% They let me try it again and I score like 30% This guy in Serbia I didn't even know at time convinces company to hire me.
I learn everything wicked fast and become a pretty good admin. Become really good friends with Serbian guy.
Fast forward 2 years I resign from company, company is pissed idk why but big falling out, lawsuits threatened.
I take vacation to Serbia and have great time meeting my friend and actually helping him with his work at said company.
To this day we are great friends and when Covid is over will be back in Belgrade.1
I should put just as much effort in the design and building of the initial code than I do when I have bug fixes afterward, it's always on the bug fixes I find better ways of implementing stuff.
It's Monday. Had to revert changes I did last week. Suddenly web nodes become unresponsive for no apparent reason and need a hard reboot.
So new remote work policy came out, due to my living arrangement, there is absolutely no way I can adhere to it.
They also include ability to inspect home office.
I'm getting an office at co-working space, so will see if that will pacify the powers that be.
Luckily I seen on here to avoid Regus at all costs, so going with Pacific Workspaces.15
My mind seems to be a mess. I think it's stress related. I have really high anxiety and its making me make stupid mistakes.
For example I used instanceof to check the class in a number of places in code. Originally the class I was checking was a base class. Later on I decided to extend the class but I didn't change my instanceof's so they became always true. This went to prod and only was caught due to severe slowness on a part of the app. Failing PHP 101 seriously. I know how instanceof works just couldn't focus enough to catch my mistake.3
One day I'll stop creating bugs on production. I think the last 3 releases I've introduced bugs. They need to hire a tester for our team. The other two teams have dedicated testers. I suck at regression testing.3
Embarrassing moment day 2.
I push a fix for a bug just to introduce another more severe bug. (Checkout after payment hanged ~15s)
Freaking out because it's on production. Turn to my lead for guidance, he writes back idk you fix it, you created it.
Found the issue extended from improper class that a function was called again and again that caused a recursive flow.
Fuck me this is a bad week6
Embarrassing moment of day.
Tell vendor their module does not work out of box.
Follow code through and it requires cc info from payment object after transaction occured. The payment method flushes cc info from payment object right after transaction so info isn't available when vendor code wants it.
Explaining to my teammates what is going on explain to fix would need to add certain transaction results to payment object.
Go on for about an hour and my teammate mentions they rewrote a file which adds necessary info but didn't get called because we rewrote it elsewhere so there is no inheritance chain.
Fuck! I feel stupid. How did I miss that rewrite? I had tunnel vision and didn't check config to see if rewrites existed. Gah!
Email vendor issue is resolved. Hide head under pillow rest of day.
Forced to turn on video during meeting. Haven't showered in week. Had just a crumpled v-neck white t on, hair a mess.
If they want you to be business ready they should announce video before joining meeting.4