Daily Shaarli

All links of one day in a single page.

October 1, 2021

Note : JS, dataset et typage pourri - Le Hollandais Volant - ArthurHoaro's Links

Exact:

Quand on utilise les attributs « data-* », JS le récupère toujours sous la forme d’une chaîne de caractères, même si ça contient un nombre.

De ArthurHoaro:

Non. Ça c’est le genre de tricks qui marchent, mais qui rendent le code illisible. Il suffit d'utiliser parseInt(div.dataset.nb) puisque oui, dans le DOM, tout est chaînes de caractères.

affordance.info: La liberté de financer : Estelle est nue dans le Tipeee.

Je ne connaissais pas cette histoire:

Ce jeune homme sur la photo (à l'époque), c'est Valentin Lacambre. Il est fondateur d'une plateforme, un hébergeur, Altern.org, qui héberge à la louche l'essentiel ou quasiment du web "alternatif" français de l'époque (la Corrèze, tout ça) c'est à dire tout de même autour de 40 000 "sites" (ou pages persos). Et l'un de ses hébergés, va publier un scan pourri de photos volées du top-model Estelle Halliday nue, scan pourri effectué à partir d'un article du magazine Voici (responsable et coupable initial de la diffusion desdites photos volées). Et là ...

Cet article d'Amaelle Guiton dans Libé raconte très bien et très en détail l'affaire. Version courte : l'auteur de la page perso qui avait diffusé le scan pourri des photos volées de Voici ne sera jamais inquiété. Par contre Valentin Lacambre va être, pour l'exemple, condamné à une lourde amende, en tant qu'hébergeur. Et quand je dis lourd, c'est lourd : 300 000 francs (45 000 euros ...) à verser à Estelle Halliday. Malaise. Même si le web de l'époque, c'est la Corrèze, bah y'a malaise en Corrèze. Et l'histoire finira mal.

N26 condamnée à une amende de 4,25 millions en Allemagne pour blanchiment d’argent

Dans le collimateur du régulateur bancaire allemand, « cinquante transactions suspectes » réalisées entre 2019 et 2020. N26 a trop tardé pour les notifier au BaFin. La banque affirme avoir déjà payé sa sanction.

Dagger — une introduction. Ecrit par Arnaud Soulié, consultant… | by Les Filles et Les Garçons de la Tech | Sep, 2021 | Medium

The official website: https://dagger.io/

Sounds promising. Every devOps tool is a node in a graph, and we can plug-in everything: CVS, scripts, APIs, CD/CI, other tools.

Clean the oceans - technology for recycling fishing nets

Use an NFC tag for each fishing net, which would then be traceable (manufacture, sale, use, possible loss).

The complete lifecycle of the net could now be recorded as it is in a closed cycle.

If the net is lost, two possible effects are created. As the net’s last location of use was documented, its position can be tracked, facilitating targeted recovery. The deposit can also be motivation for other parties: this could encourage the removal of large numbers of nets from the water - with a profitable reward.

Designing Beautiful Shadows in CSS

Why even use shadows ?

Shadows imply elevation, and bigger shadows imply more elevation. If we use shadows strategically, we can create the illusion of depth, as if different elements on the page are floating above the background at different levels.

Here's the first trick for cohesive shadows: every shadow on the page should share the same ratio. [...] To ensure consistency, each shadow should use the same ratio between these horizontal and vertical offsets.

By matching the hue and lowering the saturation/lightness, we can create an authentic shadow [same color style] that doesn't have that “washed out” grey quality.

Ideas are:

  1. Creating a cohesive environment by coordinating our shadows.
  2. Using layering to create more-realistic shadows.
  3. Tweaking the colors to prevent “washed-out” gray shadows.

I will think about it the next time I will have an interface to build.