• 0 Posts
  • 96 Comments
Joined 3 years ago
cake
Cake day: July 31st, 2023

help-circle








  • This is likely referring to TypeScript.

    TypeScript has all of these patterns, they are used very frequently and they are necessary because TypeScript tends to be interesting from time to time since its types only exist at compile time, because it compiles to JavaScript, which is a language without types.

    TypeScript also allows any as a keyword, which says “I don’t know which type this is and I don’t care”, which still produces valid JavaScript. To get back to typed variables it is necessary to use typeof (or similar constructs like a type guard).

    https://www.typescriptlang.org/docs/handbook/2/typeof-types.html


  • Exactly. It’s never about the weight you can lift. It’s about the difference between last week’s weight and today’s. Make progress, be proud of those who make progress.

    Such a shitty mindset to laugh about people who started out or might be injured or just can’t lift that much or whatever. If they need help, offer help, encourage them, otherwise let them do their thing.




  • Konlanx@feddit.detoLinux@lemmy.mlBased KDE 🗿
    link
    fedilink
    arrow-up
    4
    ·
    2 years ago

    Maybe I can just post here and get a good explanation?

    I have been using PopOS for a while now and I am super happy with it, but last time it tried to switch from Gnome to KDE I ended up with a black screen after boot and had to reinstall from scratch.

    Does anyone have a good writeup on how to do it properly?





  • The stuff leading to the climate crisis ruins everything. The climate crisis itself is amazing and forces us to think about better solutions.

    I really hope it leads to less cars, less pollution, more connection to nature and more human conditions everywhere.

    I want a solution for the cause, which is fossil fuels, meat consumption (consumerism in general) and pollution. Even without the climate crisis we are experiencing now it would be great to have less of all of that.