Details
-
SkillsJavascript, Elm, Java, Scala
Joined devRant on 6/2/2016
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
-
I'm doing a migration where I have to move like 200+ old-old websites. Stuff was never touched for ages and we kinda moved it 'into the cloud' now.
So after a few sites I check graylog (where all the logs are stored) and I saw this gem:
stderr: PHP message: PHP Warning: file_get_contents(http://tinyurl.com/api-create.php/... Online Viagra/): failed to open stream: HTTP request failed! HTTP/1.1 400 Bad Request
And I was like, wtf? Is this site hacked?
Ok the sadness starts now. Behold the following:
function getTinyUrl($url) {
$tinyurl = file_get_contents("http://tinyurl.com/api-create.php/...);
return $tinyurl;
}
This function gets executed for the current link AND every dynamic href on the page.. EVERY pageload.
I was not even mad.2 -
Ugh, ansible and yml formats. I thought to fix a small issue fast and commit it directly.. but noooo2
-
Ugh I'm getting so owned. Currently having a burst DDOS on a host of ours. It is always at xx:00 and xx:30 for ~2 minutes from ~200++ unique AWS instances (Ip's).
Not long enough to ban them (max 2-3 requests per IP), not general enough to ban them on the type of request.. and the IP's.. yea... It would result banning all the amazon subnets which is also not an option lol.
Now waiting I guess.. I sent an email to amazon5 -
When the initial request for the website takes 5 seconds but the server load is 0.01..
All next requests are loaded instantly.
Fml debugging this.3 -
Am I the only one who thinks that 6 10 12 14 are even odd numbers and 2 4 8 16 are even even numbers?7
-
After job Interview,
We will come in contact with you later that week.
*Later that week*
You've got mail
Highpayingjob@gmail.com
Job interview
You didn't get the job.
Your didn't Meet out requirements.
Sincerely us.
*5 minutes later*
Highpayingjob@gmail.com
Job interview
We must apollogize, we've sent you the wrong mail.
Sincerely us.
*5minutes later*
Highpayingjob@gmail.com
Job Interview.
You werent good enough at our Interview.
Sincerely us.
*Me*
What. The. Fuck.
Just happened...
WHAT THE FUCK!
2 REJECTIONS FROM THE SAME COMPANY?! IN JUST 10 FUCKING MINUTES!24 -
Just want to recommend the DevRant stress ball. I wasn't quite sure how to use it (it doesn't come with instructions) but since stuffing mine down the PM's throat my stress level has reduced dramatically.4
-
The future of devrant:
Thanks for the ++ !
Thanks for the ++ !
Thanks for the ++ !
Thanks for the ++ !
Thanks for the ++ !
Thanks for the ++ !
Look at my ++ count!
Thanks for the ++ !
Thanks for the ++ !
Thanks for the ++ !
Thanks for the ++ !
Thanks for the ++ !
Actual rant
Thanks for the ++ !
Thanks for the ++ !
Thanks for the ++ !
Thanks for the ++ !
Thanks for the ++ !
Thanks for the ++ !
Help me get ++!
Thanks for the ++ !
Thanks for the ++ !
Thanks for the ++ !
Thanks for the ++ !
Lets have a ++ party!
Thanks for the ++ !
Thanks for the ++ !
Actual rant
Thanks for the ++ !
Thanks for the ++ !
Lets share ++
Thanks for the ++ !
Thanks for the ++ !
Thanks for the ++ !
Thanks for the ++ !
Actual rant
Thanks for the ++ !
Thanks for the ++ !
Thanks for the ++ !
Thanks for the ++ !
Thanks for the ++ !
Thanks for the ++ !
Thanks for the ++ !
Thanks for the ++ !
Thanks for the ++ !
Help me get ++!
Thanks for the ++ !
Thanks for the ++ !
Thanks for the ++ !
Thanks for the ++ !
Thanks for the ++ !
Thanks for the ++ !
Thanks for the ++ !
Thanks for the ++ !
Thanks for the ++ !
9gag/Reddit repost
Thanks for the ++ !
Thanks for the ++ !
Thanks for the ++ !
Thanks for the ++ !
Help me get ++!
Thanks for the ++ !
Thanks for the ++ !
Thanks for the ++ !
Thanks for the ++ !
Thanks for the ++ !
Thanks for the ++ !
Thanks for the ++ !
Thanks for the ++ !
9gag/Reddit repost
Thanks for the ++ !
Thanks for the ++ !
Thanks for the ++ !
Thanks for the ++ !
I installed linux, celebrate me!
Thanks for the ++ !
Thanks for the ++ !
Lets increase X's ++ counter!
Thanks for the ++ !
Thanks for the ++ !
Thanks for the ++ !
Actual rant
Thanks for the ++ !
Thanks for the ++ !
Thanks for the ++ !
Thanks for the ++ !
Thanks for the ++ !
Where do i get the ++ script?
Thanks for the ++ !
Thanks for the ++ !
Thanks for the ++ !
Thanks for the ++ !
Thanks for the ++ !
Thanks for the ++ !
Thanks for the ++ !
9gag/Reddit repost
Thanks for the ++ !
Thanks for the ++ !
Help me get the tiger!
Thanks for the ++ !
Thanks for the ++ !
You don't need to be a developer to ++like others and collect ++likes and show how much you are liked and shit. Everyone can do it. Thats what facebook and instashitsocialcrap is for: People making a thing about how they like and plus and hug and follow each other and how much they are liked and ++ed and shit. It has no substance.
It's what i love about devrant. It has substance. People talk about real stories. Things that matter, things that are interesting and funny. And people talk to each other.
Other social media is empty bullshit. Please don't let devrant become another stupid internet shitplace.24 -
Big congrats to @AlexDeLarge for being the first devRant member to hit 50,000 ++!
A pretty awesome accomplishment highlighting great contributions and content.71 -
I'm new, so I'm unaware of the rules. I'll simply assume I'm allowed to post this, if there are any moderators, please tell me if this simply shouldn't be here.
I came from Sololearn, and someone told me to download devRant. I love it.
I was the most active participant in the Sololearn Q&A, answering questions and replying to comments quicker than you can close the app.
Everyone knows me and enjoys having me there, but something happened. Some idiotic troll kept harassing and trolling others including myself. The mods banned him but he returned and was targeting me.
He made over 50 accounts and never replied to a comment with the same account. He sent threats and continued polluting Sololearn.
The mods had a theory is was me and banned my account. I'm heartbroken, furious, upset, and empty without my SL account. My codes are gone, my comments, answers, and replied are gone. Everything is gone.
They think I ruined SL with a false account and I'm trying to clear my name. I'm innocent.
That's when I discovered this app. In SL I loved the community and the Q&A and everything. I loved helping out but now I can't. People are even making posts asking me to return, but the mods removed them.
I hope the community here treats me well, and I hope this will replace SL. So far, I haven't felt the same way as I did with SL, but I'll try to love it just as much.182 -
Websites that only display the language based on IP address (geolocation data) can go fucking fuck themselves.
THE FACT THAT I'M USING A VPN SERVER IN GERMANY DOES NOT MEAN THAT I CAN FUCKING READ GERMAN. AT LEAST GIVE ME THE MOTHERFUCKING COCK SUCKING OPTION TO CHANGE THE FUUCKING LANGUAGE YOU FUCKING FUCKING FUCKING FUCKING COCKSUCKERS.
MOTHERFUCKER.28 -
Working on the privacy site.
DAMN frontend can be a FUCKING pain in the ass!
I JUST WANT TO GET A SIMPLE BOOTSTRAP PAGE WORKING, IS THAT TOO MUCH TO ASK FROM A BACKENDER? 😭30 -
Github stats:
coworker 1: 3,535k ++ 987k --
coworker 2: 1,563k ++ 735k --
etc.
me: 453k ++ 7,848k --
I guess this confirms my job at the company as "Backend Crap Remover".7 -
Me: "Hey, I see you've started your class name with a lowercase letter, It's common practice to start it with a capital letter"
Co-worker that started two weeks ago with almost no experience in c++: "Oh, right. You women and your rules, you must know it then"
Me: *Awkward laugh* *Thinking as long as he changes it i'll let that one slip* *Sends him coding standard guide just in case he doesn't believe me*
-- Two days later --
He still didn't fucking change it. It pains my eyes to look at it each time he asks me for help. Oh and stop calling me "miss", I have a name.46 -
Oh, man, I just realized I haven't ranted one of my best stories on here!
So, here goes!
A few years back the company I work for was contacted by an older client regarding a new project.
The guy was now pitching to build the website for the Parliament of another country (not gonna name it, NDAs and stuff), and was planning on outsourcing the development, as he had no team and he was only aiming on taking care of the client service/project management side of the project.
Out of principle (and also to preserve our mental integrity), we have purposely avoided working with government bodies of any kind, in any country, but he was a friend of our CEO and pleaded until we singed on board.
Now, the project itself was way bigger than we expected, as the wanted more of an internal CRM, centralized document archive, event management, internal planning, multiple interfaced, role based access restricted monster of an administration interface, complete with regular user website, also packed with all kind of features, dashboards and so on.
Long story short, a lot bigger than what we were expecting based on the initial brief.
The development period was hell. New features were coming in on a weekly basis. Already implemented functionality was constantly being changed or redefined. No requests we ever made about clarifications and/or materials or information were ever answered on time.
They also somehow bullied the guy that brought us the project into also including the data migration from the old website into the new one we were building and we somehow ended up having to extract meaningful, formatted, sanitized content parsing static HTML files and connecting them to download-able files (almost every page in the old website had files available to download) we needed to also include in a sane way.
Now, don't think the files were simple URL paths we can trace to a folder/file path, oh no!!! The links were some form of hash combination that had to be exploded and tested against some king of database relationship tables that only had hashed indexes relating to other tables, that also only had hashed indexes relating to some other tables that kept a database of the website pages HTML file naming. So what we had to do is identify the files based on a combination of hashed indexes and re-hashed HTML file names that in the end would give us a filename for a real file that we had to then search for inside a list of over 20 folders not related to one another.
So we did this. Created a script that processed the hell out of over 10000 HTML files, database entries and files and re-indexed and re-named all this shit into a meaningful database of sane data and well organized files.
So, with this we were nearing the finish line for the project, which by now exceeded the estimated time by over to times.
We test everything, retest it all again for good measure, pack everything up for deployment, simulate on a staging environment, give the final client access to the staging version, get them to accept that all requirements are met, finish writing the documentation for the codebase, write detailed deployment procedure, include some automation and testing tools also for good measure, recommend production setup, hardware specs, software versions, server side optimization like caching, load balancing and all that we could think would ever be useful, all with more documentation and instructions.
As the project was built on PHP/MySQL (as requested), we recommended a Linux environment for production. Oh, I forgot to tell you that over the development period they kept asking us to also include steps for Windows procedures along with our regular documentation. Was a bit strange, but we added it in there just so we can finish and close the damn project.
So, we send them all the above and go get drunk as fuck in celebration of getting rid of them once and for all...
Next day: hung over, I get to the office, open my laptop and see on new email. I only had the one new mail, so I open it to see what it's about.
Lo and behold! The fuckers over in the other country that called themselves "IT guys", and were the ones making all the changes and additions to our requirements, were not capable enough to follow step by step instructions in order to deploy the project on their servers!!!
[Continues in the comments]26 -
Fuck today was weird.
Today I received almost half a million on my bank account. 😯
Someone changed the ancient cryptic billing system. My user account at work has id 32 in the database, and the dev referenced the size of the creditor id instead of the of the value of the ids itself, and they're u32 ints... So ALL the money moving through our platform was accidentally transferred to my associated bank account.
For all the unit tests we have, this bug tumbled right through.
And no one at finances thought a transfer that big, to a backend dev they know by name, was suspicious — with almost no money going to other creditors...
That worries me a bit. The fact that this shit can happen, even at high test coverage, just because someone mindlessly did a wrong autocomplete or something.
Of course I will send it back... after two weeks and a few hundred € of interest.12 -
I used to work with a guy who had 2 PH.Ds, in Computer Science and Electrical Engineering and over 600 patents but I kid you not the guy could not use the coffee machine. Now it's not like this coffee machine was as easy as a Keurig, it was some $20,000 espresso machine that took a while to figure out but I tried teaching him how to use it a few dozen times and still he couldn't get it right. It got to the point where I thought he was faking it so that others would make it for him so I offered him $500 if he could figure it out. Still nope. So for the remaining 2 years we worked together I made him coffee whenever he wanted, 2-4 times a day, and he bought me lunch everyday. Before I left the company I bought him a Keurig so that when I left he'd still have coffee.19
-
Best story ever
This really happened to me yesterday at work.
Me: *walks into office*
Coworker: Hey Will, I got a question for you
Me: I...[read more]47