| Wed Nov 10 12:00:00 2010 by Torben |
As you will have noticed, this page of news and comments have been added to the Troll dice roller page. I will use the news page to announce new developments and features to Troll. New entries will be added at the top of the page. I will start by mentioning a few changes that I have (silently) made over the last few months. As some of you may have noticed, the Troll the dice! button has been replaced by two separate buttons for rolling dice and calculating probabilities. Additionally, you can now specify how many digits of precision you want shown for the probabilities and you can choose if the second column shows the probability of the result being ≥, ≤, > or < than the value shown. The first column and the graph will always show the probability of the result being equal to the shown value. Another change involves the Troll language itself. |
| Tue Nov 23 12:00:00 2010 by Torben |
An earlier attempt at optimisation introduced some bugs. I thought I had fixed them, but one remained for If you have made any probability calculations using |
| Mon Feb 21 12:00:00 2011 by Torben |
| Some spammers have misused the possibility of saving user-defined definitions to post spam. Hence, I have disabled this option until I find a solution, which might be a login procedure or moderation. I will post here when this happens. |
| Tue Feb 22 12:00:00 2011 by Torben |
| In hope that the spamming was done by a script rather than a human being, I have added a rather simple-minded fix: If you wish to save a definition, the description must start with a backslash and a space, e.g., "\ my roll". This should foil most scripts but allow humans to use the option. If the spam reappears, I will add stronger measures. |
| Fri Jun 3 12:00:00 2011 by Torben |
I have added two new operators: |
| Tue Jun 7 12:00:00 2011 by Torben |
The probability calculator now allows text operations when calculating probabilities. Beware that this will list all possible strings that can be generated, so don't use it for, for example, the d20 character definition, as that can generate 176=24137569 different strings. It is, however useful if you want to return two independent values (such as width and height of a roll), as you can return the pair of "(" || 'x || "," || 'y || ")" |
| Fri Jun 10 12:00:00 2011 by Torben |
A recently made over-eager optimization made some expressions like |
| Wed Jul 6 16:31:09 2011 by Torben |
| As you will have noticed if you read this, I have extended the news feature to a forum where you can add comments and ask questions. It is still somewhat in beta, so if you observe odd behaviour, please send me a mail at torbenm@diku.dk. Please don't misuse this option. If spambots get to the forums, I will add a simple form of captcha and if this doesn't help I will add a login requirement. |
| Wed Aug 31 10:43:32 2011 by Torben |
| Some spam got into the forums. I deleted it, but if it happens again, I will add a CAPTCHA or something similar. |
| Mon Sep 12 17:06:56 2011 by Torben |
| Spam robots hit the forums again this weekend, so I have added a simple CAPTCHA: Four dice are shown below the input area. To post, you must type the values of these (without spaces) in the field to the left of the Post button. |
| Wed Oct 5 11:40:36 2011 by Torben |
| Due to a power outage Troll was down today from around midnight to 11 AM. I apologize for the inconvenience. |
| Fri Nov 4 12:38:55 2011 by Torben |
I have added a preview option to postings, so you can check the formatting of yourtext before posting.Just use the Preview button to the right of the Post button. You don't have to type the dice values, but you do need a topic and a name. |
| Mon Nov 14 16:42:29 2011 by Torben |
I have added a keep operator to the Troll language. x keep y keeps the elements in x that are also found in y. For example,(sum 3d6) keep (5..15)adds 3 d6 and keeps it only if the sum is between 5 and 15 (returning the empty collection otherwise). |
| Mon Nov 14 16:49:27 2011 by Torben |
| Some user-contributed definitions got lost in the upgrade due to me stupidly overwriting the newest copy with an older copy. I apologize for the inconvenience. |
| Sun Nov 27 11:11:43 2011 by cxcvi |
| Do you know if the keep operator will be added to the MosML version? |
| Mon Nov 28 10:31:31 2011 by Torben |
| It is added. I just forgot to edit the "last update" date. |
| Thu Mar 15 11:08:25 2012 by Torben |
| If you have posted, you might have noted that it can take several tries to get through the CAPTCHA. This was because I had accidentally categorised some dice showing "6" as "8", so if there were 6s among the shown dice, you were likely to not get through even though you typed correctly. This is fixed now. |
| Wed Mar 28 10:39:16 2012 by Torben |
I have added an option to change the bound on loop iterations and recursion from the default 12. If you increase the bound, you will increase precision of probability calculation for rolls that use the accumulate loop or function calls, but the time to compute probabilities also increase (so you risk getting over the limit set by the server). The iteration bound does not affect random rolls. |
| Tue Jun 5 12:43:43 2012 by Torben |
| The Troll webservice has been down for about a week due to problems when the server was moved. I apologize for the inconvenience. |
| Fri Jun 22 14:37:26 2012 by Torben |
| I have made two minor additions to Troll: One is the -- operator, which is multiset subtraction. This differs from the drop operator by only dropping as many instances of value as the number of occurrences of the value in the second argument, So while {2,2,2,3} drop {2,5} returns {3}, {2,2,2,3} -- {2,5} returns {2,2,3}.The other addition regards the compositional construction for declaring compositional (homomorphic) functions. Where it was previously only allowed to use user-defined functions for the second and third argument, it is now possible to use predefined operators, so the product function can now be defined ascompositional product (1,sum,*)In other news, the Troll server was down earlier today and last night due to a server move, but it is up and running again now. |
| Mon Dec 10 11:13:36 2012 by 18d6 discard values at or below 75 |
| How do i make "18d6 discard values at or below 75" |
| Tue Dec 11 14:26:43 2012 by Torben |
For example by75 < sum 18d6This will simply discard any roll below or equal to 75, returning nothing. If you want to reroll until the result is greater than 75, you can do it by repeat x := sum 18d6 until x > 75 |
| Thu Feb 14 16:42:57 2013 by Torben |
I have added a median operator with the obvious meaning. This means that, where you earlier had to write, for example,max least 2 3d20you can now write just median 3d20Using median on a collection with an even number of values will choose the higher of the two middle values.The median operator is optimised for common cases like the above, but works (albeit sometimes slowly) in any context. |