Daily Shaarli

All links of one day in a single page.

January 14, 2020

Rules for working with dynamic arrays and custom collection classes — Matthias Noback - Blog

(feed de Riduidel)

Une enquête révèle comment Tinder & Cie siphonnent nos données - Le Temps

Les applications sur ordiphone siphonnent illégalement les données des utilisateurs. Notamment Tinder, Grindr,

(via Sebsauvage)

Jonathan Blow - Preventing the Collapse of Civilization (English only) - Invidious

Quicknotes :

Five 9s : 99.999% uptime [where are they now ?, AN]
Avoid loss of capabilities


Robustness is declining
Productivity is declining [not sure about that..., AN]
The argument that software is advancing is obviously false


Techonology, by itself, will degrade
We must simplify by itself, at every level:

  • the hardware
  • the OS
  • the libraries
  • the application code
  • the communication systems (e.g. internet)
  • how we compile
  • how we debug
  • how we distribute
  • how people interface with software

Surviving as a developper : removing complexity is the right short-term play, even if it doesn't seem so.

Note: print duration of video in bash

Print the duration of each video passed as argument

#!/bin/bash

for video in "$@"
do
    duration=$(mediainfo "$video" |grep "Duration" |head -n 1 |cut -d':' -f 2)
    echo "$duration ― $video"
done

Need the mediainfo command (install with apt)

GitHub - simonwhitaker/github-fork-ribbon-css: A CSS-only, resolution-independent "Fork me on GitHub" ribbon.
Using Netrw Instead of NERDTree for Vim - Steven Occhipinti

Some shortcuts with netrw

Devhints — TL;DR for developer documentation

A list of designed cheasheets