Re: [Pharo-users] pragmas and example* methods use-cases

2015-06-22 Thread Ben Coman
On Tue, Jun 23, 2015 at 6:13 AM, Peter Uhnák wrote: > Thank you all for your answers (For whatever reason all replies by Torsten > to this thread ended up as separate threads.. maybe mail client issues?) > > It seems that is then the go-to naming for now. I also like that > the word starts differ

Re: [Pharo-users] About generating chapters with Pillar/Pier tools

2015-06-22 Thread Hernán Morales Durand
2015-06-22 9:59 GMT-03:00 Damien Cassou : > > Ferlicot D. Cyril writes: > > > Le 21/06/2015 05:21, Hernán Morales Durand a écrit : > >> About instructions given here > >> > >> > https://ci.inria.fr/pharo-contribution/job/EnterprisePharoBook/lastSuccessfulBuild/artifact/PillarChap/Pillar.html#sec:

Re: [Pharo-users] pragmas and example* methods use-cases

2015-06-22 Thread Peter Uhnák
Thank you all for your answers (For whatever reason all replies by Torsten to this thread ended up as separate threads.. maybe mail client issues?) It seems that is then the go-to naming for now. I also like that the word starts differently so it's easy to differentiate them at a glance. On Mon

Re: [Pharo-users] About generating chapters with Pillar/Pier tools

2015-06-22 Thread Hernán Morales Durand
2015-06-22 5:35 GMT-03:00 Ferlicot D. Cyril : > Le 21/06/2015 05:21, Hernán Morales Durand a écrit : > > Hello, > > > > I have experimented several dissapointing errors when working with > > updated Pillar tools. I am not doing anything special besides working > > under Windows. > > > > Apparently

Re: [Pharo-users] pragmas and example* methods use-cases

2015-06-22 Thread Tudor Girba
Hi Torsten, By we, I mean the GT team. I thought this should have been quite clear given the gt prefix and where this code is packaged :). We do not want to keep it a secret, but we only go to the community when we have something significant to say. Sometimes the reaction takes a short time, some

Re: [Pharo-users] Moose

2015-06-22 Thread Tudor Girba
Hi, from/to are derived properties and they should describe the association. For example: FAMIXAccess>> from ^ self accessor FAMIXAccess>> to ^ self variable next/previous denote the position of the association in the code with respect to the other associations. For example, imagine this Pharo c

Re: [Pharo-users] Moose

2015-06-22 Thread Alexandre Bergel
Hi! I have never used the previous and next. No idea whether this is used or not. What are you trying to achieve? Cheers, Alexandre -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. > On Jun 22, 2015,

[Pharo-users] pragmas and example* methods use-cases

2015-06-22 Thread Torsten Bergmann
Tudor Girba wrote: >We are working on a more elaborate model for examples, but we need a bit >more time to get to a rounder solution. Hi Doru, Sorry - but I think this is not acceptable as a satisfying answer: Remember that the GT extension was developed in parallel a little too bit hidden. I

Re: [Pharo-users] pragmas and example* methods use-cases

2015-06-22 Thread Ben Coman
On Tue, Jun 23, 2015 at 12:59 AM, Ben Coman wrote: > On Mon, Jun 22, 2015 at 11:17 PM, Torsten Bergmann wrote: >> Hi Peter, >> >> there was no agreement - so we rolled back for Pharo 4 to discuss/decide for >> Pharo 5. >> >> I communicated already how I would solve it to get IMHO a consistent an

Re: [Pharo-users] pragmas and example* methods use-cases

2015-06-22 Thread Ben Coman
On Mon, Jun 22, 2015 at 11:17 PM, Torsten Bergmann wrote: > Hi Peter, > > there was no agreement - so we rolled back for Pharo 4 to discuss/decide for > Pharo 5. > > I communicated already how I would solve it to get IMHO a consistent and > easy understandable solution: > > 1. executable example

Re: [Pharo-users] pragmas and example* methods use-cases

2015-06-22 Thread Tudor Girba
Hi, We are working on a more elaborate model for examples, but we need a bit more time to get to a rounder solution. Cheers, Doru On Mon, Jun 22, 2015 at 12:49 PM, Nicolai Hess wrote: > > > 2015-06-22 12:03 GMT+02:00 Peter Uhnák : > >> Hi, >> >> there was a long discussion about the meaning

[Pharo-users] Proposed fix for RFB. Please review

2015-06-22 Thread Christer Assmundsson
Hi all, I have fixed (?) an issue in RFB server that seems to solve a problem I had with initiating a session. After the fix it works at least with UltraVnc. Still not with tightVnc though, has to be some other problem with that. As I'm not very experienced with pharo I'd like to have somebo

Re: [Pharo-users] pragmas and example* methods use-cases

2015-06-22 Thread Damien Cassou
Ben Coman writes: > I'll revisit my previous suggestion. In real life... > > * a "sample" is a real object you can hold. You ask a supplier to > "send you a sample" of their product so you can inspect it before you > buy lots. In an industrial factory, you "take a sample" to take an > item fro

[Pharo-users] pragmas and example* methods use-cases

2015-06-22 Thread Torsten Bergmann
Hi Peter, there was no agreement - so we rolled back for Pharo 4 to discuss/decide for Pharo 5. I communicated already how I would solve it to get IMHO a consistent and easy understandable solution: 1. executable example = We talk about executable code here: an "example"

[Pharo-users] Moose

2015-06-22 Thread abdelghani ALIDRA
Hi everybody, when working with the FAMIX meta model, one must implement the previous, next, from and to methods for each class extending FAMIXAssosiation. What is the diffence between previous/from and next/to?if I make MyFamixClass>>from^previousthe same information is displayed twice in the Mo

Re: [Pharo-users] gtInspectorPresentation:, TreeModel, pragmas, visitors and polluting protocols

2015-06-22 Thread Alexandre Bergel
This is true, however it has to be used properly. Alexandre -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. > On Jun 18, 2015, at 4:13 AM, Peter Uhnák wrote: > > For example Roassal's RTElement expo

Re: [Pharo-users] Any YAML parser?

2015-06-22 Thread Serge Stinckwich
http://smalltalkhub.com/#!/~JanKurs/PetitParser/packages/PetitYAML ? On Sat, Jun 20, 2015 at 4:10 PM, Julien Delplanque wrote: > Hi everybody, > > I googled a bit for a YAML parser in Pharo but I didn't found anything. > > Does anybody wrote a YAML parser for Pharo? > > Regards, > Julien > --

Re: [Pharo-users] Environment-independent styler?

2015-06-22 Thread Yuriy Tymchuk
My 2 cents: we need a diff model. Because for now there is TextDiffBuilder which “diffs” text by lines i.e. bad granularity, and there is a DiffMorph that produces nice diffs but it’s hard to reuse it in other contexts. Uko > On 22 Jun 2015, at 15:18, Martin Dias wrote: > > After debugging

Re: [Pharo-users] Environment-independent styler?

2015-06-22 Thread Martin Dias
After debugging a bit and discovering the mess around... I think the best decision is to first migrate the DiffMorph to the new text widget, and then see... Martín On Mon, Jun 22, 2015 at 9:53 AM, Thierry Goubier wrote: > > > 2015-06-22 9:11 GMT+02:00 Marcus Denker : > >> >> > On 17 Jun 2015

Re: [Pharo-users] pragmas and example* methods use-cases

2015-06-22 Thread Ben Coman
I'll revisit my previous suggestion. In real life... * a "sample" is a real object you can hold. You ask a supplier to "send you a sample" of their product so you can inspect it before you buy lots. In an industrial factory, you "take a sample" to take an item from the process stream to the lab

Re: [Pharo-users] About generating chapters with Pillar/Pier tools

2015-06-22 Thread Damien Cassou
Hernán Morales Durand writes: > Thank you Ben for taking the time to read. > > Do you (or anyone) mind to share which command do you use to convert from > Pillar generated .tex to .pdf in Linux or OS/X? > Cheers, we use the following Bash script to do everything for the EnterprisePharo book:

Re: [Pharo-users] About generating chapters with Pillar/Pier tools

2015-06-22 Thread Damien Cassou
Ferlicot D. Cyril writes: > Le 21/06/2015 05:21, Hernán Morales Durand a écrit : >> About instructions given here >> >> https://ci.inria.fr/pharo-contribution/job/EnterprisePharoBook/lastSuccessfulBuild/artifact/PillarChap/Pillar.html#sec:windowsusers >> >> you do not need MinGW to export a Pi

Re: [Pharo-users] About generating chapters with Pillar/Pier tools

2015-06-22 Thread Ben Coman
Sorry. It was nine months ago I made some small contribution. I don't remember and it may have changed since. cheers -ben On Mon, Jun 22, 2015 at 12:43 PM, Hernán Morales Durand wrote: > Thank you Ben for taking the time to read. > > Do you (or anyone) mind to share which command do you use to co

Re: [Pharo-users] pragmas and example* methods use-cases

2015-06-22 Thread Nicolai Hess
2015-06-22 12:03 GMT+02:00 Peter Uhnák : > Hi, > > there was a long discussion about the meaning of example* methods and > pragmas, however I do not know what was the final resolution. > > Basically I am interested in two use-cases > > 1. executable example (the one where Nautilus shows nice play

[Pharo-users] pragmas and example* methods use-cases

2015-06-22 Thread Peter Uhnák
Hi, there was a long discussion about the meaning of example* methods and pragmas, however I do not know what was the final resolution. Basically I am interested in two use-cases 1. executable example (the one where Nautilus shows nice play icon) This is as I understand only through example* na

[Pharo-users] PetitParser ignorable parsers

2015-06-22 Thread Peter Uhnák
Hi, is it possible to add such a parser that would consume input, but wouldn't return anything? Right now I do things like... MyParser>>rule ^ ($[ asParser, anotherRule, $] asParser) ==> [ :nodes | nodes second ] Of course when the rules are more complex, so is the block; however it seems t

Re: [Pharo-users] About generating chapters with Pillar/Pier tools

2015-06-22 Thread Ferlicot D. Cyril
Le 21/06/2015 05:21, Hernán Morales Durand a écrit : > Hello, > > I have experimented several dissapointing errors when working with > updated Pillar tools. I am not doing anything special besides working > under Windows. > > Apparently the Pillar CommandLineHandler is not working because > OSEnv

Re: [Pharo-users] Environment-independent styler?

2015-06-22 Thread Thierry Goubier
2015-06-22 9:11 GMT+02:00 Marcus Denker : > > > On 17 Jun 2015, at 18:54, Martin Dias wrote: > > > > Hello, > > > > Suppose that you want to show the diff between the source code of two > methods. In the case that both methods are in the same class, and that such > class is present in the system,

Re: [Pharo-users] Environment-independent styler?

2015-06-22 Thread Marcus Denker
> On 17 Jun 2015, at 18:54, Martin Dias wrote: > > Hello, > > Suppose that you want to show the diff between the source code of two > methods. In the case that both methods are in the same class, and that such > class is present in the system, then no problem: In a DiffModel, one can set > a