Plurrrr

a tumblelog
week 52, 2020

Mechanic: Resurrection (2016)

Bishop's most formidable foe kidnaps the love of his life in order to make him complete three impossible assassinations and make them look like accidents.

In the afternoon Esme and I watched Mechanic: Resurrection (2016). We both liked the movie. I give it a 7.5 out of 10.

A Vim Guide for Intermediate Users

Welcome to the second part of this series aimed to make you a better Vim user! If you have no idea about Vim, you should begin with the first part. In this article, I’ll explain many more concepts, some of them making Vim truly special compared to other editors. Who wasn’t blown away discovering Vim’s macros?

Specifically, we’ll see together:

  • Ways you can organize open files in Vim using buffers, windows, tabs, and the argument list.
  • Useful motions to jump quickly from one place to another in your entire codebase.
  • Mapping new keystrokes to old keystrokes or commands.
  • Powerful functionalities to repeat some of your keystrokes.
  • Ways of manipulating the command line history.
  • Plugins which offers different ways to manage some ideas we saw before.

Source: A Vim Guide for Intermediate Users.

John Wick: Chapter 3 - Parabellum (2019)

John Wick is on the run after killing a member of the international assassins' guild, and with a $14 million price tag on his head, he is the target of hit men and women everywhere.

At the end of the afternoon Esme and I watched John Wick: Chapter 3 - Parabellum (2019). We both enjoyed the movie. I give it a 7.5 out of 10.

Git from the inside out

The essay assumes you understand Git well enough to use it to version control your projects. It focuses on the graph structure that underpins Git and the way the properties of this graph dictate Git’s behavior. Looking at fundamentals, you build your mental model on the truth rather than on hypotheses constructed from evidence gathered while experimenting with the API. This truer model gives you a better understanding of what Git has done, what it is doing, and what it will do.

Source: Git from the inside out, an article by Mary Rose Cook.

50 Latin Phrases You Should Know

Latin expressions are often adopted into English, often with an extended or figurative meaning. Here are fifty of the most common phrases, followed by their literal translation in Latin and the meaning in English (omitted when the meaning follows the literal translation).

Source: 50 Latin Phrases You Should Know, an article by Mark Nichol.

Minecraft Java Edition

In the afternoon I bought the Minecraft Java Edition as a small Christmas present for our children. I was expecting to be able to install it in my account on the Mac mini and each child be able to run his/her own version. But alas, after I had installed it and we switched to Adam's account starting Minecraft resulted in a small window stating that the Minecraft Launcher was unable to start Minecraft...

Minecraft Launcher unable to start Minecraft
Minecraft Launcher unable to start Minecraft.

Installing Minecraft using my Microsoft account in Adam's session worked, though. So after about an hour of installing, updating, etc. he was finally able to play Minecraft.

I will look further into this issue later.

The Christmas Chronicles: Part Two (2020)

Kate Pierce, now a cynical teen, is unexpectedly reunited with Santa Claus when a mysterious troublemaker threatens to cancel Christmas - forever.

At my mother's we watched The Christmas Chronicles: Part Two. Although I didn't watch the entire movie, busy with making coffee and a desert, I liked it more than the first one. I give it a 7 out of 10.

Linux Hardening Guide

Linux is not a secure operating system. However, there are steps you can take to improve it. This guide aims to explain how to harden Linux as much as possible for security and privacy. This guide attempts to be distribution-agnostic and is not tied to any specific one.

Source: Linux Hardening Guide.

A perceptual color space for image processing

A perceptual color space is desirable when doing many kinds of image processing. It is useful for things like:

  • Turning an image grayscale, while keeping the perceived lightness the same
  • Increasing the saturation of colors, while maintaining perceived hue and lightness
  • Creating smooth and uniform looking transitions between colors

Unfortunately, as far as I am aware, while there are color spaces that aim to be perceptually uniform, none are without significant drawbacks when used for image processing.

For this reason I have designed a new perceptual color space, designed to be simple to use, while doing a good job at predicting perceived lightness, chroma and hue. It is called the Oklab color space, because it is an OK Lab color space.

Source: A perceptual color space for image processing, an article by Björn Ottosson.

How to Favicon in 2021: Six files that fit most needs

It is time to rethink how we cook a set of favicons for modern browsers and stop the icon generator madness. Currently, frontend developers have to deal with 20+ static PNG files just to display a tiny website logo in a browser tab or on a touchscreen. Read on to see how to take a smarter approach and adopt a minimal set of icons that fits most modern needs.

Source: How to Favicon in 2021: Six files that fit most needs, an article by Andrey Sitnik.

Build a Tiny Certificate Authority For Your Homelab

In this tutorial, we’re going to build a tiny, standalone, online Certificate Authority (CA) that will mint TLS certificates and is secured with a YubiKey. It will be an internal ACME server on our local network (ACME is the same protocol used by Let’s Encrypt). The YubiKey will securely store the CA private keys and sign certificates, acting as a cheap alternative to a Hardware Security Module (HSM). We’ll also use an open-source True Random Number Generator, called Infinite Noise TRNG, to spice up the Linux entropy pool.

Source: Build a Tiny Certificate Authority For Your Homelab, an article by Carl Tashian.

The Christmas Chronicles (2018)

The story of sister and brother, Kate and Teddy Pierce, whose Christmas Eve plan to catch Santa Claus on camera turns into an unexpected journey that most kids could only dream about.

In the evening we watched The Christmas Chronicles (2018). To me the movie was OK but not great so I give it a 6 out of 10.

What makes the web slow

We rendered the top 1 million pages on the web, tracking every conceivable performance metric, logging every error, noting every requested URL. To our knowledge, this produces the first dataset that connects performance, errors, and library use on the web. In this article, we analyze what the data can tell us about creating high performance web sites.

Source: We rendered a million web pages to find out what makes the web slow, an article by Lars Eidnes.

The Joy Of Typed Python

If I am to start working on a new project today, I would hesitate to attempt it in a language that does not have compile-time type checking. However, I do have to deal with Python at work (though we are slowly phasing it out). Also, I have been working off and on, in my spare time, on a Python project that has over the past 3+ years gotten fairly large as personal projects go. It started out as a one-off quick script. It eventually evolved into something larger that actually does something useful for me so I ended up adding to it and maintaining it.

Somewhere over a year and a half back, after being frustrated with my inability to refactor this code like I can with other type safe languages, I started exploring the possibility of adding type hints to the codebase. Now, after having spent the requisite time to understand the implications of type hinting, and whether it’s useful, and to be able to show this as a consolidation of my thoughts on the matter to friends and colleagues, I decided to write this post on what an absolute joy it has become to refactor and work with Python once you have type checking enforced.

Source: The Joy Of Typed Python, an article by Balajee Ramachandran.

Understanding Apple ProRAW

To understand what makes it so special, the first half of this post explains how a digital camera develops a photo. Then we go on to explain the strengths and weaknesses of traditional RAWs. Finally, we dive into what’s unique about ProRAW, how it changes the game, and its few remaining drawbacks.

Source: Understanding Apple ProRAW, an article by Ben Sandofsky.

Top 10 Python libraries of 2020

Welcome to the sixth yearly edition of our Top Python Libraries list!

The rules are simple. We are looking for libraries that satisfy the following conditions:

  1. They were launched or popularized in 2020.
  2. They are well maintained and have been since their launch data.
  3. They are outright cool, and you should check them out.

Source: Top 10 Python libraries of 2020 you should know about, an article by Alan Descoins.

3 ways to use ES6 proxies to enhance your objects

In this article, I want to cover three things you can do with proxies that will enhance your objects specifically. Hopefully, by the end of it, you’ll be able to expand my code and maybe apply it yourself to your own needs!

Source: 3 ways to use ES6 proxies to enhance your objects, an article by Fernando Doglio.

Haskell Documentation with Haddock: Wishes'n'Tips

Haskell has a stigma of having poor or no documentation at all. Though more and more maintainers are doing a hell of a job to improve the quality of their libraries and applications, it is still not enough. We need to strengthen our vision of documentation collectively and as a consequence, master the existing tools for doing that.

There are different types of documentation. Today we want to talk about API and libraries documentation inside your library, and accordingly about Haskell gear for that – Haddock.

The blog post is going to give Haddock overview, suggest documentation best practices, reveal the specialities of the Haddock tool, and show-and-tell lots of different examples of how to squeeze more out of your documentation. It should be interesting to library maintainers, developers who want to improve their documenting skills and everyone interested in documentation techniques in Haskell.

Source: Haskell Documentation with Haddock: Wishes'n'Tips, an article by Veronika Romashkina and Dmitrii Kovanikov.