Implementing Raft: Part 2: Commands and Log Replication
This is Part 2 in a series of posts describing the Raft distributed consensus algorithm and its complete implementation in Go. Here is a list of posts in the series:
The latest blog posts to take off on Hacker News. 5,567 posts.
This is Part 2 in a series of posts describing the Raft distributed consensus algorithm and its complete implementation in Go. Here is a list of posts in the series:
Starting with the release of the Pixel 3, all of Google's Pixel Android smartphones come with the Titan M security chip on board. When I realized the Pixel 3a XL I purchased also had it, I decided to try to take advantage of it in an app I work on. It turned out that using the Titan M chip through the Android Keystore…
It has long been assumed that lifespan and health are strongly correlated, but although there has been an overall increase in human life expectancy
Stress free and easy shopping experience. Simple and speedy service.
In order to increase fluency in a programming language, one has to read a lot of it. But how can you read a lot of it if you don’t know what it means? In this article, instead of focusing on one or...
After close consultation with partners in the game development industry & community around the world, organizers have made the difficult decision to postpone the Game Developers Conference this March.
The U.S. Federal Communications Commission (FCC) today proposed fines of more than $200 million against the nation’s four largest wireless carriers for selling access to their customers’ location information without taking adequate precautions to prevent unauthorized access to that data. While the fines would be among…
We’re delighted to announce ArgumentParser, a new open-source library that makes it straightforward — even enjoyable! — to parse command-line arguments in Swift.
For about five years I've been trying to implement a fully conforming C preprocessor for the front end of the CScout refactoring browser. I've found this to be a fiendishly difficult task. Although what I have written can correctly process million-line real-life projects, every once in a while I come across a…
A visual introduction to self-supervised learning methods for visual representations.
A common thing in React development is that we want to store a bit of React state in localStorage, and re-initialize from that value on the next page-load. This quick tutorial shows you how we can build a custom hook that does exactly this!
Please try this experiment for me. Try asking this question out loud, in a tone of intellectual interest and engagement: “Are you suggesting that the two have the same effect?”. Now try asking this question out loud, in a tone of hostility and incredulity bordering on sarcasm: “Are you suggesting that the two have the…
My honeymoon with the Go language is extremely over. This article is going to have a different tone from what I’ve been posting the past year - it’s a proper rant. And I always feel bad writing tho...
AdGuard dives into the history of ad blocking, from the very first banner on the web to present days, and we even have a peek into the future of ads and ad blockers. Let's look back together to better understand what awaits us ahead.
Learn about the advanced features the requests library hides under the hood. DRY base URLs, hooks, retry on failure, default timeouts and mocking.
Discovering one of the pillars of C++ generic programming.
There is a renaissance underway in online text as a medium. The Four Horsemen of this emerging Textopia are: Roam , a hypertext publishing platform best…
Note: me telling you up front that these are trick questions rather gives the answers away in most cases, but oh well. Questions Question 1 What's the fastest way to sort a jumbled array, given that the array has length N and contains all the integers from 1 to N inclusi...
YC (a startup accelerator we are taking part in) ask you to move to the Bay Area for the whole program. This gives you “a socially acceptable excuse…
The questioning of the VBA languages lifespan seems to be a question that is on everyone’s mind. Let’s explore why so many people utilize this language, Microsoft’s current thinking on it’s uses, and when it will ultimately retire from being used.
How to accurately measure latency on Linux
With more than 3.1 million views to date, “Night of the Living Dead” is among the most popular feature films on the Internet Archive. The 1968 movie is also generally acknowledged as one of the landmark films of the horror genre, as well as the work that single handedly created the modern conception of the
Teleport’s Enhanced Session Recording feature can add vital extra visibility into commands being run on your systems.
We have a couple Mac users in the office so I went around and asked them how to do some things on macOS, which as we all know, is much better than iPadOS at making important, useful UI elements easily discoverable. I talked to 3 people who have been using
We issued our billionth certificate on February 27, 2020. We’re going to use this big round number as an opportunity to reflect on what has changed for us, and for the Internet, leading up to this event. In particular, we want to talk about what has happened since the last time we talked about a big round number of…