<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hi David,<br>
<br>
I was completely mislead by "broadcast". Hardware guy :-))<br>
<br>
But whether you use announcements or the ages old dependency
mechanism (look for changed and update and friends) it means you
first will have to register to receive the updates, announcements,
events ...<br>
<br>
Later some object will just iterate over your collection. Usually
using a framework tends to slow things down a bit but makes things
clearer if the framework is the right choice for your task.<br>
<br>
But go for clarity first then use the profiler then optimise. Sounds
like I'm repeating Casey here. Well, it's worth repeating :-)<br>
<br>
Cheers<br>
<br>
Herbert<br>
<br>
<br>
<br>
<div class="moz-cite-prefix">Am 28.12.2013 06:57, schrieb David
Holiday:<br>
</div>
<blockquote
cite="mid:5777DDC8-40C5-4D86-A0A0-F5A23FB73833@rohan.sdsu.edu"
type="cite">oops - disregard on the dead link. turns out my
internet connection got wonky :-p<br>
<div apple-content-edited="true">
<span class="Apple-style-span" style="border-collapse: separate;
color: rgb(0, 0, 0); font-family: Helvetica; font-style:
normal; font-variant: normal; font-weight: normal;
letter-spacing: normal; line-height: normal; orphans: 2;
text-align: -webkit-auto; text-indent: 0px; text-transform:
none; white-space: normal; widows: 2; word-spacing: 0px;
-webkit-border-horizontal-spacing: 0px;
-webkit-border-vertical-spacing: 0px;
-webkit-text-decorations-in-effect: none;
-webkit-text-size-adjust: auto; -webkit-text-stroke-width:
0px; font-size: medium; "><span class="Apple-style-span"
style="border-collapse: separate; color: rgb(0, 0, 0);
font-family: Helvetica; font-style: normal; font-variant:
normal; font-weight: normal; letter-spacing: normal;
line-height: normal; orphans: 2; text-align: -webkit-auto;
text-indent: 0px; text-transform: none; white-space: normal;
widows: 2; word-spacing: 0px;
-webkit-border-horizontal-spacing: 0px;
-webkit-border-vertical-spacing: 0px;
-webkit-text-decorations-in-effect: none;
-webkit-text-size-adjust: auto; -webkit-text-stroke-width:
0px; font-size: medium; ">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space;
-webkit-line-break: after-white-space; "><span
class="Apple-style-span" style="border-collapse:
separate; color: rgb(0, 0, 0); font-family: Helvetica;
font-style: normal; font-variant: normal; font-weight:
normal; letter-spacing: normal; line-height: normal;
orphans: 2; text-align: -webkit-auto; text-indent: 0px;
text-transform: none; white-space: normal; widows: 2;
word-spacing: 0px; -webkit-border-horizontal-spacing:
0px; -webkit-border-vertical-spacing: 0px;
-webkit-text-decorations-in-effect: none;
-webkit-text-size-adjust: auto;
-webkit-text-stroke-width: 0px; font-size: medium; "><span
class="Apple-style-span" style="border-collapse:
separate; color: rgb(0, 0, 0); font-family: Helvetica;
font-style: normal; font-variant: normal; font-weight:
normal; letter-spacing: normal; line-height: normal;
orphans: 2; text-align: -webkit-auto; text-indent:
0px; text-transform: none; white-space: normal;
widows: 2; word-spacing: 0px;
-webkit-border-horizontal-spacing: 0px;
-webkit-border-vertical-spacing: 0px;
-webkit-text-decorations-in-effect: none;
-webkit-text-size-adjust: auto;
-webkit-text-stroke-width: 0px; font-size: medium; ">
<div style="word-wrap: break-word; -webkit-nbsp-mode:
space; -webkit-line-break: after-white-space; "><span
class="Apple-style-span" style="border-collapse:
separate; color: rgb(0, 0, 0); font-family:
Helvetica; font-style: normal; font-variant:
normal; font-weight: normal; letter-spacing:
normal; line-height: normal; orphans: 2;
text-align: -webkit-auto; text-indent: 0px;
text-transform: none; white-space: normal; widows:
2; word-spacing: 0px;
-webkit-border-horizontal-spacing: 0px;
-webkit-border-vertical-spacing: 0px;
-webkit-text-decorations-in-effect: none;
-webkit-text-size-adjust: auto;
-webkit-text-stroke-width: 0px; font-size: medium;
">
<div style="word-wrap: break-word;
-webkit-nbsp-mode: space; -webkit-line-break:
after-white-space; ">
<div><br class="Apple-interchange-newline">
<br>
</div>
<div>David Holiday <br>
-------------------------------------------------</div>
<div>San Diego State University</div>
<div><a moz-do-not-send="true"
href="mailto:neuburge@rohan.sdsu.edu">neuburge@rohan.sdsu.edu</a><br>
<br>
</div>
<div><br>
</div>
</div>
</span><br class="Apple-interchange-newline">
</div>
</span><br class="Apple-interchange-newline">
</span><br class="Apple-interchange-newline">
</div>
</span></span>
</div>
<br>
<div>
<div>On Dec 27, 2013, at 6:11 PM, <a moz-do-not-send="true"
href="mailto:beginners-request@lists.squeakfoundation.org">beginners-request@lists.squeakfoundation.org</a>
wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">
<div>Send Beginners mailing list submissions to<br>
<span class="Apple-tab-span" style="white-space:pre"> </span><a
moz-do-not-send="true"
href="mailto:beginners@lists.squeakfoundation.org">beginners@lists.squeakfoundation.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
<span class="Apple-tab-span" style="white-space:pre"> </span><a class="moz-txt-link-freetext" href="http://lists.squeakfoundation.org/mailman/listinfo/beginners">http://lists.squeakfoundation.org/mailman/listinfo/beginners</a><br>
or, via email, send a message with subject or body 'help' to<br>
<span class="Apple-tab-span" style="white-space:pre"> </span><a class="moz-txt-link-abbreviated" href="mailto:beginners-request@lists.squeakfoundation.org">beginners-request@lists.squeakfoundation.org</a><br>
<br>
You can reach the person managing the list at<br>
<span class="Apple-tab-span" style="white-space:pre"> </span><a class="moz-txt-link-abbreviated" href="mailto:beginners-owner@lists.squeakfoundation.org">beginners-owner@lists.squeakfoundation.org</a><br>
<br>
When replying, please edit your Subject line so it is more
specific<br>
than "Re: Contents of Beginners digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
1. Re: Is There A Tutorial for People Who Have Never<span
class="Apple-tab-span" style="white-space:pre"> </span>Programmed?<br>
(Herbert K?nig)<br>
2. Is there a way to broadcast messages to more than one<br>
recipient? (David Holiday)<br>
3. Re: Is there a way to broadcast messages to more than
one<br>
recipient? (Herbert K?nig)<br>
4. Re: Is there a way to broadcast messages to more than
one<br>
recipient? (Casey Ransberger)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Fri, 27 Dec 2013 13:53:29 +0100<br>
From: Herbert K?nig <a class="moz-txt-link-rfc2396E" href="mailto:herbertkoenig@gmx.net"><herbertkoenig@gmx.net></a><br>
Subject: Re: [Newbies] Is There A Tutorial for People Who
Have Never<br>
<span class="Apple-tab-span" style="white-space:pre"> </span>Programmed?<br>
To: <a class="moz-txt-link-abbreviated" href="mailto:beginners@lists.squeakfoundation.org">beginners@lists.squeakfoundation.org</a><br>
Message-ID: <a class="moz-txt-link-rfc2396E" href="mailto:52BD7849.4070002@gmx.net"><52BD7849.4070002@gmx.net></a><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
Hello William,<br>
<br>
there is a book named "Learn programming with robots" which
is aimed at <br>
teaching programming with Squeak.<br>
The book can be obtained via Amazon and google turned up
this page for <br>
download.<br>
<a class="moz-txt-link-freetext" href="https://gforge.inria.fr/frs/download.php/10764/BotsInc-OriginalEnglish.pdf">https://gforge.inria.fr/frs/download.php/10764/BotsInc-OriginalEnglish.pdf</a><br>
<br>
Then there is Squeak by example which is meant to teach
Squeak but <br>
assumes some programming experience.<br>
<br>
In both cases find the accompanying Squeak images. This is
because <br>
Squeak evolves and for newcomers it's important that the
examples just <br>
work. Although finding out why an example did not work is a
great <br>
learning achievement people are usually good at providing
enough not <br>
working examples for themselves. :-)<br>
<br>
The site Casey recommended is a great resource, it can be
found here.<br>
<a class="moz-txt-link-freetext" href="http://stephane.ducasse.free.fr/FreeBooks.html">http://stephane.ducasse.free.fr/FreeBooks.html</a><br>
<br>
But you have to be a bit careful because of the differences
in Smalltalk <br>
dialects. Which means not every example will work unmodified
in a <br>
current Squeak image.<br>
<br>
Other than that there are Etoys and Scratch which are based
on Squeak <br>
but provide a graphical introduction (tile programming) into
programming.<br>
<br>
And finding an answer to Casey's question, a project that
interests you, <br>
may get you some more results.<br>
<br>
Cheers,<br>
<br>
Herbert<br>
<br>
Am 27.12.2013 06:44, schrieb william murphy:<br>
<blockquote type="cite">Hello,<br>
</blockquote>
<blockquote type="cite"><br>
</blockquote>
<blockquote type="cite">If I have never programmed before
but want to learn to program with <br>
</blockquote>
<blockquote type="cite">Squeak, which tutorial should I
read?<br>
</blockquote>
<blockquote type="cite"><br>
</blockquote>
<blockquote type="cite">Thank you,<br>
</blockquote>
<blockquote type="cite"><br>
</blockquote>
<blockquote type="cite">Will<br>
</blockquote>
<blockquote type="cite"><br>
</blockquote>
<blockquote type="cite"><br>
</blockquote>
<blockquote type="cite">_______________________________________________<br>
</blockquote>
<blockquote type="cite">Beginners mailing list<br>
</blockquote>
<blockquote type="cite"><a class="moz-txt-link-abbreviated" href="mailto:Beginners@lists.squeakfoundation.org">Beginners@lists.squeakfoundation.org</a><br>
</blockquote>
<blockquote type="cite"><a class="moz-txt-link-freetext" href="http://lists.squeakfoundation.org/mailman/listinfo/beginners">http://lists.squeakfoundation.org/mailman/listinfo/beginners</a><br>
</blockquote>
<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL:
<a class="moz-txt-link-freetext" href="http://lists.squeakfoundation.org/pipermail/beginners/attachments/20131227/f1494542/attachment-0001.htm">http://lists.squeakfoundation.org/pipermail/beginners/attachments/20131227/f1494542/attachment-0001.htm</a><br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Fri, 27 Dec 2013 11:15:57 -0800<br>
From: David Holiday <a class="moz-txt-link-rfc2396E" href="mailto:neuburge@rohan.sdsu.edu"><neuburge@rohan.sdsu.edu></a><br>
Subject: [Newbies] Is there a way to broadcast messages to
more than<br>
<span class="Apple-tab-span" style="white-space:pre"> </span>one<span
class="Apple-tab-span" style="white-space:pre"> </span>recipient?<br>
To: <a class="moz-txt-link-abbreviated" href="mailto:beginners@lists.squeakfoundation.org">beginners@lists.squeakfoundation.org</a><br>
Message-ID:
<a class="moz-txt-link-rfc2396E" href="mailto:35B9F01C-8A1B-40FD-B78B-90BEB495367C@rohan.sdsu.edu"><35B9F01C-8A1B-40FD-B78B-90BEB495367C@rohan.sdsu.edu></a><br>
Content-Type: text/plain; charset="us-ascii"<br>
<br>
As far as I can tell, messages have to be directed at a
single recipient. Is this the case or, for example, is it
possible to blast a message to every member of an Array at
the same time? <br>
<br>
<br>
David Holiday <br>
-------------------------------------------------<br>
San Diego State University<br>
<a class="moz-txt-link-abbreviated" href="mailto:neuburge@rohan.sdsu.edu">neuburge@rohan.sdsu.edu</a><br>
<br>
<br>
<br>
<br>
<br>
<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL:
<a class="moz-txt-link-freetext" href="http://lists.squeakfoundation.org/pipermail/beginners/attachments/20131227/c5715766/attachment-0001.htm">http://lists.squeakfoundation.org/pipermail/beginners/attachments/20131227/c5715766/attachment-0001.htm</a><br>
<br>
------------------------------<br>
<br>
Message: 3<br>
Date: Fri, 27 Dec 2013 20:44:12 +0100<br>
From: Herbert K?nig <a class="moz-txt-link-rfc2396E" href="mailto:herbertkoenig@gmx.net"><herbertkoenig@gmx.net></a><br>
Subject: Re: [Newbies] Is there a way to broadcast messages
to more<br>
<span class="Apple-tab-span" style="white-space:pre"> </span>than
one<span class="Apple-tab-span" style="white-space:pre"> </span>recipient?<br>
To: <a class="moz-txt-link-abbreviated" href="mailto:beginners@lists.squeakfoundation.org">beginners@lists.squeakfoundation.org</a><br>
Message-ID: <a class="moz-txt-link-rfc2396E" href="mailto:52BDD88C.7060105@gmx.net"><52BDD88C.7060105@gmx.net></a><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
Hi David,<br>
<br>
short answer:<br>
anArray do: [:each| each message].<br>
<br>
One of the things to learn about Smalltalk is it's rich
collection protocol.<br>
<br>
The fact that I use do: might hint that I should reread the
protocol of <br>
collections, there maybe something more elegant :-))<br>
<br>
Cheers<br>
<br>
Herbert<br>
<br>
Am 27.12.2013 20:15, schrieb David Holiday:<br>
<blockquote type="cite">As far as I can tell, messages have
to be directed at a single <br>
</blockquote>
<blockquote type="cite">recipient. Is this the case or, for
example, is it possible to blast a <br>
</blockquote>
<blockquote type="cite">message to every member of an Array
at the same time?<br>
</blockquote>
<blockquote type="cite"><br>
</blockquote>
<blockquote type="cite"><br>
</blockquote>
<blockquote type="cite">David Holiday<br>
</blockquote>
<blockquote type="cite">-------------------------------------------------<br>
</blockquote>
<blockquote type="cite">San Diego State University<br>
</blockquote>
<blockquote type="cite"><a class="moz-txt-link-abbreviated" href="mailto:neuburge@rohan.sdsu.edu">neuburge@rohan.sdsu.edu</a>
<a class="moz-txt-link-rfc2396E" href="mailto:neuburge@rohan.sdsu.edu"><mailto:neuburge@rohan.sdsu.edu></a><br>
</blockquote>
<blockquote type="cite"><br>
</blockquote>
<blockquote type="cite"><br>
</blockquote>
<blockquote type="cite"><br>
</blockquote>
<blockquote type="cite"><br>
</blockquote>
<blockquote type="cite"><br>
</blockquote>
<blockquote type="cite"><br>
</blockquote>
<blockquote type="cite"><br>
</blockquote>
<blockquote type="cite"><br>
</blockquote>
<blockquote type="cite">_______________________________________________<br>
</blockquote>
<blockquote type="cite">Beginners mailing list<br>
</blockquote>
<blockquote type="cite"><a class="moz-txt-link-abbreviated" href="mailto:Beginners@lists.squeakfoundation.org">Beginners@lists.squeakfoundation.org</a><br>
</blockquote>
<blockquote type="cite"><a class="moz-txt-link-freetext" href="http://lists.squeakfoundation.org/mailman/listinfo/beginners">http://lists.squeakfoundation.org/mailman/listinfo/beginners</a><br>
</blockquote>
<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL:
<a class="moz-txt-link-freetext" href="http://lists.squeakfoundation.org/pipermail/beginners/attachments/20131227/bba8afda/attachment-0001.htm">http://lists.squeakfoundation.org/pipermail/beginners/attachments/20131227/bba8afda/attachment-0001.htm</a><br>
<br>
------------------------------<br>
<br>
Message: 4<br>
Date: Fri, 27 Dec 2013 18:11:31 -0800<br>
From: Casey Ransberger <a class="moz-txt-link-rfc2396E" href="mailto:casey.obrien.r@gmail.com"><casey.obrien.r@gmail.com></a><br>
Subject: Re: [Newbies] Is there a way to broadcast messages
to more<br>
<span class="Apple-tab-span" style="white-space:pre"> </span>than
one<span class="Apple-tab-span" style="white-space:pre"> </span>recipient?<br>
To: "A friendly place to get answers to even the most basic
questions<br>
<span class="Apple-tab-span" style="white-space:pre"> </span>about<span
class="Apple-tab-span" style="white-space:pre"> </span>Squeak."
<a class="moz-txt-link-rfc2396E" href="mailto:beginners@lists.squeakfoundation.org"><beginners@lists.squeakfoundation.org></a><br>
Message-ID:<br>
<span class="Apple-tab-span" style="white-space:pre"> </span><a class="moz-txt-link-rfc2396E" href="mailto:CACemAZciouy6aRYTjtU8hMRWKo6f-NCby07Z+DD0RPnzGhM5XA@mail.gmail.com"><CACemAZciouy6aRYTjtU8hMRWKo6f-NCby07Z+DD0RPnzGhM5XA@mail.gmail.com></a><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
I think I heard about something like what you seem to want a
bit ago called<br>
Announcements. Objects can "sign up" to be notified of a
particular event.<br>
I dug up a wiki page about it.<br>
<br>
<a class="moz-txt-link-freetext" href="http://wiki.squeak.org/squeak/5734">http://wiki.squeak.org/squeak/5734</a><br>
<br>
Hope this helps,<br>
<br>
Casey<br>
<br>
<br>
On Fri, Dec 27, 2013 at 11:44 AM, Herbert König
<a class="moz-txt-link-rfc2396E" href="mailto:herbertkoenig@gmx.net"><herbertkoenig@gmx.net></a>wrote:<br>
<br>
<blockquote type="cite"> Hi David,<br>
</blockquote>
<blockquote type="cite"><br>
</blockquote>
<blockquote type="cite">short answer:<br>
</blockquote>
<blockquote type="cite">anArray do: [:each| each message].<br>
</blockquote>
<blockquote type="cite"><br>
</blockquote>
<blockquote type="cite">One of the things to learn about
Smalltalk is it's rich collection<br>
</blockquote>
<blockquote type="cite">protocol.<br>
</blockquote>
<blockquote type="cite"><br>
</blockquote>
<blockquote type="cite">The fact that I use do: might hint
that I should reread the protocol of<br>
</blockquote>
<blockquote type="cite">collections, there maybe something
more elegant :-))<br>
</blockquote>
<blockquote type="cite"><br>
</blockquote>
<blockquote type="cite">Cheers<br>
</blockquote>
<blockquote type="cite"><br>
</blockquote>
<blockquote type="cite">Herbert<br>
</blockquote>
<blockquote type="cite"><br>
</blockquote>
<blockquote type="cite">Am 27.12.2013 20:15, schrieb David
Holiday:<br>
</blockquote>
<blockquote type="cite"><br>
</blockquote>
<blockquote type="cite">As far as I can tell, messages have
to be directed at a single recipient.<br>
</blockquote>
<blockquote type="cite">Is this the case or, for example, is
it possible to blast a message to<br>
</blockquote>
<blockquote type="cite">every member of an Array at the same
time?<br>
</blockquote>
<blockquote type="cite"><br>
</blockquote>
<blockquote type="cite"><br>
</blockquote>
<blockquote type="cite"> David Holiday<br>
</blockquote>
<blockquote type="cite">-------------------------------------------------<br>
</blockquote>
<blockquote type="cite">San Diego State University<br>
</blockquote>
<blockquote type="cite"><a class="moz-txt-link-abbreviated" href="mailto:neuburge@rohan.sdsu.edu">neuburge@rohan.sdsu.edu</a><br>
</blockquote>
<blockquote type="cite"><br>
</blockquote>
<blockquote type="cite"><br>
</blockquote>
<blockquote type="cite"><br>
</blockquote>
<blockquote type="cite"><br>
</blockquote>
<blockquote type="cite"><br>
</blockquote>
<blockquote type="cite"><br>
</blockquote>
<blockquote type="cite"><br>
</blockquote>
<blockquote type="cite"><br>
</blockquote>
<blockquote type="cite">_______________________________________________<br>
</blockquote>
<blockquote type="cite">Beginners mailing
<a class="moz-txt-link-abbreviated" href="mailto:listBeginners@lists.squeakfoundation.orghttp://lists.squeakfoundation.org/mailman/listinfo/beginners">listBeginners@lists.squeakfoundation.orghttp://lists.squeakfoundation.org/mailman/listinfo/beginners</a><br>
</blockquote>
<blockquote type="cite"><br>
</blockquote>
<blockquote type="cite"><br>
</blockquote>
<blockquote type="cite"><br>
</blockquote>
<blockquote type="cite">_______________________________________________<br>
</blockquote>
<blockquote type="cite">Beginners mailing list<br>
</blockquote>
<blockquote type="cite"><a class="moz-txt-link-abbreviated" href="mailto:Beginners@lists.squeakfoundation.org">Beginners@lists.squeakfoundation.org</a><br>
</blockquote>
<blockquote type="cite"><a class="moz-txt-link-freetext" href="http://lists.squeakfoundation.org/mailman/listinfo/beginners">http://lists.squeakfoundation.org/mailman/listinfo/beginners</a><br>
</blockquote>
<blockquote type="cite"><br>
</blockquote>
<blockquote type="cite"><br>
</blockquote>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL:
<a class="moz-txt-link-freetext" href="http://lists.squeakfoundation.org/pipermail/beginners/attachments/20131227/18d53e55/attachment.htm">http://lists.squeakfoundation.org/pipermail/beginners/attachments/20131227/18d53e55/attachment.htm</a><br>
<br>
------------------------------<br>
<br>
_______________________________________________<br>
Beginners mailing list<br>
<a class="moz-txt-link-abbreviated" href="mailto:Beginners@lists.squeakfoundation.org">Beginners@lists.squeakfoundation.org</a><br>
<a class="moz-txt-link-freetext" href="http://lists.squeakfoundation.org/mailman/listinfo/beginners">http://lists.squeakfoundation.org/mailman/listinfo/beginners</a><br>
<br>
<br>
End of Beginners Digest, Vol 92, Issue 9<br>
****************************************<br>
</div>
</blockquote>
</div>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Beginners mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Beginners@lists.squeakfoundation.org">Beginners@lists.squeakfoundation.org</a>
<a class="moz-txt-link-freetext" href="http://lists.squeakfoundation.org/mailman/listinfo/beginners">http://lists.squeakfoundation.org/mailman/listinfo/beginners</a>
</pre>
</blockquote>
<br>
</body>
</html>