Weekly Shaarli

All links of one week in a single page.

Week 01 (January 2, 2023)

Beating the Averages

The same thing will happen if you're running a startup, of course. If you do everything the way the average startup does it, you should expect average performance. The problem here is, average performance means that you'll go out of business. The survival rate for startups is way less than fifty percent. So if you're running a startup, you had better be doing something odd. If not, you're in trouble.

And an eloge of Lisp, or in the world of startups, the art of doing things differently.

Le cancer de l’hôpital public : les cabinets de conseil privés - L'insoumission
Anthony Fu in Elk: "An interesting story to share:I am using the "+" sign in my emails for registrations on different websites. Today I was trying to update a delivery on UPS, and the email of the package was forwarded from the site I placed the order, which indeed, includes a plus sign.However, **UPS considers it's an invalid character in the email** 😇. (someone at UPS please fix it!)" | Elk

How to fix the wrongly flagged email by customizing the request :)

However, It does make me think to build things as much inclusive as possible. Not only test with the majority, but also think more about rest, as some little things could become huge blockers for them.

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.

Share anything on Twitter without a ban

Convert a text to base64 with data:text/plain;base64

A satiric tool to avoid bans on twitter. Paste the content in the URL bar to read it.

Fani dessinatrice ✏️ on Twitter: "Meilleur dessin humoristique de l'année ! Je m'incline. (les mecs, vous êtes dingues ou quoi ? 😳) #chaucidou #velo #circulation https://t.co/YxtPhJudSC" / Twitter

La chaucidou est une chaussée pour les circulations douces. Il y a une voie pour les voitures, et deux pistes cyclables.

Deux voitures ne peuvent circuler de front doivent se déporter sur la voie cycliste.

Building a Vue 3 component library - LogRocket Blog

This is the best guide I have found so far.

Blog Stéphane Bortzmeyer: ChatGPT remplacera t-il les programmeuses et programmeurs ?

Oui cela va changer le monde du développement
Oui on aura toujours besoin d'humains

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.
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 !

NativeScript-Vue

embed Vue as Native App with the same components and writing style.

It seems not mature enough for production ready apps.

2022 Year In Review | The Vue Point

2022 is relevant for the stable release of Vue 3. The ecosystem catch up: Nuxt 3, Vuetify 3, Quasar, NaiveUI, Ionic Vue, PrimeVue, InkLine, ElementPlus, ...

A focus has been given to Volar (1.0) and Vite. Vue 2 remains compatible with the version 2.7 "Naruto".

2023 expectations:

  • smaller and more frequent releases
  • vapor mode
  • conferences
Epis d'Emi 💋 on Twitter: "Quelle princesse n'a jamais les lèvres gercées ? Labello bois dormant.😁" / Twitter

Quelle princesse n'a jamais les lèvres gercées ?

Labello bois dormant.😁

Screenshots taken during 'cypress run' do not respect the viewport size set

In cypress.config.ts, property e2e.setupNodeEvents for a screen 1920x1080 :

on('before:browser:launch', (browser = {}, args) => {
    if (browser.name === 'chrome') {
        args.push('--window-size=1920,1080')
        return args
    }
})

This goes for chrome, but there also a workaround for Electron: https://github.com/cypress-io/cypress/issues/2102#issuecomment-692585453

Föderierte Timeline | Elk

A web client for Mastodon.

The (not yet) open-sourced web app: https://github.com/elk-zone/elk
And the desktop one built with tauri: https://github.com/elk-zone/elk-native

Léαlinux 🐧 on Twitter: "SQL Cheatsheet en une image : https://t.co/JsY2SjGbSY" / Twitter
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

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."