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 -
What IT/programming/technology type conferences should I try to go to this year (June 2012 - June 2013)? I have to come up with a list of 3 by Thursday for my manager! [more inside]
posted by The Supreme Dominar
on Apr 10, 2012 -
I have a brain-block when it comes to Regex and really need to learn it. Can anybody suggest really good tutorials with little exercises to reinforce the info? I've tried so many times to get a grasp and it just escapes me and would be invaluable for school/work since I'm doing a lot of string processing in Perl and PHP. Thanks!
posted by Raichle
on Apr 8, 2011 -
Help me find an online file manager that doesn't suck! Everything I've found so far falls into two categories, either (a) sucking, a lot, or (b) requiring, for inexplicable reasons, a database backend. I just want something that will handle file uploads and basic file management (move, rename, delete, copy). [more inside]
posted by larsks
on Dec 2, 2008 -
Another oddball question... I have a live data stream of AIS data and I would like to take the data and ultimately display it on a world map through a web browser. The problem is that I have no clue as to how I would display live updated information on a map.
posted by kaozity
on Aug 11, 2008 -
Best starting point for e-commerce / shopping cart software? I'm a competent Perl programmer with background in several other languages, who wants to create a decidedly minimalist-looking web site shopping cart for a client. I expect to hack Perl or PHP code, but would like to hack things that are designed to be hacked. Anyone tried CRE Loaded? Other recommendations? Other places to ask? [more inside]
posted by amtho
on Mar 30, 2008 -
posted by mrbloo
on Mar 13, 2008 -
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 -
What are the best database-driven Web application development frameworks out there right now? More specifically, please orient me to toolsets you know of that are similar to Ruby on Rails. [more inside]
posted by killdevil
on Jul 6, 2007 -
Movable Type PHP library: is it possible to use the PHP library in the same fashion as the perl library? [more inside]
posted by xmutex
on Jul 19, 2006 -
LatencyFilter: I'm making a multiplayer flash game, where players communicate with each other via a socket connection to a server. How fast can information be sent like this? [more inside]
posted by cheerleaders_to_your_funeral
on Oct 27, 2005 -
Form re-submission woes!
How can I catch page refreshes and prevent form values from being re-submitted? [more inside]
posted by purephase
on Sep 16, 2005 -
What's the most efficient way to provide a MeFi-style x new comments count for a MeFi-style chat board? [more inside]
posted by bonaldi
on Mar 28, 2005 -
On the Mac, if I need to munge text in extremis, I prefer to use BBEdit. Recently, on the PC, I am finding myself in need of a text editor which is similar to BBEdit. I will use it both for coding and for text-cleaning. I prefer freeware and shareware but that's by no means the deciding factor. Which programs should I check out? Which should I avoid? [more inside]
posted by mwhybark
on Mar 16, 2005 -
I need a new way of transforming XML with XSL. Till date I've used PHP's Sablotron, which I absolutely love and is simple to use, but my host keeps forgetting to enable and include it each time they recompile Apache, so I was wondering if someone here knows of a way to do the same with either Perl or JSP/Tomcat or even PHP as long as it is without Sablotron's xslt_create(). [more inside]
posted by riffola
on Mar 7, 2005 -
Using a PHP, Perl, or cron, how do I grab a xml page from a my TiVo that requires https authorization? I have the username and password. [more inside]
posted by riffola
on Feb 26, 2005 -
Is there a script (perl or php, no MySQL because I don't understand it and don't want to learn it) that password-protects a webpage so that it can be viewed only by someone who logs in with a username and a password, and also logs that user, so that you can have a record (very important) of who's viewed the page? If so, where can I get me one?
posted by iconomy
on Jan 26, 2005 -
Due to "security concerns," my web host provider has just banned two Form-to-email scripts
(Formmail and NMS Formmail). Now I'm hard up to find a replacement. Any ideas? I'd prefer a solution that doesn't require a mastery of PERL to configure.
posted by Pinwheel
on Jan 17, 2005 -
I am looking for a simple script (perl,php,whatever) or even binary utility that can programatically render graphical images in this manner: take XYZ font (true-type/postscript/whatever) and render an image with the text ABC.
Does such a thing exist?
posted by xmutex
on Nov 12, 2004 -
I need to set up a database-driven document archive of mostly text files and links. I want the archive to have a tree structure and allow the public to browse it without logging in. I want each file to have a description. I prefer PHP or Perl and need to use it on a shared hosting account. I would think something open source like this would be out there, but I can't find it. Any advice?
posted by johnnydark
on Sep 4, 2004 -
Does anyone know of a Perl or PHP or Python script that can basically do the same thing that del.icio.us does? I also wonder whether the code of del.icio.us itself is for sale.
posted by hoder
on Jun 28, 2004 -
I have Apache 2.0 running. I can easily set stuff up like mod_perl and PHP. I want to start developing w/ Java and I want to run servlets and Tomcat scares me. Does it run under Apache? Seperate from Apache? Any info appreciated.
posted by xmutex
on Jun 23, 2004 -
I have been looking at changing my web development focus from Windows/ASP/.NET to LAMP(Linux, Apache, MySQL, PHP/Python/Perl) because my gut is telling me that this is where things are going. Oh, Java should be in there as well.
What's the skinny on LAMP in the real world (Netcraft surveys
aside)? Is it difficult to change to LAMP/Java? Is the open source thing really sticking?
posted by grefo
on Jan 9, 2004 -
I'm interested in filling out my workday learning perl, php and mysql at my own speed. I have no programming background. Anybody have any good experiences with any online courses, or any other advice? Money is not an object, what is important is good structure (logical progression of concepts) and the ability to get personalized help when needed.
posted by luser
on Dec 17, 2003 -