Daily Shaarli

All links of one day in a single page.

August 9, 2026

image-rendering CSS property - CSS | MDN

Note it's useful to use "pixelated" image rendering for QR Code for examples. Another way is to distribute the QR Codes as SVGs.

Génération Perdue

Une personne meure aléatoirement sur terre pour 10 000€ est un dilemme moral, mais appuyer sur un bouton et consommer plein d'eau, d'énergie, contribuer à faire monter le fascisme et les températures, en échange d'une image ou d'une mélodie plagiée; c'est OK.

Dithered QR Code Generator

The post: https://www.andrewt.net/dithered-qr-codes/wtf/

It allows to include an image inside a QR-Code.

Be careful using these QR codes — they work by putting an image into the redundant parts of the QR code, but those redundant parts are there to make the code easier to scan in less than perfect conditions.

"Code was never the hard part" is an insult to all programmers — Senko Rašić

About the AI trend and what it means for programmers: good code is more pertinent than ever, because we add the AI layer to it.

I do believe that talking to users, understanding their experience, empathizing with them, solving customers' problems and having all the stakeholders on the same page is critical to the success of a software project.

I also believe that creating good code is a craft that requires skill, patience, attention to detail, experience and wisdom, and that it will continue to be relevant in the times ahead.

Tips:

Accept that change happens. Be equal parts curious and critical about the new stuff.

Understand there's a lot of hype and try to discriminate between hot air and what really works (and to what extent). Also be aware of ever-shifting goalposts: stand back and look at the past year, or five, and assess the velocity of change (technical, economic, societal).

Your role and your responsibilities will be changing. Be willing to invest time and energy into better understanding fields or roles adjacent to yours.

If you're a senior developer, don't just find solace in deepening your expertise. Learn about user experience, customer interviews, or business strategies for the companies in your domain. It will help you gain a better appreciation of all the work done to put a piece of software into users' hands, whether or not you'll actually ever have to do any of those other bits.

If you're just starting or are junior in your role: invest in deepening your understanding of how software works. Understanding pointers, recursion, or memory hierarchy will help you even if you're a JavaScript developer. Understanding network protocols and how HTTP works will be useful even if you're building WordPress plugins. Do leetcode and learn about algorithms and data structures even if you don't need to. Don't be afraid to ask why and how exactly.

Les piles ULTIMES dont personne ne parle - YouTube

Après environ 20-30 recharges, les piles lithium-ion rechargeable USB sont rentables. X-Star est mentionné plusieurs fois.

Les piles Ni-MH (rechargeables) ont besoin d'un rechargeur dédié, et leurs tensions baissent avec le temps.

On arrive avec le résultat suivant

Propriétés Jetable Ni-mh Lithium USB
Rechargement Pas rechargeable Rechargeable Rechargeable
Capacité max. 2910 mAh 2840 mAh 3290 mAh
Fort courant nulle perte moyenne forte capacité
Constance du courant Sup sur 1/3 de la capacité 1.3V constant 1.5V constant
Rentabilité NA 50-22 cycles 65-23 cycles
Décharge Négligeable 3% LSD / 15-20% sinon 5%
Simplicité Simple Chargeur relou Ultra Simple

Les lithium-ion tiennent plus longtemps sur un millier de recharge au minimum au lieu.