Re: [Pharo-users] What's wrong whith this code?

2014-03-19 Thread Friedrich Dominicus
Bernat Romagosa tibabenfortlapala...@gmail.com writes: ouch, I added a . in the middle, sorry! elements := #('eins' 'zwei' 'drei' 'vier'). elements do: [ :element | (Delay forSeconds: 2) wait ] displayingProgress: [ :element | 'Working on', element asString ]. 2014-03-18 9:55 GMT+01:00

Re: [Pharo-users] What's wrong whith this code?

2014-03-19 Thread PBK Research
Note however that the first example used in the method comment, which displays a static label, does work. There is something wrong in the method of computing the changing label in the second example. I can't follow the code here, so I can't see the error, but it should be clear where to look.

Re: [Pharo-users] Calculate angle between two vectors (probably @Igor :)

2014-03-19 Thread Nicolai Hess
2014-03-19 8:49 GMT+01:00 MartinW w...@fastmail.fm: Nicolai Hess wrote This was of course wrong, I don't know what the other method computes, but not the angle between two vectors. Yes i also wrote a test and i think my method is right. Nicolai Hess wrote Now the question is, why do

Re: [Pharo-users] Calculate angle between two vectors (probably @Igor :)

2014-03-19 Thread Igor Stasenko
On 16 March 2014 17:01, MartinW w...@fastmail.fm wrote: Hello, i probably made some embarassing mistake, but as i cannot find it, i ask you to have a look at this method. It should calculate the angle between two vectors. And vectors are instances of Point (perhaps here is already a

[Pharo-users] Phratch Website + version 3.0 in dev

2014-03-19 Thread jannik laval
Dear all, I am pleased to announce Phratch website: www.phratch.com Thanks to the support of ESUG, it is possible to make visible this wonderful project. For now, what is available on the site: - a presentation of Phratch (you can refer to it now) - installation files, there is a portable

Re: [Pharo-users] Phratch Website + version 3.0 in dev

2014-03-19 Thread Hilaire Fernandes
Great news! Le 19/03/2014 15:10, jannik laval a écrit : - version 3.0 is the version in development. What is new here: Before this version Phratch was really slow. I am cleaning the code, and now it begins to be fast, really fast ! We also begun to write tests. I am curious. What did you

Re: [Pharo-users] Phratch Website + version 3.0 in dev

2014-03-19 Thread jannik laval
2014-03-19 15:34 GMT+01:00 Hilaire Fernandes hilaire.fernan...@gmail.com: Great news! Le 19/03/2014 15:10, jannik laval a écrit : - version 3.0 is the version in development. What is new here: Before this version Phratch was really slow. I am cleaning the code, and now it begins to be

Re: [Pharo-users] Calculate angle between two vectors (probably @Igor :)

2014-03-19 Thread MartinW
Nicolai Hess wrote in testIsInFieldOfVision subject has velocity 100@0, I understand this as moves from left to right. testobject other2 and other3 are above and below subect, and not behind and in front, both should be visible with the fieldOfView. Oh, thank you. I made a new testcase.

Re: [Pharo-users] What's wrong with this code?

2014-03-19 Thread Nicolai Hess
I think the ProgressNotification was only used in older pharo version (like 1.4, where this displayProgress: ... with progress title worked) 2014-03-19 16:46 GMT+01:00 Ben Coman b...@openinworld.com: Friedrich Dominicus wrote: Bernat Romagosa tibabenfortlapala...@gmail.com

Re: [Pharo-users] What's wrong with this code?

2014-03-19 Thread Ben Coman
Ben Coman wrote: Friedrich Dominicus wrote: Bernat Romagosa tibabenfortlapala...@gmail.com writes: ouch, I added a . in the middle, sorry! elements := #('eins' 'zwei' 'drei' 'vier'). elements do: [ :element | (Delay forSeconds: 2) wait ] displayingProgress: [

[Pharo-users] Pharo3 Can not decompile anymore?

2014-03-19 Thread Hilaire Fernandes
Hello, In Pharo3 installation, when I remove both the .source and .changes files (yeah yeah I know), the browser nor the debugger can show me decompiled method code to give me a Smalltalk representation? Is there an option to get it back? Thanks Hilaire -- Dr. Geo http://drgeo.eu

Re: [Pharo-users] Pharo3 Can not decompile anymore?

2014-03-19 Thread Hilaire Fernandes
And what about #checkSourcesFileAvailability: gone? Hilaire Le 19/03/2014 17:52, Esteban Lorenzano a écrit : Nope, opal compiler does not decompile… you need the sources and changes there. Esteban On 19 Mar 2014, at 17:47, Hilaire Fernandes hilaire.fernan...@gmail.com wrote:

Re: [Pharo-users] Pharo3 Can not decompile anymore?

2014-03-19 Thread Esteban Lorenzano
Nope, opal compiler does not decompile… you need the sources and changes there. Esteban On 19 Mar 2014, at 17:47, Hilaire Fernandes hilaire.fernan...@gmail.com wrote: Hello, In Pharo3 installation, when I remove both the .source and .changes files (yeah yeah I know), the browser nor the

Re: [Pharo-users] Pharo3 Can not decompile anymore?

2014-03-19 Thread Esteban Lorenzano
he… I did not know that checkSourcesFileAvailability: is gone… but there has to be an equivalent, check around: PharoFilesOpener#sourcesFileOrNil Esteban On 19 Mar 2014, at 18:07, Hilaire Fernandes hilaire.fernan...@gmail.com wrote: And what about #checkSourcesFileAvailability: gone?

Re: [Pharo-users] What's wrong with this code?

2014-03-19 Thread Ben Coman
Friedrich Dominicus wrote: Bernat Romagosa tibabenfortlapala...@gmail.com writes: ouch, I added a . in the middle, sorry! elements := #('eins' 'zwei' 'drei' 'vier'). elements do: [ :element | (Delay forSeconds: 2) wait ] displayingProgress: [ :element | 'Working on', element