Details
-
Skillsc#, sql, php
-
LocationPortugal
Joined devRant on 11/23/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
-
Just came across this gem. What's wrong with it??
Yes, the threat of SQL injection here is a legit response, but in this particular case that's not the answer I'm looking for.
Hint: This method gets called a lot!15 -
devRant meetup in the Netherlands yesterday was awesome! Hereby a group picture we took.
Thanks for the amazing evening, people!51 -
My friend (not in CS) said his computer was a bit slow.
I told him I'd fix that for 10, he agreed.
I increased the cursor speed.
He bought it.16 -
root@gf # date; mv gf $HOME; watch movies; touch; split; finger; unzip; fsck; touch; fsck; yes; yes; fallocate -l20M "cream"; zip; sleep
Happy Valentine's Day everyone 😉11 -
My boss intentionally changed my IDE font color to black since im using dark theme. I was literally confused a solid 30 minutes.
FFFFUUUUUCK16 -
Le monday morning after a commit on sunday evening...
PM: BLAAAH!!!! Your commit broke the site, nothing is working!!!!!!
Me: What? All of tests passed (coverage 95%), no issues were found.
PM: NOO!!!! Site is broken, we can't use it no more!!!
Me: Ok, what's the problem?
PM: I've tried to enter -10021 into this field on that page and it gived me an error.
Me: Ok? So, that single page is broken?
PM: No, whole site!!!! This is important
Me: Sure... Let me take a look
* PM tried to enter a negative value into an unsigned field that I've mutated yesterday after checking LIVE database if there was no records with negative value. Reason: we've hit an int limit and there was no chance that the value would be negative. Validation? Well, yes.... Except that page was added by him this morning without even checking everything else *
Me: Here, this is the issue, *gives explanation*
PM: Well.... You shouldn't do this. This is unacceptable. You must never leave int fields without negative values. Didn't they teach you in school that integers can be negative?!
Me: What? *consufed as hell*
PM: *More morale... blah blah blah....* Revert it back!
Me: Ok but if anything else breaks, copy of this slack conversation will be kept.
PM: Don't care! Fix it!
Me: * Reverts the fix, saves chat copy * - Done.
PM: Great.
* 5 wild minutes later *
PM: BLAAAH!!!! Site is down, service is not working, what have you done?
Me: Reverted the change needed for it to work. Todays schedule is full with other important tasks. * pastes a screenshot as a proof that he asked me to do this *
PM: FIX IT NOW! Apply your fix.
Me: You're the PM. - Done.
PM: Great, now I'll fix my code. You should be more careful next time.
Me: * YOU DENSE MATHA...KER * Sure.
How's your morning going? :)9 -
Few days ago i niticed one of my (site) accounts was deleted for inactivity. I thought fuck it, ion use that site, lets have fun. I wrote an email to get it restored:
"Sorry i got ass cancer and it took dr lil pump 2 years to cure me and couldnt use the site from the hospital"
Today, i got an email that i got my account back.4 -
So we hired an intern and his first task was to change a few things in email layout for our client, which is an investment bank.
I told to one of my developers to make his local database dump and setup the project for an intern. When intern completed the task, my developer thought that title "Dow Jones index crashed" was pretty funny title for a test.
What he didn't thought through enough, is that he forgot to configure fake SMTP server and he had production database dump with real email addresses.
I had really awkward 20 minutes conversation with our client. Fuck my life.4 -
Today is not friday, but tomorrow is a national holiday here in Portugal, so it's a friday for me ✌️
Only fourty more minutes for a three day weekend!!3 -
The error in database entry was negated by a bug in front-end code. Two mistakes cancelling out each other!
How is your day going ?5