3,920 reputation
1228
bio website vyznev.net
location Helsinki, Finland
age 35
visits member for 3 years, 10 months
seen 7 hours ago

I'm a PhD student in biomathematics, working on stochastic individual-based models of evolution in spatially structured populations. My other interests include cryptography, programming games and puzzles, photography and graphic design.


I'm the main author and maintainer of the Stack Overflow Unofficial Patch (SOUP), a user script for browsers with GreaseMonkey-compatible user script support (Firefox, Chrome, Opera, possibly Safari) that fixes or works around a number of outstanding issues with the Stack Exchange user interface.

I tend to answer a lot more questions than I ask. Some answers I'm rather proud of:

CC-Zero Please consider any (original) code I post to Stack Overflow and other Stack Exchange sites to be released under CC-Zero unless stated otherwise. You may do whatever you want with it and don't have to credit me in any way, although of course that would be nice.


Aug
24
comment How to apply inhalable poison?
Rule #1: Stand upwind.
Aug
24
comment Can I be a follower of an evil god and not be evil?
Ps. See also this question, which is sort of the flip side of this one (party increasingly sliding towards evil, while one player wants to stay good).
Aug
18
comment Modelling an opposed dice pool mechanic in AnyDice
@thedarkwanderer: Nope. ({6,5,5,3} > {6,5,4,2}) = 1. It's a little bit inconsistent, I agree, but comparing two sequences in AnyDice (with <, > or =) does a lexicographic comparison, not a pointwise one.
Aug
12
comment Improving “fumbles” when using pools of d10s in TROS
Note that, for small die pools (1d10 or 2d10), a 10% chance of fumble on failure is significantly higher than what following the official rule gives. This may or may not be what you want.
Aug
12
comment Improving “fumbles” when using pools of d10s in TROS
Your general conclusion is correct, but I think your numbers are a bit off, presumably because your formula double-counts some combinations (since "rolling a 1" is a sub-event of "rolling under the target"). Here's an AnyDice script that calculates the correct numbers by brute force (and an optimized version). The table labeled "1" gives the probability of a fumble; the one labeled "0" gives the probability of no fumble.
Aug
5
comment Iron and Steel and “anchored” Allomancy, do you need the Multiple Targets stunt?
That does sound like a contradiction. I suppose you could think of it as "pushing/pulling one thing while using everything else as an anchor", which might squeak past the single target rule. But I'm pretty sure it's not described that way in the books. Maybe all halfway competent iron/steel burners just take the stunt? (Ps. Not making this an answer because I have no actual experience with the Mistborn RPG. I have read the books, though.)
Jul
30
comment Help with AnyDice Script for a d6 Dice Pool
As a quick rule of thumb, the average outcome of a plain Nd6 roll is 3.5×N, while the maximum possible result is obviously 6×N. If you roll (N+M)d6 and take the highest N, the average will approach the maximum as M increases. Thus, for a given ability level, the difference between "minimum skill" and "near-infinite skill" is a factor of 6 / 3.5 = 12 / 7 ≈ 1.7.
Jul
29
comment Dice probabilities when rolling more dice than needed
This doesn't look right. 1/36 would be the probability of rolling (say) a 3 and a 4 on 2d6 in that order. But the OP seems to be asking for the probability of getting those two dice in any order, which is twice that. And I don't think your other calculations are right, either; besides the ordering issue, you're also double-counting some rolls (because, for example, a roll of 1,2,2,3 can match a subsequence of 1,2,3 in two ways; either as 1,2,*,3 or as 1,*,2,3).
Jul
29
comment Modelling an opposed dice pool mechanic in AnyDice
I'm pretty sure this is wrong; it certainly doesn't give the same results as my code. I believe the main bug is that, in your code, A_DICEand B_DICE are dice instead of sequences: the reason this matters is because AnyDice will treat each use of those variables as a separate, independent Ad6 or Bd6 roll. See this program for a simple demonstration.
Jul
29
comment AnyDice Help: ORE-Like Resolution
You could simplify your code by using the built-in [highest of A and B] instead of your custom [max of A and B]. But, actually, it turns out you could simplify it a lot more than that.
Jul
15
comment Player has little faith in DM, unhappy with in-game events, acts stubborn, obstructing game play
This. I wish I could +2 this. The only thing I'd like to add, regarding the "meta-gaming" issue, is that you (the OP) might be able to convince her that "Don't split the party." is indeed the good kind of meta-gaming, simply because there's only one GM and only one table to play at. Mind you, if she really does want to leave her character sulking, that could also make a good learning experience (and it could even be a good solution, if she really doesn't want to play just then). Just warn her in advance that, if she does stay behind, she won't have much if anything to do.
Jun
17
comment How should I emulate the highest in an irregular dice pool in AnyDice?
I think this answer has a bug; to get correct results for X,Y,Z > 1, the output of the second function should be [highest num of 1@A 1@B 1@C] instead of [highest num of X@A Y@B Z@C]. (Also, I obviously think my own code is shorter and cleaner, but I may be biased there.)
Jun
17
comment How should I emulate the highest in an irregular dice pool in AnyDice?
For "highest of 3d4, 2d6 and 1d8", if you roll (4, 4, 4), (5, 5) and (7), do you want a result of 7 (= highest individual die) or 12 (= highest sum of each kind of die)? Or, in other words, is there a difference between "highest of 1d6, 2d6 and 3d6" and "highest of 6d6"?
Jun
13
comment A slave's tongue has been cut out. How can we restore her ability to speak?
As another aside, while this probably makes for a great setting detail and plot hook, in most (all?) real-world slave holding societies such mutilation, if done at all, would be used only as a very severe punishment. That's because a) cutting out someone's tongue isn't exactly easy or safe, b) it makes the slave less useful and valuable, and c) it really pisses them off. IRL, you don't really want your slaves to hate you; indeed, you'd much rather prefer them to be mostly content with their lot, and to have at least some hope of some day winning their freedom if they work hard enough.
May
30
comment Calculating 6D6 similar to poker dice
Huh, that's weird... I'm not sure how I was able to post this answer, given that the question was closed while I was writing it. Anyway, does it answer your question, or is there something else you'd like to see clarified?
May
12
comment How can I use roll for shoes to introduce someone to roleplaying?
+1 for "start in the players' world." All my most successful RFS games have involved a setting that the players are already at least a little bit familiar with, enough so that they have some pre-existing ideas about how their characters might behave in the situation they find themselves in. Combined with the minimal (one might almost say nonexistent) chargen in RFS, that lets you start in media res and skip any awkward setup and orientation steps.
May
8
comment How can you create one PC that is more than one “person”?
+1 for "flat-out play two characters". The main issue with that option is making sure you don't hog more "screen time" than the other players. Giving the two characters complementary abilities, so that, in most situations, only one of them has anything significant to do, helps a lot there. The rest pretty much comes down to self-control and awareness of the issue.
May
6
comment What are the limitations of Gloves of Missile Snaring?
Moral of the story: don't give your players items that don't make sense to you.
Apr
28
comment Should I warn my players when they're about to do something stupid?
@Tritium21: The last paragraph does answer the question. In fact, it (IMO) even answers it quite well, despite using much fewer words than some of the other answers. The only minor tweak I'd like to see would be an explicit note that player forgetfulness is just one of the ways in which players can end up with incomplete knowledge; for example, if the DM forgot to tell the player how dangerous the Tarrasque is, even though their character should've heard about it, that's also an (even better) reason to warn them before they try to punch it on the nose.
Apr
27
comment Is there a way to completely eliminate the penalties for Two-Weapon Fighting?
@HeyICanChan: I assume Dorian was referring to the fact that transcribing material not published under the OGL (or the GNU FDL) into the wiki may count as a copyright violation, if not done with the original publisher's permission (which I assume, in this case, they don't have). The Tempest page, in particular, seems to be a blatant copy-paste from Complete Adventurer.