Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

chaoticset (2105)

chaoticset
  (email not shown publicly)
http://chaoticset.perlmonk.org/
AOL IM: chaoticset23 (Add Buddy, Send Message)
Yahoo! ID: illuminatus_foil (Add User, Send Message)

JAPH. (That's right -- I'm not Really Inexperienced any more.)

I'm not just here, I'm here [perlmonks.org], and here [javajunkies.org] too, I ramble randomly in my philosophical blog [blogspot.com] and my other blog [blogspot.com]. Soon I'll come in a convenient six-pack.

Journal of chaoticset (2105)

Thursday January 08, 2004
12:54 AM

Games Played, Matrices Delayed

[ #16706 ]
I started work on a module I'd always thought I might actually be able to write should I figure out all the wonderful data structures involved: Game::Matrix.

This would be a solver for game matrices -- that is, plug in the matrix for, say, rock-paper-scissors, and it will provide you with (should it work correctly) the random rock/paper/scissors strategy.

This is simple, relatively straightforward algebra -- there's just an assload of it, and it's lots of point-to-that and refer-to-this. My reference-fu is getting a severe workout in dealing with this.

Halfway through scribbling this down at the ER and trying to concieve of how to keep all this stuff separated, I decided to switch to an object-oriented solution. I'm debating about switching back to mere procedural code, because the more I write, the more the OO is getting in the way.

I do need the practice, though.

I've started farting around with some stuff based on some of the Spidering Hacks, too. I'm curious -- if a website's TOS doesn't specifically prohibit use of their CGI, and their robots file doesn't specifically prohibit use of their CGI, does that mean it's fair game as long as you're careful not to be utterly boneheaded? Or is it still more polite to ask?

What do most folks do when they decide to spider? What do people do differently if they're home-brewing a personal utility as opposed to writing something that their friends might use, or something that a tiny business might use? (If this seems like a stupid question, know that I have, in my life, gradually become aware that I don't really have any knowledge in advance about whether or not people will be mortally offended by the things I do. As a result, I've gotten in the habit of asking other people's advice about things that typically seem obviously nonoffensive (or obviously offensive) to them.)

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.