Joined devRant on 9/27/2017
Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
So this is my first experience of shitty code written by colleague
God, for REST API she used ?id=<int>
Not only that,
if the route was /cms
she used GET method for /cms/get/?id= to get single record and
/cms/getAll again in GET method to get all records
So the same guy who called Ninetails from Naruto a wolf is PM in this project with me
During scrum meeting:
PM: I read the project scope again and I realised there are scopes that we didn't get it. Each time I read the scope there's something new.
Me: *Sure, the scope is fucked with a long 8 feet dragon dildo to start with*
PM: Read the scope 5 times, cause we don't want to miss anything. If QA raises an issue regarding the modules which are in scope but you implemented it wrong then it won't be considered Change request and you have to do deliver it in time even work on weekends with no compensation.
PM: Now, go through the scope again today and we will hold a meeting after working hours (unpaid, but can be adjusted in monthly avg) and I will ask random questions.
PM: And anyone who won't be able to answer them will sit through the non-working hours and go through the scope again
Me: *YOU FUCKTARD, incompetence from your side or from business development team to create a simple understandable scope can't force us to sit through non-working hours.*
I already had an opinion about this guy from my previous rant, his improved a little in between but I guess not3
So I was messing with mitmproxy in my phone and for some reason all Google services are blocked on it.
Apps hang when I suppose they're requesting to Google api, though chrome works for some reason.
I just realised Google even tracks the links you share with your contacts via chrome's address bar.
I'm thinking of going no-Google, any rom recommendations?
I suggest, we should add programming tests or language syntax test to verify users and keeping devrant away from stupid people.
Or give some kind of verfied status for the real devs9
I committed a sin for which I can never forgive myself.
At work, we were using some react plugin but it was lacking some functionality.
In the end, I forked the repo and released plugin on npm -_-
FML, I contributed to this stupid shit while I was happy with despising over this stupid framework fad from other side.
Ps: It was friday.
So I was looking for some real-time dashboard app using vue, tried searching for it on google and found some article.
He lost me at setInterval.8
So, at my new workplace which completed another anniversary (my first) thought it's a chill place to work at.
Just heard internal bad bitching and stuff, fuck I hate corporate.
And there's this guy who must have watched a few episodes of Naruto and called Nine tails a wolf, a fucking wolf!
Then today during my introduction, the same guy interrupted me with a mock "This guy is a hacker and he can read all your messages"
I was very tempted to say what I used to do at my previous company but energy saving...
Ah.... I already don't like this guy6
Fuck you mesa
I installed arch again due to some other mess up (another rant 😂) and this time I was facing problem with sleep.
The system froze every time I tried to wake it up from suspend state.
This is how I wasted past 2 days:
- Wifi device sleep issue, disabling wifi
- Probably sddm issue, let me try lightdm
- Last time I installed gdm, might try that as well
- Had to remove all the bloatware then I suspected plasma
- Checked system logs and found amdgpu error
- Tried disabling graphics using nomodeset, system failed to boot
- glx IP block hung!, it's the graphics driver
- Checked another arch forum, a guy was having a same problem after upgrade
- Downgraded mesa to 18.3.4-1
Worked like a charm though hibernate is still not working4
Happiness is when someone continues your project and writes the code in similar manner like you did.
For PHP based ERP which is using MSSQL as database.
Looking back at myself, I thought the refresh button made computer faster by cleaning up ram.
It's just fucking repaints the desktop.
Worked entire day on an ML to predict train ticket status for Indian Railways.
While doing the analysis of the data, and trying to check/research which parameters to use and which not, I'm feeling like racist -_-.
I was looking for busy period of the year(read festive seasons) and I removed those festivals which are celebrated by minor groups.
There's more to it, but the results are better now.4
I was reading some google api docs and came across php function parse_str().
This function literally executes the passed string as php code.
Who the fuck in their right mind would even think of implementing it.
I knew php is widely hated language, but this thing is plain abomination.8
I was working with integrating GAMADV-X (python wrapper for google gsuite) with google spreadsheet, which gives limited api calls (around 100 calls) per day.
So I was syncing the users in the spreadsheet and google group users (more than 100 or so).
I used up my daily quota -_-.
Funny thing is I knew when I wrote the code and when I fucking ran it that I will overuse the api call limit.
It slowly triggered to me that I can't work on this project until next day and the first thing that came to my mind
'me dense mother fucker'
I was trying to recover an external hdd, which was not spinning at all.
I started by changing the enclosure, using the SATA port, using another enclosure, now the only possible culprit is pcb.
On testing with multimeter I figured TVS diode was damaged, and since I don't have immediate access to a new pcb, I opened one of my old hdd and desoldered pcb from there and using wires I attached this salvaged TVS diode to the pcb.
It didn't work.
During the research, I came across the fact that different manufacturers make different pcbs, what the hell, I wish there could be some standardisation so people could just swap things easily instead of finding another hdd of the same model just to salvage the pcb.2
I was browsing through devrant on my phone OP 5t and I noticed a small white pixel near the notification bar
I was shit scared, cause I got a history of damaged LCD with my previous phone.
I tried opening other apps with full screen no change.
Checked lcd test from hardware diagnostics tests.
The white pixel disappeared by itself.2
due to some error on GCP, my and friend got locked out of a prod server over ssh.
And the fucking admin was not giving us privileges to do it through serial port, why you ask cause submitting keys from dashboard was not working.
Later, found out google runs a startup script from startup-script metadata tag.
It felt like showing a middle finger to the admin and google
Thus happened recently.
I installed vestas on our organisation's lab server. I was trying to add the user's key to gitlab.
But vestas doesn't support ssh keys by default, and i thought to go by https way
I don't remember my password, so instead of opening saved logins I was going to install gitlab on our organisation's sub domain.
Later I created custom keys inside the user's directory -_-
took few days leave from my internship
as soon as I stepped in the train, i got a call from friend saying client's site is down
on checking, found that the aws instance crashed
couldn't even check the system with ssh
after detaching the volume and attaching it with another working instance we found that the system files and directories are missing
no backup was there
i wish i could give a cactus to amazon3
I was bored at my workplace and thought to put curl code to GET a random dad joke on opening terminal everytime
Fuck, now I'm having a migraine
but i have an idea to expand this project even more4
i bought a new laptopand i can't fucking install ubuntu on it
and my supervisor asked me to show him ubuntu running on this laptop
before anyone points out that i m a noob
I have already installed ubuntu, arch mint on my pc
here are the specs:
lenovo model 320 ideapad
ubuntu 18.04, 16.04 17.04
and the ubuntu fucking hangs as soon as i get to the gui screen
found something with nomodeset, going to use that
I can't install arch cause I need to show ubuntu running on this laptop to him10
So I've been reading about rest api and I purpose there should be a standardized keyword for message
like 'errorMsg', 'msg', or just 'message'
I m kind of tired of discovering new acronym for error message or message every time I write a REST service3