Re: Beginners Digest, Vol 92, Issue 9

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Re: Beginners Digest, Vol 92, Issue 9

projectVALIS
Hi Casey and Herbert, 

The link to the 'announcements' entry in the squeak wiki is dead. Is there another? That is indeed something like what I was looking for. I figured I could iterate through a list but for large lists will there not be a performance hit? 


David Holiday 
-------------------------------------------------
San Diego State University





On Dec 27, 2013, at 6:11 PM, [hidden email] wrote:

Send Beginners mailing list submissions to
[hidden email]

To subscribe or unsubscribe via the World Wide Web, visit
http://lists.squeakfoundation.org/mailman/listinfo/beginners
or, via email, send a message with subject or body 'help' to
[hidden email]

You can reach the person managing the list at
[hidden email]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Beginners digest..."


Today's Topics:

  1. Re: Is There A Tutorial for People Who Have Never Programmed?
     (Herbert K?nig)
  2. Is there a way to broadcast messages to more than one
     recipient? (David Holiday)
  3. Re: Is there a way to broadcast messages to more than one
     recipient? (Herbert K?nig)
  4. Re: Is there a way to broadcast messages to more than one
     recipient? (Casey Ransberger)


----------------------------------------------------------------------

Message: 1
Date: Fri, 27 Dec 2013 13:53:29 +0100
From: Herbert K?nig <[hidden email]>
Subject: Re: [Newbies] Is There A Tutorial for People Who Have Never
Programmed?
To: [hidden email]
Message-ID: <[hidden email]>
Content-Type: text/plain; charset="iso-8859-1"

Hello William,

there is a book named "Learn programming with robots" which is aimed at
teaching programming with Squeak.
The book can be obtained via Amazon and google turned up this page for
download.
https://gforge.inria.fr/frs/download.php/10764/BotsInc-OriginalEnglish.pdf

Then there is Squeak by example which is meant to teach Squeak but
assumes some programming experience.

In both cases find the accompanying Squeak images. This is because
Squeak evolves and for newcomers it's important that the examples just
work. Although finding out why an example did not work is a great
learning achievement people are usually good at providing enough not
working examples for themselves. :-)

The site Casey recommended is a great resource, it can be found here.
http://stephane.ducasse.free.fr/FreeBooks.html

But you have to be a bit careful because of the differences in Smalltalk
dialects. Which means not every example will work unmodified in a
current Squeak image.

Other than that there are Etoys and Scratch which are based on Squeak
but provide a graphical introduction (tile programming) into programming.

And finding an answer to Casey's question, a project that interests you,
may get you some more results.

Cheers,

Herbert

Am 27.12.2013 06:44, schrieb william murphy:
Hello,

If I have never programmed before but want to learn to program with
Squeak, which tutorial should I read?

Thank you,

Will


_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/beginners/attachments/20131227/f1494542/attachment-0001.htm

------------------------------

Message: 2
Date: Fri, 27 Dec 2013 11:15:57 -0800
From: David Holiday <[hidden email]>
Subject: [Newbies] Is there a way to broadcast messages to more than
one recipient?
To: [hidden email]
Message-ID: <[hidden email]>
Content-Type: text/plain; charset="us-ascii"

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?


David Holiday
-------------------------------------------------
San Diego State University
[hidden email]






-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/beginners/attachments/20131227/c5715766/attachment-0001.htm

------------------------------

Message: 3
Date: Fri, 27 Dec 2013 20:44:12 +0100
From: Herbert K?nig <[hidden email]>
Subject: Re: [Newbies] Is there a way to broadcast messages to more
than one recipient?
To: [hidden email]
Message-ID: <[hidden email]>
Content-Type: text/plain; charset="iso-8859-1"

Hi David,

short answer:
anArray do: [:each| each message].

One of the things to learn about Smalltalk is it's rich collection protocol.

The fact that I use do: might hint that I should reread the protocol of
collections, there maybe something more elegant :-))

Cheers

Herbert

Am 27.12.2013 20:15, schrieb David Holiday:
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?


David Holiday
-------------------------------------------------
San Diego State University
[hidden email] <mailto:[hidden email]>








_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/beginners/attachments/20131227/bba8afda/attachment-0001.htm

------------------------------

Message: 4
Date: Fri, 27 Dec 2013 18:11:31 -0800
From: Casey Ransberger <[hidden email]>
Subject: Re: [Newbies] Is there a way to broadcast messages to more
than one recipient?
To: "A friendly place to get answers to even the most basic questions
about Squeak." <[hidden email]>
Message-ID:
<[hidden email]>
Content-Type: text/plain; charset="iso-8859-1"

I think I heard about something like what you seem to want a bit ago called
Announcements. Objects can "sign up" to be notified of a particular event.
I dug up a wiki page about it.

http://wiki.squeak.org/squeak/5734

Hope this helps,

Casey


On Fri, Dec 27, 2013 at 11:44 AM, Herbert König <[hidden email]>wrote:

Hi David,

short answer:
anArray do: [:each| each message].

One of the things to learn about Smalltalk is it's rich collection
protocol.

The fact that I use do: might hint that I should reread the protocol of
collections, there maybe something more elegant :-))

Cheers

Herbert

Am 27.12.2013 20:15, schrieb David Holiday:

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?


David Holiday
-------------------------------------------------
San Diego State University
[hidden email]








_______________________________________________
Beginners mailing [hidden email]://lists.squeakfoundation.org/mailman/listinfo/beginners



_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/beginners/attachments/20131227/18d53e55/attachment.htm

------------------------------

_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners


End of Beginners Digest, Vol 92, Issue 9
****************************************


_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners
Reply | Threaded
Open this post in threaded view
|

Re: Beginners Digest, Vol 92, Issue 9

projectVALIS
oops - disregard on the dead link. turns out my internet connection got wonky :-p


David Holiday 
-------------------------------------------------
San Diego State University





On Dec 27, 2013, at 6:11 PM, [hidden email] wrote:

Send Beginners mailing list submissions to
[hidden email]

To subscribe or unsubscribe via the World Wide Web, visit
http://lists.squeakfoundation.org/mailman/listinfo/beginners
or, via email, send a message with subject or body 'help' to
[hidden email]

You can reach the person managing the list at
[hidden email]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Beginners digest..."


Today's Topics:

  1. Re: Is There A Tutorial for People Who Have Never Programmed?
     (Herbert K?nig)
  2. Is there a way to broadcast messages to more than one
     recipient? (David Holiday)
  3. Re: Is there a way to broadcast messages to more than one
     recipient? (Herbert K?nig)
  4. Re: Is there a way to broadcast messages to more than one
     recipient? (Casey Ransberger)


----------------------------------------------------------------------

Message: 1
Date: Fri, 27 Dec 2013 13:53:29 +0100
From: Herbert K?nig <[hidden email]>
Subject: Re: [Newbies] Is There A Tutorial for People Who Have Never
Programmed?
To: [hidden email]
Message-ID: <[hidden email]>
Content-Type: text/plain; charset="iso-8859-1"

Hello William,

there is a book named "Learn programming with robots" which is aimed at
teaching programming with Squeak.
The book can be obtained via Amazon and google turned up this page for
download.
https://gforge.inria.fr/frs/download.php/10764/BotsInc-OriginalEnglish.pdf

Then there is Squeak by example which is meant to teach Squeak but
assumes some programming experience.

In both cases find the accompanying Squeak images. This is because
Squeak evolves and for newcomers it's important that the examples just
work. Although finding out why an example did not work is a great
learning achievement people are usually good at providing enough not
working examples for themselves. :-)

The site Casey recommended is a great resource, it can be found here.
http://stephane.ducasse.free.fr/FreeBooks.html

But you have to be a bit careful because of the differences in Smalltalk
dialects. Which means not every example will work unmodified in a
current Squeak image.

Other than that there are Etoys and Scratch which are based on Squeak
but provide a graphical introduction (tile programming) into programming.

And finding an answer to Casey's question, a project that interests you,
may get you some more results.

Cheers,

Herbert

Am 27.12.2013 06:44, schrieb william murphy:
Hello,

If I have never programmed before but want to learn to program with
Squeak, which tutorial should I read?

Thank you,

Will


_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/beginners/attachments/20131227/f1494542/attachment-0001.htm

------------------------------

Message: 2
Date: Fri, 27 Dec 2013 11:15:57 -0800
From: David Holiday <[hidden email]>
Subject: [Newbies] Is there a way to broadcast messages to more than
one recipient?
To: [hidden email]
Message-ID: <[hidden email]>
Content-Type: text/plain; charset="us-ascii"

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?


David Holiday
-------------------------------------------------
San Diego State University
[hidden email]






-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/beginners/attachments/20131227/c5715766/attachment-0001.htm

------------------------------

Message: 3
Date: Fri, 27 Dec 2013 20:44:12 +0100
From: Herbert K?nig <[hidden email]>
Subject: Re: [Newbies] Is there a way to broadcast messages to more
than one recipient?
To: [hidden email]
Message-ID: <[hidden email]>
Content-Type: text/plain; charset="iso-8859-1"

Hi David,

short answer:
anArray do: [:each| each message].

One of the things to learn about Smalltalk is it's rich collection protocol.

The fact that I use do: might hint that I should reread the protocol of
collections, there maybe something more elegant :-))

Cheers

Herbert

Am 27.12.2013 20:15, schrieb David Holiday:
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?


David Holiday
-------------------------------------------------
San Diego State University
[hidden email] <mailto:[hidden email]>








_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/beginners/attachments/20131227/bba8afda/attachment-0001.htm

------------------------------

Message: 4
Date: Fri, 27 Dec 2013 18:11:31 -0800
From: Casey Ransberger <[hidden email]>
Subject: Re: [Newbies] Is there a way to broadcast messages to more
than one recipient?
To: "A friendly place to get answers to even the most basic questions
about Squeak." <[hidden email]>
Message-ID:
<[hidden email]>
Content-Type: text/plain; charset="iso-8859-1"

I think I heard about something like what you seem to want a bit ago called
Announcements. Objects can "sign up" to be notified of a particular event.
I dug up a wiki page about it.

http://wiki.squeak.org/squeak/5734

Hope this helps,

Casey


On Fri, Dec 27, 2013 at 11:44 AM, Herbert König <[hidden email]>wrote:

Hi David,

short answer:
anArray do: [:each| each message].

One of the things to learn about Smalltalk is it's rich collection
protocol.

The fact that I use do: might hint that I should reread the protocol of
collections, there maybe something more elegant :-))

Cheers

Herbert

Am 27.12.2013 20:15, schrieb David Holiday:

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?


David Holiday
-------------------------------------------------
San Diego State University
[hidden email]








_______________________________________________
Beginners mailing [hidden email]://lists.squeakfoundation.org/mailman/listinfo/beginners



_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/beginners/attachments/20131227/18d53e55/attachment.htm

------------------------------

_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners


End of Beginners Digest, Vol 92, Issue 9
****************************************


_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners
Reply | Threaded
Open this post in threaded view
|

Re: Beginners Digest, Vol 92, Issue 9

Casey Ransberger-2
In reply to this post by projectVALIS
Yeah I noticed that after posting it. The original Cincom blog is gone. Bummer. I know that the Seaside web app framework uses it, so you might be able to find some examples by browsing the Seaside code, but other than that, I don't know what to tell you. Sorry...

FWIW, I wouldn't worry about performance at first. Just do the simplest thing that could possibly work. If it turns out to be slow, that's a good time to profile and find out exactly *what* is so slow. If you go in optimizing things right away, you may end up optimizing for the wrong scenario! In which case you'll have done a lot of delicate work without solving the actual problem. 

The above syndrome is often called "premature optimization."

Anyway Squeak's collections have enjoyed many programmer's use. They've had a great deal of time to mature, and were first realized on the Xerox Alto in the 1970s, an environment that would likely be considered (by today's standards) resource-starved for a wristwatch. 

In other words: collections probably aren't going to be your bottleneck!

On Dec 27, 2013, at 9:56 PM, David Holiday <[hidden email]> wrote:

Hi Casey and Herbert, 

The link to the 'announcements' entry in the squeak wiki is dead. Is there another? That is indeed something like what I was looking for. I figured I could iterate through a list but for large lists will there not be a performance hit? 


David Holiday 
-------------------------------------------------
San Diego State University





On Dec 27, 2013, at 6:11 PM, [hidden email] wrote:

Send Beginners mailing list submissions to
[hidden email]

To subscribe or unsubscribe via the World Wide Web, visit
http://lists.squeakfoundation.org/mailman/listinfo/beginners
or, via email, send a message with subject or body 'help' to
[hidden email]

You can reach the person managing the list at
[hidden email]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Beginners digest..."


Today's Topics:

  1. Re: Is There A Tutorial for People Who Have Never Programmed?
     (Herbert K?nig)
  2. Is there a way to broadcast messages to more than one
     recipient? (David Holiday)
  3. Re: Is there a way to broadcast messages to more than one
     recipient? (Herbert K?nig)
  4. Re: Is there a way to broadcast messages to more than one
     recipient? (Casey Ransberger)


----------------------------------------------------------------------

Message: 1
Date: Fri, 27 Dec 2013 13:53:29 +0100
From: Herbert K?nig <[hidden email]>
Subject: Re: [Newbies] Is There A Tutorial for People Who Have Never
Programmed?
To: [hidden email]
Message-ID: <[hidden email]>
Content-Type: text/plain; charset="iso-8859-1"

Hello William,

there is a book named "Learn programming with robots" which is aimed at
teaching programming with Squeak.
The book can be obtained via Amazon and google turned up this page for
download.
https://gforge.inria.fr/frs/download.php/10764/BotsInc-OriginalEnglish.pdf

Then there is Squeak by example which is meant to teach Squeak but
assumes some programming experience.

In both cases find the accompanying Squeak images. This is because
Squeak evolves and for newcomers it's important that the examples just
work. Although finding out why an example did not work is a great
learning achievement people are usually good at providing enough not
working examples for themselves. :-)

The site Casey recommended is a great resource, it can be found here.
http://stephane.ducasse.free.fr/FreeBooks.html

But you have to be a bit careful because of the differences in Smalltalk
dialects. Which means not every example will work unmodified in a
current Squeak image.

Other than that there are Etoys and Scratch which are based on Squeak
but provide a graphical introduction (tile programming) into programming.

And finding an answer to Casey's question, a project that interests you,
may get you some more results.

Cheers,

Herbert

Am 27.12.2013 06:44, schrieb william murphy:
Hello,

If I have never programmed before but want to learn to program with
Squeak, which tutorial should I read?

Thank you,

Will


_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/beginners/attachments/20131227/f1494542/attachment-0001.htm

------------------------------

Message: 2
Date: Fri, 27 Dec 2013 11:15:57 -0800
From: David Holiday <[hidden email]>
Subject: [Newbies] Is there a way to broadcast messages to more than
one recipient?
To: [hidden email]
Message-ID: <[hidden email]>
Content-Type: text/plain; charset="us-ascii"

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?


David Holiday
-------------------------------------------------
San Diego State University
[hidden email]






-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/beginners/attachments/20131227/c5715766/attachment-0001.htm

------------------------------

Message: 3
Date: Fri, 27 Dec 2013 20:44:12 +0100
From: Herbert K?nig <[hidden email]>
Subject: Re: [Newbies] Is there a way to broadcast messages to more
than one recipient?
To: [hidden email]
Message-ID: <[hidden email]>
Content-Type: text/plain; charset="iso-8859-1"

Hi David,

short answer:
anArray do: [:each| each message].

One of the things to learn about Smalltalk is it's rich collection protocol.

The fact that I use do: might hint that I should reread the protocol of
collections, there maybe something more elegant :-))

Cheers

Herbert

Am 27.12.2013 20:15, schrieb David Holiday:
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?


David Holiday
-------------------------------------------------
San Diego State University
[hidden email] <[hidden email]>








_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/beginners/attachments/20131227/bba8afda/attachment-0001.htm

------------------------------

Message: 4
Date: Fri, 27 Dec 2013 18:11:31 -0800
From: Casey Ransberger <[hidden email]>
Subject: Re: [Newbies] Is there a way to broadcast messages to more
than one recipient?
To: "A friendly place to get answers to even the most basic questions
about Squeak." <[hidden email]>
Message-ID:
<[hidden email]>
Content-Type: text/plain; charset="iso-8859-1"

I think I heard about something like what you seem to want a bit ago called
Announcements. Objects can "sign up" to be notified of a particular event.
I dug up a wiki page about it.

http://wiki.squeak.org/squeak/5734

Hope this helps,

Casey


On Fri, Dec 27, 2013 at 11:44 AM, Herbert König <[hidden email]>wrote:

Hi David,

short answer:
anArray do: [:each| each message].

One of the things to learn about Smalltalk is it's rich collection
protocol.

The fact that I use do: might hint that I should reread the protocol of
collections, there maybe something more elegant :-))

Cheers

Herbert

Am 27.12.2013 20:15, schrieb David Holiday:

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?


David Holiday
-------------------------------------------------
San Diego State University
[hidden email]








_______________________________________________
Beginners mailing [hidden email]://lists.squeakfoundation.org/mailman/listinfo/beginners



_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/beginners/attachments/20131227/18d53e55/attachment.htm

------------------------------

_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners


End of Beginners Digest, Vol 92, Issue 9
****************************************

_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners

_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners
Reply | Threaded
Open this post in threaded view
|

Re: Beginners Digest, Vol 92, Issue 9

Amir Ansari
In reply to this post by projectVALIS
Here are a couple of links:

http://pharo.gemtalksystems.com/book/LanguageAndLibraries/announcements/
http://blog.3plus4.org/2007/04/06/sections-wrap-up/

I have a nice small code example somewhere... (looking for it!)

Amir


On Fri, 27 Dec 2013 21:56:39 -0800
David Holiday <[hidden email]> wrote:

> Hi Casey and Herbert,
>
> The link to the 'announcements' entry in the squeak wiki is dead. Is there another? That is indeed something like what I was looking for. I figured I could iterate through a list but for large lists will there not be a performance hit?
>
>
> David Holiday
> -------------------------------------------------
> San Diego State University
> [hidden email]
_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners
Reply | Threaded
Open this post in threaded view
|

Re: Beginners Digest, Vol 92, Issue 9

Herbert König
In reply to this post by projectVALIS
Hi David,

I was completely mislead by "broadcast". Hardware guy :-))

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 ...

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.

But go for clarity first then use the profiler then optimise. Sounds like I'm repeating Casey here. Well, it's worth repeating :-)

Cheers

Herbert



Am 28.12.2013 06:57, schrieb David Holiday:
oops - disregard on the dead link. turns out my internet connection got wonky :-p


David Holiday 
-------------------------------------------------
San Diego State University





On Dec 27, 2013, at 6:11 PM, [hidden email] wrote:

Send Beginners mailing list submissions to
[hidden email]

To subscribe or unsubscribe via the World Wide Web, visit
http://lists.squeakfoundation.org/mailman/listinfo/beginners
or, via email, send a message with subject or body 'help' to
[hidden email]

You can reach the person managing the list at
[hidden email]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Beginners digest..."


Today's Topics:

  1. Re: Is There A Tutorial for People Who Have Never Programmed?
     (Herbert K?nig)
  2. Is there a way to broadcast messages to more than one
     recipient? (David Holiday)
  3. Re: Is there a way to broadcast messages to more than one
     recipient? (Herbert K?nig)
  4. Re: Is there a way to broadcast messages to more than one
     recipient? (Casey Ransberger)


----------------------------------------------------------------------

Message: 1
Date: Fri, 27 Dec 2013 13:53:29 +0100
From: Herbert K?nig [hidden email]
Subject: Re: [Newbies] Is There A Tutorial for People Who Have Never
Programmed?
To: [hidden email]
Message-ID: [hidden email]
Content-Type: text/plain; charset="iso-8859-1"

Hello William,

there is a book named "Learn programming with robots" which is aimed at
teaching programming with Squeak.
The book can be obtained via Amazon and google turned up this page for
download.
https://gforge.inria.fr/frs/download.php/10764/BotsInc-OriginalEnglish.pdf

Then there is Squeak by example which is meant to teach Squeak but
assumes some programming experience.

In both cases find the accompanying Squeak images. This is because
Squeak evolves and for newcomers it's important that the examples just
work. Although finding out why an example did not work is a great
learning achievement people are usually good at providing enough not
working examples for themselves. :-)

The site Casey recommended is a great resource, it can be found here.
http://stephane.ducasse.free.fr/FreeBooks.html

But you have to be a bit careful because of the differences in Smalltalk
dialects. Which means not every example will work unmodified in a
current Squeak image.

Other than that there are Etoys and Scratch which are based on Squeak
but provide a graphical introduction (tile programming) into programming.

And finding an answer to Casey's question, a project that interests you,
may get you some more results.

Cheers,

Herbert

Am 27.12.2013 06:44, schrieb william murphy:
Hello,

If I have never programmed before but want to learn to program with
Squeak, which tutorial should I read?

Thank you,

Will


_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/beginners/attachments/20131227/f1494542/attachment-0001.htm

------------------------------

Message: 2
Date: Fri, 27 Dec 2013 11:15:57 -0800
From: David Holiday [hidden email]
Subject: [Newbies] Is there a way to broadcast messages to more than
one recipient?
To: [hidden email]
Message-ID: [hidden email]
Content-Type: text/plain; charset="us-ascii"

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?


David Holiday
-------------------------------------------------
San Diego State University
[hidden email]






-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/beginners/attachments/20131227/c5715766/attachment-0001.htm

------------------------------

Message: 3
Date: Fri, 27 Dec 2013 20:44:12 +0100
From: Herbert K?nig [hidden email]
Subject: Re: [Newbies] Is there a way to broadcast messages to more
than one recipient?
To: [hidden email]
Message-ID: [hidden email]
Content-Type: text/plain; charset="iso-8859-1"

Hi David,

short answer:
anArray do: [:each| each message].

One of the things to learn about Smalltalk is it's rich collection protocol.

The fact that I use do: might hint that I should reread the protocol of
collections, there maybe something more elegant :-))

Cheers

Herbert

Am 27.12.2013 20:15, schrieb David Holiday:
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?


David Holiday
-------------------------------------------------
San Diego State University
[hidden email] [hidden email]








_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/beginners/attachments/20131227/bba8afda/attachment-0001.htm

------------------------------

Message: 4
Date: Fri, 27 Dec 2013 18:11:31 -0800
From: Casey Ransberger [hidden email]
Subject: Re: [Newbies] Is there a way to broadcast messages to more
than one recipient?
To: "A friendly place to get answers to even the most basic questions
about Squeak." [hidden email]
Message-ID:
[hidden email]
Content-Type: text/plain; charset="iso-8859-1"

I think I heard about something like what you seem to want a bit ago called
Announcements. Objects can "sign up" to be notified of a particular event.
I dug up a wiki page about it.

http://wiki.squeak.org/squeak/5734

Hope this helps,

Casey


On Fri, Dec 27, 2013 at 11:44 AM, Herbert König [hidden email]wrote:

Hi David,

short answer:
anArray do: [:each| each message].

One of the things to learn about Smalltalk is it's rich collection
protocol.

The fact that I use do: might hint that I should reread the protocol of
collections, there maybe something more elegant :-))

Cheers

Herbert

Am 27.12.2013 20:15, schrieb David Holiday:

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?


David Holiday
-------------------------------------------------
San Diego State University
[hidden email]








_______________________________________________
Beginners mailing [hidden email]



_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/beginners/attachments/20131227/18d53e55/attachment.htm

------------------------------

_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners


End of Beginners Digest, Vol 92, Issue 9
****************************************



_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners


_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners