• 12 Posts
  • 124 Comments
Joined 2 years ago
cake
Cake day: July 16th, 2023

help-circle
  • sus@programming.devtoProgrammer Humor@programming.devTeams
    link
    fedilink
    arrow-up
    3
    arrow-down
    1
    ·
    3 days ago

    “You want to use teams a bit? We have a session here” “I’d be happy to, actually. Not really, but it wouldn’t be bad” “Not really? If you say so, I have a teams session ready right here” “No. No. I’m not stupid” “People use it every day.” “Tell the truth” “It’s a good user experience.” “So are you ready to use it? For 5 minutes?” “No, I’m not an idiot.”










  • sus@programming.devtoProgrammer Humor@programming.devToo Many Acronyms
    link
    fedilink
    arrow-up
    9
    arrow-down
    1
    ·
    edit-2
    1 month ago

    The oxford that says this?

    Acronym

    1. A group of initial letters used as an abbreviation for a name or expression, each letter or part being pronounced separately; an initialism

    or the merriam webster that says this?

    Some people feel strongly that acronym should only be used for terms like NATO, which is pronounced as a single word, and that initialism should be used if the individual letters are all pronounced distinctly, as with FBI. Our research shows that acronym is commonly used to refer to both types of abbreviations.



  • sus@programming.devtoLemmy Shitpost@lemmy.worldHabit tracker
    link
    fedilink
    arrow-up
    12
    arrow-down
    1
    ·
    edit-2
    2 months ago

    Finland never recovered from the 2008 financial crisis, and covid + the end of trade with russia has damaged the economy badly and made public debt balloon heavily. Right now unemployment is about 10%, the 2nd highest in the EU, and the far-right coalition goverment that won the last election is trying to privatize healthcare and disempower unions.

    The education system has been getting worse for about the past 15-20 years due to misguided reform attempts (and of course endless budget cuts)

    Finland’s birth rate dropped below replacement levels about 50 years ago and has been in freefall for about the last 10 years, and now the population pyramid is starting to be in really bad shape, which means the economic situation is likely just going to get worse and worse.

    The retirement savings system is designed like a (partial) ponzi scheme due to aforementioned population dynamics, and participation is mandatory so it is effectively a hidden tax on all workers. Due to old people having the majority of the votes, it’s the one thing that is immune from budget cuts, which forces the government to sell publicly owned infrastructure and dismantle public services in a futile effort to compensate.




  • We can avoid expensive branches (gasp) by using some bitwise arithmetic to achieve the so-called “absolute value”, an advanced hacker technique I learnt at Blizzard. Also unlike c, c# is not enlightened enough to understand that my code is perfect so it complains about “not all code paths returning a value”.

    private bool IsEven(int number)
    {
        number *= 1 - 2*(int)(((uint)number & 2147483648) >> 31);
        if (number > 1) return IsEven(number - 2);
        if (number == 0) return true;
        if (number == 1) return false;
        throw new Exception();
    }
    






  • So I think it’s still probably unclear to people why “mix of keywords and identifiers” is bad: it means any new keyword could break backwards compatibility because someone could have already named a type the same thing as that new keyword.

    This syntax puts type identifiers in the very prominent position of “generic fresh statement after semicolon or newline”

    …though I’ve spent like 10 minutes thinking about this and now it’s again not making sense to me. Isn’t the very common plain “already_existing_variable = 5” also causing the same problem? We’d have to go back to cobol style “SET foo = 5” for everything to actually make it not an issue