5 posts tagged with Javascript and perl. (View popular tags)
Displaying 1 through 5 of 5. Subscribe:

How to solve a complex statistics problem with a script?

In this game, you roll a number of six-sided dice to get a total. The total is either the highest single die result, or the sum of any multiples rolled, whichever is higher. For example: If I roll three dice and get a 3, 4, and 6, my total is 6. But if I roll a 4, 4, and 6, my total is 8, the sum of the two 4s. What I want to find out is the mean, median, mode, and standard deviation of the possible totals given N dice. How might I create a simple script to compute this? [more inside]
posted by j0hnpaul on Nov 30, 2012 - 24 answers


Where my army of robots?

I'd like to automate the creation of online exercises on my company's platform (as in: automatically generated matching, multiple choice, highlighting activities). [more inside]
posted by mammary16 on Sep 12, 2011 - 2 answers

Can I write to a div using Perl, or otherwise solve my form submission problem?

Can I write to a div using Perl, or otherwise solve my form submission problem? [more inside]
posted by unsigned on Jul 24, 2008 - 5 answers

I need dynamic pages without PHP or a database. What are my options?

Without access to PHP, MySQL, or any other fancy server-side stuff I still need to have dynamic pages. What are my options? [more inside]
posted by genial on Sep 12, 2007 - 11 answers

Reformatting pasted text

Coding question: What is the best/easiest way to preserve typographical formatting (like nbsp's, line breaks) of pasted text that will be stored in a database and later displayed in boxes of arbitrary size? [more inside]
posted by shownomercy on Dec 31, 2006 - 6 answers

Page: 1