Re: [Pharo-users] 2 questions around gitlab, gitfiletree, BaselineOf

2017-07-07 Thread Thierry Goubier
Hi Sabine, I have makefiles to do the sort of thing you describe automatically (build an image from local, git managed repositories) and a baseline: I write stuff like ./pharo-cli pharo/Pharo.image --no-default-preferences eval --save Metacello new baseline: \'MyProject\'\; repository:\'gitfiletr

Re: [Pharo-users] 2 questions around gitlab, gitfiletree, BaselineOf

2017-07-07 Thread Thierry Goubier
Hi Sabine, as far as I remember when I implemented it, the use of a config file shouldn't be an issue, because GitFileTree rewrites exactly the git@SPF_GITLAB the way you would expect, as long as it manages to identify correctly the parts in the URL (and to identify those parts, it relies on

Re: [Pharo-users] How to specify metacello package dependencies in a git world?

2017-07-09 Thread Thierry Goubier
Hi Tim, Le 09/07/2017 à 10:31, Tim Mackinnon a écrit : Hi - I am trying to specify a simple package dependency(NeoJSON) for a hello world type simple project and I’m hitting problems. I’ve been reading the DeepIntoPharo chapter and have looked at the blog post by Uko (http://blog.yuriy.tymch

Re: [Pharo-users] 2 questions around gitlab, gitfiletree, BaselineOf

2017-07-11 Thread Thierry Goubier
Hi Sabine, I have a slightly different script, a Makefile, which uses another trick: put everything into a pharo/ subdirectory. Like that, just rm -rf pharo/ erases everything before rebuilding. I think I would implement the support you need for you to simply be able to write: Metacello ne

Re: [Pharo-users] get output of a forked process on windows

2017-07-18 Thread Thierry Goubier
Hi Christophe, You have to use ProcessWrapper. Metacello new configuration: 'ProcessWrapper'; repository: 'http://smalltalkhub.com/mc/Pharo/MetaRepoForPharo40/main'; load (as extracted from the baseline of GitFileTree for Pharo4) Regards, Thierry 2017-07-18 15:34 GMT+02:00 Christophe D

Re: [Pharo-users] Why do we separate class/instance methods in the browser?

2017-07-23 Thread Thierry Goubier
Hi Tim, if you're looking for experiments, you may want to look for the already existing (or past) experiments on alternative systems browsers. There are a few floating around, and some of them already have an answer for what you are considering (change the way class side and instance side m

Re: [Pharo-users] Why do we separate class/instance methods in the browser?

2017-07-23 Thread Thierry Goubier
Le 23/07/2017 à 18:58, Attila Magyar a écrit : Maybe if the protocol list was a tree instead of a list then it would make sense to include the class methods there. This would also make easier to move methods from class side to instance side or vica versa with simple drag and drop (without relying

Re: [Pharo-users] Cloning code from GitHub using Iceberg

2017-07-24 Thread Thierry Goubier
Le 24/07/2017 à 21:55, Hernán Morales Durand a écrit : 2017-07-24 4:29 GMT-03:00 Alistair Grant : Hi Hernan, On Sun, Jul 23, 2017 at 06:22:52PM -0300, Hern??n Morales Durand wrote: Hi guys, I am trying to import code - in Pharo 6 - from a GitHub repository: https://github.com/jigyasa-grover/C

Re: [Pharo-users] Loading and saving packages to filetree repos

2017-08-18 Thread Thierry Goubier
Hi Luke, if you use gitfiletree with AltBrowser and configurations/baselines, then you'll see that you have a command to do the writing for you, without metadata and with a single git commit. Regards, Thierry Le 17/08/2017 à 13:25, Luke Gorrie a écrit : Hoi, I want to have a quick "cheat

Re: [Pharo-users] Loading and saving packages to filetree repos

2017-08-20 Thread Thierry Goubier
in the way of solving my problems. I am sure this will change over time with more gradual learning and experience. On 18 August 2017 at 16:28, Thierry Goubier <mailto:thierry.goub...@gmail.com>> wrote: Hi Luke, if you use gitfiletree with AltBrowser and configurations/baselines,

Re: [Pharo-users] [ann] moldable editor - with expandable elements

2017-08-26 Thread Thierry Goubier
2017-08-26 14:46 GMT+02:00 Denis Kudriashov : > > 2017-08-26 14:31 GMT+02:00 Tim Mackinnon : > >> Denis - that's a very cool idea if I've understood you - expand in the >> source code of the current method, literally inline? So you could scroll up >> and down to view the context as you expand it o

Re: [Pharo-users] [ann] moldable editor - with expandable elements

2017-08-26 Thread Thierry Goubier
you expand anything. I'd say there that the GTInspector approach would work better -> expand on the right, with the ability to keep two side by side, and overlaid with lines clearly showing what has been expanded (for that "context" thing). Regards, Thierry > > 201

Re: [Pharo-users] [ann] moldable editor - with expandable elements

2017-08-26 Thread Thierry Goubier
sort of experiment. The moldable bit may make it easier, or at least not more complex than it was when Smalltalk systems were a lot smaller. Now, is that moldable implementation really that free, or has it sacrificed certain freedoms to make moldable things easier? Regards, Thierry > > Ti

Re: [Pharo-users] [ann] moldable editor - with expandable elements

2017-08-27 Thread Thierry Goubier
Hi Doru, 2017-08-27 9:24 GMT+02:00 Tudor Girba : > Hi, > > > On Aug 27, 2017, at 12:06 AM, Thierry Goubier > wrote: > > > > Hi Tim, > > > > 2017-08-26 23:27 GMT+02:00 Tim Mackinnon : > > I think you pose some interesting design challenges - but it&#

Re: [Pharo-users] [ann] moldable editor - with expandable elements

2017-08-27 Thread Thierry Goubier
ation is 2k lines of > code. In comparison, just the core of Rubric is 5.5k. But, the rendering is > not related to text whatsoever. Word and adornments are just element that > conform to a layout. So, this means that people can build something else at > a much smaller costs should they want

Re: [Pharo-users] [ann] moldable editor - with expandable elements

2017-08-28 Thread Thierry Goubier
2017-08-28 9:15 GMT+02:00 Tudor Girba : > Hi, > > > On Aug 27, 2017, at 7:13 PM, Thierry Goubier > wrote: > > > > Hi Doru, > > > > thanks for the explanation... > > > > I'll end up with three questions: > > > > - What makes

Re: [Pharo-users] [ann] moldable editor - with expandable elements

2017-08-28 Thread Thierry Goubier
Hi Stephan, 2017-08-28 10:50 GMT+02:00 stephan : > On 26-08-17 18:38, Thierry Goubier wrote: > > For me, it has the same effect: the editor isn't in a single place >> anymore. You may consider it doesn't matter; IMHO it does matter (and it >> makes for me th

Re: [Pharo-users] How to create a minimal image ?

2017-08-28 Thread Thierry Goubier
Hi Pavel, what would be the expression for building such an intermediate image out of the minimal image? This? Metacello new baseline: 'BasicTools'; repository: 'github://pharo-project/pharo:master/src'; load Regards, Thierry 2017-08-28 13:24 GMT+02:00 Pavel Krivanek : > What do you exp

Re: [Pharo-users] How to create a minimal image ?

2017-08-28 Thread Thierry Goubier
vely, one needs to have a usable minimal image with the GUI and very simple core tools. Regards, Thierry > > -- Pavel > > > 2017-08-28 13:47 GMT+02:00 Thierry Goubier : > >> Hi Pavel, >> >> what would be the expression for building such an intermediate image out >>

Re: [Pharo-users] #parseMethod:onError: isn't as obvious as expected - is it me?

2017-09-01 Thread Thierry Goubier
Hi Tim, The RB ast has a specific method for finding the right node: in AltBrowser, I use ast bestNodeFor: aTarget selectionInterval. For the second case (parse what is selected), you may want to look into SmaCC: it has specific entry points (used for refactoring) to try all possible starts in a

Re: [Pharo-users] #parseMethod:onError: isn't as obvious as expected - is it me?

2017-09-07 Thread Thierry Goubier
the KM API). Now, most Pharo developpers just jump into hardcoding keyboard handling instead. Thierry > > I'm also not sure if I like the pragma usage either - I find it quite > difficult to follow what's calling what. > > Tim > > Sent from my iPhone > >

Re: [Pharo-users] Pharo 7 license question

2017-09-22 Thread Thierry Goubier
2017-09-22 10:27 GMT+02:00 Hilaire : > The appropriate and neutral term to describe GPL licence is "recursive". > > GPL licence was designed to build a better computing community, where > freedom is 1st consideration, even at the expense of a lower acceptance. > And the little technical fact that

Re: [Pharo-users] How to include DeployUtils in a Configuration?

2017-09-27 Thread Thierry Goubier
Hi Hernán, I think what is happening is you're not including completely the DeployUtils baseline. You need to write something like: spec baseline: 'DeployUtils' with: [ spec repository: 'github://fstephany/DeployUtils/repository']; import: 'DeployUtils'. And have one of the packages (or

Re: [Pharo-users] X11 options on Ubuntu VM / Athens rendering problems

2017-10-01 Thread Thierry Goubier
Le 01/10/2017 à 09:26, Hilaire a écrit : All these difficulties are good argument to get the appropriate libcairo/libpng shipped with the Linux VM, as done with Windows and MacOSX VM This cause surprising problems in Pharo integration with the platform: for example, if you use a system librar

Re: [Pharo-users] Behold Pharo: The Modern Smalltalk

2017-10-11 Thread Thierry Goubier
What about a seaside-based system browser oriented towards code documentation? That would fit both paradigms: html-like reference + live browsing. You could even make it buzzword compliant: have a REST interface to documentation and code. Note how the panes in a system browser could make for a ni

Re: [Pharo-users] [ANN] Libusb binding + HID support for Pharo

2017-10-12 Thread Thierry Goubier
Very cool. Would that be doable to adapt for a 64bits version? Thierry 2017-10-12 13:29 GMT+02:00 Julien : > Hello, > > A bit late, there is a Libusb [1] binding (using UFFI) and support for the > Human Interface Device [2] (that uses the binding but is written in pure > Smalltalk) for Pharo. >

Re: [Pharo-users] [ANN] Libusb binding + HID support for Pharo

2017-10-12 Thread Thierry Goubier
> name and the correct 32/64 bit size and marshalling) > - or a bug in the bindings using the wrong types (e.g., using long > instead of void*) > And the first FFI call fails (the lib init). Thierry > > >> >> Julien >> >> Le 12 oct. 2017 à 14:41,

Re: [Pharo-users] "Building-With versus Building-on"

2017-10-13 Thread Thierry Goubier
Hi Andrew, Stephane, thanks for the read. It was interesting, albeit a bit confusing at times. I do like your evaluation of the thesis. 2017-10-12 23:10 GMT+02:00 Stephane Ducasse : > Thanks Andrew I read it fast and I will reread it. It is really > interesting to me because I never took the tim

Re: [Pharo-users] Namespaces (was Re: Behold Pharo: The Modern Smalltalk)

2017-10-13 Thread Thierry Goubier
Hi Kilon, disclaimer: I've used Parcplace Smalltlk without namespaces, then VisualWorks with namespaces. 2017-10-13 9:08 GMT+02:00 Dimitris Chloupis : > Personally I dont get it, we find the path to bootstrap the pharo image > clear and we cannot see the path to namespaces ? > Because namespace

Re: [Pharo-users] Namespaces (was Re: Behold Pharo: The Modern Smalltalk)

2017-10-13 Thread Thierry Goubier
ed for the fact its incidental complexity makes it very very hard to reach or maintain performance levels (compared to Fortran, say). Thierry > > On Fri, Oct 13, 2017 at 10:55 AM Thierry Goubier < > thierry.goub...@gmail.com> wrote: > >> Hi Kilon, >> >> disclaimer:

Re: [Pharo-users] Namespaces (was Re: Behold Pharo: The Modern Smalltalk)

2017-10-13 Thread Thierry Goubier
equivelant of pharo would be > > MyModule MyInstance myMessage: > > or if you include packages as well > > MyPackage MyModule MyInstance myMessage: > > which follows pharo syntax and OO design. That's my general idea at least. > > Please enlighten me :) > >

Re: [Pharo-users] Exchanging information between 2 pharo applications (2 images running on two different computers)

2017-10-27 Thread Thierry Goubier
Hi Cedric, a short answer: some of what you're trying to do has been traditionnally handled by object databases - multiple images retrieving and updating objects on a central store ensuring lots of good properties : see Gemstone. Another answer, since you're looking at content-addressable distrib

Re: [Pharo-users] Exchanging information between 2 pharo applications (2 images running on two different computers)

2017-10-27 Thread Thierry Goubier
2017-10-27 11:28 GMT+02:00 Cédrick Béler : > > Hi Cedric, > > a short answer: some of what you're trying to do has been traditionnally > handled by object databases - multiple images retrieving and updating > objects on a central store ensuring lots of good properties : see Gemstone. > > > Yes , I

Re: [Pharo-users] perspective request for those earning alivingfromSmalltalk

2017-11-06 Thread Thierry Goubier
Hi Andrew, Le 06/11/2017 à 19:59, Andrew Glynn a écrit : I /suspect/ that a (mostly repressed) underlying sense that a reliable, inexpensive platform, if popular, would have been more detrimental to IBM than to its smaller competitors. The same goes for the VisualAge family -> Smalltalk (sold

Re: [Pharo-users] Binary Decision Diagram Package in Smalltalk

2017-11-07 Thread Thierry Goubier
ith this. > > > > Thanks for the offer, Steffen! The problem is that I need to use SmaCC > for my current project, and really do not have a month to take off and > re-design the way that it builds its scanner. I’ve talked to Thierry > Goubier about, and he doesn’t have time eith

Re: [Pharo-users] Binary Decision Diagram Package in Smalltalk

2017-11-07 Thread Thierry Goubier
ttps://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10 *From: *Thierry Goubier <mailto:thierry.goub...@gmail.com> *Sent: *Tuesday, November 7, 2017 7:17 AM *To: *Any question about pharo is welcome <mailto:pharo-users@lists.pharo.org> *Subject: *Re:

Re: [Pharo-users] Binary Decision Diagram Package in Smalltalk

2017-11-08 Thread Thierry Goubier
t functions, e.g., bdds, instead of > relying on charcter tests only. > > > Cheers, > Steffen > > > > > > Am .11.2017, 23:16 Uhr, schrieb Thierry Goubier >: > > Le 07/11/2017 à 23:00, Steffen Märcker a écrit : >> >>> I am not familiar with

Re: [Pharo-users] Unable to load SmaCC on pharo6 (or pharo5)

2017-11-09 Thread Thierry Goubier
Hi Frederico, could you try in a Pharo6.1 image Metacello new baseline: 'SmaCC'; repository: 'github://ThierryGoubier/SmaCC'; load SmaCC has a fairly complex set of dependencies, so loading it via the baseline should be the preferred way. Don't hesitate to ask if you

Re: [Pharo-users] Unable to load SmaCC on pharo6 (or pharo5)

2017-11-09 Thread Thierry Goubier
Le 09/11/2017 à 20:15, Federico.Balaguer a écrit : I am following this tutorial http://files.pharo.org/books-pdfs/booklet-Smacc/2017-05-05-Smacc-Spiral.pdf I typed the first example and when I try to compile either LR(1) or LALR(1) there is a pop-up saying that both clases where not specified.

Re: [Pharo-users] Unable to load SmaCC on pharo6 (or pharo5)

2017-11-09 Thread Thierry Goubier
Le 09/11/2017 à 21:02, Stephane Ducasse a écrit : Yes thierry :) your turn now :) That's will be harder than I expected. I have issues in the LaTeX setup used by the booklet. Thierry Stef On Thu, Nov 9, 2017 at 8:41 PM, Thierry Goubier wrote: Le 09/11/2017 à 20:15, Federico.Balag

Re: [Pharo-users] SmaCC UI Problem solved but only when breakpoint was added

2017-11-10 Thread Thierry Goubier
Hi Frederico, I think what is happening is one needs to accept (press return) in the scanner and parser test fields, for the names to be taken into account. Otherwise, they keep that non-accepted status (the orange triangle appearing in top-right of the text fields). Can you check if it was the ca

Re: [Pharo-users] Unable to load SmaCC on pharo6 (or pharo5)

2017-11-11 Thread Thierry Goubier
, Thierry Goubier wrote: Le 09/11/2017 à 21:02, Stephane Ducasse a écrit : Yes thierry :) your turn now :) That's will be harder than I expected. I have issues in the LaTeX setup used by the booklet. Thierry Stef On Thu, Nov 9, 2017 at 8:41 PM, Thierry Goubier wrote: Le 09/11/2

Re: [Pharo-users] RB refactoring rewrite variable to a symbol

2017-11-11 Thread Thierry Goubier
Hi Peter, Hi Peter, you should try {:node :dic | ... } to handle that. Something like: RBParseTreeRewriter new replace: '`@var `{:node :dic | dic at: #varName put: node name} := `@arg' with: 'self write: `@arg into: `{:dic | RBParser parseExpression: ''#'', (dic

Re: [Pharo-users] Catching EOF in SmaCC

2017-11-17 Thread Thierry Goubier
Hi Andrew, there is an 'E O F' token generated by SmaCC; I haven't tried to use it in a parser yet. The second is used in the Python2 parser. See: https://github.com/ThierryGoubier/SmaCC/blob/master/SmaCC-Python.package/PythonScanner2.class/instance/scannerError.st Regards, Thierry Le 17/1

Re: [Pharo-users] Catching EOF in SmaCC

2017-11-17 Thread Thierry Goubier
Hi Andrew, Le 17/11/2017 à 12:26, Prof. Andrew P. Black a écrit : On 17 Nov 2017, at 14:10 , Thierry Goubier wrote: there is an 'E O F' token generated by SmaCC; I haven't tried to use it in a parser yet. I tried patching the tokenActions table to trap on this, but the to

Re: [Pharo-users] Metacello with Git

2017-12-20 Thread Thierry Goubier
Hi Pierce, Le 20/12/2017 à 17:17, Pierce Ng a écrit : On Tue, Dec 19, 2017 at 07:07:16PM -0800, Dale Henrichs wrote: I am under the impression that iceberg is able to authenticate with SSH keys I am not a pharo/iceberg user myself, but it seems that iceberg should be able to fill that gap.

Re: [Pharo-users] [ANN] Python3Generator and MatplotLibBridge

2018-01-10 Thread Thierry Goubier
2018-01-10 14:26 GMT+01:00 Serge Stinckwich : > > > On Wed, Jan 10, 2018 at 2:23 PM, Julien > wrote: > >> Hello Serge, >> >> Do you mean pieces of code you wrote in Python using Numpy that you want >> to transform to Smalltalk code using PolyMath? >> >> It’s kind of the other way around of this p

Re: [Pharo-users] [ANN] Python3Generator and MatplotLibBridge

2018-01-10 Thread Thierry Goubier
2018-01-10 14:41 GMT+01:00 Serge Stinckwich : > > > On Wed, Jan 10, 2018 at 2:35 PM, Thierry Goubier < > thierry.goub...@gmail.com> wrote: > >> >> >> 2018-01-10 14:26 GMT+01:00 Serge Stinckwich : >> >>> >>> >>> On Wed, Jan 10

Re: [Pharo-users] [ANN] Python3Generator and MatplotLibBridge

2018-01-11 Thread Thierry Goubier
Hi Stef, it's the one done with Damien, 3 or 4 years ago. Thierry 2018-01-11 8:23 GMT+01:00 Stephane Ducasse : > Hi Thierry > > One of these days I think that I will have to have a look at it :) > > Stef > > On Wed, Jan 10, 2018 at 2:35 PM, Thierry Goubier < >

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 : > On Sep 16, 2014, at 7:59 A

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 : > hello all, > > i had to do it. > after listening to everybody's comments about my questions to the li

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 : > All, > > I just finished a blog entry. It shows how to use Smalltalk blocks as > parsers/translators. E.g. transl

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

2014-09-23 Thread Thierry Goubier
2014-09-23 13:35 GMT+02:00 kilon alios : > 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 time to give Pettit

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

2014-09-23 Thread Thierry Goubier
2014-09-23 13:57 GMT+02:00 Udo Schneider : > > 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 time to g

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

2014-09-23 Thread Thierry Goubier
ntext > 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:

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

2014-09-24 Thread Thierry Goubier
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). Thierry 2014-09-24 9:48 GMT+02:00 Damien Cassou : > Hi, > > I've packaged Pharo VM for the Nix package manager which can be > insta

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 : > > 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 &g

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

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/reponame&protocol=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 fr

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

2014-10-11 Thread Thierry Goubier
gt; However, thank you for the help ;) > > Julien > 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/reponam

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

2014-10-13 Thread Thierry Goubier
Hi Julien, for my part, it would probably mean that GitFileTree isn't loaded. Do you have a package named MonticelloFileTree-Git? I load it with: Gofer new url: ' http://smalltalkhub.com/mc/Pharo/MetaRepoForPharo30/main'; configurationOf: 'GitFileTree';

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 GMT

Re: [Pharo-users] openstreetmap + roassal

2014-10-16 Thread Thierry Goubier
the hints. You're welcome, Thierry Cheers, Nicolas On Oct 15, 2014, at 4:14 PM, Thierry Goubier mailto: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 h

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 di

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

2014-10-22 Thread Thierry Goubier
mples (similar to TestCase). Alexandre Le 22-10-2014 à 14:51, Thierry Goubier 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 a correct support of

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 cas

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

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 sh

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 Co

Re: [Pharo-users] AST tokens question

2014-10-28 Thread Thierry Goubier
ceWith, 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 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-28 Thread Thierry Goubier
rate the source, then you can parse it and you'll have correct intervals. Thierry Mark 2014-10-28 14:00 GMT+02:00 Thierry Goubier 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 : > > 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 about oldNod

Re: [Pharo-users] AST tokens question

2014-10-29 Thread Thierry Goubier
2014-10-29 9:59 GMT+01:00 Mark Rizun : > > 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 you are reg

Re: [Pharo-users] AST tokens question

2014-10-29 Thread Thierry Goubier
2014-10-29 10:09 GMT+01:00 Mark Rizun : > 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 you get select

Re: [Pharo-users] AST tokens question

2014-10-29 Thread Thierry Goubier
2014-10-29 10:22 GMT+01:00 Mark Rizun : > Second one, I do replace node all the time. > You insert new code inside the text view? For me, if you replace nodes and display that, then you are "slowly" replacing nodes. Anything which has some display to a user in the loop is "slow". > Thinking a

Re: [Pharo-users] AST tokens question

2014-10-29 Thread Thierry Goubier
2014-10-29 10:44 GMT+01:00 Mark Rizun : > > > 2014-10-29 11:40 GMT+02:00 Thierry Goubier : > >> >> >> 2014-10-29 10:22 GMT+01:00 Mark Rizun : >> >>> Second one, I do replace node all the time. >>> >> >> You insert new code insid

Re: [Pharo-users] AST tokens question

2014-10-29 Thread Thierry Goubier
2014-10-29 11:11 GMT+01:00 Mark Rizun : > 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 PharoForE

Re: [Pharo-users] AST tokens question

2014-10-29 Thread Thierry Goubier
2014-10-29 11:16 GMT+01:00 Mark Rizun : > 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. I'm not sure

Re: [Pharo-users] AST tokens question

2014-10-29 Thread Thierry Goubier
2014-10-29 11:41 GMT+01:00 Mark Rizun : > 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 time to try

Re: [Pharo-users] AST tokens question

2014-10-29 Thread Thierry Goubier
2014-10-29 15:54 GMT+01:00 Mark Rizun : > 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 ifTrue: t

Re: [Pharo-users] AST tokens question

2014-10-29 Thread Thierry Goubier
2014-10-29 16:17 GMT+01:00 Mark Rizun : > 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 is a g

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 h

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

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 : > > 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 - 5 two literals, or is it

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

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

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

2014-11-10 Thread Thierry Goubier
projects at the moment, I tend to be on 3 (and loose sight of eventual bugs 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 com

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 thinkin

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 Thierry Goubier
jected 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 > ]

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 Thierry Goubier
> 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. >>&g

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

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 : > > 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 ( http://forum.world.st/ANN-NetGe

  1   2   3   4   5   6   >