A friend asked me if I could help him write a Python script for fetching and processing data from emails in his mailbox … Well, the thing with emails is that they’re a pain to work with (in any form). So, I tried to help him out with a little scaffolding (also available as a Gist).
Simon Pitt writes how we have moved away from files as a representation of data and how we may have lost some freedoms on the way and gained weird new habits.
Years ago websites were made of files; now they are made of dependencies.
Titus Winters talks about maintaining and refactoring large C++ code bases (i.e. code bodies that require multi-step refactoring). He describes how “higher-level” language features effectively make refactoring harder (e.g. functions, classes, templates, concepts).
Unser Eintrag ins Gästebuch für eine paar schöne Tage in Jena. 😀
Den durchreisenden Gästen
Die da kommen vom Westen
Zuerst die Stadt von oben gezeigt
Dann die Pracht des Allmächt’gen bezeugt
Zusammen aßen wir in kleiner Runde
und heiter saßen noch zu später Stunde
Bei Tee und viel zu vielen Kalorien
schwadronierten über Dys- und Utopien
Vom in die Esoterik entgleisen
Von Schwarzkümmel, es nachzuweisen
Von Kulturen und vom Reisen
und den Herrn auf deutsch zu preisen
Ein Abend mit Herz, Vertand und Sinn
Hurra auf unsre Gastgeberin
“fi aman-il-Lah” und auch “Ade!”
Vom Gartenkönig und seiner Wasserfee
Chris Down explains how swap’s main role is being the missing backing store for anonymous (i.e. allocated by
malloc) pages. While all other kinds of data (e.g. paged in files) can be reclaimed easily and later reloaded, because their “source of truth” is elsewhere. There’s no such source for anonymous pages hence these pages can “never” be reclaimed unless there’s swap space available (even if those pages aren’t “hot”).
Linux has historically had poor swap (and by extension OOM) handling with few and imprecise means for configuration. Chris describes the behavior of a machine with and without swap in different scenarios of memory contention. He thinks that poor swap performance is caused by having a poor measure “memory pressure.” He explains how work on cgroup v2 might give the kernel (and thus admins) better measures for memory pressure and knobs for dealing with it.
Kashmir Hill went 6 weeks without the big 5 tech giants (Amazon, Facebook, Microsoft, Google, Apple). It seems you basically have to become a level 5 vegan especially if you also avoid anything hosted/using their cloud services (e.g. AWS, Azure, GCloud).
Sometimes Python makes some useful things unnecessarily complex for weird and inconsistent reason … e.g. “code blocks.”
Daniele Procida explores how a certain naivety (being unsophisticated) can lead to beautiful and useful things.
Certain types of ECC RAM can also be exploited with Rowhammer. ?