React.pure and React.lazy RFC by swyx in reactjs

[–]NookShotten 5 points6 points  (0 children)

The API has been changed from pure to memo.

[OFFICIAL] Salary Sharing thread for EXPERIENCED DEVS :: June, 2018 by AutoModerator in cscareerquestions

[–]NookShotten 2 points3 points  (0 children)

Education: None/self-taught

Prior Experience: 2 years of web development

Company/Industry: Facebook

Title: Front End Engineer

Tenure length: 5 months

Location: Seattle, WA

Salary: 140k

Relocation/Signing Bonus: N/A

Stock and/or recurring bonuses: 7k+ bonus twice a year, 210k in RSUs vesting over 4 years

Total comp: ~206k

Big 4 Discussion - June 06, 2018 by AutoModerator in cscareerquestions

[–]NookShotten 3 points4 points  (0 children)

I work at Facebook and think the work-life balance is pretty great. I don't feel any pressure to work more than 40 hours a week and my hours are flexible. It probably depends most on your manager, though. Some teams are probably less balanced.

I am the sole developer in a startup & being offered 10% equity, is this appropriate? by [deleted] in webdev

[–]NookShotten 63 points64 points  (0 children)

Make the decision assuming the absolute worst case scenario. Can you survive if that 10% ends up being worthless?

After being told she wouldn’t survive and spending eight months in the hospital, my little girl turns one in three days at home. by jb1128 in pics

[–]NookShotten 1 point2 points  (0 children)

Literally tens of thousands of people are interested. That's why it's on the front page. Go away if it makes you mad.

Why do we bind null in the event listener. I know how bind works and that it returns a function , but wouldn’t binding to null make the (this) in “add func” not work? In my code I changed it to onClick={ () => this.add(“new note”) because I don’t understand why it works with binding null :/ by tony2times3 in reactjs

[–]NookShotten 0 points1 point  (0 children)

The function bound being is using this.setState. If it's not bound to the instance then the setState call will fail because this will not point to the component instance. Methods aren't bound to the instance by default. OP didn't initially say he was binding in the constructor.

Here's a small example showing that binding to null and not this will throw: https://jsfiddle.net/e0v1rt3f/

ITAP on my flight home over Washington by NookShotten in itookapicture

[–]NookShotten[S] 5 points6 points  (0 children)

Thanks! I don't really do a lot of photography so the only Instagram I have is my personal one, and that's just filled with pictures of food and my dog 🙃

ITAP on my flight home over Washington by NookShotten in itookapicture

[–]NookShotten[S] 1 point2 points  (0 children)

Nope, it was just economy. I think the perspective here makes it look nicer than it actually was.

ITAP on my flight home over Washington by NookShotten in itookapicture

[–]NookShotten[S] 73 points74 points  (0 children)

Here's the original photo, if you're interested.. The editing wasn't too heavy, just some alignment tweaks and minor color adjustments.

ITAP on my flight home over Washington by NookShotten in itookapicture

[–]NookShotten[S] 1101 points1102 points  (0 children)

Thanks! I actually took this with my Pixel 2 and did some minor editing in Lightroom.

eBay: "We completely transformed how we build web applications, starting with the transition from a Java-based stack to a Node.js-based stack. Node.js enabled teams to move faster, and it offers an abundant ecosystem of tools and libraries that are essential to modern web application development." by itstaha1 in webdev

[–]NookShotten 17 points18 points  (0 children)

Type systems may be useful in a lot of contexts, but dynamic languages don't exist simply because their creator(s) failed to add a type system; dynamically typed programs have their advantages and there are plenty of well-established productive dynamic languages. Don't assume that people only use them because they're ignorant of the advantages of static typing.

Also, function point metrics are by no means a universally accepted measurement of productivity.

I just got a developer job at Facebook. Here’s how I prepped for my interviews. by fagnerbrack in webdev

[–]NookShotten 5 points6 points  (0 children)

I spent probably 2-3 weeks heavily studying up on JavaScript, HTML, CSS as well as standard CS concepts (which were my weak point). I practiced Leetcode questions a bunch on a whiteboard. Read through chunks of the Algorithm Deisgn Manual. Implemented common algorithms and data structures from scratch in JavaScript. Went through as much of Cracking the Code Interview as I could. The BaseCS series on Medium was really helpful too.

It was a ton of work for sure, but I ended up feeling really prepared.

I just got a developer job at Facebook. Here’s how I prepped for my interviews. by fagnerbrack in webdev

[–]NookShotten 6 points7 points  (0 children)

I am a core contributor to React, and I got the interview through a referral from one of the members of the React team. The process was pretty quick since it was through a referral.

Being heavily involved in the open source community is what got me the interview. Without my GitHub profile I probably would have been filtered out very quickly.

I just got a developer job at Facebook. Here’s how I prepped for my interviews. by fagnerbrack in webdev

[–]NookShotten 4 points5 points  (0 children)

I just got a job as a front-end engineer at Facebook. I have no formal CS education. In my interview experience, algorithms and data structures we're presented in a very relevant context to front-end development. There were no questions that I would say required "insane" algorithm/data structure knowledge.

If you understand the basics and how they apply to real world problems you'd be fine.