293 private links
Installez log2ram pour éviter que les logs soient écrit directement sur la carte SD
type Subset<Parent, Sub extends Parent> = Sub;
type IconName = 'cars' | 'mars' | 'truck' | 'warning'
type VehicleIconName = Subset<IconName, 'cars' | 'truck' | 'invalidName'>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 😍
It’s clear to me now that it's not about what I know, but rather how I think that's different on these days.
So the two questions for me are: (1) How can I have more good days than bad ones? And, (2) what exactly am I doing differently on my good days?
About relative deprivation
Top students convincing everyone else to stop trying. Or, great engineers convincing the rest to stop trying.
This is ego distraction in action. Self comparison determining effort. If we feel like we’re ahead we continue to put in the effort. If we feel like we’re not, we determine it’s not worth the effort.
About ego
The Ego's trick is always the same. Make it personal. Make it about me. Put me at the center. So when we sit down to solve a problem the trick is to only ask ourselves problem related questions. These are "the" or "what" type questions. We must avoid asking the personal "I" or "me" type questions. So instead of thinking "Did I cause the bug?", we instead ask "Where is the bug?".
box-shadow with inset 😍
a sparse file is a type of computer file that attempts to use file system space more efficiently when the file itself is partially empty. This is achieved by writing brief information (metadata) representing the empty blocks to disk instead of the actual "empty" space which makes up the block, using less disk space. The full block size is written to disk as the actual size only when the block contains "real" (non-empty) data.
So many of them 😱
it simply takes a
:valueproperty and emits an@inputevent with the updated date
And here you go with v-model !
En court : certains logiciels sont compliqués parce que les personnes qui ont investis du temps pour l'utiliser éprouve du plaisir en le maîtrisant maintenant. Ils ne veulent donc pas qu'il sois simplifié.
(+ éventuellement la perte de valeur liée à la maîtrise de ce logiciel, si son utilisation est simplifiée → un coût irrécupérable)
L'UI de ce service mail à l'air excellent