I’m getting incredibly many virus warnings because of mails I get from
people I’ve never heard of. I’m pretty sure the reason is my recent
postings on this ruby mailing list. Could everyone with a windows pc
please check whether his or hers pc is infected with this virus. You’re
not just disturbing me, but many others (basically everyone who has posted
on the mailing list and whose mails are in your mailbox). The following
page gives you information about the virus you’re trying to send me
unwillingly and tells you how to get rid of it:
I’m getting incredibly many virus warnings because of mails I get from
people I’ve never heard of. I’m pretty sure the reason is my recent
postings on this ruby mailing list. Could everyone with a windows pc
please check whether his or hers pc is infected with this virus. You’re
not just disturbing me, but many others (basically everyone who has posted
on the mailing list and whose mails are in your mailbox). The following
page gives you information about the virus you’re trying to send me
unwillingly and tells you how to get rid of it:
I have a really weird situation. I’m reading a file into an array, based
on a grep match. This works fine…
…yet I re-ran my program using the same data file (unchanged) and now my
array is being intermittently populated with “nil” values. Using "uniq()"
doesn’t remove them. Any ideas?
I’m getting incredibly many virus warnings because of mails I get from
people I’ve never heard of. I’m pretty sure the reason is my recent
postings on this ruby mailing list. Could everyone with a windows pc
please check whether his or hers pc is infected with this virus. You’re
not just disturbing me, but many others (basically everyone who has posted
on the mailing list and whose mails are in your mailbox). The following
page gives you information about the virus you’re trying to send me
unwillingly and tells you how to get rid of it:
a = [:foo, nil, :bar, :baz, nil, nil, “testing”]
a.delete_if {|x| x == nil}
=> [:foo, :bar, :baz, “testing”]
delete_if modifies the array in place. If you want non-destuctive, use
“reject” instead.
···
On 9/19/2003 9:54 AM, Thomas Adam wrote:
…yet I re-ran my program using the same data file (unchanged) and now my
array is being intermittently populated with “nil” values. Using “uniq()”
doesn’t remove them. Any ideas?
–
Dean saor, dean saor an spiorad. Is seinn d’orain beo.
I have a really weird situation. I’m reading a file into an array, based
on a grep match. This works fine…
…yet I re-ran my program using the same data file (unchanged) and now my
array is being intermittently populated with “nil” values. Using “uniq()”
doesn’t remove them. Any ideas?
Please. no. That’s the last thing we need. All these viruses, worms,
trojans, and whatnot forge the from information, so it’s utterly useless,
and there’s insufficient information in the headers to trace back to the
real sender.
I’m already getting enough crap from brain-damaged virus scanners telling
me I sent them a sobig. I don’t need any more.
I’m getting incredibly many virus warnings because of mails I get from
people I’ve never heard of. I’m pretty sure the reason is my recent
postings on this ruby mailing list. Could everyone with a windows pc
please check whether his or hers pc is infected with this virus. You’re
not just disturbing me, but many others (basically everyone who has posted
on the mailing list and whose mails are in your mailbox). The following
page gives you information about the virus you’re trying to send me
unwillingly and tells you how to get rid of it:
I’m getting incredibly many virus warnings because of mails I get from
people I’ve never heard of. I’m pretty sure the reason is my recent
postings on this ruby mailing list. Could everyone with a windows pc
please check whether his or hers pc is infected with this virus. You’re
not just disturbing me, but many others (basically everyone who has posted
on the mailing list and whose mails are in your mailbox). The following
page gives you information about the virus you’re trying to send me
unwillingly and tells you how to get rid of it:
I’ve been getting around 1 a minute for the last twenty-four hours.
It’s not specific to this list.
Next one liner contest is to send mails to all these users saying
‘try not to click on every attachment you get sent, stupid!’
From Microsoft’s web site:
“Because HTML e-mails are simply web pages, IE can render them and open
binary attachments in a way that is appropriate to their MIME types.
However, a flaw exists in the type of processing that is specified for
certain unusual MIME types. If an attacker created an HTML e-mail
containing an executable attachment, then modified the MIME header
information to specify that the attachment was one of the unusual MIME
types that IE handles incorrectly, IE would launch the attachment
automatically when it rendered the e-mail.”
“An attacker could use this vulnerability in either of two scenarios.
She could host an affected HTML e-mail on a web site and try to persuade
another user to visit it, at which point script on a web page could open
the mail and initiate the executable. Alternatively, she could send the
HTML mail directly to the user. In either case, the executable
attachment, if it ran, would be limited only by users permissions on
the system.”
> * Peter Hickman <peter@semantico.com> [0949 14:49]:
> > Peter wrote:
> > >I'm getting incredibly many virus warnings because of mails I get from
> > >people I've never heard of. I'm pretty sure the reason is my recent
> > >postings on this ruby mailing list. Could everyone with a windows pc
> > >please check whether his or hers pc is infected with this virus.
> I've been getting around 1 a minute for the last twenty-four hours.
> It's not specific to this list.
me too. any idea how to stop it? i've just got filters in pine set up for
now. how anoying...
I think it depends how you get your mail.
I run a local mail server, because I enjoy that kind of thing. So
I'm installing exiscan with clamav to do content filtering.
That'll
(spamlevel.isnt_too_high? "fix it once and for all" | "grind my server to death" )
While it's building, I'm doing simple filtering of all the mails with
'critical' or 'microsoft' using procmail.
Saturday I'm off to VanFest in Malvern to buy a new VolksWagen bus.
On Monday I'm going to mail all the users in that folder and tell them
I am their bank manager, and can they send me their credit card
details for verification.
Then I'm off to Cuba!
···
On Sat, 20 Sep 2003, Rasputin wrote:
> Next one liner contest is to send mails to all these users saying
> 'try not to click on every attachment you get sent, stupid!'
--
The best thing about growing older is that it takes such a long time.
Rasputin :: Jack of All Trades - Master of Nuns
Well, as several people have mentioned, you could use Array#compact, but
if I were you, I would try to find out why you’re getting nil values.
Could you post the smallest possible code snippet + data that shows this
problem?
I have a really weird situation. I’m reading a file into an array, based
on a grep match. This works fine…
…yet I re-ran my program using the same data file (unchanged) and now my
array is being intermittently populated with “nil” values. Using “uniq()”
doesn’t remove them. Any ideas?
…yet I re-ran my program using the same data file (unchanged) and now my
array is being intermittently populated with “nil” values. Using “uniq()”
doesn’t remove them. Any ideas?
What about using delete_if?
a = [:foo, nil, :bar, :baz, nil, nil, “testing”]
a.delete_if {|x| x == nil}
=>> [:foo, :bar, :baz, “testing”]
delete_if modifies the array in place. If you want non-destuctive, use
“reject” instead.
Array#compact is designed for getting rid of nil values.
Gavin
···
On Friday, September 19, 2003, 11:59:04 PM, Joey wrote:
I’ve been getting around 1 a minute for the last twenty-four hours.
It’s not specific to this list.
me too. any idea how to stop it? i’ve just got filters in pine set up for
now. how anoying…
I think it depends how you get your mail.
I run a local mail server, because I enjoy that kind of thing. So
I’m installing exiscan with clamav to do content filtering.
For what it’s worth, I run SpamAssassin and spent a few hours last night
writing filters for this particular worm. I can share my filters with
anybody that’s interested.
For what it’s worth, I run SpamAssassin and spent a few hours last night
writing filters for this particular worm. I can share my filters with
anybody that’s interested.