Re: perl and network addresses

2006-03-31 Thread Stephen Ryan
On Fri, 2006-03-31 at 21:00 -0500, Jason Stephenson wrote: > Stephen Ryan wrote: > > hostmask = (1 << (32 - n)) - 1 > > netmask = ~ hostmask > > Doh! That's so obvious, so obviously, I overlooked it. ;) Well, yes, of course :-) > > > > 1 << (32 - n) in binary is (n-1) '0' bits, a '1', then (32

RE: Pruning e-mail attachments.

2006-03-31 Thread Brian
Brian's Law says someone will always get paranoid about something clearly presented as a use-at-your-own risk solution. LOL. > -Original Message- > Be warned that MIME, like a lot of Internet standards, has > a number of features that don't always get invoked. A > quick-and-dirty ha

Re: perl and network addresses

2006-03-31 Thread Jason Stephenson
Stephen Ryan wrote: Can anyone think of a better way to blit an arbitrary number of bits from 0 to 1? Well, let's see Taking advantage of the fact that all of the '1' bits are at the end of the hostmask, you've actually almost gotten it already. hostmask = (1 << (32 - n)) - 1 netmask =

Re: Pruning e-mail attachments.

2006-03-31 Thread Ben Scott
On 3/31/06, Brian <[EMAIL PROTECTED]> wrote: > As for the attachments, ISTR when I was mucking around with something mildly > related a few years back you could grep for something like "multipart > boundary" in the headers. Be warned that MIME, like a lot of Internet standards, has a number of f

RE: Pruning e-mail attachments.

2006-03-31 Thread Brian
Congratulations on increasing the local population density just a bit in favor of the smart people :) As for the attachments, ISTR when I was mucking around with something mildly related a few years back you could grep for something like "multipart boundary" in the headers. This identifies a rand

Re: Pruning e-mail attachments.

2006-03-31 Thread Ben Scott
On 3/31/06, Ken D'Ambrosio <[EMAIL PROTECTED]> wrote: > Hello, all -- first and foremost, I'm pleased to announce the birth of > Isabella Francesca D'Ambrosio Congratulamations! > Now that the birth done with, I hope to be able to make impending > meetings again (what with all my new-found spar

Re: Pruning e-mail attachments.

2006-03-31 Thread Kevin D. Clark
Ken D'Ambrosio writes: > Hello, all -- first and foremost, I'm pleased to announce the birth of > Isabella Francesca D'Ambrosio -- for those with places in their hearts > for baby pics, have at: http://flyingtoasters.net/gallery/album26?page=4 > . Now that the birth done with, I hope to be able

Pruning e-mail attachments.

2006-03-31 Thread Ken D'Ambrosio
Hello, all -- first and foremost, I'm pleased to announce the birth of Isabella Francesca D'Ambrosio -- for those with places in their hearts for baby pics, have at: http://flyingtoasters.net/gallery/album26?page=4 . Now that the birth done with, I hope to be able to make impending meetings again

Re: perl and network addresses

2006-03-31 Thread Stephen Ryan
On Thu, 2006-03-30 at 20:35 -0500, Jason Stephenson wrote: > Paul Lussier wrote: > > > Yes, more or less. Between you and Jason I've been able to come up > > with exactly what I need. Thanks a lot for all your help. Why I > > couldn't see this for myself is beyond me. Of course, this week has

Re: Flash as spyware

2006-03-31 Thread Paul Lussier
"Ben Scott" <[EMAIL PROTECTED]> writes: > On 3/29/06, Bill Sconce <[EMAIL PROTECTED]> wrote: >> On Wed, 29 Mar 2006 12:03:39 -0500 >> "Ben Scott" <[EMAIL PROTECTED]> wrote: >> Everything you say is true. > > This statement is false. So is the that one ;) -- Seeya, Paul ___