3 ms·
Here's two of mine: A while back, I wrote a command-line dice rolling program[1] that handles a bunch of esoteric dice notation syntax, both because I was gett
by rcthompson 4y ago
Here's two of mine:
A while back, I wrote a command-line dice rolling program[1] that handles a bunch of esoteric dice notation syntax, both because I was getting into a D&D game with friends, and because I wanted to practice writing a non-trivial parser. (My D&D group pressured me into buying real dice anyway after I rolled five consecutive 1s in a single session.)
My current keyboard is an Ultimate Hacking Keyboard, which I like very much, but the one thing I miss from a more traditional layout is the nav cluster (arrow keys, plus the 6 keys above them). Of course these are accessible via the Mod layer on the UHK, but when I need to do something like Control+Shift+Right to select text, adding Mod into that as well becomes a bit much, so I'd prefer to have dedicated keys for these. So, I recently ordered a keyboard kit that is just the 10 nav cluster keys, and my next small project is to assemble it.
[1]: https://github.com/DarwinAwardWinner/roll https://github.com/DarwinAwardWinner/roll
- JKCalhoun 4y ago> My D&D group pressured me into buying real dice anyway after I rolled five consecutive 1s in a single session. Ha ha, Luddites.
- rcthompson 4y agoSee also this commit: https://github.com/DarwinAwardWinner/roll/commit/726f0510179635dab43f4883d64efd6a09f3f8cb https://github.com/DarwinAwardWinner/roll/commit/726f0510179... Commit message: > Use random.SystemRandom as random source > Now all dice rolls are cryptographically secure against criticism for being ostensibly non-random.
- willnonya 4y agoTo be fair dice do operate differently than simple random number generation. They're also more satisfying to use that numbers on a screen.