Distributed consensus revised

Distributed consensus revised

In the face of this, an algorithm for consensus must meet three safety requirements and two progress requirements:

The first part of the thesis examines the Paxos family of algorithms, and is a great resource for navigating this complex space. These are important results since as well as being notoriously difficult to understand and to implement, Paxos has some well-known and not-so-well-known limitations:

The reliance on majority agreement means that the Paxos algorithm is slow to reach decisions… systems are limited in scale, often to three or five participants, as each additional participant substantially decreases overall performance. Removing that single point of failure and supporting multiple acceptors leads us to Paxos…

Unoptimised classic Paxos can reach agreement with two round trips to the majority of acceptors, and three synchronous writes to persistent storage.

Source: blog.acolyer.org

Pixel 3a: the helpful (and more affordable) phone by Google

Pixel 3a: the helpful (and more affordable) phone by Google

Buy it from more places, use it on more networks
Pixel 3a and Pixel 3 are now available through more carriers, including Verizon, T-Mobile, Sprint, US Cellular, Spectrum Mobile (Charter), C Spire and Google Fi, as well as being supported on ATT. Look for Pixel 3a in the Google Store in countries where Pixel is sold beginning today, and through our partners beginning tomorrow. 1 Approximate battery life based on a mix of talk, data, standby, mobile hotspot and use of other features, with always on display off.

Source: blog.google

Modeling Adversaries with TLA+

Modeling Adversaries with TLA+

We’ll start by writing a very simple TLA+ spec for the machine, then compose it with a spec of the world. If the world is only kicking things out of alignment a finite number of times, say one million, then it should still be stable. In the TLA+ formulation, and we can think of an adversary as an agent in the system who can take a superset of the actions everybody else can.

Source: www.hillelwayne.com

Show HN: A self-hosted help desk and knowledge base software

Show HN: A self-hosted help desk and knowledge base software

While SaaS-based alternatives have their advantage, the pricing model doesn’t always fit small business owners and freelancers. Cost isn’t the most important factor when deciding for a business tool, but it’s not something that should be ignored. If you are considering tools that provide the same value, the obvious route is the one that costs less.

Source: www.fullhelp.com

CSS-only chat: async web chat using no JavaScript

CSS-only chat: async web chat using no JavaScript

However, we can use it to effectively detect button presses:

What’s cool is that a browser won’t actually load that background image until this selector is used – that is, when this button is pressed. Now, of course, this only works once per button (since a browser won’t try to load that image twice), but it’s a start. How about, when you load the index page, this happens:

Ok, so we have that problem earlier where each button is only single-use.

Source: github.com

Two senators say a $5B fine isn’t enough to punish Facebook

Two senators say a $5B fine isn’t enough to punish Facebook

Two senators—one Republican and one Democrat—are urging the Federal Trade Commission to take a hard line against Facebook in its ongoing negotiations over a privacy settlement. “The FTC must set a resounding precedent that is heard by Facebook and any other tech company that disregards the law in a rapacious quest for growth,” write Richard Blumenthal (D-Conn.) So far, most Republicans have remained true to free-market orthodoxy, which is why you see the FTC’s Republican majority favoring a more lenient stance in the Facebook case.

Source: arstechnica.com

Distributed consensus revised – Part I

Distributed consensus revised – Part I

In the face of this, an algorithm for consensus must meet three safety requirements and two progress requirements:

The first part of the thesis examines the Paxos family of algorithms, and is a great resource for navigating this complex space. These are important results since as well as being notoriously difficult to understand and to implement, Paxos has some well-known and not-so-well-known limitations:

The reliance on majority agreement means that the Paxos algorithm is slow to reach decisions… systems are limited in scale, often to three or five participants, as each additional participant substantially decreases overall performance. Removing that single point of failure and supporting multiple acceptors leads us to Paxos…

Unoptimised classic Paxos can reach agreement with two round trips to the majority of acceptors, and three synchronous writes to persistent storage.

Source: blog.acolyer.org

Lose and You’ll Win – How to Reflect on Failure

Lose and You’ll Win – How to Reflect on Failure

In “7 Ways to Prevent Your Child From Being a Sore Loser”, written by Amy Morin for VeryWell Family, there’s a point I think is particularly relevant:
Don’t Let Your Child WinIt can be tempting sometimes to throw the game on purpose so you won’t be subjected to a sore loser’s negative reaction. Experiment is the sole judge of scientific truth” — Richard FeynmanWithout realizing it, when I started my SkillUp approach, that is, learning 3 new skills every month, practicing every day for 30 minutes each, I set myself up for success, through failure. I did the same with Salsa Dancing, amongst other skills:
My point is:
You can’t win without losing.

Source: theascent.pub

Lucretius saw no boundary between his scientific interests and ethical claims

Lucretius saw no boundary between his scientific interests and ethical claims

The reason that Lucretius spurned educated opinion and rejected a spherical Earth becomes clear when we realise that the worldview of his poem is based on source material that was written two and a half centuries earlier by Epicurus himself, the man who founded the school that Memmius was planning to build over. It is quite possible, says Lucretius, that the infinite space of the Universe contains many other worlds each with their own heavens and Earth. The entire Epicurean world-picture buttresses an ethical framework that provides a way of achieving happiness
Why did Lucretius ignore the work of contemporary astronomers such as Hipparchus and Aristarchus, who knew that the Earth is a sphere, the stars are distant and the Sun is much larger than the Earth?

Source: aeon.co

The Amazing $1 Microcontroller (2017)

The Amazing $1 Microcontroller (2017)

But that’s the crux of the problem for the tinyAVR — by shedding many of its megaAVR roots, Microchip ended up with a wonderful microcontroller that will be challenging to use for a large base of Atmel fans: indie developers and hobbyists who use low-cost, open-source programmers (which don’t support the UPDI interface). I also hope these open-source projects can add UPDI support to their tools, so that hobbyists and indie developers can start integrating the tinyAVR into their projects — it’s a much better part, and if you’re an AVR user with access to Atmel Studio, you really ought to buy an Xplained Mini board and take it for a spin. Like many of the parts reviewed here, the biggest problem for hobbyists and indie developers is the tiny online communities and lack of GitHub repos with open-source projects that use these chips.

Source: jaycarlson.net