Re: [Pharo-users] Commandline

2014-07-25 Thread Thierry Goubier
You can try to get the current working directory this way: argumentsAsFileReferences |pwd | pwd := (Smalltalk os environment at: 'PWD' ifAbsent: [ Smalltalk os environment at: 'CD' ]) asFileReference. ^ self argumentsWithoutOptions collect: [ :each | pwd resolveReference: each asFileReference

Re: [Pharo-users] Data Science with Pharo?

2014-08-01 Thread Thierry Goubier
Le 31/07/2014 15:29, Alexandre Bergel a écrit : I am successful using Pharo + Roassal/Mondrian in analyzing and visualizing IT architecture models. And it is real fun. :-) Glad to ear this :-) Yes, the vision I see behind Pharo, Moose, Roassal is to provide a solid alternative to R. We are

Re: [Pharo-users] How do I trace through implementors in Pharo?

2014-08-10 Thread Thierry Goubier
Le 10/08/2014 23:33, Tim Mackinnon a écrit : As I relearn/learn how to use Pharo, I’m struck by some of the excellent changes and confounded by some of the simple things that boggle me. So, I wanted to follow a path through some message sends - the use of #alert:title: in UIManager

Re: [Pharo-users] AST source interval isn't changed

2014-08-14 Thread Thierry Goubier
Le 11/08/2014 10:09, Mark Rizun a écrit : Hello, I have MyTextModel class - a subclass of TextModel, it holds an ast of it's text. When I replace node of the ast using replaceWith: ast is changed, then I say text: ast formattedCode, so the text is changed too. But! when I inspect new ast(after

Re: [Pharo-users] Migrate code from Dolphin Smalltalk

2014-08-17 Thread Thierry Goubier
Hi Esteban, I wrote some code which makes a dolphin package appear as a changeset to Pharo. Works fairly well. However, I didn't tackle the automatic code conversion issues: methods too long for pharo, Dolphin syntax extensions (##). Thierry Le 17/08/2014 00:39, Esteban A. Maringolo a

Re: [Pharo-users] How to create a red box with text in a big font?

2014-09-04 Thread Thierry Goubier
Le 04/09/2014 18:18, Tim Mackinnon a écrit : Cool - that’s handy to know it works somewhere (and in fact, it was when playing with GT-Inspector I noticed this - so that solution would work). I’m still curious how you do it in Morphic? Like that: Morph new color: Color red;

Re: [Pharo-users] How to create a red box with text in a big font?

2014-09-04 Thread Thierry Goubier
, then that works. Morph new hResizing: #shrinkWrap; addMorph: ( 'Hello World' asMorph fontName: 'Open Sans' size: 75; emphasis: TextEmphasis bold emphasisCode); openInWindow; color: Color red Thierry On Thu, Sep 4, 2014 at 11:56 PM, Thierry Goubier

Re: [Pharo-users] How to create a red box with text in a big font?

2014-09-05 Thread Thierry Goubier
Hi Nicolai, 2014-09-05 9:19 GMT+02:00 Nicolai Hess nicolaih...@web.de: I can not reproduce this with this code: Morph new color:Color red; hResizing: #shrinkWrap; addMorph: ( 'Hello World' asMorph fontName: 'Open Sans' size: 75; emphasis:

Re: [Pharo-users] How to create a red box with text in a big font?

2014-09-05 Thread Thierry Goubier
World' asMorph fontName: 'Open Sans' size: 75; emphasis: TextEmphasis bold emphasisCode); openInWindow The Morph is red! Le 4 sept. 2014 23:32, Thierry Goubier thierry.goub...@gmail.com a écrit : Le 04/09/2014 23:12, kilon alios a écrit : but if I try

Re: [Pharo-users] How to create a red box with text in a big font?

2014-09-05 Thread Thierry Goubier
that it takes an emphasis object and not a code. Thierry Tim On 5 Sep 2014, at 10:37, Thierry Goubier thierry.goub...@gmail.com wrote: Hi Peter, As far as I can understand, this is because TextStyle is brain dead code when it comes to font selection (and fontName:size: is a useless API

Re: [Pharo-users] not a smalltalk!

2014-09-06 Thread Thierry Goubier
Le 06/09/2014 16:36, stepharo a écrit : In my opinion, this dialect thing is getting increasingly silly. And confusing. And silly. It is not getting. It was like that already back in 1998 and before too. Yes. Who remember the differences between Envy / Parcplace / Digitalk / Smalltalk-mt /

Re: [Pharo-users] Zoomable Infinitely scrollable PasteupMorph

2014-09-16 Thread Thierry Goubier
For infinitely zoomable interface, an old body of work and research on the possibilities is Pad++ [http://www.cs.umd.edu/hcil/pad++/] . Parcplace did some stuff too. Squeak seemed to have something at one point. Thierry 2014-09-16 15:09 GMT+02:00 Sean P. DeNigris s...@clipperadams.com: On

Re: [Pharo-users] i am back ...

2014-09-19 Thread Thierry Goubier
Welcome back! You convinced me to have a look at Self, which I didn't in, what, more than 15 years? They even have multiple host windows :) Thierry 2014-09-19 14:07 GMT+02:00 Mayuresh Kathe mayur...@kathe.in: hello all, i had to do it. after listening to everybody's comments about my

Re: [Pharo-users] BLOG: Block Translators - parsing magic

2014-09-23 Thread Thierry Goubier
Thanks Udo; I reviewed a few techniques for implementing internal / embeddel DSLs in a host language and I didn't saw this one :) Thierry 2014-09-23 1:48 GMT+02:00 Udo Schneider udo.schnei...@homeaddress.de: All, I just finished a blog entry. It shows how to use Smalltalk blocks as

Re: [Pharo-users] BLOG: Block Translators - parsing magic

2014-09-23 Thread Thierry Goubier
2014-09-23 13:35 GMT+02:00 kilon alios kilon.al...@gmail.com: yeap noway I compare Regex with PettitParser. I will probably give a PettitParser a try, because I try to parse Pharo syntax to Python, I want now to parse Pharo classes to python class and that will be a nightmare with regex, so

Re: [Pharo-users] BLOG: Block Translators - parsing magic

2014-09-23 Thread Thierry Goubier
Sensitive Grammar (Type 1) for sure ... and if you're very lucky Context Free (Type 2) might be sufficient but PITA to write and maintain. Agreed? :-) Agreed :) Thierry CU, Udo On 23.09.14 14:20, Thierry Goubier wrote: 2014-09-23 13:57 GMT+02:00 Udo Schneider udo.schnei

Re: [Pharo-users] Packaging Pharo for many distributions at once

2014-09-24 Thread Thierry Goubier
2014-09-24 11:35 GMT+02:00 Christophe Demarey christophe.dema...@inria.fr: Le 24 sept. 2014 à 11:00, Thierry Goubier a écrit : Hi Damien, I would be interested in a zeroinstall [http://0install.net/] version :) A cool system because it is user-level (no need to go into system admin mode

Re: [Pharo-users] Using themes and closing windows

2014-09-25 Thread Thierry Goubier
Le 25/09/2014 18:37, Annick Fron a écrit : Is there a documentation how to use or write Themes ? I would like to attach some method when I close a window, how I do that ? You can register to the announcement sent by the window when closing. | s | s := SystemWindow new. s onAnnouncement:

Re: [Pharo-users] Using a private git repository with Metacello

2014-10-08 Thread Thierry Goubier
Hi Julien, it should be possible on Linux and Mac OS by loading GitFileTree and using an url like: 'gitfiletree://bitbucket.com/owner/reponameprotocol=git'. Regards, Thierry Le 08/10/2014 10:44, Julien Delplanque a écrit : Hello, Is it possible to use Metacello to load a Pharo project

Re: [Pharo-users] Using a private git repository with Metacello

2014-10-11 Thread Thierry Goubier
On 09/10/14 07:09, Thierry Goubier wrote: Hi Julien, it should be possible on Linux and Mac OS by loading GitFileTree and using an url like: 'gitfiletree://bitbucket.com/owner/reponameprotocol=git'. Regards, Thierry Le 08/10/2014 10:44, Julien Delplanque a écrit : Hello

Re: [Pharo-users] openstreetmap + roassal

2014-10-15 Thread Thierry Goubier
Hi Nicolas, What are the errors you encountered? I wrote a kind of tutorial to explain how to understand a bit both the OpenStreetMap API and how to use it under Pharo. it is at: http://pillarhub.pharocloud.com/hub/ThierryGoubier/5y08m9uu71o8i7a35ijwr766p Regards, Thierry 2014-10-15 15:48

Re: [Pharo-users] openstreetmap + roassal

2014-10-16 Thread Thierry Goubier
welcome, Thierry Cheers, Nicolas On Oct 15, 2014, at 4:14 PM, Thierry Goubier thierry.goub...@gmail.commailto:thierry.goub...@gmail.com wrote: Hi Nicolas, What are the errors you encountered? I wrote a kind of tutorial to explain how to understand a bit both the OpenStreetMap API and how to use

Re: [Pharo-users] [Pharo-dev] Clickable class side example and initialize methods in Pharo 4.0

2014-10-22 Thread Thierry Goubier
Hi all, by principle, I'd be against extending so much the pragmas... from a design point of view they look like #defines and macros, that is an additional language to learn, without a correct support of the tools (no debug on pragmas, non-obvious behavior triggers, search for pragma users

Re: [Pharo-users] [Pharo-dev] Clickable class side example and initialize methods in Pharo 4.0

2014-10-22 Thread Thierry Goubier
(similar to TestCase). Alexandre Le 22-10-2014 à 14:51, Thierry Goubier thierry.goub...@gmail.com a écrit : Hi all, by principle, I'd be against extending so much the pragmas... from a design point of view they look like #defines and macros, that is an additional language to learn, without

Re: [Pharo-users] [Pharo-dev] Clickable class side example and initialize methods in Pharo 4.0

2014-10-22 Thread Thierry Goubier
Hi Doru, Le 22/10/2014 23:03, Tudor Girba a écrit : Hi, As for pragmas, they are a better mechanism for describing intent than a method naming convention is. If nothing else, it lets us freedom in naming the method. And they add another programming language on top of another, and in most

Re: [Pharo-users] Slow at browsing

2014-10-25 Thread Thierry Goubier
Hi Hilaire, maybe profiling could show something. Nautilus could benefit from some love in making it faster :) I know that my browser, AltBrowser, is a lot faster on a slow machine (x7 faster on startup time compared to Nautilus, x3 faster than the old system browser). So it could be done.

Re: [Pharo-users] Slow at browsing

2014-10-25 Thread Thierry Goubier
Le 25/10/2014 12:39, Nicolai Hess a écrit : Maybe this one: 12535 https://pharo.fogbugz.com/default.asp?12535 To many updates on the methods list You certainly seems to be onto something there. 12535? 12931 as well? Looks like some have computers that are too fast to notice the slowdown ;)

Re: [Pharo-users] AST tokens question

2014-10-28 Thread Thierry Goubier
Le 28/10/2014 11:23, Mark Rizun a écrit : Thanks. I see that, however RBBlockNode or RBArrayNode doesn't have tokens. These classes have only methods in accessing-token protocol. I think it would be better if we have token object for those classes, because it makes more sense to hold such

Re: [Pharo-users] AST tokens question

2014-10-28 Thread Thierry Goubier
Le 28/10/2014 12:12, Mark Rizun a écrit : Well, not really. Technically, tokens are used to drive a parser from a scanner. If an AST node knows how to relate itself to its original source code chunk and is able to print itself correctly, then tokens are redundant. In

Re: [Pharo-users] Pharo program examples

2014-10-28 Thread Thierry Goubier
Hi Hans, have a look at Phratch and DrGeo. Thierry Le 28/10/2014 12:23, Hans Schueren a écrit : Thanks Jan , i know that the system itself is the program. But there must be Image programs out there to download. I only want to download a program ( Folder with image and exe [Pharo

Re: [Pharo-users] AST tokens question

2014-10-28 Thread Thierry Goubier
, no source interval can be trusted since it may end up past the end of the original source string length. Thierry 2014-10-28 13:32 GMT+02:00 Thierry Goubier thierry.goub...@gmail.com mailto:thierry.goub...@gmail.com: Le 28/10/2014 12:12, Mark Rizun a écrit : Well, not really

Re: [Pharo-users] Pratsch

2014-10-28 Thread Thierry Goubier
Hi Hans, I would not hesitate to state that in the Smalltalk vision, we should make no difference between a user and a programmer: a user has the right to be a programmer. Today, in academic circles, we call that end-user programming if you need more references (:)). If you take some of

Re: [Pharo-users] AST tokens question

2014-10-29 Thread Thierry Goubier
can parse it and you'll have correct intervals. Thierry Mark 2014-10-28 14:00 GMT+02:00 Thierry Goubier thierry.goub...@gmail.com mailto:thierry.goub...@gmail.com: Le 28/10/2014 12:45, Mark Rizun a écrit : Yes, because they are wrong. Here is an issue: https

Re: [Pharo-users] AST tokens question

2014-10-29 Thread Thierry Goubier
2014-10-29 8:32 GMT+01:00 Mark Rizun mri...@gmail.com: Which ones? In my tool each node has property oldNodes, which holds collection of obviously AST nodes:) When I replace one of node I have to update source interval in some way. 1)If I update it with reparsing, I loose all data

Re: [Pharo-users] AST tokens question

2014-10-29 Thread Thierry Goubier
2014-10-29 9:59 GMT+01:00 Mark Rizun mri...@gmail.com: I use source intervals to detect which node is selected and than in the right-click menu user can see only options that are relevanto to selected node, as it is also made in SmartSuggestions. I know that use case ;) Ok, then this means

Re: [Pharo-users] AST tokens question

2014-10-29 Thread Thierry Goubier
2014-10-29 10:09 GMT+01:00 Mark Rizun mri...@gmail.com: P.S. I have a solution, but don't know if it's appropriate: I remove updating of source interval from replaceWith: method, but my tool will do all the calculations of interval on it's own. This is a possibility: have a transform; when

Re: [Pharo-users] AST tokens question

2014-10-29 Thread Thierry Goubier
2014-10-29 10:44 GMT+01:00 Mark Rizun mri...@gmail.com: 2014-10-29 11:40 GMT+02:00 Thierry Goubier thierry.goub...@gmail.com: 2014-10-29 10:22 GMT+01:00 Mark Rizun mri...@gmail.com: Second one, I do replace node all the time. You insert new code inside the text view? Yes For me

Re: [Pharo-users] AST tokens question

2014-10-29 Thread Thierry Goubier
2014-10-29 11:11 GMT+01:00 Mark Rizun mri...@gmail.com: This is well how I understood it. Are you implementing something around the use of refactoring? I'm implementing tool for creating rewrite rules. Here is a blog about it: http://myfuncoding.blogspot.com/ Also I write chapter for

Re: [Pharo-users] AST tokens question

2014-10-29 Thread Thierry Goubier
2014-10-29 11:16 GMT+01:00 Mark Rizun mri...@gmail.com: I misunderstood you, of course I can find the node in old ast which was replaced, using operator =. Sure it works, but the problem is I have to pass oldNodes each time from old node to new one. I think you can work recreating the ast.

Re: [Pharo-users] AST tokens question

2014-10-29 Thread Thierry Goubier
2014-10-29 11:41 GMT+01:00 Mark Rizun mri...@gmail.com: I had a look at the video, and it looks great. Certainly the way to go. Well, it's not that great. And it shows pretty old version of what I have now. I should make a new better one:) I had some ideas along those, but I never have

Re: [Pharo-users] AST tokens question

2014-10-29 Thread Thierry Goubier
2014-10-29 15:54 GMT+01:00 Mark Rizun mri...@gmail.com: This is the one which sounds difficult for me. Patterns are fairly global in nature, and they may match synonyms (i.e. methods of the same name but with different meanings), so I'm worried about the mastery of my changes. For an isNil

Re: [Pharo-users] AST tokens question

2014-10-29 Thread Thierry Goubier
2014-10-29 16:17 GMT+01:00 Mark Rizun mri...@gmail.com: You mean the changes tool in Monticello ? No I mean, that before your rule is applied you will see the same window, when you choose refactoring. I mean Changes Browser. Here it is: [image: Вбудоване зображення 1] Ok, thanks. this

Re: [Pharo-users] AST tokens question

2014-10-30 Thread Thierry Goubier
Hi Stef, this one is in SmaCC. I'll see if I can switch to your solution. I had a look at Nautilus add protocol for fun. 2303 entries for a subclass of MorphTreeModel :( I reduce that to 11 entries in AltBrowser add protocol for the same use case. Thierry

Re: [Pharo-users] Zoomable Infinitely scrollable PasteupMorph

2014-11-02 Thread Thierry Goubier
Le 02/11/2014 15:15, stepharo a écrit : I gave up on zoomability (with the idea to revisit after Athens is integrated), Athens is integrated. Now if the community does not help redefining the drawnOn: methods using athens then it will not happen. And, speaking of infinite zoomability, you

Re: [Pharo-users] Zoomable Infinitely scrollable PasteupMorph

2014-11-02 Thread Thierry Goubier
Le 02/11/2014 16:29, Nicolai Hess a écrit : 2014-11-02 15:22 GMT+01:00 Thierry Goubier thierry.goub...@gmail.com mailto:thierry.goub...@gmail.com: Le 02/11/2014 15:15, stepharo a écrit : I gave up on zoomability (with the idea to revisit after Athens

Re: [Pharo-users] [Oharo-users] Copy AST

2014-11-05 Thread Thierry Goubier
Le 05/11/2014 18:04, Mark Rizun a écrit : Hi everyone, I want to get a deep copy of ast. But deepCopy doesn't work:) What I mean: | ast1 ast2 | ast1 := RBParser parseRewriteExpression: 'self'. ast2 := ast1 copy.or without copy ast1 stop: 99. ast2 stop When evaluate this you get 99. I want it

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

2014-11-09 Thread Thierry Goubier
2014-11-10 7:59 GMT+01:00 Henrik Johansen henrik.s.johan...@veloxit.no: IMHO, the old compiler is right, whitespace should not be allowed in literals. Whitespace can be \t or \n,\r which makes for strange literals (multilines) such as: - 5 And would create ambiguity in some cases is 4 -

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

2014-11-10 Thread Thierry Goubier
2014-11-10 8:47 GMT+01:00 Henrik Johansen henrik.s.johan...@veloxit.no: 3 @ -5 is not a problem, and accepted by both. 3 @ - space 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

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 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

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

2014-11-10 Thread Thierry Goubier
on 4). Thierry Phil On Mon, Nov 10, 2014 at 10:48 AM, Thierry Goubier thierry.goub...@gmail.com wrote: 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 p...@highoctane.be: I am doing some R work

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 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 p...@highoctane.be: Cool. I was thinking or reusing pieces of the RFBClient for writing

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

2014-11-10 Thread Thierry Goubier
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 Kenny *From:* Pharo-users [mailto:pharo-users-boun...@lists.pharo.org pharo-users-boun...@lists.pharo.org] *On Behalf Of *Thierry

Re: [Pharo-users] AST #copy behavior

2014-11-10 Thread Thierry Goubier
2014-11-10 14:38 GMT+01:00 Mark Rizun mri...@gmail.com: 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

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

2014-11-10 Thread Thierry Goubier
) ? Thierry 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 that x - - y would give you an error. 4 - - 5 in parsing is a different beast, because you consider - 5

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 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

Re: [Pharo-users] Metacello configuration based on subdirectory of Git repo

2014-11-13 Thread Thierry Goubier
Le 13/11/2014 18:21, Rafael Luque a écrit : Hi all, I'm starting with Pharo and playing with the ways to integrate it with Git. I've read the Git and Pharo chapter on Enterprise Pharo book by Thierry Goubier and loaded the GitFileTree package. I'm working on a project with several

Re: [Pharo-users] Maps from Wikipedia loaded on Roassal's RTMetricMap

2014-11-22 Thread Thierry Goubier
Hi Vladimir, 2014-11-18 14:30 GMT+01:00 Offray Vladimir Luna Cárdenas off...@riseup.net : Notice that this tries to be a leaner approach to the one I had already asked about importing maps from open street map. Another option which you could look to is: - use Cirela-OSM (

Re: [Pharo-users] Alternate browser

2014-11-26 Thread Thierry Goubier
Le 26/11/2014 21:30, Hilaire a écrit : Hello, Do we have an installable browser for Pharo, simple but reliable as was Browser? What is Browser? A system browser? Thierry Hilaire

Re: [Pharo-users] Alternate browser

2014-11-26 Thread Thierry Goubier
Le 26/11/2014 21:51, Hilaire a écrit : Le 26/11/2014 21:44, Thierry Goubier a écrit : Do we have an installable browser for Pharo, simple but reliable as was Browser? What is Browser? A system browser? Yes, to browser code Then Stéphane has a simple one, for minimal Pharo. I have one

Re: [Pharo-users] Alternate browser

2014-11-27 Thread Thierry Goubier
Hi Craig, tell me how it goes for you. Things you like in it, things you don't. If you need a bit of a Thierry 2014-11-27 9:31 GMT+01:00 Craig cr...@hivemind.net: Thanks Sven, Never mind. I just installed the September 25 VM and AltBrowser now works just fine :) Craig -Original

Re: [Pharo-users] Alternate browser

2014-11-27 Thread Thierry Goubier
2014-11-27 10:49 GMT+01:00 Thierry Goubier thierry.goub...@gmail.com: Hi Craig, tell me how it goes for you. Things you like in it, things you don't. If you need a bit of a guide / report, it is available there: http://thierrygoubier.github.io/AltBrowser/ Thierry Thierry 2014-11-27

Re: [Pharo-users] Alternate browser

2014-11-29 Thread Thierry Goubier
Le 29/11/2014 11:39, kilon alios a écrit : - I wonder how to get back to Nautilus. It would be nice to be able to use both. thats an annoyance for me too, I would like to be given the option to choose what browser I want to use depending on the situation. Doing that is just triggering a nice

Re: [Pharo-users] Alternate browser

2014-11-29 Thread Thierry Goubier
/ or different color read-only pane to mark it as documentation, or even make it rw if you feel like it. Phil Le 29 nov. 2014 11:43, Thierry Goubier thierry.goub...@gmail.com mailto:thierry.goub...@gmail.com a écrit : Le 29/11/2014 11:29, p...@highoctane.be mailto:p...@highoctane.be a écrit

Re: [Pharo-users] Alternate browser

2014-12-01 Thread Thierry Goubier
2014-12-01 10:19 GMT+01:00 Marcus Denker marcus.den...@inria.fr: The mechanism is very simple... if you remove a tool and then use it, there will be a DNU. (it should open instead window and tell that no tool is installed) In fact, it's worse: it DNUs even if you still have some tools

Re: [Pharo-users] Alternate browser

2014-12-01 Thread Thierry Goubier
2014-12-01 10:32 GMT+01:00 Marcus Denker marcus.den...@inria.fr: On 01 Dec 2014, at 10:26, Thierry Goubier thierry.goub...@gmail.com wrote: 2014-12-01 10:19 GMT+01:00 Marcus Denker marcus.den...@inria.fr: The mechanism is very simple... if you remove a tool and then use

Re: [Pharo-users] Alternate browser

2014-12-03 Thread Thierry Goubier
2014-12-03 9:24 GMT+01:00 Craig Johnson cr...@hivemind.net: I'm cleaning up a lot of small issues I had with it as I write (mostly refreshing/deselection issues when redefining/renaming classes). I'm done with the pharo3.0 branch on github; I'm now merging those into the pharo4.0 branch

Re: [Pharo-users] Alternate browser

2014-12-04 Thread Thierry Goubier
Hi Craig, both issues are/should be solved now, on both Pharo3 and Pharo4. Thierry Le 03/12/2014 09:24, Craig Johnson a écrit : I'm cleaning up a lot of small issues I had with it as I write (mostly refreshing/deselection issues when redefining/renaming classes). I'm done with the pharo3.0

Re: [Pharo-users] [Esug-list] [ann] gtspotter: a moldable interface for spotting objects

2014-12-07 Thread Thierry Goubier
2014-12-07 15:56 GMT+01:00 Tudor Girba tu...@tudorgirba.com: Thanks, Stef. On Sun, Dec 7, 2014 at 2:35 PM, stephane ducasse stephane.duca...@gmail.com wrote: Last time I found myself looking for the sender of x but only inside the implementor of y. and of course I wanted to refactored

Re: [Pharo-users] [Esug-list] [ann] gtspotter: a moldable interface for spotting objects

2014-12-07 Thread Thierry Goubier
2014-12-07 20:21 GMT+01:00 Tudor Girba tu...@tudorgirba.com: Hi Thierry, What I meant is that no IDE I know allows you to refine search through arbitrary levels of nesting. For example, looking for senders, filter, implementors, filter, senders, filter ... Is the AltBrowser able to do

Re: [Pharo-users] modifying the compiler adding an alias for :=

2014-12-10 Thread Thierry Goubier
Hi, If you are using the OpalCompiler (Pharo4, sure, Pharo3, I'm not so sure), have a look at: RBScannerscanSpecialCharacter Thierry 2014-12-10 12:57 GMT+01:00 Erik Itter erik.it...@gmail.com: Hi, I need to modify the compiler adding : as an alias for := for assignment. I have been

Re: [Pharo-users] modifying the compiler adding an alias for :=

2014-12-10 Thread Thierry Goubier
SystemBrowser allow me to write code using the : operator Am 10.12.2014 um 13:11 schrieb Thierry Goubier: Hi, If you are using the OpalCompiler (Pharo4, sure, Pharo3, I'm not so sure), have a look at: RBScannerscanSpecialCharacter Thierry 2014-12-10 12:57 GMT+01:00 Erik Itter erik.it

Re: [Pharo-users] Roassal HTML exporter

2014-12-13 Thread Thierry Goubier
will have a look at this. If we keep the ability to zoom in and out, I'd say yes. Thierry Cheers, Alexandre -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. On Dec 12, 2014, at 12:38 PM, Thierry Goubier

Re: [Pharo-users] [Pharo-dev] how do you use scripts?

2014-12-16 Thread Thierry Goubier
2014-12-16 12:44 GMT+01:00 Sven Van Caekenberghe s...@stfx.eu: === We need something very low friction, like automatic saving/remembering. Why not searching among the doit(s) stored in the changes? Thierry

[Pharo-users] Pharo on Raspberry Pi 2

2015-02-02 Thread Thierry Goubier
Hi all, given this announcement, what would this mean for Pharo on the Raspberry Pi 2? Thierry http://www.raspberrypi.org/raspberry-pi-2-on-sale/ Let's get the good stuff out of the way above the fold. Raspberry Pi 2 is now on sale *for $35* (the same price as the existing Model B+),

Re: [Pharo-users] Pharo on Raspberry Pi 2

2015-02-02 Thread Thierry Goubier
2015-02-02 16:01 GMT+01:00 Ben Coman b...@openinworld.com: Which platform ?... http://dev.windows.com/en-us/featured/raspberrypi2support Oh, Linux for me will be perfect, thanks :) On Mon, Feb 2, 2015 at 9:21 PM, Ignacio Sniechowski 0800na...@gmail.com wrote: Thierry, Pharo runs in

Re: [Pharo-users] Image growing size

2015-02-07 Thread Thierry Goubier
Hi, a fairly long report on the image and memory hogs is : SmalltalkImage current reportCPUandRAM Writes files in the image folder containing all the information. Takes a while to run. Thierry 2015-02-07 9:53 GMT+01:00 Stephan Eggermont step...@stack.nl: You might want to inspect this to

Re: [Pharo-users] Using SmaCC to transform AST?

2015-02-04 Thread Thierry Goubier
Hi Jean-Christophe, Yes, SmaCC has the infrastructure for doing that, in text form (match an ast subtree, produce a string) and linked to SmaCC produced ASTs (I believe by using a GLR parser to generate multiple matches on an input pattern). Using text is a deliberate design decision [1], as far

Re: [Pharo-users] SmaCC: First steps

2015-02-11 Thread Thierry Goubier
2015-02-11 11:16 GMT+01:00 kilon alios kilon.al...@gmail.com: What you see is that, with the {{}}, I create PyAtomNode instances for all productions, even if it isn't appropriate. Maybe this should be changed like that for lists : | lbrack rbrack {{List}} | lbrack listmaker 'list'

Re: [Pharo-users] moving to git and preserving monticello history

2015-02-18 Thread Thierry Goubier
Le 18/02/2015 19:18, Peter Uhnák a écrit : Hi, we would like to switch our project over to git, however is it possible to preserve the history? I.e. to convert mcz (or wherever monticello stores it) to git commits, or do I have to start from scratch? Hi Peter, if you use a Gofer script to

Re: [Pharo-users] Small benchmark

2015-02-17 Thread Thierry Goubier
Hi Clement, Eliot, this update prompted me to try as well Spur + Pharo, so I set up some sort of environment for that. I too had a FreeType related bug, solved by replacing the Source Code Pro font setting by Source Sans Pro in the code panes, but, otherwise it seems fine, opens faster, etc...

Re: [Pharo-users] On GUI design and how to benchmark it

2015-02-16 Thread Thierry Goubier
to the paradigm, language, toolkit and the IDE. I think Pharo can score high on those, that’s the point of sharing it here On Feb 15, 2015, at 12:08 PM, Thierry Goubier thierry.goub...@gmail.com mailto:thierry.goub...@gmail.com wrote: Hi Sebastian, a guy which starts by saying that no GUI toolkit

Re: [Pharo-users] On GUI design and how to benchmark it

2015-02-15 Thread Thierry Goubier
Hi Sebastian, a guy which starts by saying that no GUI toolkit of significance were written in FP, and forget to link or cite Garnet (by B. Myers) (Common Lisp) is, how to say, intriguing. Doesn't bode well for the well researched :( Thierry Le 15/02/2015 14:08, Sebastian Sastre a écrit :

Re: [Pharo-users] Hijacking a Configuration for loading a Github Baseline

2015-01-27 Thread Thierry Goubier
Hi Kilon, a simple way to do that is to change your configuration so that it uses the baseline in your github. The SmaCC configuration for Pharo 4.0 is written in this way for the stable version. version204: spec version: '2.0.4' imports: #('2.0-baseline') spec for: #'pharo4.x'

Re: [Pharo-users] SmaCC: First steps

2015-01-30 Thread Thierry Goubier
On Fri, Jan 30, 2015 at 10:50 AM, Thierry Goubier thierry.goub...@gmail.com wrote: Hi kilon, The tests instance variable is linked to the python grammar: top level items in an expression are probably tests, and, through the grammar, tests can be just atoms. So the tests instance variable

Re: [Pharo-users] SmaCC: First steps

2015-02-11 Thread Thierry Goubier
Hi Kilon, 2015-02-11 8:24 GMT+01:00 kilon alios kilon.al...@gmail.com: Ok so after rereading the tutorial and testing again and again , I think I have finally managed to understand how SmaCC really works and I was succesful into converting simple python litsts to pharo arrays and ordered

Re: [Pharo-users] Error while loading GitFileTree in Pharo 4.0

2015-03-16 Thread Thierry Goubier
Le 16/03/2015 21:15, kilon alios a écrit : Smacc looks to load fine using its Github repo instructions. So far it works ok too. Ok. That's me then. My code for pre-loading GitFileTree for accessing gitfiletree:// urls is pointing to an old version. I'll remove git access from the development

Re: [Pharo-users] about Groups in Nautilus

2015-03-22 Thread Thierry Goubier
Hi Stef, with Nicolai, we considered it would be nice to have everything (groups and scoping) based on RBEnvironments... And that we needed a way, for interactive use, to have 'live' or 'auto-updating' RBEnvironments (but maybe an environment used during a mass refactoring shouldn't be live

Re: [Pharo-users] Package dependencies

2015-03-22 Thread Thierry Goubier
Le 22/03/2015 17:41, stepharo a écrit : Defining a configuration for your project. Even easier: define a BaselineOf for your project (a configuration will have you write a baseline anyway). And use Metacello to load it. Thierry You can have a look for example in the Mines configuration it

Re: [Pharo-users] Error while loading GitFileTree in Pharo 4.0

2015-03-15 Thread Thierry Goubier
Hi Jigyasa, Martin, I removed the stable version of GitFileTree from the configuration since it doesn't work anymore since a few versions of Pharo4. Please use the development version, as per the following script: Gofer it url:

Re: [Pharo-users] Git refreshing

2015-03-15 Thread Thierry Goubier
I also believe that baselines + git branches and tags would simplify a lot complex projects configurations (Moose?). Thierry Le 15/03/2015 22:24, p...@highoctane.be a écrit : I moved my workflow to use git with Pharo. Took a while but can't go back. e.g. of collaboration

Re: [Pharo-users] How to depend on another Github repo from the baseline ?

2015-03-17 Thread Thierry Goubier
Hi Kilon, I think you can simply do: baseline: spec baseline spec for: #pharo do: [ spec baseline: 'SmaCC' with: [ spec repository: 'github://ThierryGoubier/SmaCC' ]. spec package: 'Ephestos' with: [ spec requires: #('SmaCC') ] ] You can also restrict what you load from SmaCC in this way:

Re: [Pharo-users] Git overriding repo load from different source

2015-03-21 Thread Thierry Goubier
Hi Peter, I'm not sure how to answer all those cases (did I remember a conversation during PharoDays?). Can you elaborate on a) and the failure? Because I remember looking at the ability to override conflicts in Metacello by just saying: onConflict: [:ex | ex allow ] (for example:

Re: [Pharo-users] Search and replace source code

2015-03-19 Thread Thierry Goubier
Le 19/03/2015 19:05, Sean P. DeNigris a écrit : Thierry Goubier wrote you can use the parse tree rewriter of the Refactoring Browser set Didn't someone demo a cool rewrite tool GUI recently? I don't remember where exactly... Yes! Mark Rizun rewrite tool (http://myfuncoding.blogspot.fr

Re: [Pharo-users] Search and replace source code

2015-03-19 Thread Thierry Goubier
Hi Laura, you can use the parse tree rewriter of the Refactoring Browser set. Like that, you can have a degree of control about what you do replace and on what. For example, I'd try something like: | rewrite | rewrite := RBParseTreeRewriter new replace: 'expression1' with:

Re: [Pharo-users] Error while loading GitFileTree in Pharo 4.0

2015-03-16 Thread Thierry Goubier
Hi Kilon, like a monday :) I made a mistake in the configuration, and you are apparently the first one to try the stable version of SmaCC. It's just an error in the url. I have uploaded a new version of the configuration. Note to the SmaCC users at a certain place... I'm not sure I'll

Re: [Pharo-users] Error while loading GitFileTree in Pharo 4.0

2015-03-16 Thread Thierry Goubier
Le 16/03/2015 20:27, kilon alios a écrit : Oh boy ... If I try to install Smacc from configuraton browser it crashes the latest pharo 4 image on macos. Cool! Not ;) I'll recreate a Pharo4 image and check all this. Thierry On Mon, Mar 16, 2015 at 8:40 PM, Thierry Goubier thierry.goub

Re: [Pharo-users] Error while loading GitFileTree in Pharo 4.0

2015-03-16 Thread Thierry Goubier
: Oh boy ... If I try to install Smacc from configuraton browser it crashes the latest pharo 4 image on macos. On Mon, Mar 16, 2015 at 8:40 PM, Thierry Goubier thierry.goub...@gmail.com mailto:thierry.goub...@gmail.com wrote: Hi Kilon, like a monday

Re: [Pharo-users] Error while loading GitFileTree in Pharo 4.0

2015-03-16 Thread Thierry Goubier
Hi, an alternative solution is to load directly from github, with: Metacello new baseline: 'FileTree'; repository: 'github://dalehenrich/filetree:pharo4.0_dev/repository'; load: 'Git' Missing files may mean a leftover from a previous, failed load attempt. Thierry 2015-03-16 8:19

Re: [Pharo-users] Error while loading GitFileTree in Pharo 4.0

2015-03-16 Thread Thierry Goubier
, 2015 at 2:07 PM, Thierry Goubier thierry.goub...@gmail.com wrote: Hi, an alternative solution is to load directly from github, with: Metacello new baseline: 'FileTree'; repository: 'github://dalehenrich/filetree:pharo4.0_dev/repository'; load: 'Git' Missing files may mean

Re: [Pharo-users] GitFileTree Version Numbering

2015-03-09 Thread Thierry Goubier
2015-03-09 11:39 GMT+01:00 Sean P. DeNigris s...@clipperadams.com: Martin Bähr wrote It takes ages to scan the version metadata contained in the git repository. why is that? Also, this is a copy operation, so we already have the version number from the mcz! Why can't we just use that?

  1   2   3   4   5   6   >