Daily Shaarli

All links of one day in a single page.

October 29, 2020

Object Oriented PHP - Front Line PHP
thumbnail

Very well written article about composition over inheritance in OOP.

Also the introduction example reminds me about a bunch of projects I had to work on:

Alan Kay, the inventor of the term “object-oriented programming”, told a story once during a talk more than 20 years ago. You can build a dog house using only a hammer, nails, planks, and just a little bit of skill. I figure even I would be able to build it given enough time. Once you've built it you've earned the skills and know-how, and could apply it to other projects. Next, you want to build a cathedral, using the same approach with your hammer, nails, and planks. It's a 100 times larger, but you've done this before — right? It'll only take a little longer.

While the scale went up by a factor of 100, its mass went up by a factor of 1.000.000 and its strength only by 10.000. Inevitably, the building will collapse. Some people plaster over the rubble, make it into a pyramid and say it was the plan all along; but you and I know what really went on.

Touche Doom pour mon clavier
thumbnail

❤️

AdguardTeam/AdGuardHome: Network-wide ads & trackers blocking DNS server
thumbnail

Network-wide ads & trackers blocking DNS server

Faudrait peut être que je monte ça plutôt que de me mettre sur CloudFlare par facilité... Quelqu'un si c'est gourmand comme soft ?

via https://liens.strak.ch/shaare/fqDgNg

Regex Crossword
thumbnail

Welcome to the fantastic world of nerdy regex fun! Start playing by selecting one of the puzzle challenges below. There are a wide range of difficulties from beginner to expert.

via https://shaarli.agentcobra.net/shaare/JJMcNw

Docker Hub Image Retention Policy Delayed, Subscription Updates
thumbnail

Ça s'active chez Docker (et surtout Docker Hub), visiblement pour pousser les utilisateurs à passer en premium. Je pense qu'ils réalisent qu'ils sont assis sur une mine d'or, et qu'ils doivent cramer trop de cash sur le free tier.

Pour résumer :

  • Limite de 100 pulls/6h pour les anonymes, 200/6h si loggé, illimité si pro.
  • Les images inactives seront supprimées au bout de 6 mois pour les comptes gratuits. Et vu que c'est la méga-merde, cette mesure est repoussée à 2021.