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
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
After the last rant where i complained about drawing fishes using p5.js
I added those zombie looking vectorized fishes to my game and it's currently working
Now, I m going to add more fishes then maybe colour too2
In my previous rant i complained about no irregular sprite collision detection libraries.
So after messing up with curves and line in p5.js I gave up on creating the fish like a complete caveman.
I wrote a simple vector paint program which can return the set of points on console logging, and here is the result5
I'm already familiar with p5.js thanks to Daniel Shiffman and his coding train sessions.
I thought to build the game with p5.js with the play and 2Dcollide libraries, but it turns out they don't have a custom irregular sprite collision detection neither the other thousands libraries which are rotting on github.
Guess, I need to build somethig own my own.
And I also hate it, cause I have to design those fishes, the main game logic, this collision detection function and levels
I need a coffee with a coding partner2