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
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.2
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 amazon4
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
Well, from my pov that's mandatory
Here's the link to original answer :https://quora.com/What-are-the-weir...1