Daily Shaarli

All links of one day in a single page.

May 15, 2022

MrGlockenspiel/activate-linux: The "Activate Windows" watermark ported to Linux

LOL

How I built a modern website in 2021

A description of a modern website architecture. It uses a bunch of modern technologies, and the author explains why they are useful in its case.

sqlite-utils: a nice way to import data into SQLite for analysis

Doing data analysis by storing the data in an SQLite database.

The documentation can be found on datasette.io

Gregory Szorc's Digital Home | Modern CI is Too Complex and Misdirected

CI looks like build systems. If you push a CI system or a build systems too far, they seem to be the same as what they are doing.
The thing that bugs me about modern CI systems is that I inevitably feel like I'm reinventing a build system and fragmenting build system logic.

So going beyond the section title: CI systems aren't too complex: they shouldn't need to exist. Your CI functionality should be an extension of the build system.

CI offerings like GitHub Actions and GitLab Pipelines are more products than platforms because they tightly couple an opinionated configuration mechanism (YAML files) and web UI (and corresponding APIs) on top of a theoretically generic remote execute as a service offering.


I'm convinced that building what I'd like to see is not a question of if it can be done but whether we should and who will do it.

In my ideal world there exists a single remote code execution as a service platform purpose built for servicing both near real time and batch/delayed execution. It is probably tailored towards supporting software development, as those domain specific features set it apart from generic compute as a service tools like Kubernetes, Lambda, and others. But something more generic could potentially work.

Conclusion:

If I could snap my fingers and move industry's discrete build, CI, and maybe batch execute (e.g. data pipelines) ahead 10 years, I would:

  1. Take Mozilla's Taskcluster and its best-in-class specialized remote execute as a service platform.
  2. Add support for a real-time, synchronous execute API (like Bazel's remote execute API) to supplement the existing batch/asynchronous functionality.
  3. Define Starlark dialects so you define CI/release like primitives in build tools like Bazel. (You could also do YAML here. But if your configuration files devolve into DSL, just use a real programming language already.)
  4. Teach build tools like Bazel to work better when units of work that can take minutes or even hours to run (a synchronous/online driver model such as classically employed by build systems isn't appropriate for long-running test, release, or say data pipelines).
  5. Throw a polished web UI for platform interaction, result reporting, etc on top.
  6. Release it to the world.
Un lycée près de Lyon sous le choc : la professeure meurt devant ses élèves en plein cours | Actu Lyon

Une prof de 64 ans meurt d'un malaise en plein cours... quelques jours avant, une prof d'une soixantaine d'années se défenestrait dans son lycée devant ses élèves (https://www.revolutionpermanente.fr/Education-nationale-en-souffrance-a-Blois-une-enseignante-de-64-ans-se-defenestre-en-plein-cours )...

Pourquoi ils n'arrvivent plus à recruter ? Parce que le métier ne fait plus envie, rêver, n'est plus avantageux ?

On pourrait aussi ajouter celle qui s'est suicidé exactement parce qu'elle était directrice d'école.
En 2020, Bruno Delbecq, directeur d’école à Saint-Laurent dans le Var, se suicide sur son lieu de travail. En 2021, le rectorat de l’académie d’Orléans-Tours est contraint de reconnaitre la responsabilité de l’institution suite au suicide de la principale d’un collège sur son lieu de travail, tandis que, la même année, l’inspection académique du Var reconnait « l’imputabilité de ses services » suite au suicide d’un instituteur.

À ce point d'arriver au suicide, c'est structurel.

[...]. Elles [les souffrances du personnel] sont en effet le résultat de politiques qui ont progressivement dégradé les conditions de travail des personnels, devenues aujourd’hui insoutenables pour certain.e.s.

Et l'artcile se pousuit de trois paragraphes d'explications et d'exemples.