Skip to content

Instantly share code, notes, and snippets.

@aleixmorgadas
aleixmorgadas / 1. Fallacies.md
Last active October 2, 2021 04:53
Distributed Systems Fundamentals Questions

Fallacy #1. The network is reliable

  • Why the pattern Client-Response might cause some troubles?
  • What are distributed objects?
  • How we can solve this problem?

Fallacy #2. Latency isn't a problem

  • How many calls do you do between services before replying a syncronous call to the end user?
  • Which pattern is more common in your application? Remote calls or messages?
const CUSTOM_DELIMITER_PATTERN = "//";
const DEFAULT_DELIMITER = ",";
const DELIMITIER_POSITION = 2;
const NUMBERS_START_POSITION = 4;
const parseInput = (input) => {
if (input.startsWith(CUSTOM_DELIMITER_PATTERN)) {
return {
delimiter: input[DELIMITIER_POSITION],
rawNumbers: input.substring(NUMBERS_START_POSITION, input.length)
@aleixmorgadas
aleixmorgadas / keychron K3.md
Last active January 6, 2023 12:36
Keychron K3 Linux
@aleixmorgadas
aleixmorgadas / Instructions.md
Last active September 12, 2023 06:31
Installing Linux in Asus Zenbook 14 UX431FA

Install Debian in Asus Zenbook 14 UX431FA

Debian version Bullseye

⚠️ using the non-free of Debian because it needs specific firmware for the wifi to be able to connect.

  1. Download the next netinst.iso https://cdimage.debian.org/cdimage/unofficial/non-free/cd-including-firmware/bullseye_di_alpha2/amd64/iso-cd/ or newer.

I'm using the bullseye because it has the latest kernel, and it seems required for this laptop. Also, the link might breake because the alpha2 it's no longer available because Debian Bullseye has already a beta version or it's released as stable distribution. In that case, check the root directory https://cdimage.debian.org/cdimage/unofficial/non-free/cd-including-firmware/