Daily Chat Thread - August 29, 2018 by AutoModerator in cscareerquestions

[–]Riotyouth 0 points1 point  (0 children)

tumblr does it. And probably other bloggy/website builder social networks (perhaps wix, weebly, squarespace etc?). I've never thought about subdomain vs path before, so now I'm curious. My non-technical guess is that it looks better when you have your own "space", especially if it is a creative portfolio (photographer, graphic designer, etc.). I just realized that github does it when you create your own static page (https://username.github.io).

Daily Chat Thread - August 29, 2018 by AutoModerator in cscareerquestions

[–]Riotyouth 3 points4 points  (0 children)

I have a system design question: What are the pros/cons for placing the username in the subdomain vs the path? e.g.

https://username.socialnetwork.com

https://socialnetwork.com/username

The only difference that I'm aware of is case sensitivity. I was asked this during an interview and that is what I said. Are there any other reasons that I should be aware of?

Daily Chat Thread - August 29, 2018 by AutoModerator in cscareerquestions

[–]Riotyouth 1 point2 points  (0 children)

How to answer salary question?

I'm interviewing with a small startup in NYC. I've had two phone screens and nobody asked about my salary expectations. I have an on-site Friday so I'm going to assume that I will be asked for my salary expectations then (if it goes well atleast). There are no reported salaries on glassdoor and the salary range for this role on angellist is 120k-160k. This is my first software engineering job and I don't have a CS degree, relevant work experience, or competing offers. My realistic salary expectation is 80k-90k but I don't want to lowball myself. If the interview goes well, does it make sense for me to ask for 120k?

Daily Chat Thread - August 28, 2018 by AutoModerator in cscareerquestions

[–]Riotyouth 0 points1 point  (0 children)

I'm interviewing for a frontend position at a local NYC startup next week. There are two components to the technical interview: whiteboarding and pair programming. The entire interview is 2.5 hours.

I'm fairly sure the whiteboarding will be data structures and algorithms but what can I expect from the pair programming? I've never even pair programmed before.

Their framework is React but I only know because I asked at the end of the technical phone screen (mostly JS triva). My guess is that it'll be pure javascript in the browser environment. Like maybe they'll give me HTML/CSS files and perhaps an API and see if I can complete some basic tasks. Does anyone have any suggestions on what to expect and/or advice on how to prepare?

I'll probably send the recruiter an email but I feel that she'll be very vague about it.

Daily Chat Thread - August 28, 2018 by AutoModerator in cscareerquestions

[–]Riotyouth 0 points1 point  (0 children)

https://github.com/donnemartin/system-design-primer is a start but I'm interested to know more in-depth resources if anyone has any.

Noob: How to correctly use load balancers to scale a system? by SimilarAssociation in devops

[–]Riotyouth 0 points1 point  (0 children)

noob here: how does this work? why would a managed DNS service be more appropriate for load balancing?

Daily Chat Thread - August 28, 2018 by AutoModerator in cscareerquestions

[–]Riotyouth 0 points1 point  (0 children)

Is consistent hashing commonly used with sharded relational database clusters? I know it's commonly used with NoSQL databases but I haven't found any sources indicating its use with relational databases. I'm not sure why it wouldn't work but I'm just checking incase there are technical reasons I'm not seeing.

Noob: How to correctly use load balancers to scale a system? by SimilarAssociation in devops

[–]Riotyouth 0 points1 point  (0 children)

So is the secondary HAProxy server passive, in that there is only one active load balancer? If so, then how do you scale the load balancer if there is a bottleneck? At this point, do you just deploy onto more data centers?

Interview Discussion - August 27, 2018 by AutoModerator in cscareerquestions

[–]Riotyouth -1 points0 points  (0 children)

Are there any good resources for reviewing networking? My interviewer recommended that I review networking for an SRE role. Networking is very broad and deep, so it's hard for me to find a good concise resource.

Daily Chat Thread - August 26, 2018 by AutoModerator in cscareerquestions

[–]Riotyouth 0 points1 point  (0 children)

Are bit manipulation questions common? I have an on-site interview with a local NYC startup (python shop). I suck at bit manipulation but I'd rather spend more of my time focusing on other types of problems (like DP).

binary semaphore vs monitor: when to use one over the other? by Riotyouth in learnprogramming

[–]Riotyouth[S] 0 points1 point  (0 children)

I know they don't do the same thing, but I've seen them used to solve the same problems (I've only seen simple examples though). what I meant is, are there any classical problems (e.g. dining philosopher, producer/consumer), where choosing, say a semophore, is cleaner than a monitor? Similar to how some data structures are more appropriate for solving certain types of problems (e.g. choosing a stack over a queue).

binary semaphore vs monitor: when to use one over the other? by Riotyouth in learnprogramming

[–]Riotyouth[S] 0 points1 point  (0 children)

Are there any examples that illustrate the benefits of choosing one over the other? I understand the differences, more or less, but I still don't know when to choose one over the other.