329 private links
MDX allows to write markdown with JSX. Nice :) I think I will use it for a new version of my blog written in svelte.
and a big post about markdown: the bad of it for developers and content editors. The feature of markdown are the one's needed in 2000, but not for the modern web. There is no designated successor to markdown., but some needed features are mentioned in the post.
A smaller format than SVG. It is a side project for now, but it looks promising.
I see IconVG in the comments too.
SDLang is a simple and concise way to textually represent data. It has an XML-like structure – tags, values and attributes – which makes it a versatile choice for data serialization, configuration files, or declarative languages. Its syntax was inspired by the C family of languages (C/C++, C#, D, Java, …).
Store the timestamp instead of a boolean to have an information that can be useful. If the value is false, then NULL is set.
Du HollandaisVolant (https://lehollandaisvolant.net/?mode=links&id=20210424171603)
Par contre, je ne sais pas si c’est juste moi, mais j’ai du mal avec le timestamp. Je préfère le format YMDHIS (YYYYMMDDHHIISS).
Ce format prend 14 caractères (soit 14*8= 104 bits) contre un timestamp qui en prend sûrement moins.
Du point de vue de l'affichage, on peut ensuite très bien le formatter comme on le veux.
Pourquoi écrire un parseur de CSV est une mauvaise idée? Sebsauvage list ici des exceptions.
C'est une vrai galère puisque le format est finalement peu standardisé.
Dans le monde des données, CSV est le cafard des formats de données. Il est simple, résistant et apparemment impossible à éliminer.
Quelle alternatives simple au CSV, tout en restant compact? Le JSON et le TOML sont par exemple plus verbeux. Une autre solution est rendre le CSV plus strict.
Oh oui ! Ce format est bien pratique, je l'utilises par exemple pour le nommage de mes fichiers, notes de cours, etc... Tout en fait !
A cheatsheet with examples of usage.
I am using markdown since years; it seems that AsciiDoc is a better standardized test-formatting with more functionnalities 😍
CSV is not so easy to use actually
Et encore !
Il parait que le codec AV1 fait mieux que le H265 (en plus de ne pas être bardé de brevets).
Les progrès de la compression ne cesseront jamais de m'étonner. Je n'espère même pas comprendre comment ces nouveaux codecs fonctionnent. ― sebsauvage
Le format JPEG utilise donc 3 compressions :
- Chrominance Subsampling
- Discrete Cosine Transform & Quantization
- Run-Length, Delta & Huffman Encoding
C'est tellement bien pensé :)
Je le relirais plus tard afin de bien tout comprendre.
Pour la culture :
The smallest I could think of was four bytes: three to specify the color and one to specify how many pixels have this color. The idea of expressing all repeated values concisely this way is called run-length encoding.
Delta-encoding is the technique of storing each byte as a relative value compared to something before it instead of storing its absolute value.