Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

cerebrus revisited

 [1/10] from: hallvard:ystad:helpinhand at: 4-Feb-2003 22:15


OK, here are two issues and a thought. 1) I received an email containing two jpgs and an avi film. Since the download took ages, I pushed cancel in my client software (Eudora 5.2). Cerebrus continued (of course), but didn't _ever_ stop. It took a great deal of my computer cpu after a while... 2) Memory usage. Look at http://helpinhand.com/c.jpg, which is a screendump from my computer. It seems cerebrus has a higher mem usage than opera with three different locations open. And a higher mem usage than Eudora. Is this normal? Here's the thought: When I receive an email that cerebrus classifies as spam, and I whish to allow it based on the from: field, how about just letting me forward that email to myself with a special subject heading? (Instead of composing a new email). Are original headers still with us in forwarded emails? In Eudora, they are put in the message body. Will that do? What do other email clients do? ~H

 [2/10] from: gchiu:compkarori at: 5-Feb-2003 13:24


On Tue, 04 Feb 2003 22:15:33 +0100 Hallvard Ystad <[hallvard--ystad--helpinhand--com]> wrote:
>1) I received an email containing two jpgs and an avi >film. Since the download took ages, I pushed cancel in my >client software (Eudora 5.2). Cerebrus continued (of >course), but didn't _ever_ stop. It took a great deal of >my computer cpu after a while...
If you cancelled Cerebrus, that would have killed the download, but of course the next time round, it would try again to download the large file.
>2) Memory usage. Look at http://helpinhand.com/c.jpg, >which is a screendump from my computer. It seems cerebrus >has a higher mem usage than opera with three different >locations open. And a higher mem usage than Eudora. Is >this normal?
It seems to be for encapped View applications. AltME is running about 15Mb. I was concerned about this memory footprint, but I guess with memory being as cheap as it is these days, the problem will become less significant.
>Here's the thought: >When I receive an email that cerebrus classifies as spam,
<<quoted lines omitted: 4>>
>emails? In Eudora, they are put in the message body. Will >that do? What do other email clients do?
I'm not sure I understand what you mean. Cerebrus decouples image links to email classed as spam, and you can fix that by forwarding it back to yourself as an attachment, putting your Cerebrus password in the subject, and the command "repair" in the body. That would work also for plain text email as well. -- Graham Chiu http://www.compkarori.com/cerebrus

 [3/10] from: robert:muench:robertmuench at: 5-Feb-2003 8:17


> -----Original Message----- > From: [rebol-bounce--rebol--com] [mailto:[rebol-bounce--rebol--com]]
<<quoted lines omitted: 6>>
> footprint, but I guess with memory being as cheap as it is > these days, the problem will become less significant.
Hi, sorry I can't agree here. Memeory-Footprint is an issue and should always be worked on. That's the spirit of Rebol anyway, isn't it? My Link clients have a footprint of about 25 MB each and I need to run 3 instances of it... Boggles down my Laptop over time. IMO memory-footprint should always be as minimal as possible and RT should continue to work on further reduction of it. Robert

 [4/10] from: hallvard:ystad:helpinhand at: 5-Feb-2003 9:27


dixit "Graham Chiu" <[gchiu--compkarori--co--nz]> (Wed, 05 Feb 2003 13:24:34 +1300):
>On Tue, 04 Feb 2003 22:15:33 +0100 > Hallvard Ystad <[hallvard--ystad--helpinhand--com]> wrote: >If you cancelled Cerebrus, that would have killed the >download, but of course the next time round, it would try >again to download the large file.
..But is there no way for cerebrus to detect that Eudora is no longer listening? So that I wouldn't have to kill it?
>It seems to be for encapped View applications. AltME is >running about 15Mb. I was concerned about this memory >footprint, but I guess with memory being as cheap as it >is these days, the problem will become less significant.
I agree.
>>Here's the thought: >>When I receive an email that cerebrus classifies as spam,
<<quoted lines omitted: 10>>
>subject, and the command "repair" in the body. That >would work also for plain text email as well.
No, I mean this: I receive an email from [john--doe--com]. There's no attachment, only the words "OK, sex it is", which is a typo for "OK, six it is" to confirm something. Cerebrus classifies it as spam based on you-know-which word. But I'd still like to receive emails from john. So I send an email to myself with the subject "password: soandso", containing something like "allow from [john--doe--com]". Now how about, instead of composing this new email, I could simply forward the message to myself, changing the subject to "password soandso", and have john's email address accepted? For this to work, johns original headers would need to be included in the new message, either as headers or in the message body. Cerebrus would need to recognize it... Now that I look at how much text it took to explain what I meant, I realize that my solution maybe isn't all the much better after all. But then, here's another twist to the thought (make money! 0.02): how about having some sort of an "import message" to cerebrus, so that I could say e.g. import eudora-contacts-file for cerebrus to parse the file and add all email addresses in the file to my allow from: list? So that I wouldn't have to add them one by one later, as they send me emails with typos? As I said, just a thought. ~H

 [5/10] from: gchiu:compkarori at: 6-Feb-2003 8:38


On Wed, 05 Feb 2003 09:27:05 +0100 "Hallvard Ystad" <[hallvard--ystad--helpinhand--com]> wrote:
>..But is there no way for cerebrus to detect that Eudora >is no longer listening? So that I wouldn't have to kill >it?
Yes there is. As soon Cerebrus detects that the mail client has droppped the connection, it also closes the connection. But the problem is occuring while Cerebrus is in the midst of a large download, and since 'read from the pop mailbox is synchronous, it must wait till the 'read is completed before checking the connection.
>the thought (make money! 0.02): how about having some >sort of an "import message" to cerebrus, so that I could >say e.g. "import eudora-contacts-file" for cerebrus to >parse the file and add all email addresses in the file to >my allow from: list? So that I wouldn't have to add them >one by one later, as they send me emails with typos? >
Sure that could be done .. adding to the memory footprint :) Since the cerebus.config file is just a plain text file with the list of allowed email addresses in a block, ... it should be easy enough to do if the eudora contacts file is simple enough to parse. If you use Outlook express, you can export your addressbook as a csv file and a quick few macros in your wordprocessor would make it easy enough to cut and paste. -- Graham Chiu http://www.compkarori.com/cerebrus

 [6/10] from: atruter:labyrinth:au at: 6-Feb-2003 10:22


> IMO memory-footprint should always be as minimal as possible and RT > should continue to work on further reduction of it. Robert
Agreed. For embedded solutions this becomes even more critical. BTW, anyone have memory stats for Core vs Base? SDK might make a difference here. Regards, Ashley

 [7/10] from: greggirwin:mindspring at: 5-Feb-2003 17:32


Hi Ashley, AT> Agreed. For embedded solutions this becomes even more critical. BTW, anyone AT> have memory stats for Core vs Base? SDK might make a difference here. Firing up the console, doing a RECYCLE, then system/stats, I get: View: == 4085056 Core: == 2480376 Face: == 698121 Pro: == 657962 Base: == 577914 -- Gregg

 [8/10] from: gchiu::compkarori::co::nz at: 6-Feb-2003 15:10


On Wed, 05 Feb 2003 09:27:05 +0100 "Hallvard Ystad" <[hallvard--ystad--helpinhand--com]> wrote:
>Now that I look at how much text it took to explain what >I meant, I realize that my solution maybe isn't all the >much better after all. But then, here's another twist to
I've just had another thought prompted by Andrew's comment in the OSX news thread. I could add a web server as part of Cerebrus to allow one to configure Cerebrus through a browser. I was part way through creating a VID interface, but perhaps this would be better. People could then create their own cgi scripts ... but this would break the licensing model that prevents one from distributing a rebol interpreter. -- Graham Chiu http://www.compkarori.com/cerebrus

 [9/10] from: hallvard:ystad:helpinhand at: 6-Feb-2003 9:15


Dixit "Robert M. Muench" <[robert--muench--robertmuench--de]> (Wed, 5 Feb 2003 08:17:22 +0100):
>Hi, sorry I can't agree here. Memeory-Footprint is an >issue and should >always be worked on. That's the spirit of Rebol anyway, >isn't it?
Actually, you got a point. And it is interesting to see how applications like Eudora and Opera, which in many respects are huge compared to rebol, manage with less mem usage than a little rebol app. Is being a server (listening to a port) memory expensive? ~H

 [10/10] from: hallvard:ystad:helpinhand at: 6-Feb-2003 9:12


Dixit "Graham Chiu" <[gchiu--compkarori--co--nz]> (Thu, 06 Feb 2003 08:38:51 +1300):
>Yes there is. As soon Cerebrus detects that the mail >client has droppped the connection, it also closes the >connection. But the problem is occuring while Cerebrus >is in the midst of a large download, and since 'read from >the pop mailbox is synchronous, it must wait till the >'read is completed before checking the connection.
Ah, that explains it. I thought cerebrus didn't notice, but it would have, if simply it had finished the download. Good. ~H

Notes
  • Quoted lines have been omitted from some messages.
    View the message alone to see the lines that have been omitted