#offbyone β Public Fediverse posts
Live and recent posts from across the Fediverse tagged #offbyone, aggregated by home.social.
-
#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 πΈ
-
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:
- In this context, it's implied that the answer has to be a whole number. There's no such thing as half a vote.
- 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.
- "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
-
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!