Daily Shaarli
October 2, 2021
Retour d'utilisation
Programming languages are not really just lines of text. Diffs from two different changes to a source file are not necessarily composable, even if there are no overlapping changes. Program code has syntax, and this syntax is knowable, even in the case of the most dynamic of languages (such as those with configurable readers such as Common Lisp). A source file, if it isn't broken, represents a particular structured object, an abstract syntax tree.
We should be able to leverage this.
This is an example x)
A Google-skin CV
Firefox: How to provide less informations of our users to websites ?
Chrome: Provides more information!: Let's introduce an API that detect if the user is active on the page...
Research has shown that the ideal line length is about 65 characters. Anywhere between 45 and 85 is generally seen as acceptable, in the context of a roman alphabet.
The solution:
.wrapper {
display: grid;
grid-template-columns:
1fr
min(65ch, 100%)
1fr;
}
.wrapper > * {
grid-column: 2;
}
.full-bleed {
width: 100%;
grid-column: 1 / 4;
}
ch is a unit, like px or rem. It corresponds to the width of the 0 character in the current font, for the specified font size.