Re: [Pharo-users] question on syntax "negate numbers"

2014-11-08 Thread Werner Kassens
but if you omit the space between - and 3 the old compiler understands 
it too, hence its just a convenience thing that cant lead to 
misunderstandings, or?

btw opal also understands this:
-3@2. --> (-3@2)
i mean, its obvious nevertheless that "-" is not a method like negated, 
but part of a number and opal is just a bit more flexible with number 
formatting.

werner

On 11/08/2014 04:40 PM, Nicolai Hess wrote:

Old compiler refuses to accept this code:

- 4 @ -5
^-- nothing more expected

Opal compiler does just fine:

- 4 @ -5 -> (-4@ -5)

who is right?




Re: [Pharo-users] [ANN]: NewExternalWebBrowser

2014-11-08 Thread Sean P. DeNigris
jannik laval wrote
> It seems that there is no NBUnixShell.
> I have implemented the necessary for Ubuntu, in Phratch.
> 
> Would you like I push it ?

Absolutely! Is there a command or library that can open a URL that works on
all GNU+Linux flavors (bonus if it's pre-loaded)? When I looked into this
the first time, I remember there was xdg-open, gnome-open, etc, etc...



-
Cheers,
Sean
--
View this message in context: 
http://forum.world.st/ANN-NewExternalWebBrowser-tp4788403p4789174.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.



[Pharo-users] question on syntax "negate numbers"

2014-11-08 Thread Nicolai Hess
Old compiler refuses to accept this code:

- 4 @ -5
^-- nothing more expected

Opal compiler does just fine:

- 4 @ -5 -> (-4@ -5)

who is right?


Re: [Pharo-users] next sttep after the example tutorial

2014-11-08 Thread Johan Fabry

Roelof, I just want to say that I highly recommend that you read Kilon’s PBE 
chapters in the link that he includes in his mail. It will help you to get the 
basic knowledge that you need to be able to improve your Pharo knowledge. From 
your mails it seems to me that you still need to work on that, to get the 
fundamentals right (sorry if I am mistaken in that, I’m only human).

On Nov 8, 2014, at 9:06 AM, kilon alios  wrote:

> ok that top tool up there is finder , if you open it the first option for 
> searching will be "selectors" , selectors are methods, if you did not know 
> this I advise to read PBE since you need to have this basic understanding to 
> use Pharo. 
> 
> I have also began to port PBE to Pharo 3 because existing PBE is still for 
> Pharo 1.4 , you can read it here --> http://kilon.gitbooks.io/pbe/
> 
> On Sat, Nov 8, 2014 at 9:38 AM, Roelof Wobben  wrote:
> Hello, 
> 
> Sorry I mean a method. 
> 
> Pharo version : 3.0
> OS : Windows 7 Home 
> Image release : 30860
> 
> screenshot : http://snag.gy/ISMs7.jpg
> 
> Roelof



---> Save our in-boxes! http://emailcharter.org <---

Johan Fabry   -   http://pleiad.cl/~jfabry
PLEIAD lab  -  Computer Science Department (DCC)  -  University of Chile



Re: [Pharo-users] About PBE status was Re: How not to serve an AngularJs application from Pharo

2014-11-08 Thread kilon alios
yeah i have left some things behind like linking through chapters some
meta-tags to figures , small info here and there to speed up my
documentation effort. I felt that it was better to focus on the content
itself and porting as many chapters as possible than the technical details
with the assumption that people eventually would come in to fill my gaps.

Personally I felt at some point that it would be better if PBE was inside
Pharo , it would make it much easier for example instead of displaying
images to have a link that would open the pharo tool and see directly the
tool itself instead of a screenshot. Also examples could open in workspace
so the user could directly play on them. Still searching a way to do this
:)

On Sat, Nov 8, 2014 at 10:09 AM, stepharo  wrote:

> Hi kilon
>
> Thanks for continuing to push it. I really want to see PharoByExample in
> Pharo30/40.
> I will read and compare with the orginal the UpdatePharoByExample and do a
> pass on the chapters you did.
> I saw that some references are not found. I will have a look. I should
> change the latex template to print in a better way >>
> because right now this is a bit ugly but a detail. We should probably use
> the latest version of pillar. I will check if damien
> can help us on this one.
>
> Stef
>
>
>
>


Re: [Pharo-users] next sttep after the example tutorial

2014-11-08 Thread stepharo


On 7/11/14 18:12, Peter Uhnák wrote:
Well for start there is this http://pharo.org/documentation (books 
Pharo By Example + Deep into Pharo + Pharo for the Enterprise) and 
this http://pharo.gemtalksystems.com/


As far as expertise goes you can probably become an expert by writing 
a book about Pharo. :)


:)
This is so true. When you force yourselves to be sure that other people 
can understand something you have to deeply understand it.

stef




Re: [Pharo-users] About PBE status was Re: How not to serve an AngularJs application from Pharo

2014-11-08 Thread stepharo

Hi kilon

Thanks for continuing to push it. I really want to see PharoByExample in 
Pharo30/40.
I will read and compare with the orginal the UpdatePharoByExample and do 
a pass on the chapters you did.
I saw that some references are not found. I will have a look. I should 
change the latex template to print in a better way >>
because right now this is a bit ugly but a detail. We should probably 
use the latest version of pillar. I will check if damien

can help us on this one.

Stef





Re: [Pharo-users] next sttep after the example tutorial

2014-11-08 Thread kilon alios
ok that top tool up there is finder , if you open it the first option for
searching will be "selectors" , selectors are methods, if you did not know
this I advise to read PBE since you need to have this basic understanding
to use Pharo.

I have also began to port PBE to Pharo 3 because existing PBE is still for
Pharo 1.4 , you can read it here --> http://kilon.gitbooks.io/pbe/

On Sat, Nov 8, 2014 at 9:38 AM, Roelof Wobben  wrote:

>  Hello,
>
> Sorry I mean a method.
>
> Pharo version : 3.0
> OS : Windows 7 Home
> Image release : 30860
>
> screenshot : http://snag.gy/ISMs7.jpg
>
> Roelof
>
> kilon alios schreef op 7-11-2014 22:08:
>
> also whats a module ?
>
> On Fri, Nov 7, 2014 at 10:45 PM, Roelof Wobben  wrote:
>
>>  Thanks,
>>
>> I can see a choice finder but as far as I can see I cannot use it for
>> modules.
>>
>> Roelof
>>
>>
>>
>>
>> kilon alios schreef op 7-11-2014 21:21:
>>
>> start here
>>
>>  http://pharo.org/documentation
>>
>>  here a video tutorial series i created
>>
>>  https://www.youtube.com/playlist?list=PLqbtQ7OkSta0ULYAd7Qdxof851ybh-_m_
>>
>>  you can skip first video "Why Pharo" the rest is practical tutorials.
>>
>>  if you got Pharo 3 or 4 , finder should be in the tools section of
>> world menu.
>>
>> On Fri, Nov 7, 2014 at 8:13 PM, Roelof Wobben  wrote:
>>
>>>  oke, are there books / tutorials I can do so I can understand better
>>> how smalltalk works.
>>>
>>> I was thinking of making a calculator as my first project.
>>>
>>> Roelof
>>>
>>>
>>>
>>> kilon alios schreef op 7-11-2014 18:34:
>>>
>>> yes, read all the pharo documentation, read the entire pharo code,
>>> understand the entire pharo code, make a few hundrend pharo application and
>>> boom your are an expert :)
>>>
>>>  Seriously though, do whatever is interesting to you and ask questions
>>> here and in stackoverflow. You dont need to be expert , just someone that
>>> finds pharo enjoyable and useful.
>>>
>>> On Fri, Nov 7, 2014 at 7:17 PM, Roelof Wobben  wrote:
>>>
  Thanks.

 By expert I mean I can write and test most of the programms and know
 very well how pharo works.

 Roelof


 Peter Uhnák schreef op 7-11-2014 18:12:

 Well for start there is this http://pharo.org/documentation (books
 Pharo By Example + Deep into Pharo + Pharo for the Enterprise) and this
 http://pharo.gemtalksystems.com/

  As far as expertise goes you can probably become an expert by writing
 a book about Pharo. :)

  Peter


 On Fri, Nov 7, 2014 at 6:01 PM, Roelof Wobben  wrote:

> Hello,
>
> Is there a book / tutorial/ challenges that I can use to become a
> expert in Pharo ?
>
> Roelof
>
>
>


>>>
>>>
>>
>>
>
>