home.social

#offbyone β€” Public Fediverse posts

Live and recent posts from across the Fediverse tagged #offbyone, aggregated by home.social.

  1. #retrocomputing #vintagecomputing #search #searchengine #frogFind #offbyone #konqueror #kde

    Catch of the Day: The 1MB Wonder! πŸ’₯πŸ’Ύ

    Hey Retro Fans!

    The highlights of the day:

    πŸͺΆ Off By One Browser: An absolute legend of minimalism visited us today. The Off By One Browser for Windows consists of a single standalone executable and is a tiny 1 megabyte in size. No bloated frameworks, no plugins – just pure, fast web browsing. It aligns perfectly with our philosophy!

    πŸ‰ Konqueror: The classic KDE file manager and web browser for Linux also stopped by. Just a reminder: This browser's engine (KHTML) was so groundbreaking back in the day that Apple used it as the foundation for Safari!

    Whether it's tiny browser oddities or massive Amiga traffic – the Frog pond is buzzing. Keep it up!

    Your FrogFind Team 🐸

  2. Dear anyone who ever talks about probabilities, percentages, or voting,

    Please stop describing a simple majority as, "[at least] 50% + 1." That description is incorrect whenever the total is an odd number. The correct description is, "more than 50%."

    In case you didn't notice:

    1. In this context, it's implied that the answer has to be a whole number. There's no such thing as half a vote.
    2. The use of either "more than" or "at least," means you have to round up, not down. 5 is not at least 5.5, but 6 is.
    3. "More than" and "at least" mean different things. "4 is at least 4" is true, but "4 is more than 4" is false.

    So for example, in a group of 21 people, "more than 50%" means "more than 10.5," which means "at least 11." Meanwhile, "at least 50% + 1" means "at least 10.5 + 1," which is "at least 11.5," which really means "at least 12."

    Sincerely,

    All of the world's programmers

    #majority #offByOne #percent #precision #programming #vote

  3. I've been #programming (hobby and professional) since the late 70s (TRS-80 Model I Level II anyone?). Indexing vs subscripting and the dreaded and much feared #offbyone error still bites me in the ass.

    My fault really. I don't need to be doing what I'm doing in C, I'm just a masochist.

    My other #blindspot is inverting branch conditions in assembly language, even with the help of mnemonics instead of bit masks.

    I got them crossed up in my head and can't uncross them. BNZ vs BZ! DOH!