Re: [Pharo-users] Initializing a class with a Dictionary

2014-05-22 Thread Clément Bera
2014-05-22 21:11 GMT+02:00 sergio_101 : > great! looking at STON next! thanks! > > You can find it in the configuration browser > > On Thu, May 22, 2014 at 2:26 PM, Clément Bera wrote: > >> Hello, >> >> I think you should look at the STON framework. STON looks like JSON for >> smalltalk objects.

Re: [Pharo-users] deep into pharo(esug 2013) translate to korean draft version.

2014-05-22 Thread peter yoo
Deep into Pharo make use xetex. im dont have latex file. make from my templete. need more touch. but can use. thank you for all authur~ look here please. http://ta.onionmixer.net/wordpress/?attachment_id=265 ps. have a little problem. because wiki2latex using then need check for some s

[Pharo-users] TWM keybindings

2014-05-22 Thread Matthew Chadwick
hi, I installed version 3.0.1 of TWM for Pharo3, but the keybindings don't work in OSX - any idea what I need to do to make them work ? Cheers.

Re: [Pharo-users] Ghost Proxy

2014-05-22 Thread Camille Teruel
On 22 mai 2014, at 22:29, Luc Fabresse wrote: > > > > 2014-05-22 19:49 GMT+02:00 Camille Teruel : > > On 22 mai 2014, at 19:07, Luc Fabresse wrote: > >> >> >> >> >> 2014-05-22 18:06 GMT+02:00 Camille Teruel : >> >> On 22 mai 2014, at 11:54, stepharo wrote: >> >> > >> >> In general,

Re: [Pharo-users] Ghost Proxy

2014-05-22 Thread Luc Fabresse
2014-05-22 19:49 GMT+02:00 Camille Teruel : > > On 22 mai 2014, at 19:07, Luc Fabresse wrote: > > > > > > 2014-05-22 18:06 GMT+02:00 Camille Teruel : > >> >> On 22 mai 2014, at 11:54, stepharo wrote: >> >> > >> >> In general, we should think about if is would make sense that the >> language come

Re: [Pharo-users] Ghost Proxy

2014-05-22 Thread Luc Fabresse
2014-05-22 20:37 GMT+02:00 Esteban A. Maringolo : > 2014-05-22 13:06 GMT-03:00 Camille Teruel : > > > > On 22 mai 2014, at 11:54, stepharo wrote: > > > >> > >>> In general, we should think about if is would make sense that the > language comes with > >>> a good proxy model by default. > >> > >> +

Re: [Pharo-users] Pillar annotations for Latex

2014-05-22 Thread Damien Cassou
Hi Ben, On Thu, May 22, 2014 at 6:09 PM, Ben Coman wrote: > Now is there any important function missing, or is there a better way to do > this? thank you for your contribution. I would try to generate this instead: \begin{note} foo bar baz \end{note} This environment is meant fo

Re: [Pharo-users] Initializing a class with a Dictionary

2014-05-22 Thread sergio_101
great! looking at STON next! thanks! On Thu, May 22, 2014 at 2:26 PM, Clément Bera wrote: > Hello, > > I think you should look at the STON framework. STON looks like JSON for > smalltalk objects. Basically it does the same as your idea but instead of a > dictionary it loads fields of an objects

Re: [Pharo-users] Ghost Proxy

2014-05-22 Thread Esteban A. Maringolo
2014-05-22 13:06 GMT-03:00 Camille Teruel : > > On 22 mai 2014, at 11:54, stepharo wrote: > >> >>> In general, we should think about if is would make sense that the language >>> comes with >>> a good proxy model by default. >> >> + 1 >> We should do that with Camille. > > Yes. > Now the problem i

Re: [Pharo-users] Initializing a class with a Dictionary

2014-05-22 Thread Clément Bera
Hello, I think you should look at the STON framework. STON looks like JSON for smalltalk objects. Basically it does the same as your idea but instead of a dictionary it loads fields of an objects from a STON file which looks like a JSON file (a STON is kind of an extended Dictionary exported as a

Re: [Pharo-users] Calling an arbitrary method

2014-05-22 Thread Guillermo Polito
Hi! On Thu, May 22, 2014 at 7:46 PM, sergio_101 wrote: > In many cases, an object might have a method (filter, selector, etc) > attached to it so that the object can run the correct method.. > > for instance, an object might have a filterMethod variable with a value > 'filterByArtist'.. > > in r

Re: [Pharo-users] Calling an arbitrary method

2014-05-22 Thread Camille Teruel
On 22 mai 2014, at 19:46, sergio_101 wrote: > In many cases, an object might have a method (filter, selector, etc) attached > to it so that the object can run the correct method.. > > for instance, an object might have a filterMethod variable with a value > 'filterByArtist'.. > > in ruby, i

Re: [Pharo-users] Ghost Proxy

2014-05-22 Thread Camille Teruel
On 22 mai 2014, at 19:07, Luc Fabresse wrote: > > > > > 2014-05-22 18:06 GMT+02:00 Camille Teruel : > > On 22 mai 2014, at 11:54, stepharo wrote: > > > > >> In general, we should think about if is would make sense that the language > >> comes with > >> a good proxy model by default. > >

[Pharo-users] Calling an arbitrary method

2014-05-22 Thread sergio_101
In many cases, an object might have a method (filter, selector, etc) attached to it so that the object can run the correct method.. for instance, an object might have a filterMethod variable with a value 'filterByArtist'.. in ruby, i would do something like: instance.send(filter_method) how wou

[Pharo-users] Initializing a class with a Dictionary

2014-05-22 Thread sergio_101
is it possible to initialize a class with a dictionary? my first thought would be to create a method like: intializeWithDictionary: aDictionary then, loop through the elements and do something like: instVarNamed: key put: value but the book says: Caveat: Although these methods are useful for b

Re: [Pharo-users] Ghost Proxy

2014-05-22 Thread Luc Fabresse
2014-05-22 18:06 GMT+02:00 Camille Teruel : > > On 22 mai 2014, at 11:54, stepharo wrote: > > > > >> In general, we should think about if is would make sense that the > language comes with > >> a good proxy model by default. > > > > + 1 > > We should do that with Camille. > > Yes. > Now the probl

Re: [Pharo-users] 3D with Pharo and OpenGL ?

2014-05-22 Thread kilon alios
you can find plenty of code in Roassal3d that I think uses the NBOpenGL library here http://www.smalltalkhub.com/#!/~ronsaldo/roassal3d NBOpenGL is basically a wrapper for OpenGL with Nativeboost. So if you are familiar with OpenGL , C and Nativeboost you are good to go using Roassal3d as an exam

[Pharo-users] Pillar annotations for Latex

2014-05-22 Thread Ben Coman
The Pillar documentation [1] says... "An annotated paragraph starts a line with @@ followed by either todo or note. For example, @@note this is a note annotation. generates Note: this is a note annotation. And, @@todo this is a todo annotation generates a todo a

Re: [Pharo-users] Ghost Proxy

2014-05-22 Thread Camille Teruel
On 22 mai 2014, at 11:54, stepharo wrote: > >> In general, we should think about if is would make sense that the language >> comes with >> a good proxy model by default. > > + 1 > We should do that with Camille. Yes. Now the problem is to agree on what is a "good model". There is many use ca

Re: [Pharo-users] Versionner: Specifying un-configured packages as dependencies

2014-05-22 Thread Sean P. DeNigris
jfabry wrote > I put a high priority on the simplicity rule It's good to know the dangers, but for single packages with no dependencies, I often just add it to my project. - Cheers, Sean -- View this message in context: http://forum.world.st/Versionner-Specifying-un-configured-packages-as-

[Pharo-users] 3D with Pharo and OpenGL ?

2014-05-22 Thread RIOU Judith
Hy, I'm working at Thales for a year internship and I would like to do some OpenGL demos in smalltalk. I'm searching a demo which shows the capacity to implement 3D drawing with Pharo. Does a demo already available on Pharo 3.0 ? I aim to code my own demo and for example begin with a 3D drawin

Re: [Pharo-users] Versionner: Specifying un-configured packages as dependencies

2014-05-22 Thread Johan Fabry
On May 22, 2014, at 5:00 AM, Christophe Demarey wrote: >> In general I am not so sure that adding configurations for one simple >> package are the way to go though. It seems like adding extra layers of >> indirection for reasons that are unclear to me. > > The reason is that any package* sho

Re: [Pharo-users] Ghost Proxy

2014-05-22 Thread stepharo
We will discuss. Stef 2014-05-21 8:37 GMT+02:00 Marcus Denker >: In general, we should think about if is would make sense that the language comes with a good proxy model by default. (this way we would avoid that everyone creates one that is not

Re: [Pharo-users] Ghost Proxy

2014-05-22 Thread stepharo
In general, we should think about if is would make sense that the language comes with a good proxy model by default. + 1 We should do that with Camille. (this way we would avoid that everyone creates one that is not completely working)

Re: [Pharo-users] Versionner: Specifying un-configured packages as dependencies

2014-05-22 Thread Christophe Demarey
Le 22 mai 2014 à 01:02, Johan Fabry a écrit : > > On May 21, 2014, at 5:07 AM, Christophe Demarey > wrote: > >> To me, it is preferable to add a configuration (even if very small) for each >> dependency outside your project. It is the way it should be done (that's why >> Versionner only all