Details
-
Skillsmostly js and mostly react..formally .net stack
-
LocationUK
Joined devRant on 12/15/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
-
After reading a lot of cryptography, I realized that it would be best if Alice and Bob just talk in person13
-
The marketing department is right next door to my office, and to make room for their new intern, a very high end, large, and noisy printer was 'temporarily' placed in my office. I'm a reasonable person though, and didn't mind this. The salespeople figured out that it makes commercial grade printouts, so for their various presentations and whatnot, they'll print enormous numbers of pages on this thing, and basically use my office as a motherfucking water-cooler. After a few weeks of this, I logged into the printer from my computer, and set it to disallow all connections from MAC addresses other than those in the marketing department, who print far less material on their own, special, dedicated printer. Absolute fucking chaos ensued. Grown men were brought to tears, ultimatums were made, and blood was shed. The hardware guys were down here for over an hour, making up absolute bullshit as to why it wasn't working(which really surprised me).
Long story short, cut off access to printer, sit back and watch the true face of humanity emerge. Seriously, fuck those guys. They have their own goddamn printer.7 -
Listen to your developer when they have an idea that will save you time or money. If she's wrong she will fix her mistake because she wants to be good at what she does. If you're wrong you'll be crawling back to her and end up paying twice as much to get it done your way and then the right way.
-
Funny SO easter egg for those who haven't already seen it...
If you navigate to http://stackoverflow.com/admin.php/ you're redirected to a random 10 hour YouTube video.
Source: /r/ProgrammerHumor/7 -
I lost 30+ lbs since May.
I feel alienated at work since I look less and less like other developers at work...4 -
Most embarrassing and lucky moment on the first week of job.
Me and my best friend were selected in the same company as developers. I was having some trouble with my system. So I mailed the description to our support department. Pop up was displayed from our chat client and person on the other end happened to be a lady. She wanted me to share a team viewer link with click access. So I did it and within 2 minutes of efforts she solved it. I thanked her, closed the chat conversation and started installing few packages. Meanwhile, I was curious to see her as she was really nice throughout the conversation. So I opened LinkedIn, searched for her name and found her profile. I zoomed in her photo and she was a pretty chick. I didn't stop and found her on FB too, and quickly saw all her DPs. I just copied her profile URL and sent it to my friend ( the one that got selected with me ) and told him about my conversation with her. Then I asked my friend
"She's hot. Should I send her a friend request or have to find some more troubles in my pc and talk to her few more times ? :P "
He replied "Dude what are you wanting for ? "
Out of no where, a pop up showed up. It was the girl we were talking about. The exact message was
"You can now close your team viewer session, and we can talk over FB :)"
Embarrassing AF!30 -
When you want to move your site off of jQuery, but all the dependencies still use jQuery.
Also screw those services that write their client code with jQuery. Screw you all!2 -
Yesterday: Senior dev messages out a screenshot of someone using an extension method I wrote (he didn’t know I wrote it)..
SeniorDev: “OMG…that has to be the stupidest thing I ever saw.”
Me: “Stupid? Why?”
SeniorDev: “Why are they having to check the value from the database to see if it’s DBNull and if it is, return null. The database value is already null. So stupid.”
Me: “DBNull is not null, it has a value. When you call the .ToString, it returns an empty string.”
SeniorDev: ”No it doesn’t, it returns null.”
<oh no he didn’t….the smack down begins>
Me: “Really? Are you sure?”
SeniorDev: “Yes! And if the developer bothered to write any unit tests, he would have known.”
Me: “Unit tests? Why do you assume there aren’t any unit tests? Did you look?”
<at this moment, couple other devs take off their head phones and turn around>
SeniorDev:”Well…uh…I just assumed there aren’t because this is an obvious use case. If there was a test, it would have failed.”
Me: “Well, let’s take a look..”
<open up the test project…navigate to the specific use case>
Me: “Yep, there it is. DBNull.Value.ToString does not return a Null value.”
SeniorDev: “Huh? Must be a new feature of C#. Anyway, if the developers wrote their code correctly, they wouldn’t have to use those extension methods. It’s a mess.”
<trying really hard not drop the F-Bomb or two>
Me: “Couple of years ago the DBAs changed the data access standard so any nullable values would always default to null. So no empty strings, zeros, negative values to indicate a non-value. Downside was now the developers couldn’t assume the value returned the expected data type. What they ended up writing was a lot of code to check the value if it was DBNull. Lots of variations of ‘if …’ , ternary operators, some creative lamda expressions, which led to unexpected behavior in the user interface. Developers blamed the DBAs, DBAs blamed the developers. Remember, Tom and DBA-Sam almost got into a fist fight over it.”
SeniorDev: “Oh…yea…but that’s a management problem, not a programming problem.”
Me: “Probably, but since the developers starting using the extension methods, bug tickets related to mis-matched data has nearly disappeared. When was the last time you saw DBA-Sam complain about the developers?”
SeniorDev: “I guess not for a while, but it’s still no excuse.”
Me: “Excuse? Excuse for what?”
<couple of awkward seconds of silence>
SeniorDev: “Hey, did you guys see the video of the guy punching the kangaroo? It’s hilarious…here, check this out.. ”
Pin shoulders the mat…1 2 3….I win.6 -
The new guy told me he doesn't want to make the code future proof as it's not agile.... Congrats goes to the management for successfully hiring as asshole...5
-
Most irritating thing I have to deal with when working on a project with a third-party:
{
status: 200,
message: "error"
}7