Weekly Shaarli

All links of one week in a single page.

Week 04 (January 25, 2021)

Article - Décision n° 2018-0881 du 24 juillet 2018 de l'Autorité de régulation des communications électroniques et des postes établissant le plan national de numérotation et ses règles de gestion - Légifrance

Les numéros alloués aux œuvres audiovisuelles sont ceux ayant les racines suivantes :

Racines (format national) 0ZABPQ = 01 99 00, 02 61 91, 03 53 01, 04 65 71, 05 36 49, 06 39 98

"`undefined` vs. `null` revisited", Dr. Axel Rauschmayer (@rauschma)

Therefore I use either of the following two approaches if I need a special value:

  • I use null as a “switched off” value. (As an aside, this approach is relatively well supported by TypeScript.)
  • I avoid both undefined and null via one of the techniques described above. This has the upside of being cleaner and the downside of involving more work.
"How to avoid layout shifts caused by web fonts", Simon Hearne (@simonhearne)
thumbnail

An impressive article to explain how not to cause Layout Shifts and penalize your CLS.

"Search in the Jamstack World", Nebojsa Radakovic (from @bejamas_io)
thumbnail

A website search is often the first dynamic part you'll be adding to your new Jamstack project. Let’s see which solutions are available in the Jamstack world.