[dev] Re: [imp] Re: [dev] notifications and recurring tasks for NAG

Jon Parise jon@csh.rit.edu
Fri, 6 Jul 2001 17:29:15 -0400


On Fri, Jul 06, 2001 at 05:25:42PM -0400, Chuck Hagenbuch wrote:

> Yup. How is that any more icky than the way that IMP currently
> refreshes itself (the mailbox and folder views) every so often?
> I guess it seems to me that having that frame refresh itself is
> the best way to go, and I'm not sure what's icky about that
> solution...?

The "icky" part, in my opinion, is the fact that there will be
times (probably the majority) when the frame will refresh but no
see any new pending events.  It's inefficient, but it's not
really bad design or coding.

-- 
Jon Parise (jon@csh.rit.edu)  .  Rochester Inst. of Technology
http://www.csh.rit.edu/~jon/  :  Computer Science House Member


>From chuck@horde.org Date: Fri,  6 Jul 2001 17:30:56 -0400
Return-Path: <chuck@horde.org>
Mailing-List: contact dev-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list dev@lists.horde.org
Received: (qmail 16455 invoked from network); 6 Jul 2001 21:32:43 -0000
Received: from 208-59-250-206.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com (HELO marina.horde.org) (208.59.250.206)
  by horde.org with SMTP; 6 Jul 2001 21:32:43 -0000
Received: by marina.horde.org (Postfix, from userid 33)
	id 6513439FA; Fri,  6 Jul 2001 17:30:56 -0400 (EDT)
Received: from 206.243.191.252 ( [206.243.191.252])
	as user chuck@localhost by marina.horde.org with HTTP;
	Fri,  6 Jul 2001 17:30:56 -0400
Message-ID: <994455056.3b462e10415dd@marina.horde.org>
Date: Fri,  6 Jul 2001 17:30:56 -0400
From: Chuck Hagenbuch <chuck@horde.org>
To: dev@lists.horde.org
References: <Pine.LNX.4.33.0107051406440.7394-100000@kepler.acns.bethel.edu> <994360461.3b44bc8d14be6@marina.horde.org> <20010706170506.A21249@csh.rit.edu> <994454742.3b462cd62cf0a@marina.horde.org> <20010706172915.E21249@csh.rit.edu>
In-Reply-To: <20010706172915.E21249@csh.rit.edu>
MIME-Version: 1.0
Content-Type: text/plain
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 2.3.7-cvs
Subject: Re: [dev] Re: [imp] Re: [dev] notifications and recurring tasks for NAG

Quoting Jon Parise <jon@csh.rit.edu>:

> The "icky" part, in my opinion, is the fact that there will be
> times (probably the majority) when the frame will refresh but no
> see any new pending events.  It's inefficient, but it's not
> really bad design or coding.

Whether or not it's the majority depends on what events you're monitoring, and 
how much mail you get, how busy your calendar is, etc.

Anyway, given the architecture - disconnected client, ie a web browser - re-
requesting a page like this is the only way we have of polling for new events...

-chuck

--
Charles Hagenbuch, <chuck@horde.org>
Some fallen angels have their good reasons.


>From eculp@EnContacto.Net Date: Sat,  7 Jul 2001 12:08:16 -0700
Return-Path: <eculp@EnContacto.Net>
Mailing-List: contact dev-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list dev@lists.horde.org
Received: (qmail 46351 invoked from network); 7 Jul 2001 19:08:17 -0000
Received: from adsl-63-205-16-205.dsl.mtry01.pacbell.net (HELO EnContacto.Net) (63.205.16.205)
  by horde.org with SMTP; 7 Jul 2001 19:08:17 -0000
Received: (from root@localhost)
	by EnContacto.Net (8.11.4/8.11.4) id f67J8Gn29004
	for dev@lists.horde.org; Sat, 7 Jul 2001 12:08:16 -0700 (PDT)
	(envelope-from eculp@EnContacto.Net)
From: Edwin Culp <eculp@EnContacto.Net>
Received: from 63.205.16.202 ( [63.205.16.202])
	as user eculp@encontacto.net by Mail.SavvyWorld.Net with HTTP;
	Sat,  7 Jul 2001 12:08:16 -0700
Message-ID: <994532896.3b475e20727b0@Mail.SavvyWorld.Net>
Date: Sat,  7 Jul 2001 12:08:16 -0700
To: dev@lists.horde.org
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 2.3.7-cvs
X-Originating-IP: 63.205.16.202
Subject: Error in message.php line 396 when there is no subject

I had planned to send this without a subject to demonstrate the problem,
but the list is smarter than I and wouldn't accept it :-). 
With the latest cvs I get an error message when the email has no subject 
from message.php line 396:

    $ob->name = urlencode($h->subject);

As a temporary solution, I just wrapped it in a conditional that checks 
the length and it solves the problem but this isn't a proper fix and I 
didn't trace back to try and find where it should be set if it is sent
blank.

Thanks,

ed

 ----------------------------------------------------------------------- 
        The illiterate of the 21st century will not be 
              those who cannot read and write, 
        but those who cannot learn, unlearn and relearn. 
                                                 --Alvin Toffler