Re: [Pharo-users] Base64 or HMAC problem

2014-04-29 Thread Spiliosv
Dear all,

Apologies but it seems that I am getting the wrong apiKey from the test
environment I am using. The correct apiKey is apiKey :=
'19aW5T6QBjOZFQOzygNAFA=='. which produces the appropriate results.

As stated by a number of you the SHA256 and base64 transformations work
correctly.

Thank you all for your efforts.

Regards,
Spilios



--
View this message in context: 
http://forum.world.st/Base64-or-HMAC-problem-tp4756788p4756914.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.



[Pharo-users] [Pharo3] New Sources file starting 30841/30842

2014-04-29 Thread Marcus Denker
Hi,

We have a sources file for Pharo3!

http://files.pharo.org/sources/PharoV30.sources.zip
http://files.pharo.org/sources/PharoV30.sources


The image that goes with it is 30 842 or newer.
zipped image is now 5MB smaller due to the empty changes.

http://files.pharo.org/image/30/

this now needs some careful testing… the build is green

https://ci.inria.fr/pharo/





Marcus






Re: [Pharo-users] [Pharo3] New Sources file starting 30841/30842

2014-04-29 Thread Robert Shiplett
congrat's !

Will run through my idiosyncratic ad hoc odd user "testing" later today ;-)

I will be SOooo pleased to move up to Pharo3 - soon.

And then to get a headless 3 onto my Japanese server in a prod dir !


On 29 April 2014 07:53, Marcus Denker  wrote:

> Hi,
>
> We have a sources file for Pharo3!
>
> http://files.pharo.org/sources/PharoV30.sources.zip
> http://files.pharo.org/sources/PharoV30.sources
>
>
> The image that goes with it is 30 842 or newer.
> zipped image is now 5MB smaller due to the empty changes.
>
> http://files.pharo.org/image/30/
>
> this now needs some careful testing… the build is green
>
> https://ci.inria.fr/pharo/
>
>
>
>
>
> Marcus
>
>
>
>
>


[Pharo-users] "stepping" a non-morphic object

2014-04-29 Thread Chris Wright
I have a model which needs to run at regular intervals, and it could have a
number of UI connections. So it's not "intrinsically" a morph.

What is the best way to get the step message sent to non-morphs - or is
there a better way in Pharo

(Google was not my friend!)

thanks in advance for any help

Chris


Re: [Pharo-users] [Pharo3] New Sources file starting 30841/30842

2014-04-29 Thread Sven Van Caekenberghe
Tested on Mac OS X:

$ mkdir pharo3
$ cd pharo3/
$ curl get.pharo.org/vm | bash
$ curl get.pharo.org/30 | bash
$ ./pharo-ui Pharo.image 

Loaded some configurations, ran some tests, recompiled all. All OK.

Super !

On 29 Apr 2014, at 12:53, Marcus Denker  wrote:

> Hi,
> 
> We have a sources file for Pharo3!
> 
> http://files.pharo.org/sources/PharoV30.sources.zip
> http://files.pharo.org/sources/PharoV30.sources
> 
> 
> The image that goes with it is 30 842 or newer.
> zipped image is now 5MB smaller due to the empty changes.
> 
>   http://files.pharo.org/image/30/
> 
> this now needs some careful testing… the build is green
> 
>   https://ci.inria.fr/pharo/
> 
> 
> 
> 
> 
>   Marcus
> 
> 
> 
> 




Re: [Pharo-users] "stepping" a non-morphic object

2014-04-29 Thread Robert Shiplett
re : Google'd heartbeat and model ticking-over

isn't there a stackoverflow.com option for #pharo in addition to this mail
list ( when time interval very short ;-) ?  I think Seaside suggests just
using #pharo tag to raise someone ... or was that IRC freenode ?

Even with Pharo3 sooo close to release, those EU folks must sleep sometimes
;-)


On 29 April 2014 09:06, Chris Wright  wrote:

> I have a model which needs to run at regular intervals, and it could have
> a number of UI connections. So it's not "intrinsically" a morph.
>
> What is the best way to get the step message sent to non-morphs - or is
> there a better way in Pharo
>
> (Google was not my friend!)
>
> thanks in advance for any help
>
> Chris
>
>


Re: [Pharo-users] "stepping" a non-morphic object

2014-04-29 Thread Marcus Denker

On 29 Apr 2014, at 14:22, Robert Shiplett  wrote:

> re : Google'd heartbeat and model ticking-over
> 
> isn't there a stackoverflow.com option for #pharo in addition to this mail 
> list ( when time interval very short ;-) ?  I think Seaside suggests just 
> using #pharo tag to raise someone ... or was that IRC freenode ?
> 

http://stackoverflow.com/tags/pharo


Marcus



Re: [Pharo-users] [Pharo-dev] [Pharo3] New Sources file starting 30841/30842

2014-04-29 Thread Norbert Hartl

Am 29.04.2014 um 14:19 schrieb Sven Van Caekenberghe :

> Tested on Mac OS X:
> 
> $ mkdir pharo3
> $ cd pharo3/
> $ curl get.pharo.org/vm | bash
> $ curl get.pharo.org/30 | bash
> $ ./pharo-ui Pharo.image 
> 
Just a side note. You know there is a

get.pharo.org/30+vm

? 

Norbert

> Loaded some configurations, ran some tests, recompiled all. All OK.
> 
> Super !
> 
> On 29 Apr 2014, at 12:53, Marcus Denker  wrote:
> 
>> Hi,
>> 
>> We have a sources file for Pharo3!
>> 
>> http://files.pharo.org/sources/PharoV30.sources.zip
>> http://files.pharo.org/sources/PharoV30.sources
>> 
>> 
>> The image that goes with it is 30 842 or newer.
>> zipped image is now 5MB smaller due to the empty changes.
>> 
>>  http://files.pharo.org/image/30/
>> 
>> this now needs some careful testing… the build is green
>> 
>>  https://ci.inria.fr/pharo/
>> 
>> 
>> 
>> 
>> 
>>  Marcus
>> 
>> 
>> 
>> 
> 
> 




Re: [Pharo-users] [Pharo-dev] [Pharo3] New Sources file starting 30841/30842

2014-04-29 Thread Sven Van Caekenberghe

On 29 Apr 2014, at 15:05, Norbert Hartl  wrote:

> 
> Am 29.04.2014 um 14:19 schrieb Sven Van Caekenberghe :
> 
>> Tested on Mac OS X:
>> 
>> $ mkdir pharo3
>> $ cd pharo3/
>> $ curl get.pharo.org/vm | bash
>> $ curl get.pharo.org/30 | bash
>> $ ./pharo-ui Pharo.image 
>> 
> Just a side note. You know there is a
> 
> get.pharo.org/30+vm
> 
> ? 

Yes. Of course I know ;-) I was explicitly going step by step since the source 
were new.

> Norbert
> 
>> Loaded some configurations, ran some tests, recompiled all. All OK.
>> 
>> Super !
>> 
>> On 29 Apr 2014, at 12:53, Marcus Denker  wrote:
>> 
>>> Hi,
>>> 
>>> We have a sources file for Pharo3!
>>> 
>>> http://files.pharo.org/sources/PharoV30.sources.zip
>>> http://files.pharo.org/sources/PharoV30.sources
>>> 
>>> 
>>> The image that goes with it is 30 842 or newer.
>>> zipped image is now 5MB smaller due to the empty changes.
>>> 
>>> http://files.pharo.org/image/30/
>>> 
>>> this now needs some careful testing… the build is green
>>> 
>>> https://ci.inria.fr/pharo/
>>> 
>>> 
>>> 
>>> 
>>> 
>>> Marcus
>>> 
>>> 
>>> 
>>> 
>> 
>> 
> 
> 




Re: [Pharo-users] [Pharo-dev] [Pharo3] New Sources file starting 30841/30842

2014-04-29 Thread Robert Shiplett
I have to add a line to my pharo.ini to use sources named '30'  ?

Pharo comes up with latest.zip + sources 30 but complains not able to find
sources '20'


On 29 April 2014 10:11, Sven Van Caekenberghe  wrote:

>
> On 29 Apr 2014, at 15:05, Norbert Hartl  wrote:
>
> >
> > Am 29.04.2014 um 14:19 schrieb Sven Van Caekenberghe :
> >
> >> Tested on Mac OS X:
> >>
> >> $ mkdir pharo3
> >> $ cd pharo3/
> >> $ curl get.pharo.org/vm | bash
> >> $ curl get.pharo.org/30 | bash
> >> $ ./pharo-ui Pharo.image
> >>
> > Just a side note. You know there is a
> >
> > get.pharo.org/30+vm
> >
> > ?
>
> Yes. Of course I know ;-) I was explicitly going step by step since the
> source were new.
>
> > Norbert
> >
> >> Loaded some configurations, ran some tests, recompiled all. All OK.
> >>
> >> Super !
> >>
> >> On 29 Apr 2014, at 12:53, Marcus Denker  wrote:
> >>
> >>> Hi,
> >>>
> >>> We have a sources file for Pharo3!
> >>>
> >>> http://files.pharo.org/sources/PharoV30.sources.zip
> >>> http://files.pharo.org/sources/PharoV30.sources
> >>>
> >>>
> >>> The image that goes with it is 30 842 or newer.
> >>> zipped image is now 5MB smaller due to the empty changes.
> >>>
> >>> http://files.pharo.org/image/30/
> >>>
> >>> this now needs some careful testing… the build is green
> >>>
> >>> https://ci.inria.fr/pharo/
> >>>
> >>>
> >>>
> >>>
> >>>
> >>> Marcus
> >>>
> >>>
> >>>
> >>>
> >>
> >>
> >
> >
>
>
>


Re: [Pharo-users] [Pharo-dev] [Pharo3] New Sources file starting 30841/30842

2014-04-29 Thread Robert Shiplett
looked through 2 PDF's for "pharo.ini" and "sources" but did not find this
mentioned ... it is probably staring right at me, since the image DID
open...


On 29 April 2014 10:22, Robert Shiplett  wrote:

> I have to add a line to my pharo.ini to use sources named '30'  ?
>
> Pharo comes up with latest.zip + sources 30 but complains not able to find
> sources '20'
>
>
> On 29 April 2014 10:11, Sven Van Caekenberghe  wrote:
>
>>
>> On 29 Apr 2014, at 15:05, Norbert Hartl  wrote:
>>
>> >
>> > Am 29.04.2014 um 14:19 schrieb Sven Van Caekenberghe :
>> >
>> >> Tested on Mac OS X:
>> >>
>> >> $ mkdir pharo3
>> >> $ cd pharo3/
>> >> $ curl get.pharo.org/vm | bash
>> >> $ curl get.pharo.org/30 | bash
>> >> $ ./pharo-ui Pharo.image
>> >>
>> > Just a side note. You know there is a
>> >
>> > get.pharo.org/30+vm
>> >
>> > ?
>>
>> Yes. Of course I know ;-) I was explicitly going step by step since the
>> source were new.
>>
>> > Norbert
>> >
>> >> Loaded some configurations, ran some tests, recompiled all. All OK.
>> >>
>> >> Super !
>> >>
>> >> On 29 Apr 2014, at 12:53, Marcus Denker 
>> wrote:
>> >>
>> >>> Hi,
>> >>>
>> >>> We have a sources file for Pharo3!
>> >>>
>> >>> http://files.pharo.org/sources/PharoV30.sources.zip
>> >>> http://files.pharo.org/sources/PharoV30.sources
>> >>>
>> >>>
>> >>> The image that goes with it is 30 842 or newer.
>> >>> zipped image is now 5MB smaller due to the empty changes.
>> >>>
>> >>> http://files.pharo.org/image/30/
>> >>>
>> >>> this now needs some careful testing… the build is green
>> >>>
>> >>> https://ci.inria.fr/pharo/
>> >>>
>> >>>
>> >>>
>> >>>
>> >>>
>> >>> Marcus
>> >>>
>> >>>
>> >>>
>> >>>
>> >>
>> >>
>> >
>> >
>>
>>
>>
>


Re: [Pharo-users] [Pharo-dev] [Pharo3] New Sources file starting 30841/30842

2014-04-29 Thread Marcus Denker

On 29 Apr 2014, at 15:32, Robert Shiplett  wrote:

> looked through 2 PDF's for "pharo.ini" and "sources" but did not find this 
> mentioned ... it is probably staring right at me, since the image DID open...
> 

I never use windows. But I think it would be strange if the sources file would 
be referenced there. Makes no sense to me
(but as I said, never used windows since win 3.11)

Marcus

> 
> On 29 April 2014 10:22, Robert Shiplett  wrote:
> I have to add a line to my pharo.ini to use sources named '30'  ?
> 
> Pharo comes up with latest.zip + sources 30 but complains not able to find 
> sources '20'
> 
> 
> On 29 April 2014 10:11, Sven Van Caekenberghe  wrote:
> 
> On 29 Apr 2014, at 15:05, Norbert Hartl  wrote:
> 
> >
> > Am 29.04.2014 um 14:19 schrieb Sven Van Caekenberghe :
> >
> >> Tested on Mac OS X:
> >>
> >> $ mkdir pharo3
> >> $ cd pharo3/
> >> $ curl get.pharo.org/vm | bash
> >> $ curl get.pharo.org/30 | bash
> >> $ ./pharo-ui Pharo.image
> >>
> > Just a side note. You know there is a
> >
> > get.pharo.org/30+vm
> >
> > ?
> 
> Yes. Of course I know ;-) I was explicitly going step by step since the 
> source were new.
> 
> > Norbert
> >
> >> Loaded some configurations, ran some tests, recompiled all. All OK.
> >>
> >> Super !
> >>
> >> On 29 Apr 2014, at 12:53, Marcus Denker  wrote:
> >>
> >>> Hi,
> >>>
> >>> We have a sources file for Pharo3!
> >>>
> >>> http://files.pharo.org/sources/PharoV30.sources.zip
> >>> http://files.pharo.org/sources/PharoV30.sources
> >>>
> >>>
> >>> The image that goes with it is 30 842 or newer.
> >>> zipped image is now 5MB smaller due to the empty changes.
> >>>
> >>> http://files.pharo.org/image/30/
> >>>
> >>> this now needs some careful testing… the build is green
> >>>
> >>> https://ci.inria.fr/pharo/
> >>>
> >>>
> >>>
> >>>
> >>>
> >>> Marcus
> >>>
> >>>
> >>>
> >>>
> >>
> >>
> >
> >
> 
> 
> 
> 



Re: [Pharo-users] [Pharo-dev] [Pharo3] New Sources file starting 30841/30842

2014-04-29 Thread Sven Van Caekenberghe
Maybe it is better to wait for the actual release ?

On 29 Apr 2014, at 15:32, Robert Shiplett  wrote:

> looked through 2 PDF's for "pharo.ini" and "sources" but did not find this 
> mentioned ... it is probably staring right at me, since the image DID open...
> 
> 
> On 29 April 2014 10:22, Robert Shiplett  wrote:
> I have to add a line to my pharo.ini to use sources named '30'  ?
> 
> Pharo comes up with latest.zip + sources 30 but complains not able to find 
> sources '20'
> 
> 
> On 29 April 2014 10:11, Sven Van Caekenberghe  wrote:
> 
> On 29 Apr 2014, at 15:05, Norbert Hartl  wrote:
> 
> >
> > Am 29.04.2014 um 14:19 schrieb Sven Van Caekenberghe :
> >
> >> Tested on Mac OS X:
> >>
> >> $ mkdir pharo3
> >> $ cd pharo3/
> >> $ curl get.pharo.org/vm | bash
> >> $ curl get.pharo.org/30 | bash
> >> $ ./pharo-ui Pharo.image
> >>
> > Just a side note. You know there is a
> >
> > get.pharo.org/30+vm
> >
> > ?
> 
> Yes. Of course I know ;-) I was explicitly going step by step since the 
> source were new.
> 
> > Norbert
> >
> >> Loaded some configurations, ran some tests, recompiled all. All OK.
> >>
> >> Super !
> >>
> >> On 29 Apr 2014, at 12:53, Marcus Denker  wrote:
> >>
> >>> Hi,
> >>>
> >>> We have a sources file for Pharo3!
> >>>
> >>> http://files.pharo.org/sources/PharoV30.sources.zip
> >>> http://files.pharo.org/sources/PharoV30.sources
> >>>
> >>>
> >>> The image that goes with it is 30 842 or newer.
> >>> zipped image is now 5MB smaller due to the empty changes.
> >>>
> >>> http://files.pharo.org/image/30/
> >>>
> >>> this now needs some careful testing… the build is green
> >>>
> >>> https://ci.inria.fr/pharo/
> >>>
> >>>
> >>>
> >>>
> >>>
> >>> Marcus
> >>>
> >>>
> >>>
> >>>
> >>
> >>
> >
> >
> 
> 
> 
> 




Re: [Pharo-users] [Pharo-dev] [Pharo3] New Sources file starting 30841/30842

2014-04-29 Thread Marcus Denker

On 29 Apr 2014, at 15:34, Marcus Denker  wrote:

> 
> On 29 Apr 2014, at 15:32, Robert Shiplett  wrote:
> 
>> looked through 2 PDF's for "pharo.ini" and "sources" but did not find this 
>> mentioned ... it is probably staring right at me, since the image DID open...
>> 
> 
> I never use windows. But I think it would be strange if the sources file 
> would be referenced there. Makes no sense to me
> (but as I said, never used windows since win 3.11)

One thing I found is that the full zip releases (e.g. Pharo3.0-win.zip) do just 
have the V2 sources… fixing that now.

Marcus



Re: [Pharo-users] [Pharo-dev] [Pharo3] New Sources file starting 30841/30842

2014-04-29 Thread Robert Shiplett
If the image is sensitive to the name of the sources file unless overridden
in the .ini then I think we should at least document now.

I am using my last "Latest" install which was working fine ...

I am PRETTY sure someone once mentioned this about pharo.ini options

Maybe if I look in Squeak pages it will turn up there ...

THIS IS my idiosyncratic USER testing ;-)




On 29 April 2014 10:35, Sven Van Caekenberghe  wrote:

> Maybe it is better to wait for the actual release ?
>
> On 29 Apr 2014, at 15:32, Robert Shiplett  wrote:
>
> > looked through 2 PDF's for "pharo.ini" and "sources" but did not find
> this mentioned ... it is probably staring right at me, since the image DID
> open...
> >
> >
> > On 29 April 2014 10:22, Robert Shiplett  wrote:
> > I have to add a line to my pharo.ini to use sources named '30'  ?
> >
> > Pharo comes up with latest.zip + sources 30 but complains not able to
> find sources '20'
> >
> >
> > On 29 April 2014 10:11, Sven Van Caekenberghe  wrote:
> >
> > On 29 Apr 2014, at 15:05, Norbert Hartl  wrote:
> >
> > >
> > > Am 29.04.2014 um 14:19 schrieb Sven Van Caekenberghe :
> > >
> > >> Tested on Mac OS X:
> > >>
> > >> $ mkdir pharo3
> > >> $ cd pharo3/
> > >> $ curl get.pharo.org/vm | bash
> > >> $ curl get.pharo.org/30 | bash
> > >> $ ./pharo-ui Pharo.image
> > >>
> > > Just a side note. You know there is a
> > >
> > > get.pharo.org/30+vm
> > >
> > > ?
> >
> > Yes. Of course I know ;-) I was explicitly going step by step since the
> source were new.
> >
> > > Norbert
> > >
> > >> Loaded some configurations, ran some tests, recompiled all. All OK.
> > >>
> > >> Super !
> > >>
> > >> On 29 Apr 2014, at 12:53, Marcus Denker 
> wrote:
> > >>
> > >>> Hi,
> > >>>
> > >>> We have a sources file for Pharo3!
> > >>>
> > >>> http://files.pharo.org/sources/PharoV30.sources.zip
> > >>> http://files.pharo.org/sources/PharoV30.sources
> > >>>
> > >>>
> > >>> The image that goes with it is 30 842 or newer.
> > >>> zipped image is now 5MB smaller due to the empty changes.
> > >>>
> > >>> http://files.pharo.org/image/30/
> > >>>
> > >>> this now needs some careful testing… the build is green
> > >>>
> > >>> https://ci.inria.fr/pharo/
> > >>>
> > >>>
> > >>>
> > >>>
> > >>>
> > >>> Marcus
> > >>>
> > >>>
> > >>>
> > >>>
> > >>
> > >>
> > >
> > >
> >
> >
> >
> >
>
>
>


Re: [Pharo-users] [Pharo-dev] [Pharo3] New Sources file starting 30841/30842

2014-04-29 Thread Marcus Denker

On 29 Apr 2014, at 16:02, Robert Shiplett  wrote:

> If the image is sensitive to the name of the sources file unless overridden 
> in the .ini then I think we should at least document now.
> 

I have no idea how the ini file comes into play here… there is NO ENTRY in the 
ini file about sources in the download of Pharo.

> I am using my last "Latest" install which was working fine ...
> 
> I am PRETTY sure someone once mentioned this about pharo.ini options
> 
> Maybe if I look in Squeak pages it will turn up there ...
> 
> THIS IS my idiosyncratic USER testing ;-)
> 
> 
> 
> 
> On 29 April 2014 10:35, Sven Van Caekenberghe  wrote:
> Maybe it is better to wait for the actual release ?
> 
> On 29 Apr 2014, at 15:32, Robert Shiplett  wrote:
> 
> > looked through 2 PDF's for "pharo.ini" and "sources" but did not find this 
> > mentioned ... it is probably staring right at me, since the image DID 
> > open...
> >
> >
> > On 29 April 2014 10:22, Robert Shiplett  wrote:
> > I have to add a line to my pharo.ini to use sources named '30'  ?
> >
> > Pharo comes up with latest.zip + sources 30 but complains not able to find 
> > sources '20'
> >
> >
> > On 29 April 2014 10:11, Sven Van Caekenberghe  wrote:
> >
> > On 29 Apr 2014, at 15:05, Norbert Hartl  wrote:
> >
> > >
> > > Am 29.04.2014 um 14:19 schrieb Sven Van Caekenberghe :
> > >
> > >> Tested on Mac OS X:
> > >>
> > >> $ mkdir pharo3
> > >> $ cd pharo3/
> > >> $ curl get.pharo.org/vm | bash
> > >> $ curl get.pharo.org/30 | bash
> > >> $ ./pharo-ui Pharo.image
> > >>
> > > Just a side note. You know there is a
> > >
> > > get.pharo.org/30+vm
> > >
> > > ?
> >
> > Yes. Of course I know ;-) I was explicitly going step by step since the 
> > source were new.
> >
> > > Norbert
> > >
> > >> Loaded some configurations, ran some tests, recompiled all. All OK.
> > >>
> > >> Super !
> > >>
> > >> On 29 Apr 2014, at 12:53, Marcus Denker  wrote:
> > >>
> > >>> Hi,
> > >>>
> > >>> We have a sources file for Pharo3!
> > >>>
> > >>> http://files.pharo.org/sources/PharoV30.sources.zip
> > >>> http://files.pharo.org/sources/PharoV30.sources
> > >>>
> > >>>
> > >>> The image that goes with it is 30 842 or newer.
> > >>> zipped image is now 5MB smaller due to the empty changes.
> > >>>
> > >>> http://files.pharo.org/image/30/
> > >>>
> > >>> this now needs some careful testing… the build is green
> > >>>
> > >>> https://ci.inria.fr/pharo/
> > >>>
> > >>>
> > >>>
> > >>>
> > >>>
> > >>> Marcus
> > >>>
> > >>>
> > >>>
> > >>>
> > >>
> > >>
> > >
> > >
> >
> >
> >
> >
> 
> 
> 



Re: [Pharo-users] [Pharo-dev] [Pharo3] New Sources file starting 30841/30842

2014-04-29 Thread Sven Van Caekenberghe
Then he should remove it ;-)

On 29 Apr 2014, at 16:05, Marcus Denker  wrote:

> 
> On 29 Apr 2014, at 16:02, Robert Shiplett  wrote:
> 
>> If the image is sensitive to the name of the sources file unless overridden 
>> in the .ini then I think we should at least document now.
>> 
> 
> I have no idea how the ini file comes into play here… there is NO ENTRY in 
> the ini file about sources in the download of Pharo.
> 
>> I am using my last "Latest" install which was working fine ...
>> 
>> I am PRETTY sure someone once mentioned this about pharo.ini options
>> 
>> Maybe if I look in Squeak pages it will turn up there ...
>> 
>> THIS IS my idiosyncratic USER testing ;-)
>> 
>> 
>> 
>> 
>> On 29 April 2014 10:35, Sven Van Caekenberghe  wrote:
>> Maybe it is better to wait for the actual release ?
>> 
>> On 29 Apr 2014, at 15:32, Robert Shiplett  wrote:
>> 
>> > looked through 2 PDF's for "pharo.ini" and "sources" but did not find this 
>> > mentioned ... it is probably staring right at me, since the image DID 
>> > open...
>> >
>> >
>> > On 29 April 2014 10:22, Robert Shiplett  wrote:
>> > I have to add a line to my pharo.ini to use sources named '30'  ?
>> >
>> > Pharo comes up with latest.zip + sources 30 but complains not able to find 
>> > sources '20'
>> >
>> >
>> > On 29 April 2014 10:11, Sven Van Caekenberghe  wrote:
>> >
>> > On 29 Apr 2014, at 15:05, Norbert Hartl  wrote:
>> >
>> > >
>> > > Am 29.04.2014 um 14:19 schrieb Sven Van Caekenberghe :
>> > >
>> > >> Tested on Mac OS X:
>> > >>
>> > >> $ mkdir pharo3
>> > >> $ cd pharo3/
>> > >> $ curl get.pharo.org/vm | bash
>> > >> $ curl get.pharo.org/30 | bash
>> > >> $ ./pharo-ui Pharo.image
>> > >>
>> > > Just a side note. You know there is a
>> > >
>> > > get.pharo.org/30+vm
>> > >
>> > > ?
>> >
>> > Yes. Of course I know ;-) I was explicitly going step by step since the 
>> > source were new.
>> >
>> > > Norbert
>> > >
>> > >> Loaded some configurations, ran some tests, recompiled all. All OK.
>> > >>
>> > >> Super !
>> > >>
>> > >> On 29 Apr 2014, at 12:53, Marcus Denker  wrote:
>> > >>
>> > >>> Hi,
>> > >>>
>> > >>> We have a sources file for Pharo3!
>> > >>>
>> > >>> http://files.pharo.org/sources/PharoV30.sources.zip
>> > >>> http://files.pharo.org/sources/PharoV30.sources
>> > >>>
>> > >>>
>> > >>> The image that goes with it is 30 842 or newer.
>> > >>> zipped image is now 5MB smaller due to the empty changes.
>> > >>>
>> > >>> http://files.pharo.org/image/30/
>> > >>>
>> > >>> this now needs some careful testing… the build is green
>> > >>>
>> > >>> https://ci.inria.fr/pharo/
>> > >>>
>> > >>>
>> > >>>
>> > >>>
>> > >>>
>> > >>> Marcus
>> > >>>
>> > >>>
>> > >>>
>> > >>>
>> > >>
>> > >>
>> > >
>> > >
>> >
>> >
>> >
>> >
>> 
>> 
>> 
> 




Re: [Pharo-users] [Pharo-dev] [Pharo3] New Sources file starting 30841/30842

2014-04-29 Thread Sven Van Caekenberghe
Then he should remove it ;-)

On 29 Apr 2014, at 16:05, Marcus Denker  wrote:

> 
> On 29 Apr 2014, at 16:02, Robert Shiplett  wrote:
> 
>> If the image is sensitive to the name of the sources file unless overridden 
>> in the .ini then I think we should at least document now.
>> 
> 
> I have no idea how the ini file comes into play here… there is NO ENTRY in 
> the ini file about sources in the download of Pharo.
> 
>> I am using my last "Latest" install which was working fine ...
>> 
>> I am PRETTY sure someone once mentioned this about pharo.ini options
>> 
>> Maybe if I look in Squeak pages it will turn up there ...
>> 
>> THIS IS my idiosyncratic USER testing ;-)
>> 
>> 
>> 
>> 
>> On 29 April 2014 10:35, Sven Van Caekenberghe  wrote:
>> Maybe it is better to wait for the actual release ?
>> 
>> On 29 Apr 2014, at 15:32, Robert Shiplett  wrote:
>> 
>> > looked through 2 PDF's for "pharo.ini" and "sources" but did not find this 
>> > mentioned ... it is probably staring right at me, since the image DID 
>> > open...
>> >
>> >
>> > On 29 April 2014 10:22, Robert Shiplett  wrote:
>> > I have to add a line to my pharo.ini to use sources named '30'  ?
>> >
>> > Pharo comes up with latest.zip + sources 30 but complains not able to find 
>> > sources '20'
>> >
>> >
>> > On 29 April 2014 10:11, Sven Van Caekenberghe  wrote:
>> >
>> > On 29 Apr 2014, at 15:05, Norbert Hartl  wrote:
>> >
>> > >
>> > > Am 29.04.2014 um 14:19 schrieb Sven Van Caekenberghe :
>> > >
>> > >> Tested on Mac OS X:
>> > >>
>> > >> $ mkdir pharo3
>> > >> $ cd pharo3/
>> > >> $ curl get.pharo.org/vm | bash
>> > >> $ curl get.pharo.org/30 | bash
>> > >> $ ./pharo-ui Pharo.image
>> > >>
>> > > Just a side note. You know there is a
>> > >
>> > > get.pharo.org/30+vm
>> > >
>> > > ?
>> >
>> > Yes. Of course I know ;-) I was explicitly going step by step since the 
>> > source were new.
>> >
>> > > Norbert
>> > >
>> > >> Loaded some configurations, ran some tests, recompiled all. All OK.
>> > >>
>> > >> Super !
>> > >>
>> > >> On 29 Apr 2014, at 12:53, Marcus Denker  wrote:
>> > >>
>> > >>> Hi,
>> > >>>
>> > >>> We have a sources file for Pharo3!
>> > >>>
>> > >>> http://files.pharo.org/sources/PharoV30.sources.zip
>> > >>> http://files.pharo.org/sources/PharoV30.sources
>> > >>>
>> > >>>
>> > >>> The image that goes with it is 30 842 or newer.
>> > >>> zipped image is now 5MB smaller due to the empty changes.
>> > >>>
>> > >>> http://files.pharo.org/image/30/
>> > >>>
>> > >>> this now needs some careful testing… the build is green
>> > >>>
>> > >>> https://ci.inria.fr/pharo/
>> > >>>
>> > >>>
>> > >>>
>> > >>>
>> > >>>
>> > >>> Marcus
>> > >>>
>> > >>>
>> > >>>
>> > >>>
>> > >>
>> > >>
>> > >
>> > >
>> >
>> >
>> >
>> >
>> 
>> 
>> 
> 




Re: [Pharo-users] [Pharo-dev] [Pharo3] New Sources file starting 30841/30842

2014-04-29 Thread Marcus Denker

On 29 Apr 2014, at 15:51, Marcus Denker  wrote:

> 
> On 29 Apr 2014, at 15:34, Marcus Denker  wrote:
> 
>> 
>> On 29 Apr 2014, at 15:32, Robert Shiplett  wrote:
>> 
>>> looked through 2 PDF's for "pharo.ini" and "sources" but did not find this 
>>> mentioned ... it is probably staring right at me, since the image DID 
>>> open...
>>> 
>> 
>> I never use windows. But I think it would be strange if the sources file 
>> would be referenced there. Makes no sense to me
>> (but as I said, never used windows since win 3.11)
> 
> One thing I found is that the full zip releases (e.g. Pharo3.0-win.zip) do 
> just have the V2 sources… fixing that now.
> 

This is fixed now…

Marcus



Re: [Pharo-users] [Pharo-dev] [Pharo3] New Sources file starting 30841/30842

2014-04-29 Thread Sven Van Caekenberghe

On 29 Apr 2014, at 16:39, Marcus Denker  wrote:

> 
> On 29 Apr 2014, at 15:51, Marcus Denker  wrote:
> 
>> 
>> On 29 Apr 2014, at 15:34, Marcus Denker  wrote:
>> 
>>> 
>>> On 29 Apr 2014, at 15:32, Robert Shiplett  wrote:
>>> 
 looked through 2 PDF's for "pharo.ini" and "sources" but did not find this 
 mentioned ... it is probably staring right at me, since the image DID 
 open...
 
>>> 
>>> I never use windows. But I think it would be strange if the sources file 
>>> would be referenced there. Makes no sense to me
>>> (but as I said, never used windows since win 3.11)
>> 
>> One thing I found is that the full zip releases (e.g. Pharo3.0-win.zip) do 
>> just have the V2 sources… fixing that now.
>> 
> 
> This is fixed now…
> 
>   Marcus

I did a quick test on Windows 8.1 downloading 
http://files.pharo.org/platform/Pharo3.0-win.zip and it works perfectly !

Super.

We're very close now.




Re: [Pharo-users] Roassal2 question: Including pictures in visualizations

2014-04-29 Thread Arturo Zambrano
Thanks Doru!


On Tue, Apr 29, 2014 at 2:45 AM, Tudor Girba  wrote:

> Here is an example:
>
> v := RTView new.
> element := RTElement new.
> element addShape: (RTBitmap new form: PolymorphSystemSettings
> pharoLogoForm).
> v add: element.
> v
>
> Doru
>
>
> On Tue, Apr 29, 2014 at 1:11 AM, Arturo Zambrano <
> arturo.zambr...@gmail.com> wrote:
>
>> Hi All,
>>
>>  I'm playing with RTBitmap. I will try to use it as part of my labels.
>>
>> thanks.
>> art
>>
>>
>> On Mon, Apr 28, 2014 at 12:05 PM, Arturo Zambrano <
>> arturo.zambr...@gmail.com> wrote:
>>
>>> Hi All,
>>>   I wonder if RT is able to integrate images as part of the
>>> visuailzation. For example consider
>>> the case of some diagram (let say a vertical bar one) where instead of
>>> having text labels for each bar could
>>> include some image that describe the owner of the metric. In my case it
>>> could be the profile image of a twitter user.
>>>
>>>
>>> thanks
>>> art
>>>
>>
>>
>
>
> --
> www.tudorgirba.com
>
> "Every thing has its own flow"
>


[Pharo-users] Some code to share - Twitter access

2014-04-29 Thread Arturo Zambrano
Hi All,
  I have some code that allows to access Twitter data using its REST API
and the Streaming API (thanks Sven for helping me in
 It is rudimentary and needs more work, but it is useful for what I'm doing
as  a hobby in: http://www.tweetreport.com.ar/

 I would like to share it but it is still mixed with some other code of my
Twitter toy (thanks Alex , Pablo and all the Roassal team).
So, if there is people interested in this code, I will separate  and
publish it.

 I just need to know if someone wants it to play, to avoid useless work.

Best regards
art


Re: [Pharo-users] Some code to share - Twitter access

2014-04-29 Thread Sven Van Caekenberghe
Hi Arturo,

On 29 Apr 2014, at 17:48, Arturo Zambrano  wrote:

> Hi All,
>   I have some code that allows to access Twitter data using its REST API and 
> the Streaming API (thanks Sven for helping me in 
>  It is rudimentary and needs more work, but it is useful for what I'm doing 
> as  a hobby in: http://www.tweetreport.com.ar/
> 
>  I would like to share it but it is still mixed with some other code of my  
> Twitter toy (thanks Alex , Pablo and all the Roassal team). 
> So, if there is people interested in this code, I will separate  and publish 
> it. 
> 
>  I just need to know if someone wants it to play, to avoid useless work.
> 
> Best regards
> art

You could look at this in two other ways:

 - making the code presentable and actually publishing it is an experience you 
can learn a lot from (much more than you would expect)

 - you would be giving something back to an open source community that helped 
you first

Anyway, it is cool that your experiments are succeeding.

Sven

--
Sven Van Caekenberghe
Proudly supporting Pharo
http://pharo.org
http://association.pharo.org
http://consortium.pharo.org





Re: [Pharo-users] [Pharo-dev] [Pharo3] New Sources file starting 30841/30842

2014-04-29 Thread Robert Shiplett
the Pharo.ini appears in Win 7 with "configuration settings" as
description, but PBE and "Deep" pdf's on this machine did not turn up a
mention of sources file in FIND on "configuration" ; I loaded these PDF
only a few days back ...

so off to search pharo on stackoverflow


On 29 April 2014 10:32, Robert Shiplett  wrote:

> looked through 2 PDF's for "pharo.ini" and "sources" but did not find this
> mentioned ... it is probably staring right at me, since the image DID
> open...
>
>
> On 29 April 2014 10:22, Robert Shiplett  wrote:
>
>> I have to add a line to my pharo.ini to use sources named '30'  ?
>>
>> Pharo comes up with latest.zip + sources 30 but complains not able to
>> find sources '20'
>>
>>
>> On 29 April 2014 10:11, Sven Van Caekenberghe  wrote:
>>
>>>
>>> On 29 Apr 2014, at 15:05, Norbert Hartl  wrote:
>>>
>>> >
>>> > Am 29.04.2014 um 14:19 schrieb Sven Van Caekenberghe :
>>> >
>>> >> Tested on Mac OS X:
>>> >>
>>> >> $ mkdir pharo3
>>> >> $ cd pharo3/
>>> >> $ curl get.pharo.org/vm | bash
>>> >> $ curl get.pharo.org/30 | bash
>>> >> $ ./pharo-ui Pharo.image
>>> >>
>>> > Just a side note. You know there is a
>>> >
>>> > get.pharo.org/30+vm
>>> >
>>> > ?
>>>
>>> Yes. Of course I know ;-) I was explicitly going step by step since the
>>> source were new.
>>>
>>> > Norbert
>>> >
>>> >> Loaded some configurations, ran some tests, recompiled all. All OK.
>>> >>
>>> >> Super !
>>> >>
>>> >> On 29 Apr 2014, at 12:53, Marcus Denker 
>>> wrote:
>>> >>
>>> >>> Hi,
>>> >>>
>>> >>> We have a sources file for Pharo3!
>>> >>>
>>> >>> http://files.pharo.org/sources/PharoV30.sources.zip
>>> >>> http://files.pharo.org/sources/PharoV30.sources
>>> >>>
>>> >>>
>>> >>> The image that goes with it is 30 842 or newer.
>>> >>> zipped image is now 5MB smaller due to the empty changes.
>>> >>>
>>> >>> http://files.pharo.org/image/30/
>>> >>>
>>> >>> this now needs some careful testing… the build is green
>>> >>>
>>> >>> https://ci.inria.fr/pharo/
>>> >>>
>>> >>>
>>> >>>
>>> >>>
>>> >>>
>>> >>> Marcus
>>> >>>
>>> >>>
>>> >>>
>>> >>>
>>> >>
>>> >>
>>> >
>>> >
>>>
>>>
>>>
>>
>


Re: [Pharo-users] [Pharo-dev] [Pharo3] New Sources file starting 30841/30842

2014-04-29 Thread Tudor Girba
Moose passed all tests.

I am trying it on Mac OS X and I see no troubles.

Great job!

Doru


On Tue, Apr 29, 2014 at 4:49 PM, Sven Van Caekenberghe  wrote:

>
> On 29 Apr 2014, at 16:39, Marcus Denker  wrote:
>
> >
> > On 29 Apr 2014, at 15:51, Marcus Denker  wrote:
> >
> >>
> >> On 29 Apr 2014, at 15:34, Marcus Denker  wrote:
> >>
> >>>
> >>> On 29 Apr 2014, at 15:32, Robert Shiplett 
> wrote:
> >>>
>  looked through 2 PDF's for "pharo.ini" and "sources" but did not find
> this mentioned ... it is probably staring right at me, since the image DID
> open...
> 
> >>>
> >>> I never use windows. But I think it would be strange if the sources
> file would be referenced there. Makes no sense to me
> >>> (but as I said, never used windows since win 3.11)
> >>
> >> One thing I found is that the full zip releases (e.g. Pharo3.0-win.zip)
> do just have the V2 sources… fixing that now.
> >>
> >
> > This is fixed now…
> >
> >   Marcus
>
> I did a quick test on Windows 8.1 downloading
> http://files.pharo.org/platform/Pharo3.0-win.zip and it works perfectly !
>
> Super.
>
> We're very close now.
>
>
>


-- 
www.tudorgirba.com

"Every thing has its own flow"


Re: [Pharo-users] "stepping" a non-morphic object

2014-04-29 Thread Sean P. DeNigris
Chris Wright wrote
> What is the best way to get the step message sent to non-morphs - or is
> there a better way in Pharo

I'm not sure I understand exactly, but if you want to do it via Morphic
stepping, you could implement e.g. ModelTickingMorph which is invisible and
has no extent, and steps your model in it's #step.

or you could use a process:
[ [ myModelObject step. 1 second asDelay wait ] repeat ] fork.



-
Cheers,
Sean
--
View this message in context: 
http://forum.world.st/stepping-a-non-morphic-object-tp4756998p4757081.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.



Re: [Pharo-users] Some code to share - Twitter access

2014-04-29 Thread Sean P. DeNigris
Arturo Zambrano wrote
> I have some code that allows to access Twitter data using its REST API
> and the Streaming API (thanks Sven for helping me in
> ...
> I just need to know if someone wants it to play, to avoid useless work.

Cool! Yes, that sounds like it would be fun to play with :)



-
Cheers,
Sean
--
View this message in context: 
http://forum.world.st/Some-code-to-share-Twitter-access-tp4757068p4757082.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.



Re: [Pharo-users] NativeBoost

2014-04-29 Thread Markus Fritsche
Hello Igor,

I did change my class (tbh, I was just looking at the Cairo stuff and
did some cargo cult programming).

NBFFICallout new resolveType: #TM1U prints TM1U

NBFFICallout new resolveType: #TM1P prints TM1P

- my DoIt still gives NBExternalType

I attached the resulting CompiledMethod as a fuel serialized file.

What can I look at more deeply?


Thank you for your patience,
  Markus

On 29.04.2014 00:36, Igor Stasenko wrote:
> Object subclass: #TM1U
> uses: TTM1ApiLibrary
> instanceVariableNames: 'handle'
> classVariableNames: ''
> poolDictionaries: ''
> category: 'Cognos-TM1-Api'
> 
> hmm.. why just don't subclass from NBExternalObject?
> If you don't need to subclass from own base class, you can just subclass
> from
> NBExternalObject, which means you already having handle ivar, and
> #asNBExternalType: inherited at class side, tested and working..?
> 
> 
> So, try
> 
> NBFFICallout new resolveType: #TM1U
> 
> what it gives?
> 
> On 28 April 2014 23:44, Markus Fritsche  wrote:
> 
>>
>> On 28.04.2014 13:30, Igor Stasenko wrote:
>>> This is strange.. should work fine. There's no way how
>>> NBExternalObjectType could return an instance of NBExternalHandle.
>>> Please check your code again.
>> Been there, done that => thrown everything away and restarted the code
>> from scratch... Sourcecode attached (the 32bit libraries are in the bin
>> subdirectory, there's another bin64 directory) - is there anything
>> obvious wrong with it?.
>>
>> Workspace:
>> 
>> TM1LibraryLoader loadTM1Library.
>>
>> TM1Library tm1APIInitialize.
>> hUser := TM1Library tm1SystemOpen.
>> hPool1 := hUser tm1ValPoolCreate.
>> hPool1 inspect.
>> hUser tm1SystemClose.
>> TM1Library tm1APIFinalize.
>> 
>>
>> The Inspector I get shows
>> NBExternalHandle
>> self@ 16r74CF4A8
>> (apparently it's fine for TM1U, otherwise tm1ValPoolCreate wouldn't be
>> found)
>>
>> could it be inspector screwed?
> what
> hPool1 class
> gives?
> 
> 
>> From the headers:
>>
>> #define TM1API __stdcall
>> #ifndef TM1IMPORT
>>   #define TM1IMPORT __declspec( dllimport )
>> #endif
>>
>> typedef void * TM1U;   // user  handle
>> typedef void * TM1P;   // pool  handle
>> TM1IMPORT void TM1API TM1APIInitialize( void );
>> TM1IMPORT TM1U TM1API TM1SystemOpen( void );
>> TM1IMPORT TM1P TM1API TM1ValPoolCreate( TM1U hUser );
>>
>>
>  i don't see where you are using stdcall calling convention option?
>  you should specify it either in code:
> 
> self nbCallout
>stdCall
>function: #( TM1U  TM1SystemOpen( ) ) module:
> 
> or in the class with callout, implementing
> 
> ffiCalloutOptions
> ^ #( + optStdcall )
> 
> (i think you can just put it into trait)
> 
> 
>> In order to debug further I will have to redo the Windows VM.
>>
> 
> 
> 


CompiledMethod.fuel
Description: Binary data


Re: [Pharo-users] [Pharo-dev] [Pharo3] New Sources file starting 30841/30842

2014-04-29 Thread Robert Shiplett
so my problem on Windows 7 is ?

And no Sven, I did NOT touch the ini file.

Just duplicated a working LATEST pharo dir and put in this LATEST zip and
then the SOURCES

So my error would be ?




On 29 April 2014 11:49, Sven Van Caekenberghe  wrote:

>
> On 29 Apr 2014, at 16:39, Marcus Denker  wrote:
>
> >
> > On 29 Apr 2014, at 15:51, Marcus Denker  wrote:
> >
> >>
> >> On 29 Apr 2014, at 15:34, Marcus Denker  wrote:
> >>
> >>>
> >>> On 29 Apr 2014, at 15:32, Robert Shiplett 
> wrote:
> >>>
>  looked through 2 PDF's for "pharo.ini" and "sources" but did not find
> this mentioned ... it is probably staring right at me, since the image DID
> open...
> 
> >>>
> >>> I never use windows. But I think it would be strange if the sources
> file would be referenced there. Makes no sense to me
> >>> (but as I said, never used windows since win 3.11)
> >>
> >> One thing I found is that the full zip releases (e.g. Pharo3.0-win.zip)
> do just have the V2 sources… fixing that now.
> >>
> >
> > This is fixed now…
> >
> >   Marcus
>
> I did a quick test on Windows 8.1 downloading
> http://files.pharo.org/platform/Pharo3.0-win.zip and it works perfectly !
>
> Super.
>
> We're very close now.
>
>
>


Re: [Pharo-users] Some code to share - Twitter access

2014-04-29 Thread Arturo Zambrano
On Tue, Apr 29, 2014 at 1:24 PM, Sven Van Caekenberghe  wrote:

>
>
> You could look at this in two other ways:
>
>  - making the code presentable and actually publishing it is an experience
> you can learn a lot from (much more than you would expect)
>
> Yes, I completely agree with you.  My point is the lack of time to make it
presentable. :)



>  - you would be giving something back to an open source community that
> helped you first
>
> That's why I first started the thread. I want to give smth back, but smth
that someone wants :)




> Anyway, it is cool that your experiments are succeeding.
>
>
thanks, this is just a first baby step... :)



Sven
>
> --
> Sven Van Caekenberghe
> Proudly supporting Pharo
> http://pharo.org
> http://association.pharo.org
> http://consortium.pharo.org
>
>
>
>


Re: [Pharo-users] NativeBoost

2014-04-29 Thread Igor Stasenko
On 29 April 2014 20:54, Markus Fritsche  wrote:

> Hello Igor,
>
> I did change my class (tbh, I was just looking at the Cairo stuff and
> did some cargo cult programming).
>
> NBFFICallout new resolveType: #TM1U prints TM1U
>
> NBFFICallout new resolveType: #TM1P prints TM1P
>
> - my DoIt still gives NBExternalType
>
> I attached the resulting CompiledMethod as a fuel serialized file.
>
> What can I look at more deeply?
>
> i don't know what is going on..
everything looks correct..

as a workaround, you can change the return type of offending call to return
uint,
and then you can manually convert it to instance of TM1P with corresponding
handle value.

Also, i doubt it, but try change the alignment
NativeBoostWin32>>stackAlignment
 to use 16


P.S. the fuel file with compiled method is not really helpful - it gives me
an error during materialization.


> Thank you for your patience,
>   Markus
>
> On 29.04.2014 00:36, Igor Stasenko wrote:
> > Object subclass: #TM1U
> > uses: TTM1ApiLibrary
> > instanceVariableNames: 'handle'
> > classVariableNames: ''
> > poolDictionaries: ''
> > category: 'Cognos-TM1-Api'
> >
> > hmm.. why just don't subclass from NBExternalObject?
> > If you don't need to subclass from own base class, you can just subclass
> > from
> > NBExternalObject, which means you already having handle ivar, and
> > #asNBExternalType: inherited at class side, tested and working..?
> >
> >
> > So, try
> >
> > NBFFICallout new resolveType: #TM1U
> >
> > what it gives?
> >
> > On 28 April 2014 23:44, Markus Fritsche  wrote:
> >
> >>
> >> On 28.04.2014 13:30, Igor Stasenko wrote:
> >>> This is strange.. should work fine. There's no way how
> >>> NBExternalObjectType could return an instance of NBExternalHandle.
> >>> Please check your code again.
> >> Been there, done that => thrown everything away and restarted the code
> >> from scratch... Sourcecode attached (the 32bit libraries are in the bin
> >> subdirectory, there's another bin64 directory) - is there anything
> >> obvious wrong with it?.
> >>
> >> Workspace:
> >> 
> >> TM1LibraryLoader loadTM1Library.
> >>
> >> TM1Library tm1APIInitialize.
> >> hUser := TM1Library tm1SystemOpen.
> >> hPool1 := hUser tm1ValPoolCreate.
> >> hPool1 inspect.
> >> hUser tm1SystemClose.
> >> TM1Library tm1APIFinalize.
> >> 
> >>
> >> The Inspector I get shows
> >> NBExternalHandle
> >> self@ 16r74CF4A8
> >> (apparently it's fine for TM1U, otherwise tm1ValPoolCreate wouldn't be
> >> found)
> >>
> >> could it be inspector screwed?
> > what
> > hPool1 class
> > gives?
> >
> >
> >> From the headers:
> >>
> >> #define TM1API __stdcall
> >> #ifndef TM1IMPORT
> >>   #define TM1IMPORT __declspec( dllimport )
> >> #endif
> >>
> >> typedef void * TM1U;   // user  handle
> >> typedef void * TM1P;   // pool  handle
> >> TM1IMPORT void TM1API TM1APIInitialize( void );
> >> TM1IMPORT TM1U TM1API TM1SystemOpen( void );
> >> TM1IMPORT TM1P TM1API TM1ValPoolCreate( TM1U hUser );
> >>
> >>
> >  i don't see where you are using stdcall calling convention option?
> >  you should specify it either in code:
> >
> > self nbCallout
> >stdCall
> >function: #( TM1U  TM1SystemOpen( ) ) module:
> >
> > or in the class with callout, implementing
> >
> > ffiCalloutOptions
> > ^ #( + optStdcall )
> >
> > (i think you can just put it into trait)
> >
> >
> >> In order to debug further I will have to redo the Windows VM.
> >>
> >
> >
> >
>



-- 
Best regards,
Igor Stasenko.


Re: [Pharo-users] NativeBoost

2014-04-29 Thread Markus Fritsche
Hello Igor,

> Also, i doubt it, but try change the alignment
> NativeBoostWin32>>stackAlignment
>  to use 16

That did the trick - it was ^ 1 - changed it to ^ 16 and now the DoIt
opens an inspector on a TM1P object.

Should this be reported on fogbugz?

Thank you
  Markus



Re: [Pharo-users] [Pharo-dev] [Pharo3] New Sources file starting 30841/30842

2014-04-29 Thread Robert Shiplett
" Please understand that we cannot solve local problems."

Duh.  Like I have never stripped or built a Smalltalk image over my decades
as a corp contracting Smalltalker ( so not Pharo, 'natch )

Marcus :  the problem occurred ; I don't see it explained.

So Marcus, if you are OK, I won't look further.  I have a lot on my plate
otherwise today already ...


Re: [Pharo-users] [Pharo-dev] [Pharo3] New Sources file starting 30841/30842

2014-04-29 Thread Sven Van Caekenberghe
The thing is, my time is limited as well, and I just took 15 minutes to 
double-check that things work and to write an email to you.

IMHO you should try the official way using the fresh download (like in the 
movie) and tell us whether that works or not and report back. For some reason, 
you seem to not want to do that, and then you say we don't want to help, 
strange...

On 30 Apr 2014, at 00:36, Robert Shiplett  wrote:

> " Please understand that we cannot solve local problems."
> 
> Duh.  Like I have never stripped or built a Smalltalk image over my decades 
> as a corp contracting Smalltalker ( so not Pharo, 'natch )
> 
> Marcus :  the problem occurred ; I don't see it explained.
> 
> So Marcus, if you are OK, I won't look further.  I have a lot on my plate 
> otherwise today already ...




Re: [Pharo-users] [Pharo-dev] [Pharo3] New Sources file starting 30841/30842

2014-04-29 Thread Ben Coman




Hi Robert,

On Windows 7 Home Premium SP1 
I downloaded http://files.pharo.org/platform/Pharo3.0-win.zip (dated
2014-04-29).
Unzipped into an _empty_ directory.
Double-clicked pharo.exe.

and it runs without error. To help isolate your problem, could you
repeat the above steps today in case there is some fix you haven't
picked up.

When you say "and then the SOURCES" - I didn't need to do this I didn't
need to do this as a step. Which files do you mean? The zip above has
these files...
Pharo3.0.sources
Pharo3.0.changes
Pharo3.0.image

cheers -ben

Robert Shiplett wrote:

  so my problem on Windows 7 is ?
  
  
  And no Sven, I did NOT touch the ini file.
  
  
  Just duplicated a working LATEST pharo dir and put in this
LATEST zip and then the SOURCES
  
  
  So my error would be ?
  
  
  
  
  
  
  
  On 29 April 2014 11:49, Sven Van
Caekenberghe 
wrote:
  
On 29 Apr 2014, at 16:39, Marcus Denker 
wrote:

>
> On 29 Apr 2014, at 15:51, Marcus Denker 
wrote:
>
>>
>> On 29 Apr 2014, at 15:34, Marcus Denker 
wrote:
>>
>>>
>>> On 29 Apr 2014, at 15:32, Robert Shiplett 
wrote:
>>>
 looked through 2 PDF's for "pharo.ini" and "sources"
but did not find this mentioned ... it is probably staring right at me,
since the image DID open...

>>>
>>> I never use windows. But I think it would be strange if
the sources file would be referenced there. Makes no sense to me
>>> (but as I said, never used windows since win 3.11)
>>
>> One thing I found is that the full zip releases (e.g.
Pharo3.0-win.zip) do just have the V2 sources… fixing that now.
>>
>
> This is fixed now…
>
>       Marcus

I did a quick test on Windows 8.1 downloading http://files.pharo.org/platform/Pharo3.0-win.zip
and it works perfectly !

Super.

We're very close now.


  
  
  
  








Re: [Pharo-users] NativeBoost

2014-04-29 Thread Igor Stasenko
On 29 April 2014 22:51, Markus Fritsche  wrote:

> Hello Igor,
>
> > Also, i doubt it, but try change the alignment
> > NativeBoostWin32>>stackAlignment
> >  to use 16
>
> That did the trick - it was ^ 1 - changed it to ^ 16 and now the DoIt
> opens an inspector on a TM1P object.
>
>
This is weird..

Can you try one thing:

change:

NBFFICallout>>foreignCall: aBlock

callInfo := self newCallInfo.
callInfo alignment: 16.
asm performingCall: callInfo in: aBlock.


while use:
NativeBoostWin32>>stackAlignment
  ^ 1

and then swap values. And tell which case works and which is not (they both
may not work though). Don't forget to restart image before trying to reset
all generated code.

(you can also use #optNoAlignment option while calling external function
e.g.

self nbcall: blah options: #(+optNoAlignment).

I wanna know, who corrupts stack: external function or VM itself.

Should this be reported on fogbugz?
>
> Thank you
>   Markus
>
>


-- 
Best regards,
Igor Stasenko.


Re: [Pharo-users] "stepping" a non-morphic object

2014-04-29 Thread Igor Stasenko
On 29 April 2014 18:41, Sean P. DeNigris  wrote:

> Chris Wright wrote
> > What is the best way to get the step message sent to non-morphs - or is
> > there a better way in Pharo
>
> I'm not sure I understand exactly, but if you want to do it via Morphic
> stepping, you could implement e.g. ModelTickingMorph which is invisible and
> has no extent, and steps your model in it's #step.
>
> or you could use a process:
> [ [ myModelObject step. 1 second asDelay wait ] repeat ] fork.
>
> except that you then will be also responsible for managing forked process
by implementing it.. else it will loop forever, your object will never be
GCed,
consume CPU & waste memory :)
oh.. and each time you test it once more, it will readily spawn another
process with same characteristics :)


>
> -
> Cheers,
> Sean
> --
> View this message in context:
> http://forum.world.st/stepping-a-non-morphic-object-tp4756998p4757081.html
> Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
>
>


-- 
Best regards,
Igor Stasenko.


Re: [Pharo-users] "stepping" a non-morphic object

2014-04-29 Thread Sean P. DeNigris
Igor Stasenko wrote
> except that you then will be also responsible for managing forked process

Yes, I left that out for simplicity, but I recall painfully how complex it
can be to make sure everything gets GC-ed
(http://forum.world.st/Terminating-a-Process-when-an-object-dies-td4683036.html)



-
Cheers,
Sean
--
View this message in context: 
http://forum.world.st/stepping-a-non-morphic-object-tp4756998p4757152.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.



Re: [Pharo-users] "stepping" a non-morphic object

2014-04-29 Thread Ben Coman




Igor Stasenko wrote:

  
  
  On 29 April 2014 18:41, Sean P. DeNigris 
wrote:
  Chris
Wright wrote
> What is the best way to get the step message
sent to non-morphs - or is
> there a better way in Pharo


I'm not sure I understand exactly, but if you want to do it via Morphic
stepping, you could implement e.g. ModelTickingMorph which is invisible
and
has no extent, and steps your model in it's #step.

or you could use a process:
[ [ myModelObject step. 1 second asDelay wait ] repeat ] fork.

  
  except that you then will be also responsible for managing
forked process
  
  by implementing it.. else it will loop forever, your object will
never be GCed,
  
  consume CPU & waste memory :)
  
  oh.. and each time you test it once more, it will readily spawn
another process with same characteristics :)
  
  
  
  
  

Maybe there should be a SystemStepper / Cron object that can be
registered on.
cheers -ben






[Pharo-users] Right-click and tutorial

2014-04-29 Thread David Harris
I reported a problem with the mouse right-click under Windows 7 last January 
and the 30845 update still exhibits the same behavior.

Selected Pharo Tutorials from the World menu. Expanded Pharo Syntax Tutorial. 
Clicked Welcome. Highlighted 'PharoTutorial next.' Right-click of mouse does 
nothing. Fortunately, Alt-D does perform the do-it action. Once the new 
tutorial window opens, then right-click works as advertised. It is just that 
first panel where it is non-functional. Unfortunately, that panel tells the 
user "right-click and choose 'do it (d)'" 

Re: [Pharo-users] [Pharo-dev] [Pharo3] New Sources file starting 30841/30842

2014-04-29 Thread Tyler Sperry
Ben,

Just a quick reality check: Tonight I downloaded Pharo 3.0 from
pharo-project.org and unzipped the files on a Windows 7 Starter netbook.
Everything went fine: PharoV30.sources appeared instead of the old V20
version. Not that I expected otherwise, but I was curious and it never hurts
to add another set of eyes.

Perhaps this thread is moot now that 30845 is (momentarily) the latest
build?

Tyler





--
View this message in context: 
http://forum.world.st/Pharo3-New-Sources-file-starting-30841-30842-tp4756979p4757161.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.



Re: [Pharo-users] [Pharo-dev] [Pharo3] New Sources file starting 30841/30842

2014-04-29 Thread Ben Coman

Tyler Sperry wrote:

Ben,

Just a quick reality check: Tonight I downloaded Pharo 3.0 from
pharo-project.org and unzipped the files on a Windows 7 Starter netbook.
Everything went fine: PharoV30.sources appeared instead of the old V20
version. Not that I expected otherwise, but I was curious and it never hurts
to add another set of eyes.
  

Extra eyes are always useful. Thanks Tyler.

Perhaps this thread is moot now that 30845 is (momentarily) the latest
build?
  
I'll just wait for Robert to sign off this works for him when unzipped 
to an empty folder.

http://files.pharo.org/platform/Pharo3.0-win.zip



Re: [Pharo-users] [Pharo-dev] [Pharo3] New Sources file starting 30841/30842

2014-04-29 Thread Marcus Denker

On 30 Apr 2014, at 00:36, Robert Shiplett  wrote:

> " Please understand that we cannot solve local problems."
> 
> Duh.  Like I have never stripped or built a Smalltalk image over my decades 
> as a corp contracting Smalltalker ( so not Pharo, 'natch )
> 
> Marcus :  the problem occurred ; I don't see it explained.
> 
> So Marcus, if you are OK, I won't look further.  I have a lot on my plate 
> otherwise today already ...
> 

the problem is that I do not know a) what happens b) how to reproduce c) others 
tested on windows and it works.

Marcus