Fingerprint file format by Ciro Santilli 34 Updated +Created
Fingerprint minutiae by Ciro Santilli 34 Updated +Created
Fingerprint by Ciro Santilli 34 Updated +Created
Biometrics by Ciro Santilli 34 Updated +Created
Human phenotype by Ciro Santilli 34 Updated +Created
Company based in Cambridge by Ciro Santilli 34 Updated +Created
Be a marginal, be a hero by Ciro Santilli 34 Updated +Created
This became a flag for the dissidents.
https://upload.wikimedia.org/wikipedia/pt/b/b6/Seja_marginal_seja_herói.jpg
United States Navy by Ciro Santilli 34 Updated +Created
Texas by Ciro Santilli 34 Updated +Created
Oregon by Ciro Santilli 34 Updated +Created
@cirosantilli/_file/nodejs/next/nodejs/next/ref-twice by Ciro Santilli 34 Updated +Created
This is a minimal reproducible example for the terrible problem of external effects applying twice to refs for effects that are not idempotent and thus blowup if applied twice.
The issue is currently discussed at: react.dev/learn/synchronizing-with-effects#step-3-add-cleanup-if-needed (archive) which says "you need to cleanup the thing yourself". web.archive.org/web/20240720100401/https://react.dev/learn/synchronizing-with-effects#subscribing-to-events is also says that for the specific case of addEventListener.
But that's annoying! Can't we just somehow tell if we applied twice or not to avoid having to implement a cleanup? What if a third party system does not provide a cleanup at all?
Is the correct solution to just just have a useEffect with empty dependency list? Seems to be good according to posts and to ESLint!
Tried to do a React only reproduction at: react/ref-twice.html.
@cirosantilli/_file/nodejs/next/nodejs/next/posts by Ciro Santilli 34 Updated +Created
The goal of this example is to understand when states and effects happen when changing between different routes that use the same component.
Behavior is follows:
This is likely because in React the state kept in the virtual DOM structure, and identical structure implies identical state. So when we change from post 1 to 2, we still have a Post object, and state is unchanged.
Next if we click:
then the count is back to 0. This is because we changed the Post object in the DOM to Index and back, which resets everything.
This example also illustrates how to prevent this from happening with useEffect.
@cirosantilli/_file/react/react/ref-twice.html by Ciro Santilli 34 Updated +Created
Failed attempt at minimizing nodejs/next/ref-twice outside of Next.js.
Tempo Rei (documentary) by Ciro Santilli 34 Updated +Created
Very good documentary!
This is a documentary about Gilberto Gil going back to his homelnd for the first time since he emigrated to Salvador/Rio, with some of his most popular songs intermixed into it. Beautiful!
"Tempo Rei" is the name of a Song composed by Gilberto Gil.
Video 1.
Tempo Rei documentary
. Source.
Semantic triple HOWTO by Ciro Santilli 34 Updated +Created

Unlisted articles are being shown, click here to show only listed articles.