Details
-
AboutDevelopers, developers, developers!!!
-
Skillsjava, sql, html, css, js, unix
-
LocationHyderabad, India
Joined devRant on 7/11/2017
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
-
Have you ever been working on something really important and in the middle of a calculation, you suddenly remember.. that you had saved the last Muffin from 2 days ago inside a container on the shelf where you never ever Store stuff.... out of the blue ......and you wonder till you get home and find that muffin.
...ah what a beautiful mind.... Seems analogous to a Google now notification but in your brain... -
Holy shit I never realised how frustrating it is to code for a client the way they want it... I mean I just want to go back to coding for fun4
-
Well fuck me sideways with a rusty lamppost.
Got assigned to a project at work, kind of a biggie, my first actual large project. Been working there since last year, done a lot of research in my spare time and felt like I deserved it or something.
But then...
A few weeks ago I posted a rant about a fuckwit that can't even type 'ssh' in a terminal and doesn't know how a basic database system works.
Guess what.
Yeah.
Exactly that happened.
Because of his overconfidence and big mouth he got assigned to the project as well.
He planned a pitch. Stole my words.
He hasn't proven himself in any way and always needs help. Always. And I don't have a problem with people asking for help, I actually tell people not to be afraid to ask if they don't know something.
But I do have a problem with people laying back at work and asking 7 different people how to open a terminal.
Why does this happen? Just why?4 -
Who the hell decided to put 'null' in JavaScript when there is already an 'undefined'
...😤😡...
Like one empty value isn't enough24 -
That moment when you realise f(x)=x²
that you did in 4th grade and now
Function(x){
return x*x;
}
....😯😮😲😱😵...
You realise that Everyone has been doing programming all their life....6 -
*Now that's what I call a Hacker*
MOTHER OF ALL AUTOMATIONS
This seems a long post. but you will definitely +1 the post after reading this.
xxx: OK, so, our build engineer has left for another company. The dude was literally living inside the terminal. You know, that type of a guy who loves Vim, creates diagrams in Dot and writes wiki-posts in Markdown... If something - anything - requires more than 90 seconds of his time, he writes a script to automate that.
xxx: So we're sitting here, looking through his, uhm, "legacy"
xxx: You're gonna love this
xxx: smack-my-bitch-up.sh - sends a text message "late at work" to his wife (apparently). Automatically picks reasons from an array of strings, randomly. Runs inside a cron-job. The job fires if there are active SSH-sessions on the server after 9pm with his login.
xxx: kumar-asshole.sh - scans the inbox for emails from "Kumar" (a DBA at our clients). Looks for keywords like "help", "trouble", "sorry" etc. If keywords are found - the script SSHes into the clients server and rolls back the staging database to the latest backup. Then sends a reply "no worries mate, be careful next time".
xxx: hangover.sh - another cron-job that is set to specific dates. Sends automated emails like "not feeling well/gonna work from home" etc. Adds a random "reason" from another predefined array of strings. Fires if there are no interactive sessions on the server at 8:45am.
xxx: (and the oscar goes to) fuckingcoffee.sh - this one waits exactly 17 seconds (!), then opens an SSH session to our coffee-machine (we had no frikin idea the coffee machine is on the network, runs linux and has SSHD up and running) and sends some weird gibberish to it. Looks binary. Turns out this thing starts brewing a mid-sized half-caf latte and waits another 24 (!) seconds before pouring it into a cup. The timing is exactly how long it takes to walk to the machine from the dudes desk.
xxx: holy sh*t I'm keeping those
Credit: http://bit.ly/1jcTuTT
The bash scripts weren't bogus, you can find his scripts on the this github URL:
https://github.com/narkoz/...53