387 private links
IndexedDB can be used to store a lot of data. It has some caveats though.
Storage:
About deletion, use soft delete to smoothen the synchronization if a user deletes a record and another one update it.
About record collection, use unique IDs (UUID v4) or property related ids with (UUID v5).
About ordering, it is easier to use fractional indices! Read more on https://www.figma.com/blog/realtime-editing-of-ordered-sequences/, or https://www.steveruiz.me/posts/reordering-fractional-indices, or use a dedicated library.
Sync is made with pull and push
Update:
- Send atomic changes from a client is the more convenient way. We can send only the model’s ID and its updated fields.
- send operations instead of changed data,
Conflict resolution:
- In some cases, last-write wins at the record field level will be enough
- in others, we strongly need a full-fledged CRDT.
Comment gérer un flux RSS particulier
Rust can be used to write all kinds of software (vertically scalable) and the development of software artifacts can be parallelized (horizontally scalable).
while it excels in the lowest half of the stack, it’s pretty ok everywhere else too.
The rust golden rule:
how function signatures are mandatory and authoritative and explicitly define the interface both for the callers of the function and for the function’s body. more
The second feature of Rust is its module system. It's first class support of the concept of libraries.
The third is cargo with its rigid specification for what a package of rust code.
The symptoms of pop culture:
- A “disdain for history”. Pop cultures believe history doesn’t have anything to teach them.
- Newer is automatically better. Pop cultures are built on the assumption that anything new or different is superior to established. Or, in other words, older is inherently inferior.
- What’s next is going to be superior to what’s now. Pop cultures exist in perpetual anticipation of the next trend. Their disbelief of history appears to outsiders as a belief in progress.
- The “Pop” in “Pop Culture” stands for “popularity”. If it’s popular then it must be right.
These traits are deeply irrational but they are the tech industry’s default mode of operation.
We care about the number of concepts that changed in a particular PR.
The smaller the PR the more likely it will be to get merged quickly
Rules:
- Don't waste your reviewer's time by showing them all your failed experiments in your Git history.
- Maintain a Git history closest to the true essence of the work done, creating many small PRs that each make one releasable change to the codebase and keeping the number of commits as low as possible.
What I can improve is to remove (fixup or squash) all these tries/little fixes that I add in the commit history.
Because it could supports more project and make them sustainable.
Why Skype and Teams seems to be concurrent in the same enterprise...
Quelle est la différence entre produit et side project
- Ne pas écouter ses utilisateurs (car le produit n'est pas fini)
- Se concentrer sur les fonctionnalités aux lieu de prototype technologiques, surtout lorsque cela est fait par des tech/devs.
- Un produit demande plusieurs corps de métier à l’œuvre. La vente est importante, ou des compétences légales ou financières.
Un side project c'est un projet qu'on réalise à côté, le soir, le week end. C'est un extra en dehors d'une autre activité. On le fait sans contraintes en mode best effort. Et si j'arrive à une conclusion désormais, c'est que dans beaucoup de sujets, le mode best effort c'est le meilleur moyen d'échouer.
Bref, pour caricaturer, il y a donc deux extrêmes qui ne marchent pas :
- le mode best effort, sans moyen, sans temps alloué
- la profusion de moyens et l'absence de contraintes
Et pour transformer un side project en produit, il faut viser la solution médiane : être à 100% et avoir des contraintes.
caused by AI? Such an AI is incompetent.
Another page: what is the owner or organization doing now (this year) instead of the generic about.
The people who work for you have three resources: time, energy, and give-a-fuck.
Time is the cheapest. It replenishes one hour every hour.
Energy is more expensive. When you're out, you need lots of time off to recharge.
Once give-a-fuck is burned, it's gone forever.
Got a point here
About RSS and its most recent first approach. Nothing stops someone from putting old articles in their feeds every month or sorting them differently.
The vast majority stay with the most recent article comes first approach.
I agree with Mark Nottingham.
The Metaverse is only a new way to get a private platform where Meta is free to do what they want.
Its users don’t think about the systemic effects of their actions
Most of them yes because they won't care about everything. It is too hard to do so.
I don’t want to live in a society where pouring countless billions into a platform gives you automatic rule over people’s interactions, solely because no one else spent as much and you had the first mover / network effect advantage.
Simply put, while competition has a place in improving the Internet, cooperation has an even larger role, and it’s too often ignored.
So in a nutshell, Internet and most of it should stay open!
There is not a unstable then a stable phase, but 3 phases:
- the API is unstable as hell
- the API is mostly settled
- In the third phase, the API is fully stable, and no backwards-incompatible changes are expected.
We can name these:
- experimental (unstable)
- production-ready (still unstable, but you can budget-in a bounded amount of upgrade work)
- stable (no maintenance work is required)
An ode to email <3
keep your crusty gmail account around for spam and trials and signups and
whatever else, and get yourself a fastmail.com account. or a migadu.com account
if you're a techie.set email type to plaintext-only. this email account will only ever send
or receive text.email waits patiently. it sits still and does not make a fuss. if your friend
doesn't respond, send another email to another friend. the conversations move
slowly, sometimes over the course of many years. this is the antithesis of
modern communication.think of email the same way you'd think of a penpal.
email connects people intimately and loosely.
I think it would be better if he mastered rules and filters and stick to one inbox
I totally agree
Summarized to:
Fight for Pareto's law, look for the 20% of effort that will give you the 80% of results.
Prioritize, minimalism isn't about not doing things but about focusing first in the important.
Perfect is enemy of good, first do it, then do it right, then do it better.
Kill the baby, don't be afraid of starting all over again. Fail soon, learn fast.
Add value. Think constantly how you can help your team and position yourself in that field/skill.
Basics, first. Follow always a top-down thinking starting by the best-practises of CSS.
Think different. Simple is harder than complex, which means you'll need to use your creativity.
Synthesis is the key of communication. We have to write code for humans not machines.
Keep it plain. Try to keep your designs with few layers of indirection.
Clean kipple and redundancy. Minimalism is all about removing distractions.
(avec le TDD)
Ainsi, il ne peut pas y avoir la moindre ligne de code écrite sans test. Au-delà d’une technique de développement, cette technique de conception permet de poser la question explicitement : “Qu’est-ce que tu cherches à vérifier ?” Lorsqu’on répond à cette question, en développant le test automatisé qui matérialise la réponse, alors l’implémentation du morceau de fonctionnalité découle naturellement.
Un bug va obligatoirement engendrer plusieurs heures de perte pour l’organisation au global, en plus de créer des frustrations, de la perte d’image de marque, de détérioration de la confiance envers le produit, des mauvaises notes sur les stores et un risque de perte définitive du client.