• 0 Posts
  • 32 Comments
Joined 1 year ago
cake
Cake day: June 7th, 2025

help-circle


  • Type is more important? So if the first argument of a function is minAge, which is an int, the important part is that it is an int? Just feed it any int?

    No, the important part is the meaning, what the variable actually is, if you use a compiled language the compiler will handle types for you anyway. You’ll get a error if you feed it a string, or an water heater object, no surprises.

    Leave the machine work to the machine (compiler in this case), and concentrate on the real work, which is the meaning here.





  • Yoddel_Hickory@piefed.catoLemmy Shitpost@lemmy.worldEngine auto-off
    link
    fedilink
    English
    arrow-up
    11
    arrow-down
    2
    ·
    2 months ago

    Turning on and off increases wear in cars not designed for it. The cars that have the feature have beefy starters, it is a non-issue. And it does save a bit of gas and emissions at red lights, and stopped in traffic, and especially for assholes that leave the car on while their partner goes for a “quick” grocery run.



  • It means that the display I stream doesn’t show on a physical stream. When the stream start, it can automatically be set to the resolution and framerate of the client.

    This is especially useful when the client has a resolution and/or refresh rate not supported by a connected physical screen. For example, I always used to have vertical black bars on my phone because it is so wide, and horizontal ones on my Surface because it is so square, but not anymore.

    It also means I coult setup multi-seat stuff and keep using my pc while someone else is streaming.












  • Yoddel_Hickory@piefed.catoComic Strips@lemmy.worldSad but true
    link
    fedilink
    English
    arrow-up
    14
    arrow-down
    1
    ·
    6 months ago

    Because in most countries you don’t need a phone, internet, and maybe even an app to solve this problem.

    A lot of countries have had chip cards decades before the USA. When you are done eating they bring the bill and a terminal, which looks a thick cell phone, to your table. You insert your card, type your pin, pay, and leave. Bonus: you never get your credit card taken elsewhere by a stranger.

    If you live in a country which sadly still do not pay serving staff a living wage, the terminal also allows you to enter gratuity as an amount or as a percentage, while you pay. No need to do any math.

    The phone payment seems like such a tech-bro solution for a very simple problem which has a very simple solution which is already in place nearly everywhere!