5,734 reputation
11430
bio website vyznev.net
location Helsinki, Finland
age
visits member for 3 years, 7 months
seen 2 days 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.


Mar
24
answered Is there a way to make a dynamic world such as a MMORPG horizontally scalable?
Mar
3
revised How can I change the acceleration of an object to arrive at a particular time?
oops, missed the part where you wrote that you don't know the original arrival time
Mar
3
revised How can I change the acceleration of an object to arrive at a particular time?
oops, missed the part where you wrote that you don't know the original arrival time
Mar
3
answered How can I change the acceleration of an object to arrive at a particular time?
Feb
28
answered PHP Browser Game Private Messages?
Feb
17
awarded  Quorum
Feb
15
answered How precise should timers in update loops be?
Feb
14
comment How do I resolve asynchronous client actions against an authoritative server state?
+1 for pointing out that a good UI is important here. In particular, if you allow the player to keep playing on even while waiting for the server's reply, there needs to be some indicator to the player that some of their moves haven't been confirmed yet, and it needs to be really obvious (since, hopefully, it will only be seen in unusual circumstances like connection loss) while still not being too obtrusive.
Feb
14
comment What's the best way of transforming a 2D vector into the closest 8-way compass direction?
@Sam: Oops, corrected. Of course, atan2(x,y) would work too, if one just listed the compass headings in clockwise order starting from north instead.
Feb
14
revised What's the best way of transforming a 2D vector into the closest 8-way compass direction?
correct argument order per comments
Feb
13
answered What's the best way of transforming a 2D vector into the closest 8-way compass direction?
Feb
13
awarded  Nice Answer
Feb
11
revised How do I protect my game with CD key / serial number?
added 108 characters in body
Feb
11
revised Using the DTLS protocol for multiplayer games
link to archive.org for broken link
Feb
11
revised How do I protect my game with CD key / serial number?
recommend 128+ bits to be safe, note that rate limiting can help
Feb
10
comment Implementing a color picker
This question does not seem to include anything specific to game development. It would probably be better suited for our sister site, Stack Overflow.
Feb
10
revised Implementing a color picker
copyedit
Feb
10
comment Physics movement prediction is way off
Actually, the OP's solver does always return the smallest positive real root (if any), since sqrt(det) >= 0 and thus t1 >= t2. Anyway, as long as the ball stays above the ground (and gravity pulls it downwards), the OP's quadratic equation will always have exactly one positive root. The only way there could be two positive real roots would be if the ball was below the ground and moving upwards. (Anyway, +1 for spotting the missing factor of 1/2.)
Feb
10
answered Smooth Sprite Movement - Don't Add Velocity to Position?
Feb
10
answered How do I protect my game with CD key / serial number?