Details
-
AboutFull Stack Developer
-
SkillsAngular, Node Js, .Net Core
-
LocationNew Delhi
-
Website
-
Github
Joined devRant on 2/14/2018
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
-
This shit is real.
Guy comes to my desk.
Guy: Do you know Python?
Me: Yes
Guy: I want a program that reads a CSV containing IP addresses and tells which of them are valid.
Me: Sure thing. Show me the CSV file.
Guy: (Shows the file)
Me: (Writes a small function for checking whether the IP is valid)
Me: Done Here you go.
Guy: You should be using regex.
Me: Why? This is perfect. No need for regex.
Guy: My manager wants a solution using regex only.
Me: Why so?
Guy: I don't know. Can you do it using regex?
Me: Only if you say so. (Stackoverflow. Writes a humongous regex). Done!
Me: Just for curiosity, what is your application?
Guy: I will port it in Java. You see, regex is easy to debug.
Me: Ohhh Yes. I forgot that. Good luck with your regex.22 -
Unpopular opinion about Microsoft buying GitHub.
Just putting it out there that when you made your github repos you did so under their privacy policy and terms and will be protected under those in the future, and that both GitHub and Microsoft are corporations with the goals of making money.
Are people seriously mad that their code has gone from one capitalist corporation to another, with no foreseeable change in privacy or data policy? I have respect for those that switched to self hosted long ago since that's going from corporate to private, but if you throw away the UX and community GitHub has developed because a multinational corporation (with so many branches, products and divisions, which happens to have a few products you don't like) will soon own it, are you actually making a rational, guided decision?
Also just throwing it out there that GitLab is also a company. They've also had issues with keeping data intact in the past. They do, however, have free private repos (although I can't ever trust someone who gives me "free" privacy) as well as builtin CI. There are some definite upsides to it, although the UX has a ton of differences. If you're expecting the same dashboard and workflow you've used on GitHub, don't, GitLab has cool features but the bells and whistles aren't the exact same.
If you're switching to GitLab solely because of Microsoft, step back and think, regardless of how popular it might make you to hate Microsoft, is it really worth changing your development ecosystem to go from one corporate entity to another solely because you don't like the company?
I use GitLab and GitBub as well as Bitbucket and selfhosted git on a daily basis. They each have their upsides and downsides; but I think switching from one to the other solely because of Microsoft is not only totally irrational, but really makes light of/disrespects the amazing tools and UX the teams behind each one have carefully developed. Pick your Git hosting based on features and what works out for your use case, not because of which corporate overlord has their name plastered on it.
(Also just throwing it out there that lots of devs love VS Code, and that's Microsoft owned too... They did also build and pioneer a bunch of really cool shit for devs including Typescript so it's not like they're evil or incapable in any sense?)11 -
Yesterday's JR web dev interview:
👨🏻💻: Experience?
👶: Well JS, pyhton, UX Design and bit of Sass.
👨🏻💻: Feel like you'll have a hard time learning PHP?
👶: Well if it needs to be PHP, I can learn it.. Are you using a certain CMS?
👨🏻💻: Cool, good. Yeah we're using WordPress and need to support our sites for IE8.
👶:... Well.. ehm.. *runs away and screams in panic 💨*20 -
My sister is 16yo and she is not interested in the C.S field. I gave her last year my laptop and it has Debian on it, since i bought a new one. She never told me that she has to deal with any problem, she was just using it.
Today she got a new laptop from our grandma and she texts me "hey, is there any way i can install Linux on that? I don't want to use windows".
Well i told her that she has to wait me to come back home next month and i will take care of it.
I had never thought that i will listen something like that. Good day.19 -
Do NOT build something as fast as possible. You are going to end up spending more time trying to refactor the mess than youd have spent drawing a class diagram.7
-
*15 new emails*
We have updated our privacy policy
We have updated our privacy policy
We have updated our privacy policy
We have updated our privacy policy
We have updated our privacy policy
We have updated our privacy policy
We have updated our privacy policy
We have updated our privacy policy
We have updated our privacy policy
We have updated our privacy policy
We have updated our privacy policy
We have updated our privacy policy
We have updated our privacy policy
We have updated our privacy policy
We have updated our privacy policy41 -
Scaling a badly-written code which is not designed to scale.
Ended up re-writing the entire shit from scratch.4 -
My programming teacher is a freaking degenerate. He spend 7 months teaching us basic stuff like if-clauses, while-loops and stuff like that over and over again - everyone was annoyed but he didn't listen to us because "some people still don't get it". (The reason for this could be their total absence during lessons but who am I to tell.)
Beginning of 2018 he realised we hadn't much time left to prepare for our final exam so he tried self-taught learning. 8 sorting algorithms, recursion, how to write classes and objects in less than a week. And of course there was a classtest about this - needless to say that like nobody passed it. He still has no clue why we are "so lazy and dumb".
One of his favourite code examples is a calculator. I don't know how many i've programmed and they've gotten more and more ridiculous. (Who the hell would want interfaces like IComparer in a calculator?)
He even wanted to convince us that for-loops can't count down (and that things like "i--" doen't exist.)
I could go on and on about this guy and his craziness.27 -
Meeting with asshole partner company CEO at restaurant.
Me: "I'm a bit worried about the bugs in your API. There are some ways to retrieve privacy sensitive info from public endpoints"
CEO: "Well, we're a rapidly growing startup!"
Me: "Uh... so?"
CEO: "So... Move Fast and Break Things! Priority is to improve our API further, and we'll fix bugs as they show up"
Me: "Maybe you should stop trying to emulate Zuckerberg in your management style. You know that even Facebook themselves admitted that their slogan was a retarded mistake"
Waiter shows up at table. CEO orders some overly expensive fish salad.
CEO: "Well, they have done something right... they're worth billions"
Waiter asks me: "And you sir, have you made your choice?"
Me: "Do you serve popcorn?"
CEO: "Popcorn for lunch?"
Me: "No, for your congressional hearing"16 -
New Dutch (or european?) law requiring https for any website with a contact form or higher is going into effect very soon. Were contacting customers so they can still be on time with this, this is how most convo's go:
Collegue: *explains*
Client: Im sure my security is good enough...
Collegue: i'd really recommend it, we've got free options as well!
Client: its just a secure connection, whats the big deal...
Collegue: *more arguments*
Client: I just don't see the point, security.... well.... does it really matter that much...
Collegue: Google might place you lower in the search results if you don't get a secure connection.
Client: 😶😥😵 uhm so what were the https options again? 😅
I hope they all die a painful death 😠26 -
3 years ago.....
*lunch break. In a table with 2 other co-workers*
Me: "I am going to quit today!"
Co-worker 1: "What? I am going to do that today too!"
Co-worker 2: "Are you serious? I was planning to do that too today!"
Me: "Holy cow! Let's do that today the three of us, but I am going last one. I want to see his face (our CEO)".
After couple of minutes and disagreement, we agreed to do that.
When I told him (I was the last to tell himm), he was sweating and his face was red. Started to throw offensive words towards me. I was expecting that and came prepared. BUT, in the middle of his words saying "I hire you because no one would hire you" etc, quietly and with a smile on my face, I interrupted him saying, "Look, is this going to take long? Because I gotta go somewhere and I am not in the mood to listen to you!"
He started to shake from that rage he had inside him. I know he wanted to punch me. But nothing happened.
I still remember his face like it was yesterday. :P
Epilogue:
My aunt's husband and him were best friends. He called him saying what happened. Of course, I was the one to blame. Since my parent knew what kind of guy he is, they told me "You did good for being quiet, not screaming and not acting like a child!"9 -
This is super childish but it's the gameserver insidstry and karma is a bitch.
TLDR: I hacked my boss
I was working for a gameserver and I did development for about 3 months and was promised pay after the network was released. I followed through with a bunch of dev friends and the guy ended up selling our work. He didn't know that I was aware of this as he tried to tell people to not tell us but one honest person came forward and said he sold our work for about 8x the price of what he owed ALL OF US collectively.
I proceeded to change the server password and when he asked why he couldn't log in I sent him an executable (a crypted remote access tool) and told him it was an "encryption tunnel" that makes ssh and file transfers secure. Being the idiot that he is he opened it and I snagged all of his passwords including his email and I changed them through a proxy on his machine to ensure I wouldn't get two factored with Google. After I was done I deleted system 32 :337 -
Co-worker put in her two weeks notice, then found out the company doesn't pay out remaining PTO.
.. so she took a two week paid vacation with her remaining 14 days. XD3