I just authored Array::PatternMatcher and think it is worth mentioning here, but don't want the node to stay around for more than 2 weeks or so because after awhile the utility of this node decays (linearly? exponentially?) and the amount of disk space it wastes increases at
1 .0 / ( 1.0 - $utility) ;
So perhaps there should be some way to mark a node as useless after a time period.
  • Comment on Self-expiring node : Array::PatternMatcher - regex-like stuff for arrays
  • Download Code

Replies are listed 'Best First'.
(tye)Re: Self-expiring node : Array::PatternMatcher - regex-like stuff for arrays
by tye (Sage) on Jun 26, 2001 at 07:39 UTC

    Yes, the usefulness of a node on average decreases over time. But not nearly as fast as the cost of the disk space decreases (at least until the trend of the last few decades gives out).

    And you'd be surprised at some of the old nodes that have come in very handy. So I'm against spending any time trying to implement an expiration time for nodes.

            - tye (but my friends call me "Tye")
Re (tilly) 1: Self-expiring node : Array::PatternMatcher - regex-like stuff for arrays
by tilly (Archbishop) on Jun 26, 2001 at 20:41 UTC
    Seconding what tye said, the space usage is virtually nothing, and the attention old nodes draw tends to fall of faster than the utility drop-off. (Which is why it is good for people to use search tools to find existing answers - that makes the utility decay at a slower rate.)

    But if you are truly concerned that some of your old messages have become a waste of space, rather than asking for time, energy, and money to be wasted developing a feature allowing your material to be expired, just go donate at the Offering Plate. Give whatever you think is reasonable to cover your estimate for the space you used, cost of backups, administration costs for handling your account, and bandwidth that people used in getting your stuff.

    Multiply that by some fudge factor to take into account the fact that you probably missed something, and your next 5 neighbours have not covered their costs.

    And then you can stop feeling guilty about the space.