Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
One day (maybe) I will understand how the "bestest IDE in the world" (cit.) can consume over 10Gb of memory just... for being open while not editing any file or anything.
Just in case you're wondering I'm talking about VsCode and yes I know it's not an IDE just in case you want to point out :-) It's just I see more and more people referring to it as it was one.13
New year resolution was to be a better person (or at least nicer) but here it goes.
Monday rant: State your fucking requirements when requesting something as "This is not what I was expecting" is not acceptable.
I do code for living I don't read mind nor have a crystal ball on my desk telling me "...what you meant..."
Things to do in 2020:
- Unsuscribe from Python reddit
- Unsee what you have witnessed over the aforementioned sub
- Figure out why VSCode is ‘...so the best...’ editor whatever that means
- Unsuscribe from any dev related sub7
rantHeader = "Merry Christmas to me!"
subHeader = "How a phone survied a three stories fall but dropping it from 1 meter high shattered its glass"
And it's Christmas with my direct manager on holiday till Februrary the 33th 2085 meaning I will get a new phone in 1/2 years if all goes well...
Well at least I have a good excuse not to connect to work during my holidays as MFA app is on this phone...2
Kind of continuation of this my other rant https://devrant.com/rants/2345105/...
I have now reached the point where I want to tear off my exes with my own hands, turn off my brain and "unsee" what's in this garbage bag of code.
I swear to the programmer's gods (assuming something like this do exist apart from the D&D Story in my brain) if I do see another GLOBAL variable I'm gonna kill somebody!
It will take me good part of 2020 to sanitize this shit!1
Refactoring code of somebody who left and:
- Plagued the code with TYPOS (milions of them but ok I can live with those... to a certain point)
- Used global variables by default.... of course even where they're not needed
- Used comments only in parts of code where... well they're not needed, important ones are of course left out
- Did not indent code. 3..2..1... Did not FUCKING indent code properly and when he did... did WRONG!
- Instead of indentation he used commented line with multiple ==== signes.... so far top is 60 consecutive lines with olny ==== again no apparent pattern here
- Did not follow a fucking standard in variable naming... no camle casing... there are varaibles assigned multiple times to "temp" variables without no reason just for the sake of wasting resources on the system I guess
This is just the beginning of the review but I already want to change job, die, scream, cry... not in any specific order.10
Ok it is official I need a life. I mean a real life with those things called "friends", "parties" etc. etc.
I realized this while looking at some code I, loudly, said "Wow today's is your birthday you're exactly two months old!".
I let you guess reaction of my colleagues.12
To the 8 months ago *me*.
You're an idiot learn how to properly keep a changelog I just spent almost an hour fixig that freaking spaghetti mess you wrote!1
I cannot get my head around this comment
Does it mean write to console with "caution"? Or is it an obscure tribute to Dragonlance?5
I said and will say again (over and over) Microsoft WTF!
Set-CalendarProcessing -Identity $userUpn -AutomateProcessing AutoAccept -AllowConflicts $false -BookingType 'Standard' -BookingWindowInDays 365 -MaximumDurationInMinutes 1440 -AllowRecurringMeetings $true -EnforceSchedulingHorizon $false -ScheduleOnlyDuringWorkHours $false -ConflictPercentageAllowed 0 -MaximumConflictInstances 0 -ForwardRequestsToDelegates $true -DeleteAttachments $true -DeleteComments $true -RemovePrivateProperty $true -DeleteSubject $true -AddOrganizerToSubject $true -DeleteNonCalendarItems $true -TentativePendingApproval $true-EnableResponseDetails $true -OrganizerInfo $true -AllRequestOutOfPolicy $false -AllBookInPolicy $true -AllRequestInPolicy $true -RemoveOldMeetingMessages $true -AddNewRequestsTentatively $true -ProcessExternalMeetingMessages $false -RemoveForwardedMeetingNotifications $true
ok I "splatted" that command but yet does not look much better :-)
Oh how I miss my dear old VIm and SSH sessions can't wait to go back to where I belong!5
Recruiter: ‘Dear PsCustomObject,
Too bad nowhere in my profile JS is mentioned as I don’t use it (and would love a better life knowing it is not out there anymore).2
PM: "Please try to prioritize this request that we made last Friday at 5pm over all your other high priority stuff we know you're busy and we should have requested this 3 months ago... but now we need to deliver next week and well we need it"
5 minutes later "When can you deliver that?"
Another 5 minutes later "Sorry can you give me that delivery date? We REALLY need it"
Well maybe if you leave me in peace and I can concentrate on my job rather than answering silly requests I can make up an idea of how much time I need to deliver... but of course I'm just a code monkey, I press some randome keys and the magic happens.
Azure portal is all I hate about Windows in a single, convenient, accessible web page.
Worst part being there are some parts of my work requiring me to deal with it on a daily basis as there is no PowerShell equivalent command, nor any API I could use, to perform some tasks.3
To my boss who thinks is ok to message somebody:
- On his/her day off
- On Saturday
- On a Sunday morning
Of course all was related to business as usual stuff no real emergency stuff nor that would have impacted anyone waiting till Monday morning.
Of course no overtime nor on call here and been blamed due my ‘flexible’ schedule (read arriving at 09:15 rather say 09:00) but of course out of office hours work or having to deal with hot projects no one was able to deliver does not count...
Talking of true leadership11
So today I started working on a code base someone else wrote and stubled across this and thought it was worth sharing.
Why somebody would be doing something like this is beyond my understanding.
Not commenting on the empty catch block keep in mind the whole snippet has nothing to do with rest of the code...