• 0 Posts
  • 14 Comments
Joined 1 year ago
cake
Cake day: June 3rd, 2023

help-circle



  • Ullallulloo@civilloquy.comtoMemes@lemmy.mlListen here, kulak...
    link
    fedilink
    arrow-up
    14
    arrow-down
    13
    ·
    1 year ago

    In all likelihood they would be neither. With modern technology, we don’t need a large percent of the population farming. I realize communists typically eliminate the intellectuals and kulaks—those who would actually have useful knowledge—first, but the smart things would be to have the current farmers keep farming. You’d likely be assigned to a factory to manufacture widgets for the rest of your days.









  • The problem is rather the opposite. The keys are secure and their sale is decentralized, which gives limited control over them. People generate the keys with stolen credit cards, and then resell them. The Postal devs are basically admitting they are giving up trying to actually go after the thieves, but it is genuinely hard to figure out which keys are legit and which are stolen, especially when it’s someone else selling them. All you’re proposing is to make it impossible to revoke a key even if you know it’s illegal.

    The actual way to prevent this theft would be to forbid merchants from generating keys at all, and go to a fully centralized model like Steam and Epic generally use.


  • Those are just types. You shouldn’t write types in the names. It’s called Hungarian Notation, but it’s just redundant. If you need to check the type of a variable, hover over it and your IDE should tell you that temperatureThreshold is type DegreesCelsius. No need to add extra cruft. There’s also a question of how specific everything needs to be.

    It’s also especially problematic if you later refactor things. If you change units, then you have to rename every variable.

    Plus, variables shouldn’t really be tied to a specific unit. If you need to display in Fahrenheit, you ideally just pass temperatureThreshold and it converts types as needed. A Temperature type that that has degreesF() and degreesC() functions is even cleaner. Units should just be private to the type’s struct.