Re: Events (I think we need a new name)

2004-05-14 Thread Clark C. Evans
On Wed, May 12, 2004 at 06:15:54PM +0200, K Stol wrote:
| It does, though, sound like we might want an alternate name for this 
| stuff. While event is the right thing in some places it isn't in 
| others (like the whole attribute/property mess) we may be well-served 
| choosing another name. I'm open to suggestions here...
| 
| The system sends a 'message' to the user program, telling it has 
| finished (for example) Disk I/O.

The aged Windows API does things as 'message queues'.  Windows keeps a
message queue for every running application.  An application calls
GetMessage to retrieve each message.  As I recall, each message is a
triple: a message-code, a word-parameter, and a long-parameter which is
often a pointer when the simple word-parameter is not sufficient.  An
application then can choose to pass-up on the message, leading to a
default implementation by calling DispatchMessage.   It can also
PostMessage to add a message to a particular application/thread's event
queue.   SendMessage is the blocking version of PostMessage.

Anyway, if this is close to what you mean by 'event', then I'd consider
calling it a 'message' and lifting as must of the Windows message-queue
design pattern as seems appropriate.

Clark


RE: Events (I think we need a new name)

2004-05-14 Thread Butler, Gerald
How about: tocsin

toc.sin( P )  Pronunciation Key  (tksn)
n. 

An alarm sounded on a bell. 
A bell used to sound an alarm. 
A warning; an omen. 


-Original Message-
From: Gordon Henriksen [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 13, 2004 2:52 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: RE: Events (I think we need a new name)


Matt Fowles wrote:

 I think Page already has a different meaning in computers, 
 namely a page of memory.

Not to mention a web page.

 For what it is worth, I support event as the name.

Being as I think I'm largely responsible for the sense that the name
needs to be changed, I should point out that I do actually support
calling these events--so long as they're modified to play nice with OS
event loops. Upon reflection, that just requires a means to
synchronously dispatch an event to a handler chain from a C callback.

-- 

Gordon Henriksen
IT Manager
ICLUBcentral Inc.
[EMAIL PROTECTED]


 The information contained in this e-mail message is privileged and/or
 confidential and is intended only for the use of the individual or entity
 named above.  If the reader of this message is not the intended recipient,
 or the employee or agent responsible to deliver it to the intended 
 recipient, you are hereby notified that any dissemination, distribution or 
 copying of this communication is strictly prohibited.  If you have received 
 this communication in error, please immediately notify us by telephone
 (330-668-5000), and destroy the original message.  Thank you.  




RE: Events (I think we need a new name)

2004-05-14 Thread Rachwal Waldemar-AWR001
It seems the name 'event' is not as bad. So, maybe 'Pevent', stands for 'parrot event'?
One advantage... it'd be easy searchable. I recall a pain whenever I searched for 
'thread', or 'Icon'.
Regards,
Waldemar

-Original Message-
From: Dan Sugalski [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, May 12, 2004 6:08 PM
To: [EMAIL PROTECTED]
Subject: Events (I think we need a new name)


Okay, so I'm working on redoing the events document based on the 
critiques from folks so far. (Which have been quite helpful) I should 
have a second draft of the thing soon.

It does, though, sound like we might want an alternate name for this 
stuff. While event is the right thing in some places it isn't in 
others (like the whole attribute/property mess) we may be well-served 
choosing another name. I'm open to suggestions here...
-- 
 Dan

--it's like this---
Dan Sugalski  even samurai
[EMAIL PROTECTED] have teddy bears and even
   teddy bears get drunk


RE: Events (I think we need a new name) - Parcel?

2004-05-14 Thread Butler, Gerald
I LOVE IT: PARrot Container for Event Lobbing!!!

-Original Message-
From: Andy Wardley [mailto:[EMAIL PROTECTED]
Sent: Friday, May 14, 2004 7:36 AM
To: Butler, Gerald
Cc: 'Gordon Henriksen'; '[EMAIL PROTECTED]';
'[EMAIL PROTECTED]'
Subject: Re: Events (I think we need a new name) - Parcel?


Butler, Gerald wrote:
 How about: tocsin

[...thinking out loud...]

I'm not sure it's a good idea to use an obscure word, even if it is
appropriate to the usage.  It should be a word that the average user
would recognise, and hopefully be able to intuit some sense of what it
does.

How about Parcel?  

Like Packet and Message it provides a sense of what it is doing.
The metaphor extends to sending and receiving parcels, wrapping and 
unwrapping them, and so on.

On a more trivial note, the first three letters make it a prime 
candidate for a corny acronym:

   PARrot Communication Event Layer
   PARrot Container for Event Lobbing
   PARrot Commissioner for Event Liaison

A



 The information contained in this e-mail message is privileged and/or
 confidential and is intended only for the use of the individual or entity
 named above.  If the reader of this message is not the intended recipient,
 or the employee or agent responsible to deliver it to the intended 
 recipient, you are hereby notified that any dissemination, distribution or 
 copying of this communication is strictly prohibited.  If you have received 
 this communication in error, please immediately notify us by telephone
 (330-668-5000), and destroy the original message.  Thank you.  




Re: Events (I think we need a new name) - Parcel?

2004-05-14 Thread Andy Wardley
Butler, Gerald wrote:
 How about: tocsin

[...thinking out loud...]

I'm not sure it's a good idea to use an obscure word, even if it is
appropriate to the usage.  It should be a word that the average user
would recognise, and hopefully be able to intuit some sense of what it
does.

How about Parcel?  

Like Packet and Message it provides a sense of what it is doing.
The metaphor extends to sending and receiving parcels, wrapping and 
unwrapping them, and so on.

On a more trivial note, the first three letters make it a prime 
candidate for a corny acronym:

   PARrot Communication Event Layer
   PARrot Container for Event Lobbing
   PARrot Commissioner for Event Liaison

A



RE: Events (I think we need a new name)

2004-05-14 Thread Aaron Sherman
On Fri, 2004-05-14 at 06:27, Rachwal Waldemar-AWR001 wrote:
 It seems the name 'event' is not as bad. So, maybe 'Pevent', stands for 'parrot 
 event'?
 One advantage... it'd be easy searchable. I recall a pain whenever I searched for 
 'thread', or 'Icon'.

If you're talking about search engines, then of course parrot event
works just fine. If you're talking about searching your code, then
that's another matter.

-- 
Aaron Sherman [EMAIL PROTECTED]
Senior Systems Engineer and Toolsmith
It's the sound of a satellite saying, 'get me down!' -Shriekback




Re: Events (I think we need a new name)

2004-05-13 Thread James Mastros
Dan Sugalski wrote:
Okay, so I'm working on redoing the events document based on the 
critiques from folks so far. (Which have been quite helpful) I should 
have a second draft of the thing soon.

It does, though, sound like we might want an alternate name for this 
stuff. While event is the right thing in some places it isn't in others 
(like the whole attribute/property mess) we may be well-served choosing 
another name. I'm open to suggestions here...
Page?  It's overloaded, but only in ways that should be 
context-disambaguatable.  AFAIK it has no similar meaning in a technical 
sense, but does in a lay sense (it's what you get over the PA system, or 
on your pager).  When you're the boss, you can say read this file for 
me, and send me a page as soon as you're done.  When you're the grunt, 
you get paged whenever somebody wants you to do something.  When you've 
really p... annoyed somebody, they might send you a page every 3 
minutes, on the dot.

You can send pages, you can receive them.  Sometimes they're solicited, 
and you know they're comming.  You can even ask for a wake-up page.

Oh, and if your pager is set to vibrate, and you aren't wearing it, you 
need to check every so often, or you'll miss pages.

	-=- James Mastros


Re: Events (I think we need a new name)

2004-05-13 Thread Matt Fowles
All~

I think Page already has a different meaning in computers, namely a page 
of memory. This one might be going to far afield for names.  For what it 
is worth, I support event as the name.

Matt

James Mastros wrote:
Dan Sugalski wrote:

Okay, so I'm working on redoing the events document based on the 
critiques from folks so far. (Which have been quite helpful) I should 
have a second draft of the thing soon.

It does, though, sound like we might want an alternate name for this 
stuff. While event is the right thing in some places it isn't in 
others (like the whole attribute/property mess) we may be well-served 
choosing another name. I'm open to suggestions here...
Page?  It's overloaded, but only in ways that should be 
context-disambaguatable.  AFAIK it has no similar meaning in a technical 
sense, but does in a lay sense (it's what you get over the PA system, or 
on your pager).  When you're the boss, you can say read this file for 
me, and send me a page as soon as you're done.  When you're the grunt, 
you get paged whenever somebody wants you to do something.  When you've 
really p... annoyed somebody, they might send you a page every 3 
minutes, on the dot.

You can send pages, you can receive them.  Sometimes they're solicited, 
and you know they're comming.  You can even ask for a wake-up page.

Oh, and if your pager is set to vibrate, and you aren't wearing it, you 
need to check every so often, or you'll miss pages.

-=- James Mastros



RE: Events (I think we need a new name)

2004-05-13 Thread Gordon Henriksen
Matt Fowles wrote:

 I think Page already has a different meaning in computers, 
 namely a page of memory.

Not to mention a web page.

 For what it is worth, I support event as the name.

Being as I think I'm largely responsible for the sense that the name
needs to be changed, I should point out that I do actually support
calling these events--so long as they're modified to play nice with OS
event loops. Upon reflection, that just requires a means to
synchronously dispatch an event to a handler chain from a C callback.

-- 

Gordon Henriksen
IT Manager
ICLUBcentral Inc.
[EMAIL PROTECTED]



Re: Events (I think we need a new name)

2004-05-13 Thread Michael Scott
On 12 May 2004, at 17:38, Brent 'Dax' Royal-Gordon wrote:

 It's Parrot telling you that something happened.
Squawk?

Mike



Events (I think we need a new name)

2004-05-12 Thread Dan Sugalski
Okay, so I'm working on redoing the events document based on the 
critiques from folks so far. (Which have been quite helpful) I should 
have a second draft of the thing soon.

It does, though, sound like we might want an alternate name for this 
stuff. While event is the right thing in some places it isn't in 
others (like the whole attribute/property mess) we may be well-served 
choosing another name. I'm open to suggestions here...
--
Dan

--it's like this---
Dan Sugalski  even samurai
[EMAIL PROTECTED] have teddy bears and even
  teddy bears get drunk


Re: Events (I think we need a new name)

2004-05-12 Thread K Stol
Dan Sugalski wrote:

Okay, so I'm working on redoing the events document based on the 
critiques from folks so far. (Which have been quite helpful) I should 
have a second draft of the thing soon.

It does, though, sound like we might want an alternate name for this 
stuff. While event is the right thing in some places it isn't in 
others (like the whole attribute/property mess) we may be well-served 
choosing another name. I'm open to suggestions here...
I was thinking of message:
The system sends a 'message' to the user program, telling it has 
finished (for example) Disk I/O.
but oh well, that may introduce yet another name collission (in 
networking terms).

Just a thought :-)

Klaas-Jan



Re: Events (I think we need a new name)

2004-05-12 Thread Brent 'Dax' Royal-Gordon
Dan Sugalski wrote:
It does, though, sound like we might want an alternate name for this 
stuff. While event is the right thing in some places it isn't in others 
(like the whole attribute/property mess) we may be well-served choosing 
another name. I'm open to suggestions here...
Notice?  (Too similar to 'notification'?)
Message?  (Don't really like it, and the term's loaded by ObjC, etc.)
Announcement?
Really, though, these sound like events to me.  It's Parrot telling you 
that something happened.  That's an event in my mind.

--
Brent Dax Royal-Gordon [EMAIL PROTECTED]
Perl and Parrot hacker
Oceania has always been at war with Eastasia.


RE: Events (I think we need a new name)

2004-05-12 Thread Gay, Jerry
Dan Sugalski wrote:
 It does, though, sound like we might want an alternate name for this 
 stuff. While event is the right thing in some places it isn't in others 
 (like the whole attribute/property mess) we may be well-served choosing 
 another name. I'm open to suggestions here...
 

incident? it's synonymous with event, but it's not usually something of
importance. also synonymous with problem in business-speak.


occurrence? it doesn't roll off the tongue, but i think of an event as an
occurrence worth mentioning, an important occurrence.

~jerry



** 
This e-mail and any files transmitted with it may contain privileged or 
confidential information. It is solely for use by the individual for whom 
it is intended, even if addressed incorrectly. If you received this e-mail 
in error, please notify the sender; do not disclose, copy, distribute, or 
take any action in reliance on the contents of this information; and delete 
it from your system. Any other use of this e-mail is prohibited. Thank you 
for your compliance.





Re: Events (I think we need a new name)

2004-05-12 Thread Aaron Sherman
On Wed, 2004-05-12 at 12:08, Dan Sugalski wrote:

 It does, though, sound like we might want an alternate name for this 
 stuff. While event is the right thing in some places it isn't in 
 others (like the whole attribute/property mess) we may be well-served 
 choosing another name. I'm open to suggestions here...

How about skippy?

Seriously, I would say that event is about as abstract as it comes. Even
the proposed message is, in some ways, LESS abstract.

What's the specific sort of case events don't seem to cover? The setting
of a property?

-- 
Aaron Sherman [EMAIL PROTECTED]
Senior Systems Engineer and Toolsmith
It's the sound of a satellite saying, 'get me down!' -Shriekback




Re: Events (I think we need a new name)

2004-05-12 Thread Tim Bunce
On Wed, May 12, 2004 at 12:08:08PM -0400, Dan Sugalski wrote:
 Okay, so I'm working on redoing the events document based on the 
 critiques from folks so far. (Which have been quite helpful) I should 
 have a second draft of the thing soon.
 
 It does, though, sound like we might want an alternate name for this 
 stuff. While event is the right thing in some places it isn't in 
 others (like the whole attribute/property mess) we may be well-served 
 choosing another name. I'm open to suggestions here...

I suggest hap.http://dictionary.reference.com/search?q=hap

Tim.

7 entries found for hap.

hap( P )  Pronunciation Key  (hp)
n.
   1. Fortune; chance.
   2. A happening; an occurrence.


intr.v. happed, hap·ping, haps

To happen.


[Middle English, from Old Norse happ. See kob- in Indo-European Roots.]

Source: The American Heritage® Dictionary of the English Language, Fourth Edition

hap

\Hap\, v. t. [OE. happen.] To clothe; to wrap.

The surgeon happed her up carefully. --Dr. J. Brown.

Source: Webster's Revised Unabridged Dictionary, © 1996, 1998 MICRA, Inc.

hap

\Hap\, n. [Cf. Hap to clothe.] A cloak or plaid. [O. Eng.  Scot.]

Source: Webster's Revised Unabridged Dictionary, © 1996, 1998 MICRA, Inc.

hap

\Hap\, n. [Icel. happ unexpected good luck. [root]39.] That which happens or comes 
suddenly or unexpectedly; also, the manner of occurrence or taking place; chance; 
fortune; accident; casual event; fate; luck; lot. --Chaucer.

Whether art it was or heedless hap. --Spenser.

Cursed be good haps, and cursed be they that build Their hopes on haps. --Sir P. 
Sidney.

Loving goes by haps: Some Cupid kills with arrows, some with traps. --Shak.

Source: Webster's Revised Unabridged Dictionary, © 1996, 1998 MICRA, Inc.

hap

\Hap\, v. i. [OE. happen. See Hap chance, and cf. Happen.] To happen; to befall; to 
chance. --Chaucer.

Sends word of all that haps in Tyre. --Shak.

Source: Webster's Revised Unabridged Dictionary, © 1996, 1998 MICRA, Inc.

hap

n : an accidental happening; he recorded all the little haps and mishaps of his life 
v : come to pass; occur: What is happening?; The meeting took place off without an 
incidence; Nothing occurred that seemed important [syn: happen, go on, pass off, 
occur, pass, come about, take place]

Source: WordNet ® 1.6, © 1997 Princeton University