A library that seems good to parse CSV
Using the first 48 bist to encode the date up to the microsecond into the UUID. We can encode a date until 10899. We should be fine.
There is then 80 bits left for the random (collision happens in these 80 bits if they got generated at the same microsecond !)
We can then sort, order the UUIDs by date :)
This kind of “insert block” user interface concept is showing up in almost every blogging tool, web editor, note-taking app, and content management system. People like it and it makes sense.
Embed blocks accross the web with the future block protocol :D
If APIs can share data between programs and websites, then I understand the block protocol as a way to share UI components and logic between websites.
TL;DR you have to read the entire blob binary and create the appropriate data structure before filtering whereas you can skip parts with JSON, and thus make it faster.
JSON, however, allows stream parsing. Consider for example, the Jackson library’s [nextToken()](https://fasterxml.github.io/jackson-core/javadoc/2.8/com/fasterxml/jackson/core/JsonParser.html#nextToken()) or Go’s json.Tokenizer.
Sadly the code produced for Amazon Web Services is not open-source yet.
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 🤣
C'est une vrai galère puisque le format est finalement peu standardisé.
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 !
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.