Some Newbie problems

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

Some Newbie problems

Peredur
Hi,

I'm trying to work my way through the Pharo by example book on my Ubuntu 12.04 LTS box.  Unfortunately, things in the book don't look like they do on my setup.  For example, I can't work out what the key combination is to get the 'Morphic Halo'.  I can get it from a menu, but not from a key press combination.

Also, calling:

BouncingAtomsMorph new openInWorld

doesn't work.  I just get an error message saying that there is no such object.

I thought these problems might be due to me having the standard image instead of the Pharo by Example image.  So I downloaded that image but when I call Pharo on that image:

$ ./pharo ../Resources/PBE.image

I just get a segmentation fault.

I'm a complete newbie (but an experienced programmer in a variety of OO and other languages), so if anyone could shed any light on this, I'd be very grateful.

Thanks

Peter
--
Peter Bradley
peredur.net
Reply | Threaded
Open this post in threaded view
|

Re: Some Newbie problems

Stéphane Ducasse

welcome peter

> I'm trying to work my way through the Pharo by example book on my Ubuntu 12.04 LTS box.  Unfortunately, things in the book don't look like they do on my setup.  For example, I can't work out what the key combination is to get the 'Morphic Halo'.  I can get it from a menu, but not from a key press combination.

on mac it is
        option + cmd + shift
        and you click on the morph


> Also, calling:
>
> BouncingAtomsMorph new openInWorld
>
> doesn't work.  I just get an error message saying that there is no such object.

The BouncingAtomsMorph is not loaded in the new images.

> I thought these problems might be due to me having the standard image instead of the Pharo by Example image.  So I downloaded that image but when I call Pharo on that image:
>
> $ ./pharo ../Resources/PBE.image
>
> I just get a segmentation fault.

The image of the book is an old one and you should get (may be I'm wrong) an old vm for example it should work on a Squeak3.9 VM.

> I'm a complete newbie (but an experienced programmer in a variety of OO and other languages), so if anyone could shed any light on this, I'd be very grateful.

Let us know if you have any other problems. This is try true that such problems are annoying but we do not have the resources to
write a new book, develop pharo and maintain the old book.

Did you have a look at the pharocast because this is also a good way to learn.

Stef
>
> Thanks
>
> Peter
> --
> Peter Bradley
> peredur.net


Reply | Threaded
Open this post in threaded view
|

Re: Some Newbie problems

Peredur
El 05/05/12 21:12, Stéphane Ducasse escribió:
welcome peter

Thank you

I'm trying to work my way through the Pharo by example book on my Ubuntu 12.04 LTS box.  Unfortunately, things in the book don't look like they do on my setup.  For example, I can't work out what the key combination is to get the 'Morphic Halo'.  I can get it from a menu, but not from a key press combination.
on mac it is 
	option + cmd + shift
	and you click on the morph


Doesn't help a lot when you're not on a Mac :-)  But it's not insuperable since I can get to it via the menus.  I did try all the combinations I could think of, though (various combinations of [Shift], [Ctrl], [Alt], [Meta] and left and right clicks).  Nothing seemed to work on Ubuntu 12, I'm afraid.

      
Also, calling: 

BouncingAtomsMorph new openInWorld 

doesn't work.  I just get an error message saying that there is no such object.
The BouncingAtomsMorph is not loaded in the new images. 

OK.  Well.  As long as it doesn't become crucial to the business of learning how to use SmallTalk and Pharo, I guess I can ignore the problem.  For now, at least.

...
$ ./pharo ../Resources/PBE.image

I just get a segmentation fault.
The image of the book is an old one and you should get (may be I'm wrong) an old vm for example it should work on a Squeak3.9 VM.

Again, I guess as long as it's not crucial, I can just carry on.

I'm a complete newbie (but an experienced programmer in a variety of OO and other languages), so if anyone could shed any light on this, I'd be very grateful.
Let us know if you have any other problems. This is try true that such problems are annoying but we do not have the resources to 
write a new book, develop pharo and maintain the old book. 

I sympathise with that, although it can be a bit self defeating in that if the docs aren't good and up-to-date it can put people off...  Also, of course, the longer you leave things the worse it gets.  The revision job just becomes bigger and bigger.
Did you have a look at the pharocast because this is also a good way to learn.

I'll take a look.  Thanks.

Cheers


Peter
--
Peter Bradley
peredur.net
Reply | Threaded
Open this post in threaded view
|

Re: Some Newbie problems

Sean P. DeNigris
Administrator
In reply to this post by Peredur
Peredur wrote
I'm trying to work my way through the Pharo by example book on my Ubuntu
12.04 LTS box.
This comes up every so often, so here's a one-click image adapted from the Pharo 1.4 one click, but with the Jenkins Stack VMs, briefly tested on Debian and OS X...

I will host it temporarily at:
http://seandenigris.com/files/PBE-1.0-one-click.zip

Maybe someone will test in on Windows... and maybe someone will add it to the PBE site instead of the plain image so our new users will not suffer so much :)

HTH,
Sean
Cheers,
Sean
Reply | Threaded
Open this post in threaded view
|

PBE1 update to Pharo 1.4 Re: Some Newbie problems

Ben Coman
In reply to this post by Stéphane Ducasse
Stéphane Ducasse wrote:

> welcome peter
>
>  
>> I'm trying to work my way through the Pharo by example book on my Ubuntu 12.04 LTS box.  Unfortunately, things in the book don't look like they do on my setup.  For example, I can't work out what the key combination is to get the 'Morphic Halo'.  I can get it from a menu, but not from a key press combination.
>>    
>
> on mac it is
> option + cmd + shift
> and you click on the morph
>
>
>  
>> Also, calling:
>>
>> BouncingAtomsMorph new openInWorld
>>
>> doesn't work.  I just get an error message saying that there is no such object.
>>    
>
> The BouncingAtomsMorph is not loaded in the new images.
>
>  
>> I thought these problems might be due to me having the standard image instead of the Pharo by Example image.  So I downloaded that image but when I call Pharo on that image:
>>
>> $ ./pharo ../Resources/PBE.image
>>
>> I just get a segmentation fault.
>>    
>
> The image of the book is an old one and you should get (may be I'm wrong) an old vm for example it should work on a Squeak3.9 VM.
>
>  
>> I'm a complete newbie (but an experienced programmer in a variety of OO and other languages), so if anyone could shed any light on this, I'd be very grateful.
>>    
>
> Let us know if you have any other problems. This is try true that such problems are annoying but we do not have the resources to
> write a new book, develop pharo and maintain the old book.
>  

The new book focuses on different issues than the old book.  It would be
sad to let the old book languish entirely and end up with a poor first
impression for newcomers, so I am willing to participate in updating it
to Pharo 1.4.  I am getting a lot from Pharo and this is something I can
contribute.  I think it fair the main developers continue with
implementing and documenting the advanced features, while the community
maintains the more established things.  A quick scan pegs this effort at
updating about 170 images, plus hopefully a minimal amount of text.  How
would I proceed with this?

cheers -ben

> Did you have a look at the pharocast because this is also a good way to learn.
>
> Stef
>  
>> Thanks
>>
>> Peter
>> --
>> Peter Bradley
>> peredur.net
>>    
>
>
>
>  


Reply | Threaded
Open this post in threaded view
|

Re: PBE1 update to Pharo 1.4 Re: Some Newbie problems

Sven Van Caekenberghe

On 06 May 2012, at 09:06, Ben Coman wrote:

> The new book focuses on different issues than the old book.  It would be sad to let the old book languish entirely and end up with a poor first impression for newcomers, so I am willing to participate in updating it to Pharo 1.4.  I am getting a lot from Pharo and this is something I can contribute.  I think it fair the main developers continue with implementing and documenting the advanced features, while the community maintains the more established things. A quick scan pegs this effort at updating about 170 images, plus hopefully a minimal amount of text.  How would I proceed with this?

This would be a **really** good idea/initiative !

Sven
Reply | Threaded
Open this post in threaded view
|

Re: Some Newbie problems

Peredur
In reply to this post by Sean P. DeNigris
El 05/05/12 23:09, Sean P. DeNigris escribió:
This comes up every so often, so here's a one-click image adapted from the
Pharo 1.4 one click, but with the Jenkins Stack VMs, briefly tested on
Debian and OS X...

I will host it temporarily at:
http://seandenigris.com/files/PBE-1.0-one-click.zip

Maybe someone will test in on Windows... and maybe someone will add it to
the PBE site instead of the plain image so our new users will not suffer so
much :)

HTH,
Sean

--
View this message in context: http://forum.world.st/Some-Newbie-problems-tp4611608p4611923.html
Sent from the Pharo Smalltalk mailing list archive at Nabble.com.


Tried it...

Left-click (outside of a workspace) brings up the World menu - check.

Right-click does nothing.  But left-click in a workspace that contains a message (e.g. 3 - 4) brings up a context menu ('do it', 'print it' etc).  Not sure if that's a check or not...

So I guess that means that with this image, left-click is either a 'click' or an 'action-click' depending on context.

Could not find any button combination to activate the "morphic halo".

So I'm not sure if I'm better off with this image or not, TBH.

Cheers


Peter
--
Peter Bradley
peredur.net
Reply | Threaded
Open this post in threaded view
|

Re: PBE1 update to Pharo 1.4 Re: Some Newbie problems

Stéphane Ducasse
In reply to this post by Ben Coman
>>
>
> The new book focuses on different issues than the old book.  It would be sad to let the old book languish entirely and end up with a poor first impression for newcomers, so I am willing to participate in updating it to Pharo 1.4.  I am getting a lot from Pharo and this is something I can contribute.  I think it fair the main developers continue with implementing and documenting the advanced features, while the community maintains the more established things.  A quick scan pegs this effort at updating about 170 images, plus hopefully a minimal amount of text.  How would I proceed with this?
>
> cheers -ben

Thanks ben.
I think that the first volume of the book is on git hub so you can simply go ahead.
May be you should register to the she mailing-list mailing-list and mention your effort.

Stef
Reply | Threaded
Open this post in threaded view
|

Re: Some Newbie problems

Stéphane Ducasse
In reply to this post by Sean P. DeNigris
I hope to get some time to migrate the pbe web site under the same umbrella that the pbe2 during a meeting :)
Now it would be good to host this image on the pharobooks project and that we get a link on the pbe page.

Stef

> Peredur wrote
>>
>> I'm trying to work my way through the Pharo by example book on my Ubuntu
>> 12.04 LTS box.
>>
>
> This comes up every so often, so here's a one-click image adapted from the
> Pharo 1.4 one click, but with the Jenkins Stack VMs, briefly tested on
> Debian and OS X...
>
> I will host it temporarily at:
> http://seandenigris.com/files/PBE-1.0-one-click.zip
>
> Maybe someone will test in on Windows... and maybe someone will add it to
> the PBE site instead of the plain image so our new users will not suffer so
> much :)
>
> HTH,
> Sean
>
> --
> View this message in context: http://forum.world.st/Some-Newbie-problems-tp4611608p4611923.html
> Sent from the Pharo Smalltalk mailing list archive at Nabble.com.
>


Reply | Threaded
Open this post in threaded view
|

Re: PBE1 update to Pharo 1.4 Re: Some Newbie problems

Mariano Martinez Peck
In reply to this post by Stéphane Ducasse


On Sun, May 6, 2012 at 12:51 PM, Stéphane Ducasse <[hidden email]> wrote:
>>
>
> The new book focuses on different issues than the old book.  It would be sad to let the old book languish entirely and end up with a poor first impression for newcomers, so I am willing to participate in updating it to Pharo 1.4.  I am getting a lot from Pharo and this is something I can contribute.  I think it fair the main developers continue with implementing and documenting the advanced features, while the community maintains the more established things.  A quick scan pegs this effort at updating about 170 images, plus hopefully a minimal amount of text.  How would I proceed with this?
>


That would be AWESOME. Really.
 
> cheers -ben

Thanks ben.
I think that the first volume of the book is on git hub so you can simply go ahead.
May be you should register to the she mailing-list mailing-list and mention your effort.



--
Mariano
http://marianopeck.wordpress.com

Reply | Threaded
Open this post in threaded view
|

Re: PBE1 update to Pharo 1.4 Re: Some Newbie problems

Stéphane Ducasse

On May 6, 2012, at 2:17 PM, Mariano Martinez Peck wrote:

>
>
> On Sun, May 6, 2012 at 12:51 PM, Stéphane Ducasse <[hidden email]> wrote:
> >>
> >
> > The new book focuses on different issues than the old book.  It would be sad to let the old book languish entirely and end up with a poor first impression for newcomers, so I am willing to participate in updating it to Pharo 1.4.  I am getting a lot from Pharo and this is something I can contribute.  I think it fair the main developers continue with implementing and documenting the advanced features, while the community maintains the more established things.  A quick scan pegs this effort at updating about 170 images, plus hopefully a minimal amount of text.  How would I proceed with this?
> >
>
>
> That would be AWESOME. Really.
>  
> > cheers -ben
>
> Thanks ben.
> I think that the first volume of the book is on git hub so you can simply go ahead.
>
> https://github.com/SquareBracketAssociates/
>  
> May be you should register to the she mailing-list mailing-list and mention your effort.
>
>
> [hidden email],

discussion for now.
I do not know if the other is open

> or
> "[hidden email] Example" <[hidden email]>,  
>
> ?
>
>
> --
> Mariano
> http://marianopeck.wordpress.com
>


Reply | Threaded
Open this post in threaded view
|

Re: PBE1 update to Pharo 1.4 Re: Some Newbie problems

Peredur
In reply to this post by Mariano Martinez Peck
El 06/05/12 13:17, Mariano Martinez Peck escribió:


On Sun, May 6, 2012 at 12:51 PM, Stéphane Ducasse <[hidden email]> wrote:
>>
>
> The new book focuses on different issues than the old book.  It would be sad to let the old book languish entirely and end up with a poor first impression for newcomers, so I am willing to participate in updating it to Pharo 1.4.  I am getting a lot from Pharo and this is something I can contribute.  I think it fair the main developers continue with implementing and documenting the advanced features, while the community maintains the more established things.  A quick scan pegs this effort at updating about 170 images, plus hopefully a minimal amount of text.  How would I proceed with this?
>


That would be AWESOME. Really.

I would be the last person who could really help, directly with this, but I'd be happy (other pressures permitting) to do some proof-reading for you and to act as a guinea pig for you - along the lines of, "If it's clear to me it's probably going to be clear to other readers since my prior knowledge is nil".

:-)


Peter
--
Peter Bradley
peredur.net
Reply | Threaded
Open this post in threaded view
|

Re: Some Newbie problems

Ricardo Moran
In reply to this post by Peredur

On Sat, May 5, 2012 at 7:03 PM, Peredur <[hidden email]> wrote:
I did try all the combinations I could think of, though (various combinations of [Shift], [Ctrl], [Alt], [Meta] and left and right clicks).  Nothing seemed to work on Ubuntu 12, I'm afraid.


Have you tried with middle click? At least in windows, you need "Shift + middle click" to get the halos.

Cheers,
Richo

Reply | Threaded
Open this post in threaded view
|

Re: Some Newbie problems

Sean P. DeNigris
Administrator
In reply to this post by Peredur
In Ubuntu 9.10 under Parallels...

Peredur wrote
But left-click in a workspace that contains a
message (e.g. 3 - 4) brings up a context menu ('do it', 'print it'
etc)
I get the expected behavior - click moves the cursor, right click brings up the menu

Peredur wrote
Could not find any button combination to activate the "morphic halo".
Alt-shift-click works for me.

I should mention that the one-click worked if I executed the .sh from the Terminal, but couldn't seem to find the image if I clicked on it directly from gnome. IIRC both ways worked in Debian...

HTH,
Sean
Cheers,
Sean
Reply | Threaded
Open this post in threaded view
|

Re: PBE1 update to Pharo 1.4 Re: Some Newbie problems

Ben Coman
In reply to this post by Peredur
Peredur wrote:

> El 06/05/12 13:17, Mariano Martinez Peck escribió:
>>
>>
>> On Sun, May 6, 2012 at 12:51 PM, Stéphane Ducasse
>> <[hidden email] <mailto:[hidden email]>> wrote:
>>
>>     >>
>>     >
>>     > The new book focuses on different issues than the old book.  It
>>     would be sad to let the old book languish entirely and end up with
>>     a poor first impression for newcomers, so I am willing to
>>     participate in updating it to Pharo 1.4.  I am getting a lot from
>>     Pharo and this is something I can contribute.  I think it fair the
>>     main developers continue with implementing and documenting the
>>     advanced features, while the community maintains the more
>>     established things.  A quick scan pegs this effort at updating
>>     about 170 images, plus hopefully a minimal amount of text.  How
>>     would I proceed with this?
>>     >
>>
>>
>>
>> That would be AWESOME. Really.
>
> I would be the last person who could really help, directly with this,
> but I'd be happy (other pressures permitting) to do some proof-reading
> for you and to act as a guinea pig for you - along the lines of, "If
> it's clear to me it's probably going to be clear to other readers
> since my prior knowledge is nil".
>
> :-)
>
>
> Peter
That would be welcome.   I'll move further discussion to
[hidden email] list.  Announce yourself there also.

cheers -ben


Reply | Threaded
Open this post in threaded view
|

Re: PBE1 update to Pharo 1.4 Re: Some Newbie problems

Peredur
El 06/05/12 23:27, Ben Coman escribió:
That would be welcome.   I'll move further discussion to [hidden email] list.  Announce yourself there also.

cheers -ben


I tried, but the list rejected me:

You are not allowed to post to this mailing list, and your message has
been automatically rejected.  If you think that your messages are
being rejected in error, contact the mailing list owner at
[hidden email].

Cheers


Peter
--
Peter Bradley
peredur.net
Reply | Threaded
Open this post in threaded view
|

Re: PBE1 update to Pharo 1.4 Re: Some Newbie problems

Marcus Denker-4
In reply to this post by Ben Coman

On May 7, 2012, at 1:26 AM, Peredur wrote:

> El 06/05/12 23:27, Ben Coman escribió:
>> That would be welcome.   I'll move further discussion to [hidden email] list.  Announce yourself there also.
>>
>> cheers -ben
>>
>
> I tried, but the list rejected me:
>
> You are not allowed to post to this mailing list, and your message has
> been automatically rejected.  If you think that your messages are
> being rejected in error, contact the mailing list owner at
>
> [hidden email]
>

you need to first subscribe to the list. It reject all mails from people not subscribed.

https://www.iam.unibe.ch/mailman/listinfo/sbe-discussion



--
Marcus Denker -- http://marcusdenker.de