Re: [Pharo-users] Opentalk or remoting libraries

2014-11-12 Thread S Krish
How about lightweight XMLRPC ? Just for messages, not features around it. On Wed, Nov 12, 2014 at 10:47 PM, Annick Fron wrote: > Hi, > > Are there some libraries in pharo to do remote calls like in Opentalk or > Corba ? > > Annick >

[Pharo-users] Opentalk or remoting libraries

2014-11-12 Thread Annick Fron
Hi, Are there some libraries in pharo to do remote calls like in Opentalk or Corba ? Annick

Re: [Pharo-users] Is there a way to store workspace 'gists' in Pharo?

2014-11-12 Thread stepharo
In fact I try to avoid utilities class by defining as few as possible but the mandatory/handy class side methods on the most relevant class. My point is that if you script is useful then it can be an interesting method with some parameters and its "instantiation" can be just a class side method

Re: [Pharo-users] Ploting all history of the commits in a Monticello repository

2014-11-12 Thread Pierre CHANSON
Hi Offray ! from Pharo you can access the monticello repository with the following code: myRepository := MCSmalltalkhubRepository location: . then you can get: myRepository allVersionNames. Finally you can get the commits informations (message, author, date etc.) using: myRepository versionInfoF

[Pharo-users] Glamour stream presentations

2014-11-12 Thread Evan Donahue
Hello, I was just wondering if it was possible to use list/table presentations (or an analogous presentation) in Glamour to display streams that load on demand as you page through them (rather than loading all entries into memory before displaying the first page). If not, does anyone have any tip

Re: [Pharo-users] Anyone having a Rserve client?

2014-11-12 Thread Thierry Goubier
2014-11-12 13:41 GMT+01:00 p...@highoctane.be : > Nice to know. > > I'll give it a shot on my Ubuntu 14.04 in the evening. As I may have more > than one image connecting to the R, I will still need something with RServe > at one point I guess. > > And the remote capabilities can be interesting if

Re: [Pharo-users] Anyone having a Rserve client?

2014-11-12 Thread p...@highoctane.be
Nice to know. I'll give it a shot on my Ubuntu 14.04 in the evening. As I may have more than one image connecting to the R, I will still need something with RServe at one point I guess. Phil On Wed, Nov 12, 2014 at 1:16 PM, Blondeau Vincent < vincent.blond...@worldline.com> wrote: > Hi, > > La

Re: [Pharo-users] Anyone having a Rserve client?

2014-11-12 Thread Blondeau Vincent
Hi, Last two weeks, I began to write a binding with nativeboost to call the R functions. It is a proof of concept for now : http://www.smalltalkhub.com/#!/~VincentBlondeau/RProjectConnector if you want to participate, just ask me! You have to download the right libraries to do it work. It is th

Re: [Pharo-users] Memoization Question

2014-11-12 Thread Sven Van Caekenberghe
Hi Phil, > On 12 Nov 2014, at 12:54, p...@highoctane.be wrote: > > Looking at LRUCache tests, I've found this: > > testFibonacci > "After an idea by Jan Vrany. > Recursively enter the cache and its access protection" > > | fibCache | > fibCache := self newCache. > fibCac

Re: [Pharo-users] Memoization Question

2014-11-12 Thread p...@highoctane.be
Looking at LRUCache tests, I've found this: testFibonacci "After an idea by Jan Vrany. Recursively enter the cache and its access protection" | fibCache | fibCache := self newCache. fibCache maximumWeight: 32; beThreadSafe; factory: [ :key |

Re: [Pharo-users] question on syntax "negate numbers"

2014-11-12 Thread Werner Kassens
On 11/12/2014 11:29 AM, José Comesaña wrote: > Well, I don't understand why the book says that because in fact you can > define a -- binary method: yes, that is what i said, it's just an irritating bug in the book. werner

Re: [Pharo-users] question on syntax "negate numbers"

2014-11-12 Thread José Comesaña
> > "Note that −− is not allowed for parsing reasons" (i just checked the > latest version) > now honestly, dont you think that a) is a serious contender? that is all i > wanted to say. > werner > Well, I don't understand why the book says that because in fact you can define a -- binary method: Sm

Re: [Pharo-users] String representation of Class

2014-11-12 Thread Hilaire
Le 12/11/2014 10:22, Hilaire a écrit : > Later I test directly from the browser with a dummy class with one > method with non ascii character. Fileout sometimes work (for example, I > add a space in the method body, save, remove the space, save again,...), > some time not. > > tested on Pharo 3.0

Re: [Pharo-users] String representation of Class

2014-11-12 Thread Hilaire
Le 12/11/2014 10:15, p...@highoctane.be a écrit : > Why not use FileSystem memory for those things? This would keep the > files inside the image. > because I didn't know about it :) But fileout(UTF8 conversion, again...) seems to be broken, see my other post. Hilaire -- Dr. Geo - http://drgeo.

Re: [Pharo-users] String representation of Class

2014-11-12 Thread kilon alios
and if you want a json like implementation there is filetree. I think json is a much better format than XML but I am nowhere near to an experienced web developer. On Wed, Nov 12, 2014 at 11:15 AM, p...@highoctane.be wrote: > On Wed, Nov 12, 2014 at 9:21 AM, Hilaire wrote: > >> Le 12/11/2014 09:

Re: [Pharo-users] String representation of Class

2014-11-12 Thread p...@highoctane.be
On Wed, Nov 12, 2014 at 9:21 AM, Hilaire wrote: > Le 12/11/2014 09:08, p...@highoctane.be a écrit : > >> Is it possible to export a whole class as a string, then import it back > >> from a string representation to a class? > > > > Isn't that a fileOut/fileIn thing? > > > > Yes, however I don't wa

Re: [Pharo-users] String representation of Class

2014-11-12 Thread Sven Van Caekenberghe
String streamContents: [ :out | Association fileOutOn: out ] I am not sure it covers everything, but for some script methods this will do. > On 12 Nov 2014, at 09:21, Hilaire wrote: > > Le 12/11/2014 09:08, p...@highoctane.be a écrit : >>> Is it possible to export a whole class as a string, the

Re: [Pharo-users] String representation of Class

2014-11-12 Thread Hilaire
Le 12/11/2014 09:08, p...@highoctane.be a écrit : >> Is it possible to export a whole class as a string, then import it back >> from a string representation to a class? > > Isn't that a fileOut/fileIn thing? > Yes, however I don't want it on a .st file (to avoid possible trouble on the end user

Re: [Pharo-users] String representation of Class

2014-11-12 Thread p...@highoctane.be
Le 12 nov. 2014 08:32, "Hilaire" a écrit : > > Hi, > > Dr. Geo script are becoming first class citizen -- before it was just a > method hooked to an existing DrGeoUserScripts class ; then, it was easy > to export the script method as a string to include it in the XML sketch > file. > > Now to save