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]
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]
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!
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]
Regular Expressions / PHP preg_replace problem. Can this be made to work...? [more inside]
What is a proven contemporary replacement for formmail.pl? [more inside]
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.
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]
How can I run a web server on OS X without admin access? [more inside]
Old-school, non-WYSIWYG web-based file editor apps. Do they still exist? [more inside]
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]
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]
Movable Type PHP library: is it possible to use the PHP library in the same fashion as the perl library? [more inside]
Is there a server-based RSS aggregator that works like Safari RSS? [more inside]
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]
Form re-submission woes!
How can I catch page refreshes and prevent form values from being re-submitted? [more inside]
I'd like to generate an RSS feed from flat files in a directory. [more inside]
What's the most efficient way to provide a MeFi-style x new comments count for a MeFi-style chat board? [more inside]
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]
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]
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]
Learning programming via web apps. [+] [more inside]
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?
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.
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?
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?
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.
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.
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?
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.