Details
-
AboutI enjoy solving non trivial problems
-
SkillsPython, C++, and JavaScript
-
Github
Joined devRant on 5/5/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 started to download a large file... I left my pc on over night....... WINDOWS 10 UPDATE MOTHERFUCKER!!!7
-
I just had a major breakthrough on a project 😊
Just standing there chatting with my dad (also a dev), while preparing for the new years feast, and got this amazing idea that I just had to try. 30 minutes later I'm done with the script and it works flawlessly 😊😅5 -
'Normal' people when they get a new phone:
- install whatsapp
- install Facebook (or other social media)
- install regular email app
Me:
- Root phone
- Install app ops
- Install Signal
- Install encrypted email services' app
- Install firewall
- Install devRant
Anyone else like me here?37 -
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 -
Girl: we need to talk
Me: OK
Girl: you seem to have more time for your computer than me. I want to know how important I am to you.
Me: You are the number 1 in my life.
Girl: *smiles and hugs me*
Me: (thinking)...Just that I start counting from 029 -
My grandfather just came over for christmas eve and asked me what this devRant thing I was looking at was.
I told him it was facebook but for programmers 😆6 -
Intern Me: "this is what im working on"
Fellow Intern: "Hey cool, can you send me it? "
Me: "What? The code?"
Intern: "Yeah, just send it all"
Me: "You want me to send you the entirety of the 300 million line code base for a proprietary trading system?"
Intern: "Yeah"1 -
You know that feeling when you rotate one of your monitors from landscape to portrait and can see all the code at once...8
-
First day at my first workplace as a dev. waiting for my laptop to load up, nothing happens, black screen. waiting sitting patiently and silently for approx. 20 minutes.
the monitor was off.6 -
So I finally got a job where I was an intern as a Data Scientist.
PS : I am a non-computer science background guy, who made it through.3 -
Friday Eve: Closing eclipse project happily at work. Everything works sorta fine.
Monday morning: Opening eclipse project again. Everything is like i left it. "Main class could not be found."
What the fuck eclipse?4 -
How many times do you mistype "git status" a day?
I will propose "git stauts" to be added as a valid command.11 -
Product manager had me spend an hour setting up his machine for rails development. Then walk him through all of our workflow. He then proceeded to make some changes to a header tag content. Made a pull request while I was holding his hand. Then he walks out of his office acting like he just won a national championship and proceeded to talk about how he was basically a developer for the next hour interrupting work.4