Re: [Newbies] E-Toys and Morphic for simple point plotting exercise?

2006-11-15 Thread Bert Freudenberg

On Nov 14, 2006, at 15:54 , Daniel Green wrote:

I'd like to challenge some students (9 years old to 14 years old)  
to use Squeak to draw a Sierpenski Gasket (http://en.wikipedia.org/ 
wiki/Serpinski_gasket) as an experiment with random numbers.


I'm pretty sure Markus Gaelli did that once, surely he will chime in ...


  Things I'd like to improve:

- a shorter E-Toys version


See attached PNG for my version - four lines of tiles ;-)

- a morphic version other than just 'view source' of E-Toys tiles  
version


Hmm, there is a directly drawn version at

http://minnow.cc.gatech.edu/squeak/1677

- be able to subroutine or parameter-ize an E-Toys script with a  
point or two numbers instead just one parameter and/or repeating code


Not in this version of etoys.

- find a suitable PlotMorph or other class which can be used for  
the E-Toys version rather than just scribble with penDown=true or  
create millions of 1 pixel LineMorphs


If you make your pen object small, just use the stamp tile.

- Bert -




___
Beginners mailing list
Beginners@lists.squeakfoundation.org
http://lists.squeakfoundation.org/mailman/listinfo/beginners


Re: [Newbies] Bugging out of Squeak

2006-11-15 Thread lanas
Le Dimanche 12 Novembre 2006 13:00, Michael Haupt a écrit :

 On 11/12/06, Another Dave [EMAIL PROTECTED] wrote:
  Let's say you're totally lost, and want to exit Squeak without saving
  anything from the mess you've just made.

 Are you absolutely sure you haven't accidentally, in the last second,
 hit one of the wrong pixels, i.e., one belonging to yes?

There's a UI loop in there which is nevertheless not very graceful I think. 

The first option in this sequence is the user clicking the choice:

'Quit without saving the image' (or somesuch, I do not want to change language 
just to get the right string that is displayed)

And then, very surprisingly, after the user has made this choice, another 
choice pops up that asks: 'Save image ? yes/no/cancel (idem).

I find this to be squarly not straight, so to speak.  It is confusing for any 
user to be asked about saving the image when the user has already expressed 
the will of NOT saving the image.  Either remove this option in the first 
place, or remove the additional choice of saving the image.

My two cents.

Cheers,
Al
___
Beginners mailing list
Beginners@lists.squeakfoundation.org
http://lists.squeakfoundation.org/mailman/listinfo/beginners


[Newbies] Re: Bugging out of Squeak

2006-11-15 Thread Klaus D. Witzel

Hi lanas,

there are 4 possibilities which come to my mind:

1 - you're using an image which we don't know, alternately: I can see a  
message somiliar to your's only if on windows and hit alt-f4.


2 - you're indeed on windows doing alt-f4 then there is a bug

3 - the message says Save changes before quitting? then this is so  
because you selected plain Quit from the World menu. In case you did the  
latter, perhaps your mouse thinks it clicks 1-2 pixels off and the menu is  
not what you expected?


4 - I cannot reproduce the message you cite 'Quit without saving the  
image', can you tell us precisely where and what you click and what kind  
of widget is then talking to you.


/Klaus

On Wed, 15 Nov 2006 13:32:41 +0100, lanas wrote:


Le Dimanche 12 Novembre 2006 13:00, Michael Haupt a écrit :


On 11/12/06, Another Dave [EMAIL PROTECTED] wrote:
 Let's say you're totally lost, and want to exit Squeak without saving
 anything from the mess you've just made.



Are you absolutely sure you haven't accidentally, in the last second,
hit one of the wrong pixels, i.e., one belonging to yes?


There's a UI loop in there which is nevertheless not very graceful I  
think.


The first option in this sequence is the user clicking the choice:

'Quit without saving the image' (or somesuch, I do not want to change  
language

just to get the right string that is displayed)

And then, very surprisingly, after the user has made this choice, another
choice pops up that asks: 'Save image ? yes/no/cancel (idem).

I find this to be squarly not straight, so to speak.  It is confusing  
for any
user to be asked about saving the image when the user has already  
expressed

the will of NOT saving the image.  Either remove this option in the first
place, or remove the additional choice of saving the image.

My two cents.

Cheers,
Al



___
Beginners mailing list
Beginners@lists.squeakfoundation.org
http://lists.squeakfoundation.org/mailman/listinfo/beginners


Re: [Newbies] How to squeeze Multiple Inheritance into Squeak ?

2006-11-15 Thread Patty Gadegast

Hi Warakorn,

maybe it is a little bit late now, for a nice answer, but I will do it 
anyway.


You want multiple inheritance? Why? Usually multiple inheritance is not 
necessary at all.


Objects communicate via messages, and we have only objects in Squeak! In 
my mind the only idea behind having inheritance is, you don't want to 
code the same things again and again. So you can create generic objects 
that implement the functionalities, several Objects might use. I think 
that's clear. I red that your object should understand all the messages 
a human-object understands and a ninja-object understands, ok, thats 
fine. Now I have 2 suggestions:
1. Isn't a ninja object a kind of human object, (if you use your common 
sense, don't think only in terms of your program, please). So you could 
inherit the ninja class (object) from the human class. Your new object 
would be inherited from this ninja class, which is a human class and 
would understand all messages, both do understand. But ok, this 
structure is static.
2. You could just teach your object to understand the same messages like 
a ninja class, if you would just implement this messages in your object. 
But again, this is a static structure.


And here is a third one, that maybe you had in mind. I provides a 
dynamic structure. Imagine you would bundle the messages that ninja 
objects understand, and you could add this bundle to your object, which 
is a human inheritance. I think this is done using traits. I know that 
there are traits in squeak or at least some people work on this, but I 
don't know how you use this things. There are other people that might be 
able to answer this how question. I am more on asking the what 
question, what exactly do you want to do (the purpose, not the means)?


Best regards,

Patty

Warakorn Paphrawat schrieb:

Squeak does not support multiple inheritance.

Sadly enough the possibility of Multiple Inheritance in Squeak would 
greatly benefit me in my current Squeak project ?


What would you suggest to squeeze some sort of Multiple Inheritance 
into Squeak ?


- C-like Macros / or some kind of automation
- Traits
- some other possibilities

What is your experience ?


The idea to design my system better and introduce more abstraction is 
valid, but  I still would like to stick Multiple Inheritance.



Want to start your own business? Learn how on Yahoo! Small Business. 
http://us.rd.yahoo.com/evt=41244/*http://smallbusiness.yahoo.com/r-index 




___
Beginners mailing list
Beginners@lists.squeakfoundation.org
http://lists.squeakfoundation.org/mailman/listinfo/beginners
  


___
Beginners mailing list
Beginners@lists.squeakfoundation.org
http://lists.squeakfoundation.org/mailman/listinfo/beginners


Re: [Newbies] Re: Bugging out of Squeak

2006-11-15 Thread Ralph Johnson

4 - I cannot reproduce the message you cite 'Quit without saving the
image', can you tell us precisely where and what you click and what kind
of widget is then talking to you.


In the final 3.9 image, at the bottom of the world menu, there is a
Save and quit option followed by a Quit option.  The quit option
does what he says, it asks if you want to save before you quit, quit
without saving, or cancel.  When you see save and quit followed by
quit, it is confusing to have quit ask you if you want to save.

Squeak has been this way for a long time.

-Ralph
___
Beginners mailing list
Beginners@lists.squeakfoundation.org
http://lists.squeakfoundation.org/mailman/listinfo/beginners


Re: [Newbies] Re: Bugging out of Squeak

2006-11-15 Thread Another Dave


Ralph Johnson wrote:
 
 
 In the final 3.9 image, at the bottom of the world menu, there is a
 Save and quit option followed by a Quit option.  The quit option
 does what he says, it asks if you want to save before you quit, quit
 without saving, or cancel.  When you see save and quit followed by
 quit, it is confusing to have quit ask you if you want to save.
 
 Squeak has been this way for a long time.
 
 -Ralph
 
 

Right. I was using this as a sort of clear all, and restart from the
beginning command, to clean my newbie errors out the system, and I did
choose No to Save changes before quitting. That's why I was frustrated
to find the image still there when I reloaded Squeak. This happened several 
times, so I made the post. 

Today, I can't duplicate the problem. Was it my system? Was it me? I don't
know. I will watch for it happening again, and if it does I'll try to gather
as much information as I can before posting.


-- 
View this message in context: 
http://www.nabble.com/Bugging-out-of-Squeak-tf2617640.html#a7360612
Sent from the Squeak - Beginners mailing list archive at Nabble.com.

___
Beginners mailing list
Beginners@lists.squeakfoundation.org
http://lists.squeakfoundation.org/mailman/listinfo/beginners


[Newbies] Re: Bugging out of Squeak

2006-11-15 Thread Klaus D. Witzel

IC.

But then he is correct, the text *must* include three dots Quit ...  
because there is another step in that particular dialog.


Good find.

Release-team, please add the three dots to the world menu, thank you.

/Klaus

On Wed, 15 Nov 2006 15:21:19 +0100, Ralph Johnson wrote:


4 - I cannot reproduce the message you cite 'Quit without saving the
image', can you tell us precisely where and what you click and what kind
of widget is then talking to you.


In the final 3.9 image, at the bottom of the world menu, there is a
Save and quit option followed by a Quit option.  The quit option
does what he says, it asks if you want to save before you quit, quit
without saving, or cancel.  When you see save and quit followed by
quit, it is confusing to have quit ask you if you want to save.

Squeak has been this way for a long time.

-Ralph



___
Beginners mailing list
Beginners@lists.squeakfoundation.org
http://lists.squeakfoundation.org/mailman/listinfo/beginners


Re[2]: [Newbies] Re: Bugging out of Squeak

2006-11-15 Thread Herbert König
Hello Dave,



AD Right. I was using this as a sort of clear all, and restart from the
AD beginning command, to clean my newbie errors out the system, and I did

because I still have this problem (I have it in other programs too) I
close squeak by closing the squeak window. This only can abort quitting
but I have no chance to save the image when I want to quit.

This is on Win but I'm sure it's valid for Linux and Mac too.


regards,

Herbertmailto:[EMAIL PROTECTED]

___
Beginners mailing list
Beginners@lists.squeakfoundation.org
http://lists.squeakfoundation.org/mailman/listinfo/beginners


Re: [Newbies] Re: Bugging out of Squeak

2006-11-15 Thread lanas
On Wed, 15 Nov 2006 13:47:27 +0100
Klaus D. Witzel [EMAIL PROTECTED] wrote:

Hallo Klaus,

 there are 4 possibilities which come to my mind:

 1
 2
 3

None of the above.

 4 - I cannot reproduce the message you cite 'Quit without saving the  
 image', can you tell us precisely where and what you click and what
 kind of widget is then talking to you.

Sehr einfach.  So geht's:

On the desktop menu the last entry says:

Quitter sans enregistrer l'image

And when you click on that, it asks you if you want to save the image.
Try it, you'll see the same.

I've tried with other language settings, and it seens French is quite
unique in that matter ! 

Could someone change that to only Quitter and add the three dots like
it was suggested ?  OR... Make it really quit without saving the image
since that's the option right above (I think that'd be the bäst)

BTW, Polish sieht ganz wie Deutsch aus ! ;-)

And Czech looks a lot like English ! ;-)

Alles gut,
Al
___
Beginners mailing list
Beginners@lists.squeakfoundation.org
http://lists.squeakfoundation.org/mailman/listinfo/beginners