[Pharo-users] Memoization Question

2014-11-10 Thread Torsten Bergmann
Phil wrote: >How can I do memoization in Pharo?   See here   https://gist.github.com/jcromartie/2705526

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

2014-11-10 Thread Stephan Eggermont
You might get some inspiration by taking a look at http://smalltalkhub.com/#!/~StephanEggermont/DeprecationFinder Stephan

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

2014-11-10 Thread Offray Vladimir Luna Cárdenas
Hi, I don't know if the terminology is the proper one. Anyway I'm trying to plot a "time line" of the history of a project which is stored on [1] and [2] (after rebranding) and also of the commits to documentation on [3] using Pharo/Roassal. [1] http://smalltalkhub.com/#!/~Offray/Ubakye/ [2]

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

2014-11-10 Thread Werner Kassens
dont know but let me try yet another attempt at rephrasing this. suppose you ask an intermediate beginner how 5--4 would be parsed, as: a) 5 - -4 b) 5 -- 4 perhaps he does not need to look up the chapter in the pharobook and will choose b). but if he looks into the pharobook he will read under

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

2014-11-10 Thread Thierry Goubier
2014-11-10 15:57 GMT+01:00 Werner Kassens : > Let me restate what i meant: if you enter 5--4 in squeak for example, the > parser asks you whether you meant 5 - -4 or 5 -- 4. Oh, ok. And what happens if you are not in an interactive mode (like when you are filing-in code) ? Thierry > > werner

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

2014-11-10 Thread Andy Burnett
ᐧ Doru said <<< If you work with Pharo 4, they should already be saved in a play-cache folder. >> Great, I shall go and experiment. Cheers Andy

Re: [Pharo-users] AST #copy behavior

2014-11-10 Thread Mark Rizun
> > >> The AST generated by SmaCC has a postCopy in the same way that you > describe, so I'd say this is OK. > > That's good > Just be precise about what you copy and what you don't copy. Can you say > what will be copied and what won't? > For instance, in RBMethodNode I want to copy replacement

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

2014-11-10 Thread Peter Uhnák
There is also ScriptManager http://smalltalkhub.com/#!/~TorstenBergmann/ScriptManager but I do not know if it works with GTPlaygrounds and it seems to have some issues with Morphic? Peter On Mon, Nov 10, 2014 at 3:56 PM, Tudor Girba wrote: > If you work with Pharo 4, they should already be save

[Pharo-users] Webdoc: status?

2014-11-10 Thread p...@highoctane.be
I'd like to use WebDoc for generating my project code doc; I see that https://ci.inria.fr/pharo-contribution/job/WebDoc/ is pretty much red for a long time. Started by timer Building remotely on pharo-contribution-win7.ci.inria.fr

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

2014-11-10 Thread Werner Kassens
Let me restate what i meant: if you enter 5--4 in squeak for example, the parser asks you whether you meant 5 - -4 or 5 -- 4. werner On 11/10/2014 03:28 PM, Werner Kassens wrote: Of course. i was talking about x -- y not x - - y. werner On 11/10/2014 03:17 PM, Thierry Goubier wrote: I believe

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

2014-11-10 Thread Tudor Girba
If you work with Pharo 4, they should already be saved in a play-cache folder. Cheers, Doru On Mon, Nov 10, 2014 at 3:55 PM, Andy Burnett < andy.burn...@knowinnovation.com> wrote: > From time to time I write a workspace script that I would like to keep. > Obviously, I could save them to a file,

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

2014-11-10 Thread Andy Burnett
>From time to time I write a workspace script that I would like to keep. Obviously, I could save them to a file, but I was wondering if there was a way of saving them in the image, and browsing them in some friendly way? Cheers Andy ᐧ

Re: [Pharo-users] AST #copy behavior

2014-11-10 Thread Thierry Goubier
2014-11-10 14:38 GMT+01:00 Mark Rizun : > Hi guys! > > I'm using AST really often, and recently stumbled on problem with copying > an > AST. > It doesn't copy stuff related to computing sourceInterval of AST, and I > need > it to copy:) > > I know there are #deepCopy and #veryDeepCopy, but they ar

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

2014-11-10 Thread Werner Kassens
Of course. i was talking about x -- y not x - - y. werner On 11/10/2014 03:17 PM, Thierry Goubier wrote: I believe that x - - y would give you an error. 4 - - 5 in parsing is a different beast, because you consider - 5 as a single token.

[Pharo-users] AST #copy behavior

2014-11-10 Thread Mark Rizun
Hi guys! I'm using AST really often, and recently stumbled on problem with copying an AST. It doesn't copy stuff related to computing sourceInterval of AST, and I need it to copy:) I know there are #deepCopy and #veryDeepCopy, but they are too heavy methods for AST, especially in my case, as I ne

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

2014-11-10 Thread Thierry Goubier
I believe that x - - y would give you an error. 4 - - 5 in parsing is a different beast, because you consider - 5 as a single token. Thierry 2014-11-10 12:36 GMT+01:00 Henrik Johansen : > In VisualWorks: > 3 @ *Argument expected ->*- 5 > > I guess what one expects is a matter of habit, personal

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

2014-11-10 Thread Thierry Goubier
2014-11-10 12:07 GMT+01:00 p...@highoctane.be : > > We are using UCS here. There are nice babies in that lineup: > > > http://www.cisco.com/c/en/us/products/servers-unified-computing/ucs-c420-m3-rack-server/index.html > Yes, This is this class of stuff our user has. Thierry > > > Phil > >> >> >

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

2014-11-10 Thread Werner Kassens
>3 @ - 5 is what I object to (and Opal allows) with this i have no problems, it follows simple obvious rules as long as one knows that #@ cant be an unary operator. >is 4 - 5 two literals, or is it two literals separated by the - operator ? but then there is no situation in which the - operator

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

2014-11-10 Thread Henrik Johansen
In VisualWorks: 3 @ Argument expected ->- 5 I guess what one expects is a matter of habit, personally I'd expect x - - y to yield a parsing error. Cheers, Henry > On 10 Nov 2014, at 12:06 , PBKResearch wrote: > > I have tried this on my latest Dolphin (Pro 6.1 Beta 2): > 3 @ -5 is accepted an

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

2014-11-10 Thread p...@highoctane.be
On Mon, Nov 10, 2014 at 11:54 AM, Thierry Goubier wrote: > > > 2014-11-10 11:46 GMT+01:00 p...@highoctane.be : > >> On Mon, Nov 10, 2014 at 11:20 AM, Thierry Goubier < >> thierry.goub...@gmail.com> wrote: >> >>> >>> >>> 2014-11-10 11:10 GMT+01:00 p...@highoctane.be : >>> Cool. I wa

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

2014-11-10 Thread PBKResearch
I have tried this on my latest Dolphin (Pro 6.1 Beta 2): 3 @ -5 is accepted and interpreted correctly. 3 @ - 5 is rejected with message: 'Error - incorrect expression start'; the caret is pointing at the - sign. So the Opal behaviour does not mirror that of Dolphin. Hope this helps Peter

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

2014-11-10 Thread Thierry Goubier
2014-11-10 11:46 GMT+01:00 p...@highoctane.be : > On Mon, Nov 10, 2014 at 11:20 AM, Thierry Goubier < > thierry.goub...@gmail.com> wrote: > >> >> >> 2014-11-10 11:10 GMT+01:00 p...@highoctane.be : >> >>> Cool. >>> >>> I was thinking or reusing pieces of the RFBClient for writing the >>> client. I

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

2014-11-10 Thread p...@highoctane.be
On Mon, Nov 10, 2014 at 11:20 AM, Thierry Goubier wrote: > > > 2014-11-10 11:10 GMT+01:00 p...@highoctane.be : > >> Cool. >> >> I was thinking or reusing pieces of the RFBClient for writing the client. >> I like its design. >> >> I will work on this end of the month and in december so that I can

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

2014-11-10 Thread Thierry Goubier
2014-11-10 11:10 GMT+01:00 p...@highoctane.be : > Cool. > > I was thinking or reusing pieces of the RFBClient for writing the client. > I like its design. > > I will work on this end of the month and in december so that I can ship my > code using it in January. > I'm very busy until the end of no

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

2014-11-10 Thread stepharo
I know that vincent did a binding to connect to R. On 10/11/14 10:28, p...@highoctane.be wrote: I am doing some R work and wanted to integrate with Pharo. Is there any support for Rserve around? http://www.rforge.net/Rserve/dev.html At this point I am doing OProcess style stuff with littler bu

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

2014-11-10 Thread p...@highoctane.be
Cool. I was thinking or reusing pieces of the RFBClient for writing the client. I like its design. I will work on this end of the month and in december so that I can ship my code using it in January. I have a case on hand, so it is easy to have a user centric focus. I created a blank repo for t

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

2014-11-10 Thread Thierry Goubier
Hi Phil, I'm interested too. I could commit resources to help if needed. Thierry 2014-11-10 10:28 GMT+01:00 p...@highoctane.be : > I am doing some R work and wanted to integrate with Pharo. > > Is there any support for Rserve around? > > http://www.rforge.net/Rserve/dev.html > > At this point I

[Pharo-users] Anyone having a Rserve client?

2014-11-10 Thread p...@highoctane.be
I am doing some R work and wanted to integrate with Pharo. Is there any support for Rserve around? http://www.rforge.net/Rserve/dev.html At this point I am doing OProcess style stuff with littler but Rserve would be cooler. There are binding for Ruby and Python. e.g. http://pythonhosted.org//p

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

2014-11-10 Thread Thierry Goubier
2014-11-10 8:47 GMT+01:00 Henrik Johansen : > 3 @ -5 is not a problem, and accepted by both. > 3 @ - 5 is what I object to (and Opal allows) > RBParser allows this one even if old Compiler dissallows it (i.e. in Pharo 2). I haven't tracked if Opal follows the RBParser on that or if this is the