[Pharo-users] Using GTSpotter how do I find an implementor of #accept ?

2015-06-09 Thread Paul DeBruicker
when I hit shift+enter and type 'accept' I get things that are not #accept, e.g. #accept: and AbstractAcceptor. If I add a space after accept it doesn't help. What do I not understand? Thanks Paul

Re: [Pharo-users] NativeBoost pointer and "+"

2015-06-09 Thread Igor Stasenko
On 9 June 2015 at 20:05, Matthieu Lacaton wrote: > *@ Igor* > > >> As i understand, in general, the problem that you described is in >> following: >> - you want to pass an address of your buffer contents, but started not >> from >> very first element of your buffer, but somewhere inside a buffer.

Re: [Pharo-users] Pharo on bitnami

2015-06-09 Thread Mircea S.
Forwarded your response to da...@bitnami.com Pe 9 iun. 2015, la 20:15, Esteban Lorenzano a scris: > Hi, > > Can we edit that? Because I do not thing thats a good description on how to > install/use Seaside…at least in Pharo (and no idea in GNUSmalltalk but since > that blog post is from 20

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

2015-06-09 Thread Hilaire
Le 09/06/2015 18:04, Jigyasa Grover a écrit : > Thanks HilaireFernandes > But am afraid it gives the error " Message Not Understood: receiver of > 'hand' is nil " . > > > > > -- > View this message in context: > http://forum.world.st/Getting-a-user-input-string-using-Morphs-tp4831121p4831231.html

Re: [Pharo-users] NativeBoost pointer and "+"

2015-06-09 Thread Matthieu Lacaton
*@ Igor* > As i understand, in general, the problem that you described is in > following: > - you want to pass an address of your buffer contents, but started not from > very first element of your buffer, but somewhere inside a buffer. Yes ! Exactly that. I'm bad at explaining things :( Unfor

Re: [Pharo-users] NativeBoost pointer and "+"

2015-06-09 Thread stepharo
Henrik you amaze me :) Stef Le 9/6/15 14:59, Henrik Johansen a écrit : There are many ways to Rome :) If you just need some externally allocated objects in the formats you specified you can do the cache extraction using nothing but normal Smalltalk: intArray := (NBExternalArray ofType: 'in

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

2015-06-09 Thread stepharo
I'm sorry to say that Pharo public API does not change that much. We could port all Moose in one afternoon and Moose is certainly more complex :). Stef Le 9/6/15 18:07, Trygve Reenskaug a écrit : Hi Chris, I'm sorry to say that your advice didn't work. Worse: The Squeak community has lost a

Re: [Pharo-users] Pharo on bitnami

2015-06-09 Thread Esteban Lorenzano
Hi, Can we edit that? Because I do not thing thats a good description on how to install/use Seaside…at least in Pharo (and no idea in GNUSmalltalk but since that blog post is from 2008 I bet it has changed a lot… if maintained at all). This is how you install Seaside in a linux/mac/windows(as f

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

2015-06-09 Thread Jigyasa Grover
Thanks HilaireFernandes But am afraid it gives the error " Message Not Understood: receiver of 'hand' is nil " . -- View this message in context: http://forum.world.st/Getting-a-user-input-string-using-Morphs-tp4831121p4831231.html Sent from the Pharo Smalltalk Users mailing list archive at N

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

2015-06-09 Thread Hilaire
You can try and explore something like: *|| m ||** **|m := StringMorph contents: 'Edit me'.|** **|m openInWorld.|** **|m launchMiniEditor: ActiveEvent|* Hilaire Le 09/06/2015 15:25, Jigyasa Grover a écrit : > Hi ! > > I am new to Pharo and am currently working on making an Offline Text Search >

Re: [Pharo-users] NativeBoost pointer and "+"

2015-06-09 Thread Igor Stasenko
As i understand, in general, the problem that you described is in following: - you want to pass an address of your buffer contents, but started not from very first element of your buffer, but somewhere inside a buffer. In smalltalk you cannot reference an element of array, only the object (array i

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

2015-06-09 Thread Jigyasa Grover
Hi ! I am new to Pharo and am currently working on making an Offline Text Search Application. I plan to use Morphs to make a nice GUI. Initially, I had thought of using /TextMorphForEditView/ to get an input string from the user, but I feel this is not giving the desired functionality. Would be gr

Re: [Pharo-users] NativeBoost pointer and "+"

2015-06-09 Thread Henrik Johansen
> On 09 Jun 2015, at 2:59 , Henrik Johansen > wrote: > > MyClass createCacheOf: data in: cache. Forgot to change this; you need to pass in the ExternalArray addresses as parameters, not the ExternalArrays themselves. MyClass createCacheOf: data address in: cache address Cheers, Henry

Re: [Pharo-users] NativeBoost pointer and "+"

2015-06-09 Thread Henrik Johansen
There are many ways to Rome :) If you just need some externally allocated objects in the formats you specified you can do the cache extraction using nothing but normal Smalltalk: intArray := (NBExternalArray ofType: 'int'). data := intArray new: 1000. 1 to:data size do:[:i |data at:i put: i]. ca

Re: [Pharo-users] Fuel and graph update

2015-06-09 Thread Mariano Martinez Peck
On Tue, Jun 9, 2015 at 9:21 AM, Hilaire wrote: > Hi, > > I want to use Fuel to persist a graph in file. > > The classic use case is "modify some part of the model and persist > immediately". > > Now, it is not really efficient to re-serialize the whole graph each > time, and I am wondering how yo

[Pharo-users] Fuel and graph update

2015-06-09 Thread Hilaire
Hi, I want to use Fuel to persist a graph in file. The classic use case is "modify some part of the model and persist immediately". Now, it is not really efficient to re-serialize the whole graph each time, and I am wondering how you are approaching this particular point when using Fuel as your

Re: [Pharo-users] NativeBoost pointer and "+"

2015-06-09 Thread Matthieu Lacaton
Hello Henrik, Thank you very much for your answer. However, the code you provided is some sort of assembly right ? So does it mean that I need to learn assembly to do what I want ? I'm asking that because I don't know anything about assembly so it will take me some time to learn. Cheers, Matthi