126 karma · joined Jun 13, 2014 (12y ago) · 35 submissions
comment 5y ago · link · parent
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...
comment 6y ago · link · parent
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.
comment 6y ago · link · parent
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.
comment 7y ago · link · parent
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.
comment 8y ago · link · parent
It is done onsite so there is no risk of tempering.
If you wanted, you could stand next to the transparent ballot box the entire day and then count yourself.
The results are available a couple hours later. I can't think of any downside.
comment 8y ago · link · parent
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...
comment 8y ago · link · parent
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".
comment 9y ago · link · parent
See http://gitweb.dragonflybsd.org/dragonfly.git/blob/586c43085f...
comment 9y ago · link · parent
Global Entry [0], if you are a US citizen or permanent resident.
It is life changing. Immigration takes under a minute at a kiosk and there is a priority lane at Customs.
[0] https://www.cbp.gov/travel/trusted-traveler-programs/global-...
comment 10y ago · link · parent
This is actually not an uncommon problem. I recently experienced a backend system going down because of catastrophic backtracking. There is a reason why proper regex libraries have a timeout on the match methods.
For example: https://msdn.microsoft.com/en-us/library/hh160204(v=vs.110)....
comment 10y ago · link · parent
Also, don't forget about students and retired individuals. They are part of the labor force, but not part of the unemployed.
[0] https://en.wikipedia.org/wiki/Unemployment_in_the_United_Sta...
comment 10y ago · link · parent
I think it is slightly more relevant to understand the model than the .git/ structure since the .git/ folder is just an implementation detail.
comment 11y ago · link · parent
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.
comment 11y ago · link · parent
I wonder if it has an impact on the mood of the inhabitants.
comment 11y ago · link · parent
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.
comment 11y ago · link · parent
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.
comment 11y ago · link · parent
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.
comment 11y ago · link · parent
Muammar al-Gaddafi had an interesting take on this particular issue: page 51 of The Green Book (http://openanthropology.org/libya/gaddafi-green-book.pdf). Newlyweds were given enough money to build a house.
comment 11y ago · link · parent
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.
comment 11y ago · link · parent
comment 11y ago · link · parent
comment 11y ago · link · parent
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.