• 0 Posts
  • 40 Comments
Joined 1 year ago
cake
Cake day: July 31st, 2023

help-circle






  • Konlanx@feddit.detoProgrammer Humor@lemmy.mlWith PieMixin
    link
    fedilink
    arrow-up
    25
    ·
    edit-2
    1 year ago

    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


  • Konlanx@feddit.detoLinux@lemmy.mlBased KDE 🗿
    link
    fedilink
    arrow-up
    4
    ·
    1 year 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?






  • Not the original commenter, but the guy juggling 5 drinks deserves no tip. He deserves a fair pay and the stuff the customer buys should be priced in such a way it enables fair pay.

    I am not from the US and delivery drivers here don’t even expect a tip. I order my stuff, pay exactly what the menu said (and maybe a deliver fee, which is fine to me, you then usually have the option to come and pick it up without that fee) and get my food 30 minutes later.

    Tipping is an extremely bad practice that makes the pay of people unpredictable and depending on their situation can make a day with bad tipping a problem for them.

    Stop tipping.







  • Konlanx@feddit.detoMemes@sopuli.xyzMeta!
    link
    fedilink
    arrow-up
    15
    arrow-down
    1
    ·
    1 year ago

    Calling capitalism bad isn’t equal to calling communism good.

    I see this all the time. People think the opposite of capitalism is communism, which is plain wrong. They are completely different systems, but many parts are similar. If you say “I don’t wanna do capitalism anymore” it’s not like you are forced to be a communist now.