HN user

jrbancel

126 karma
Posts0
Comments35
View on HN
No posts found.

hence you need to query _all_ the nodes or can end up in a split-brain situation and lose consistency

I am not sure this is true. It is prohibitively expensive to read from all replicas. All you need to ensure is that any replica has the latest state. See how Azure Storage does it [0]. Another example is Spanner [1] that uses timestamps and not consensus for consistent reads.

[0] https://sigops.org/s/conferences/sosp/2011/current/2011-Casc... [1] https://cloud.google.com/spanner/docs/whitepapers/life-of-re...

Absolutely, the vast majority (95%+) of logs are never read by a human. Therefore, processing it is enormously wasteful. A good architecture will write once and not touch anything until it is needed.

I spent years working on system handling 50+PB/day of logs. No database or ELK can handle that, and even if it did it would be prohibitively expensive.

Expect at minimum 2 Medium difficulty questions in a phone interview that need to be able to be solved in optimal space time complexity in under 45 mins

I see this being repeated on Leetcode and Blind, but it is not my experience at all.

In 2019, I got Senior level (L5/E5) offers from everywhere I applied, including Facebook and Google. I never solved more than a single medium problem in 45m-1h. I was asked a hard problem maybe twice, and not at FB & G.

I also interviewed 100+ candidates at Microsoft and Google. I have seen hundreds of interview questions and feedback reports and I simply can't corroborate that statement.

Standing is denser than walking, so the throughput is greater

Doesn't this depend on the walking/standing density ratio and walking speed/escalator speed ratio?

Let say the walking density is 1/2 of the standing density. If the walkers walk at the speed of the escalator (i.e. their speed relative to the ground is 2x the speed of the escalator), then the throughput is the same.

"Automatic" is way to broad to be correct.

A DCT (Dual Clutch Transmission) like the Porsche PDK is not remotely comparable to a torque converter based transmission. Yet, both are categorized as "automatic".

Disclaimer: I work at Microsoft, not on Service Fabric but I have built complex stateful services on top of Service Fabric.

As zapita said, Service Fabric now handles containers but I think it is just because containers became trendy and FOMO kicked in.

Where Service Fabric is decades ahead of the container orchestration solutions is as a framework to build truly stateful services, meaning the state is entirely managed by your code through SF, not externalized in a remote disk, Redis, some DB, etc...

It offers high level primitives like reliable collections [0], as well as very low level primitives like a replicated log to implement custom replication between replicas [1]. I feel that publicly this is not advertised enough and it is unfortunate because it is a key differentiator for Service Fabric that the competitors won't have for a while, if ever because it is a completely opposite approach: containers are all about isolation, being self-contained and plateform independent while SF stateful services are deeply integrated with Service Fabric.

[0] https://docs.microsoft.com/en-us/azure/service-fabric/servic...

[1] https://docs.microsoft.com/en-us/dotnet/api/system.fabric.fa...

I have had the exact opposite experience.

The first thing I was asked when I interviewed with Microsoft was what I wanted to do and what I wanted to avoid. I said, no frontend, something related to distributed systems and they put me up for interviews with an Azure team.

With Google, it was like "interview first, accept the offer before knowing where you are going to be placed, and we will put you in some team".

Is 100 Billion (order of a few TB) Big Data?

In my experience, CPU is rarely the big issue when dealing with a lot of data (I am talking about tens of PB per day). IO is the main problem and designing systems that move the least amount of data is the real challenge.

The problem with roundabouts is starvation.

I grew up in France, which has more than 50% of the world's roundabouts. They are everywhere.

Where I am from, there is a roundabout at the intersection of a major road and a small road with little traffic. During rush hour, it is impossible to enter the roundabout coming from the small road because there is a continuous flow of cars coming from the major road. It is truly an uninterrupted flow of cars because the cars come from another roundabout...

Before the roundabout, there was no problem because there was a light that would be always be green for the main road expect when a car was detected on the small road. It was optimal.

The fact that most of Europe is in the same timezone is disturbing. I remember visiting Budapest (East of the timezone), coming from Bordeaux (West of the timezone), and noticing how much earlier (1h30) dusk was.

I wonder if it has an impact on the mood of the inhabitants.

Absolutely. "Stack" in "Full-stack" always seems to refer to a Web stack where the back-end is a database, a framework and maybe a service such as ElasticSearch or Redis.

I might be biased but to me, this is web development, not back-end. Back-end is designing distributed systems, data pipelines, trading systems, databases, etc... It has nothing to do with Web development.

There is no concept of transit/international zone in the U.S.A..

This means passengers, even the ones on transit, must have legal right to enter the U.S..

Going through a U.S. airport just for transit is always a bad idea, as it takes a lot of time to cross the border.

1) Taxes

For example, an average software engineer making $150,000, contributing 10% to her 401k will reduce her taxable income to $135,000. At a 28% marginal tax rate, she will save $4,200 on taxes.

2) Free money

If the employer matches 50% of the contributions, the employee will end up with an additional $7,500 on her 401k account.

3) Very few constraints

It depends on the employer but she could be free to invest the 401k money as she wants. She doesn't have to put it in a specific set of funds.

In a nutshell, she would get $11,700 more than if she hadn't used her 401k and is free to invest as she pleases.

What is the ideal ratio of rent/net income?

Personally, I don't want to spend more than 20% of my net income on rent + utilities. That way, I can save 50% and use the remaining 30% for food and entertainment.

I am currently at 16% in Seattle and I leave in a very good apartment, but I got lucky.

I agree that requiring deep code reviews on every code change is ridiculous. Unfortunately, I have never seen a team that doesn't have at least a developer that is much worse than the average member of the team. He can be bad at abstraction, at design, at naming things or anything else. This developer produces sub-optimal (or even worse, incorrect) code that is hard to understand, maintain and extend.

I have observed that naturally, the other teammates will review the code of this specific coworker while not looking at changes submitted by good and reliable teammates.

I see code reviews as a tool to provide feedbacks to someone and help him improve the quality of the code he writes.

Absolutely, at Harvard (and other Ivy league schools) there are so many brilliant students that are going to end up with miserable salaries because they are studying art, literature, etc... and not the majors that are currently leading to the most profitable jobs/industries. Anyone reading this article would be a fool not to go to an Ivy League school if they want to study math, physics or computer science.

In fact, most people think it's weird that I live downtown. It's definitely not a common choice around here.

That's a good thing, it keeps prices down.

I live on 1st & Union.

Everything is next door:

  - the market, Target, Kress, dry cleaners, all downtown stores

  - all the bus lines stop on 3rd, 4th or 5th

  - the light rail station is 2 blocks away

  - numerous bars and restaurants in a 3 blocks radius

  - Belltown is 5 min away

  - Capitol Hill is 15 min away

  - Pioneer Square is 10 min away

  - the waterfront is 2 min away
I have a room, with view on the Puget Sound, with my own bathroom in a 2 bedrooms apartment (1200+ sqft) with a parking spot. The building has a doorman and all utilities, even internet are included. I pay $1,250 / month.

It is a bargain compared to other neighborhoods.