Re: [Pharo-users] Getting a user input string using Morphs

2015-06-12 Thread Stephan Eggermont
On 09-06-15 20:10, Hilaire wrote: I guess you tried with Pharo4.0. I did with 3.0 It is a difference between Workspace and GTPlayground. In GTPlayground, ActiveEvent is nil, so it doesn't work. In Workspace it works. launchMiniEditor: evt | textMorph | hasFocus := true. "Real

Re: [Pharo-users] Mac Squeak binary virtual machine for Squeak 3.10.2

2015-06-12 Thread Trygve Reenskaug
I rest my case. --Trygve On 10.06.2015 20:57, Serge Stinckwich wrote: If I remember correctly, it was easy to port Moose from VW to Pharo, because there was a lot of tests. I'm currently working on porting another software from VW to Pharo without any tests and I'm suffering;-)

Re: [Pharo-users] Bug in Open Workspace from File-Browser?

2015-06-12 Thread Cyril Ferlicot
If you want to open a workspace or a playground we should use: viewContentsInWorkspace "View the contents of my selected file in a new workspace" | aString | self reference streamWritable: false do: [ :stream | aString := stream setConverterForCode contentsOfEntireFile ]. Smalltal

Re: [Pharo-users] ZnClient and percent characters

2015-06-12 Thread PBKResearch
Norbert Some comments on your latest post below. I just wrote because you told Jimmie to alter a method of a third-party library. And that is a no-go. Zinc, like almost all of Pharo, is MIT licenced, “including without limitation the rights to use, copy, modify, merge, publish…” Once

Re: [Pharo-users] ZnClient and percent characters

2015-06-12 Thread Norbert Hartl
> Am 12.06.2015 um 12:03 schrieb PBKResearch : > > Norbert > > Some comments on your latest post below. > > I just wrote because you told Jimmie to alter a method of a third-party > library. And that is a no-go. > > Zinc, like almost all of Pharo, is MIT licenced, “including without > lim

[Pharo-users] Copy array of float to GPU memory

2015-06-12 Thread cheikhou
Hello. I use OpenCL package developed by Ronie Salgado package to program on GPU. When I initialize an array with ByteArray class and load data to GPU memory it works without any problem. But the problem is it works only with ByteArray objects. When I load array of floats to GPU , data are modif

Re: [Pharo-users] Use array of float to GPU memory

2015-06-12 Thread cheikhou
Finally I have found a useful method called "asCLFloatArray" that converts float arrays of CPU as CL float arrays of GPU. The reverse action is possible by using "asFloatArrayFromCL".(from GPU to CPU memory) Thanks. - Cheikhou -- View this message in context: http://forum.world.st/Use-ar

Re: [Pharo-users] Mac Squeak binary virtual machine for Squeak 3.10.2

2015-06-12 Thread Tudor Girba
If I understand correctly, your case is that it is easier to move from Squeak to JavaScript than to move from Squeak to Pharo. I must be missing something important. Could you clarify? Cheers, Doru On Fri, Jun 12, 2015 at 10:12 AM, Trygve Reenskaug wrote: > I rest my case. > --Trygve > > On 1

Re: [Pharo-users] Bug in Open Workspace from File-Browser?

2015-06-12 Thread Cyril Ferlicot
Thank you volkert for the correction! On 12 June 2015 at 11:05, Cyril Ferlicot wrote: > If you want to open a workspace or a playground we should use: > > viewContentsInWorkspace > "View the contents of my selected file in a new workspace" > > | aString | > self reference streamWritab

[Pharo-users] HTML Parser w. custom nodes

2015-06-12 Thread Sean P. DeNigris
Now that we have the cool new Catalog Browser, I see we have at least 4 HTML parsing options - cool! Do any of these allow one to inject custom node classes? Kind of like Zincs converter support, but for individual nodes. When using Soup, I've often thought something like, "gee I wish I could have

Re: [Pharo-users] ZnClient and percent characters

2015-06-12 Thread PBKResearch
Norbert I agree. I was angry and went over the top – sorry. Let’s consider it closed. Peter From: Pharo-users [mailto:pharo-users-boun...@lists.pharo.org] On Behalf Of Norbert Hartl Sent: 12 June 2015 12:18 To: Pharo users users Subject: Re: [Pharo-users] ZnClient and percent character

Re: [Pharo-users] Use array of float to GPU memory

2015-06-12 Thread Ben Coman
On Fri, Jun 12, 2015 at 10:38 PM, cheikhou wrote: > > Finally I have found a useful method called "asCLFloatArray" that converts > float arrays of CPU as CL float arrays of GPU. The reverse action is > possible by using "asFloatArrayFromCL".(from GPU to CPU memory) sounds interesting, but what is

Re: [Pharo-users] Copy array of float to GPU memory

2015-06-12 Thread Ronie Salgado
Hi Cheikhou, Sorry for the late answering. I needed to check some stuffs. But the problem is it works only with ByteArray objects. > When I load array of floats to GPU , data are modify and I don't know how > and why and results are wrong. What kind of error are you getting? a NativeBoost error