3,297 reputation
1025
bio website vyznev.net
location Helsinki, Finland
age 35
visits member for 3 years, 9 months
seen 3 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.


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
30
answered Odds of Tzeentch's Curse in Mass Battles port
Jul
29
answered How do I find the highest number rolled in a pool if dice, and the number of times it is rolled using AnyDice?
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
answered Dice probabilities when rolling more dice than needed
Jul
29
awarded  Explainer
Jul
29
revised Using AnyDice to determine the odds of getting a specific number sequence on multiple dice
I didn't know you could add /transposed to AnyDice links like that
Jul
29
revised Modelling an opposed dice pool mechanic in AnyDice
slightly more informative title
Jul
29
revised Using AnyDice to determine the odds of getting a specific number sequence on multiple dice
added 85 characters in body
Jul
29
revised Using AnyDice to determine the odds of getting a specific number sequence on multiple dice
actually, this is easier than I thought
Jul
29
revised AnyDice Help: ORE-Like Resolution
actually, it seems AnyDice *is* smart enough to make that optimization; it's just slower than Python in general
Jul
29
revised Modelling an opposed dice pool mechanic in AnyDice
added 5 characters in body
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
answered Modelling an opposed dice pool mechanic in AnyDice
Jul
29
revised AnyDice Help: ORE-Like Resolution
added 2805 characters in body
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
29
answered AnyDice Help: ORE-Like Resolution
Jul
27
revised What is the use of a little bag of sand?
remove repeated word from from title
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
24
answered How should I go about stabbing my friend in the back?