Details
-
Aboutmy laziness is like 8 and if I sleep, it's infinity..😉😉
-
SkillsHTML CSS JavaScript Angular Aurelia Typescript Python
-
LocationHyderabad
Joined devRant on 9/11/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
-
Interviewer: So, we were researching you online and came across your devRant profile.
Me: Ok, I'll see myself out. Thanks.5 -
I just bought hitgub.co
Honestly have no regerts about it.
Idk what to do with it, but I'll figure it out.11 -
Dev: Why do you have an identical if statement right below this one?
Manager: Because I want the code to double check, obviously.
Dev: …19 -
I do like my current employer very much :D
This is a snip from an official job ad in their portal :)7 -
Newcomer: I can do fizzbuzz in 6 lines of code
Experienced: I can do fizzbuzz in 3 lines of code
Professional: I can do fizzbuzz in 1 line of code
Enterprise: you did not create the user epic for this problem, I can't accept these solutions until you have done this. Please speak with Mike on getting this properly setup. I expect a full report of this by Monday.
Them: but it's Friday...
Enterprise: Get it done. I am not paying your overtime either
https://github.com/EnterpriseQualit...8 -
Interview (first job):
Interviewer: So what languages do you know?
Me: Well, i learnd C, C++ and Matlab scripting, but i'm learning C# as a personal project.
Interviewer: Perfect!
First day:
Interviewer(now boss): So, a guy is leaving next week and you will be replacing him. He has 70 projects and you will be responsible for this production test platform in JAVA11 -
Getting a CodinGame puzzle's description without scraping the page.
I spent hours playing with different endpoints and changing values in postman, all to no avail. The most promising endpoint also returned user progress, which requires authentication, which requires a dummy account, which is against their ToS (it is allowed to reverse engineer the API though).
Turns out you just had to submit “null” for your user ID and it would remove the progress field.
Why is this tagged bad design?
["puzzle-id-string", user-id-as-int]
For almost anything, you POST json arrays...
Send help. -
So here the function that does same thing as new operator in javascript:
// we define our function Person that assigns properties to THIS that points to some object
const Person = function(name, lastName) {
this.name = name;
this.lastName = lastName;
}
// in Person prototype property we define our functions
Person.prototype.getName = function() {
return this.name;
}
Person.prototype.getLastName = function() {
return this.lastName;
}
// function that simulates new operator
// first argument is a function that would act as constructor
// second argument is an arguments that would be passed to constructor
function New(func, ...args) {
// with Object.create() we create a new object and assign [[__proto__]] from "func" prototype property
let object = Object.create(func.prototype);
// here we're calling "func" with THIS pointing to object
func.apply(object, args);
// then we return it
return object;
}
let person = New(Person, "Name", "LastName");
console.dir(person);
// so this is how prototype OOP works in javascript6 -
podcasts... any recommendations?
I'm just beginning to listen to them and don't really know what's good lol. so any recommendation in general?
and If there's any tech related ones or about software dev it'd be great. tyyy 😄14 -
"Don’t worry if it doesn’t work right. If everything did, you’d be out of a job."
Mosher’s Law of Software Engineering
This made my debugging day a bit more tolerable. Hope it will have similar effect on yours :) -
I opened a ticket earlier with my automated ticket script, and saw its number, so I couldn't resist.
-
Became 30 yesterday.
If I were to die by 60, I'm at the halfway point.
If I were to die by 50, I have spent about two thirds of my life.
If I were to die by 40, well only left a decade left.
Sigh.12 -
Today was Mother's Day. Everybody was posting their photos with their mothers, so I had to stay away from social networks for today to not feel sad.
It's been almost a year without mine, really miss her.
I love her, and I never showed her how much. I've not been the best son a mother could have, I'm so sorry for that. She thought me how to be strong, she was the strongest, but I'm feeling so weak now without her.
Please never miss a chance to let your mother know how much you love her, give her a hug whenever you can, talk to her every time you need somebody to talk to, listen to her stories from when she was your age. She's the most precious person you'll ever have in your life. I realized that when it was too late, don't make my mistake.
I miss you mum ❤8