[Pharo-users] example 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

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

2015-06-22 Thread Damien Cassou
Ben Coman b...@openinworld.com 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

[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

Re: [Pharo-users] example 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 nicolaih...@web.de wrote: 2015-06-22 12:03 GMT+02:00 Peter Uhnák i.uh...@gmail.com: Hi, there was a long

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

2015-06-22 Thread Ben Coman
On Mon, Jun 22, 2015 at 11:17 PM, Torsten Bergmann asta...@gmx.de 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

[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 MyFamixClassfrom^previousthe same information is displayed twice in the

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 cyril.ferli...@gmail.com: 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.

Re: [Pharo-users] example 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 sample 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.

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 damien.cas...@inria.fr: Ferlicot D. Cyril cyril.ferli...@gmail.com writes: Le 21/06/2015 05:21, Hernán Morales Durand a écrit : About instructions given here

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

2015-06-22 Thread Marcus Denker
On 17 Jun 2015, at 18:54, Martin Dias tinchod...@gmail.com 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,

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

2015-06-22 Thread Nicolai Hess
2015-06-22 12:03 GMT+02:00 Peter Uhnák i.uh...@gmail.com: Hi, there was a long discussion about the meaning of example* methods and example 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

[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... MyParserrule ^ ($[ asParser, anotherRule, $] asParser) == [ :nodes | nodes second ] Of course when the rules are more complex, so is the block; however it seems

[Pharo-users] example 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 example 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

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

2015-06-22 Thread Thierry Goubier
2015-06-22 9:11 GMT+02:00 Marcus Denker marcus.den...@inria.fr: On 17 Jun 2015, at 18:54, Martin Dias tinchod...@gmail.com 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

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

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

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,

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

2015-06-22 Thread Ben Coman
On Tue, Jun 23, 2015 at 6:13 AM, Peter Uhnák i.uh...@gmail.com 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 sample is then the go-to naming for now. I also like that the

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 hernan.mora...@gmail.com wrote: Thank you Ben for taking the time to read. Do you (or anyone) mind to share which

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

2015-06-22 Thread Damien Cassou
Hernán Morales Durand hernan.mora...@gmail.com 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

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 jul...@tamere.eu 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] example 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 to

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 thierry.goub...@gmail.com wrote: 2015-06-22 9:11 GMT+02:00 Marcus Denker

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 tinchod...@gmail.com wrote:

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

2015-06-22 Thread Damien Cassou
Ferlicot D. Cyril cyril.ferli...@gmail.com 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

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 i.uh...@gmail.com wrote: For example Roassal's