Re: *****SPAM***** RFC: Acme::Whatif

2002-10-18 Thread Paul Makepeace
On Fri, Oct 18, 2002 at 12:22:23AM +0100, Steve Keay wrote:
> On Thu, Oct 17, 2002 at 05:11:09PM +0100, Simon Wistow wrote:
> > Have you? HAVE YOU?
> 
> > Not only that but Acme::Whatif, for a limited time only, provides you
> 
> Wow, first spamassasin false positive from london.pm:

Consider an upgrade!

X-Spam-Status: No, hits=-9.6 required=5.0
tests=KNOWN_MAILING_LIST,LIMITED_TIME_ONLY,SIGNATURE_SHORT_DENSE,
  SPAM_PHRASE_05_08,TO_LOCALPART_EQ_REAL,USER_AGENT,
  USER_AGENT_MUTT
version=2.41

And 2.41's not even the most up-to-date...

Paul

-- 
Paul Makepeace ... http://paulm.com/

"What is the time frame in which Orion will reach englightenment? Ladies
 and gentlemen, Elvis has left the building."
   -- http://paulm.com/toys/surrealism/




Re: RFC: Acme::Whatif

2002-10-18 Thread Simon Wistow
On Fri, Oct 18, 2002 at 04:03:35PM +0100, David Cantrell said:
> I take it that the inability to undo changes to disk files etc means that
> you can't undo changes to data structures tied to those files.  Or is perl
> clever enough to Do The Right Thing in that case?

I doubt it.
 
> Hmmm ... if you've opened a tied dbm O_RDWR, I wonder just how horribly
> fucked up the indexes will become if you die in the whatif block.

Don't do that then.

Caveat Programmer, your home is at risk if you do not keep up
repayments, value of previous modules is no guide to value of other
modules.

Simon








Re: RFC: Acme::Whatif

2002-10-18 Thread David Cantrell
On Thu, Oct 17, 2002 at 05:11:09PM +0100, Simon Wistow wrote:

> Acme::Whatif ...

I take it that the inability to undo changes to disk files etc means that
you can't undo changes to data structures tied to those files.  Or is perl
clever enough to Do The Right Thing in that case?

Hmmm ... if you've opened a tied dbm O_RDWR, I wonder just how horribly
fucked up the indexes will become if you die in the whatif block.

-- 
David Cantrell | Benevolent Dictator | http://www.cantrell.org.uk/david

   Willing to accept a lower economic "standard of
   living" in return for higher quality of life




Re: *****(not) SPAM***** RFC: Acme::Whatif

2002-10-17 Thread Belden Lyman

Steve Keay wrote:


Wow, first spamassasin false positive from london.pm:

X-Spam-Report:   5.9 hits, 4.8 required;
  *  0.5 -- To: repeats local-part as real name
  *  1.1 -- BODY: A word in all caps repeated on the line
  *  4.3 -- BODY: Offers a limited time offer



Did spamassassin flag *your* message as spam, or is spamassassin
smart enough to know that its report ("Offers a limited time offer")
messages shouldn't contribute to its X-Spam-Report?

'twould be tres ironique...

Belden





Re: *****SPAM***** RFC: Acme::Whatif

2002-10-17 Thread Steve Keay
On Thu, Oct 17, 2002 at 05:11:09PM +0100, Simon Wistow wrote:
> Have you? HAVE YOU?

> Not only that but Acme::Whatif, for a limited time only, provides you

Wow, first spamassasin false positive from london.pm:

X-Spam-Report:   5.9 hits, 4.8 required;
  *  0.5 -- To: repeats local-part as real name
  *  1.1 -- BODY: A word in all caps repeated on the line
  *  4.3 -- BODY: Offers a limited time offer

Maybe we can create a heuristic that detects messages written in a
tounge-in-cheek spam style...




RFC: Acme::Whatif

2002-10-17 Thread Simon Wistow
Have you ever hankered after rollbacks outside of databases, the ability
to throw your hands up in the air and scream "WHY $DIETY? WHY?" and skip
back to a point in your life, or execution path, where it hadn't all
gone horribly wrong?

Have you? HAVE YOU?

I know I have.

Acme::Whatif provides you with that oft requested second chance - simply
die within a whatif {} block and you can have another go AS IF NOTHING
HAD HAPPENED. It's like Groundhog Day. All over again. But without the
giant subterranean dwelling rodents [0].

Not only that but Acme::Whatif, for a limited time only, provides you
with a corresponding ifonly {} statement, executed after the death of a
whatif {} block, that gives you some breathing space to clean up all the
little mishaps and boos boos that you caused in the whatif {} block.

Hand crafted by Artisans from the world famous London.pm Crack Smoking
Club Acme::Whatif is the tool no self respecting programmer should be
without.

Docs at http://thegestalt.org/simon/perl/AcmeWhatif.html
Code at http://thegestalt.org/simon/perl/Acme-Whatif-0.5.tar.gz

I'm actually wondering if this deserves not to be in the Acme::*
namespace but that could just be hubris on my part.


[0] No animals were harmed in the making of this module.

-- 
: feel the banana karma