Daily Shaarli

All links of one day in a single page.

January 3, 2023

Léαlinux 🐧 on Twitter: "SQL Cheatsheet en une image : https://t.co/JsY2SjGbSY" / Twitter
Depuis que le mariage homosexuel a été légalisé aux États-Unis, le taux de suicide a chuté chez les adolescents

Corrélation: une chute du taux de suicide a été relevé suite à la légalisation du mariage homosexuel aux U.S.

En tenant compte d’autres facteurs contradictoires, ils ont constaté que le taux de suicide des adolescents avait chuté de 7% chez tous les étudiants, et de 14 % chez les étudiants LGBT.

Ces jeunes issus de familles qui intolérants sont 8,4 fois plus susceptibles de tenter de se suicider que les adolescents LGBT ayant des parents plus tolérants, par exemple.

Cependant, cette effet peut être du !à la campagne politique entourant la légalisation, qui a peut-être aidé les adolescents à voir qu’ils n’étaient pas seuls, ou le résultat de la politique elle-même."

Time management for makers

Engineers who do this successfully tend to exhibit the following behaviors:

  • They are defensive of their time.
  • They “pay themselves first.”
  • They defend the time of others.
  • They clearly designate interrupt-driven work and batch it.
  • They clearly designate low-leverage work, and time-box it.
  • They communicate with candor.
  • They prioritize ruthlessly.
Note: Links between working hard, stress and passion

Working hard for something you hate is called stress.
Working hard for something you love is called passion.

Software Maxims

About software supply chain attacks and FOSS software:

There is a small problem here. We are not suppliers. We do not have a business relationship with all these organisations. We are volunteers, writing code and putting it online under these Licences. And yes, we put it online for people to use them. But we do not get anything from it.

[With the MIT licence, maintainers] do not have a business relationship with all these organisations. [Maintainers] are volunteers, writing code and putting it online under these Licences. And yes, [Maintainers] put it online for people to use them. But [Maintainers] do not get anything from it.

To get a supplier, you need to give people what they need to live and they have to agree to these terms.

google/comprehensive-rust: This is the Rust course used by the Android team at Google. It provides you the material to quickly teach Rust to everyone.

A 4-days workshop to learn rust

Michael Thiessen on Twitter: "You can detect a mouse hover in @vuejs just by listening to the right events: https://t.co/UoPEiTQgvV" / Twitter

Indeed:

<template>
  <div
    @mouseover="hover = true"
    @mouseleave="hover = false"
  />
</template>

And now we now when the mouse is hovering.
A warning though: it is not compatible with touch screens !