Re: [Pharo-users] SmaCC: First steps

2015-01-30 Thread kilon alios
Ok so I tried to parse a very simple list like [ 67,12342,5 ] using Parse and explore , I can find these number by following this AST (for example 67) PyFileInputNode>>statements: -> 1: PySimpleStmNode>>stmts: -> 1: PyExprStmtNode>>tests: ->1: PyPowerNode>>atom: -> PyAtomNode>>list: -> 1: PyPowe

Re: [Pharo-users] how to install all of ZincHTTPComponents?

2015-01-30 Thread Martin Bähr
Excerpts from Sven Van Caekenberghe's message of 2015-01-30 07:52:53 +0100: > What exactly did you do ? > Zinc has been in Pharo since 1.3. Loading it from its configuration load a > newer version. That has always worked for me and other. so you are saying, everything should already be loaded, an

Re: [Pharo-users] SmaCC: First steps

2015-01-30 Thread Thierry Goubier
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 doesn't means it is testing anything :) Thierry Le 30 janv. 2015 09:23, "kilon alios" a é

Re: [Pharo-users] how to debug zinc server errors from tests

2015-01-30 Thread Martin Bähr
Excerpts from Sven Van Caekenberghe's message of 2015-01-30 07:59:00 +0100: > > when debugging a zinc server with tests structured as in > > http://zn.stfx.eu/zn/build-and-deploy-1st-webapp/ > > i am wondering how to best debug errors in the server while running tests. > > > > one test makes a ZnC

Re: [Pharo-users] students looking for projects?

2015-01-30 Thread Martin Bähr
Excerpts from Sven Van Caekenberghe's message of 2015-01-30 07:53:46 +0100: > > This microframework is quite handy for REST API (and the README of the repo > > is *really* useful) > > http://smalltalkhub.com/#!/~zeroflag/Teapot > So many options, there is Zinc-REST as well... i am aware of both.

Re: [Pharo-users] how to install all of ZincHTTPComponents?

2015-01-30 Thread stepharo
Excerpts from Sven Van Caekenberghe's message of 2015-01-30 07:52:53 +0100: What exactly did you do ? Zinc has been in Pharo since 1.3. Loading it from its configuration load a newer version. That has always worked for me and other. so you are saying, everything should already be loaded, and

Re: [Pharo-users] Implementing text navigation shortcuts

2015-01-30 Thread stepharo
Yes we should continue to remove the old key-bindings hard-coded. Stef Le 30/1/15 00:48, Nicolai Hess a écrit : 2015-01-29 23:06 GMT+01:00 Laura Risani >: Hi all, I like to implement a keyboard shortcut for, while editing any text, move the text po

Re: [Pharo-users] Implementing text navigation shortcuts

2015-01-30 Thread Tudor Girba
Rubric is already in the image and has most of these keybindings properly defined. Doru On Fri, Jan 30, 2015 at 11:09 AM, stepharo wrote: > Yes we should continue to remove the old key-bindings hard-coded. > > Stef > > Le 30/1/15 00:48, Nicolai Hess a écrit : > > > 2015-01-29 23:06 GMT+01:00 L

Re: [Pharo-users] Implementing text navigation shortcuts

2015-01-30 Thread kilon alios
Can Rubric be used for displaying paragraphs etc ? I want to improve the documentation situation for pharo by improving the help tool. Nothing major just something that will improve the general look. Shortucts also play a huge role in this, I really like Emacs documentation system that allow you t

Re: [Pharo-users] how to install all of ZincHTTPComponents?

2015-01-30 Thread Martin Bähr
Excerpts from stepharo's message of 2015-01-30 11:05:15 +0100: > > Excerpts from Sven Van Caekenberghe's message of 2015-01-30 07:52:53 +0100: > >> What exactly did you do ? > >> Zinc has been in Pharo since 1.3. Loading it from its configuration load a > >> newer version. That has always worked f

Re: [Pharo-users] Implementing text navigation shortcuts

2015-01-30 Thread Tudor Girba
Rubric is basically a clone of TextMorph that was significantly refactored by Alain. Just keep in mind that Rubric is just a bridge solution. The goal is to adopt TxText as soon as possible. Cheers, Doru On Fri, Jan 30, 2015 at 11:23 AM, kilon alios wrote: > Can Rubric be used for displaying

Re: [Pharo-users] pharo _looks_ good, but can be improved ...

2015-01-30 Thread stepharo
Did you see the animation roassal is doing. Le 25/1/15 15:35, Aliaksei Syrel a écrit : On Sun, Jan 25, 2015 at 3:02 PM, Mayuresh Kathe > wrote: http://www.google.com/design/spec/material-design/introduction.html It is almost impossible to do it like this in Pha

Re: [Pharo-users] pharo _looks_ good, but can be improved ...

2015-01-30 Thread stepharo
Le 25/1/15 16:57, kilon alios a écrit : frankly I dont see why people keep linking this design document. Google has no clue about good design as most software companies, they definitely droped the ball in that area with Android. But that is my opinion. Pharo can be definetly be improved in sev

Re: [Pharo-users] how to debug zinc server errors from tests

2015-01-30 Thread Ben Coman
If there is a particular test you want to run outside of the test framework, essentially you reproduce TestCase>>runCase in the Workspace. For example... MyClassTest new setUp testMyTest and you can wrap that in a fork. cheers -ben On Fri, Jan 30, 2015 at 5:11 PM, Martin Bähr < mba...@email.

Re: [Pharo-users] students looking for projects?

2015-01-30 Thread Sebastian Sastre
> On Jan 30, 2015, at 12:35 AM, Sebastian Heidbrink wrote: > > I saw your lab: "implement a REST API server in Smalltalk" > > You may want to have a look at: swagger > https://github.com/swagger-api/swagger-spec > > and the additional parts around

Re: [Pharo-users] SmaCC: First steps

2015-01-30 Thread kilon alios
Ok thanks for the info, I am still however curious about these "tests" are just tests (which may or may not happen) that determine the AST, for example which node to use ? Or are they tests related to unit testing class PythonParserTests ? Also you said I need to use the visitor created by Python

Re: [Pharo-users] students looking for projects?

2015-01-30 Thread Blondeau Vincent
Just for your information, I have already implemented a REST service for accessing any Moose model and its objects: http://smalltalkhub.com/#!/~VincentBlondeau/MooseOnWeb. It uses Zinc-REST framework to implement the service. Feel free to contribute or ask more information! Cheers, Vincent BLO

Re: [Pharo-users] New versions of the Pharo Launcher for Windows and MacOS

2015-01-30 Thread Martin Bähr
Excerpts from Damien Cassou's message of 2015-01-20 14:58:58 +0100: > http://www.smalltalkhub.com/#!/~Pharo/PharoLauncher is this a good place to bug you with feature requests? i'd like to see a cache of the downloaded images so that i can create multiple copies of an image without redownloading.

Re: [Pharo-users] New versions of the Pharo Launcher for Windows and MacOS

2015-01-30 Thread Nicolai Hess
2015-01-30 14:57 GMT+01:00 Martin Bähr : > Excerpts from Damien Cassou's message of 2015-01-20 14:58:58 +0100: > > http://www.smalltalkhub.com/#!/~Pharo/PharoLauncher > > is this a good place to bug you with feature requests? > > i'd like to see a cache of the downloaded images so that i can creat

Re: [Pharo-users] New versions of the Pharo Launcher for Windows and MacOS

2015-01-30 Thread Martin Bähr
Excerpts from Nicolai Hess's message of 2015-01-30 15:18:57 +0100: > > i'd like to see a cache of the downloaded images so that i can create > > multiple copies of an image without redownloading. > On the right tree (Templates) is a node "Local" > this includes all downloaded images. i thought tha

Re: [Pharo-users] New versions of the Pharo Launcher for Windows and MacOS

2015-01-30 Thread kilon alios
Thank you Damien, cant imagine myself without PharoLauncher, love it :) On Tue, Jan 20, 2015 at 3:58 PM, Damien Cassou wrote: > Hi everyone, > > I've just updated the Windows and MacOS packages of the Pharo Launcher. > Please update: > > http://www.smalltalkhub.com/#!/~Pharo/PharoLauncher > > --

Re: [Pharo-users] New versions of the Pharo Launcher for Windows and MacOS

2015-01-30 Thread Damien Cassou
Martin Bähr writes: > Excerpts from Nicolai Hess's message of 2015-01-30 15:18:57 +0100: >> > i'd like to see a cache of the downloaded images so that i can create >> > multiple copies of an image without redownloading. >> On the right tree (Templates) is a node "Local" >> this includes all downl

Re: [Pharo-users] New versions of the Pharo Launcher for Windows and MacOS

2015-01-30 Thread Damien Cassou
Martin Bähr writes: > for example i'll always need the gitfiletree package, and i want to > set the fonts to 'large'. it would be nice to be able to specify some > scripts that are run every time a new image is loaded so i don't have > to do it manually after opening the image. you have to use th

Re: [Pharo-users] New versions of the Pharo Launcher for Windows and MacOS

2015-01-30 Thread Ben Coman
On Fri, Jan 30, 2015 at 10:24 PM, Martin Bähr < mba...@email.archlab.tuwien.ac.at> wrote: > Excerpts from Nicolai Hess's message of 2015-01-30 15:18:57 +0100: > > > i'd like to see a cache of the downloaded images so that i can create > > > multiple copies of an image without redownloading. > > On

Re: [Pharo-users] New versions of the Pharo Launcher for Windows and MacOS

2015-01-30 Thread Martin Bähr
Excerpts from Damien Cassou's message of 2015-01-30 15:42:21 +0100: > > for example i'll always need the gitfiletree package, and i want to > > set the fonts to 'large'. it would be nice to be able to specify some > > scripts that are run every time a new image is loaded so i don't have > > to do i

[Pharo-users] StartupPreferenceLoader in Pharo 4?

2015-01-30 Thread Martin Bähr
hi, i was just about to explore the StartupLoader described here: https://ci.inria.fr/pharo-contribution/view/Books/job/PharoHiddenTreasures/lastSuccessfulBuild/artifact/StartupPreferences/StartupPreferences.pillar.html only to find that it is deprecated, and i can't find its replacement: Startup

Re: [Pharo-users] Implementing text navigation shortcuts

2015-01-30 Thread kilon alios
Ok thanks that means I will wait for TxText too, I am in no big hurry. Well unless TxText takes more than a year to be added to Pharo. On Fri, Jan 30, 2015 at 12:37 PM, Tudor Girba wrote: > Rubric is basically a clone of TextMorph that was significantly refactored > by Alain. > > Just keep in mi

Re: [Pharo-users] StartupPreferenceLoader in Pharo 4?

2015-01-30 Thread Martin Bähr
Excerpts from Martin Bähr's message of 2015-01-30 17:05:17 +0100: > i was just about to explore the StartupLoader described here: > https://ci.inria.fr/pharo-contribution/view/Books/job/PharoHiddenTreasures/lastSuccessfulBuild/artifact/StartupPreferences/StartupPreferences.pillar.html > only to fin

Re: [Pharo-users] New book for Pharo :)

2015-01-30 Thread Damien Pollet
I did a proper release of the PDF book on Github: https://github.com/SquareBracketAssociates/NumericalMethods/releases Try the big green button there, or direct link to the PDF: https://github.com/SquareBracketAssociates/NumericalMethods/releases/download/snapshot-2015-01-26/NumericalMethods-jan20

Re: [Pharo-users] New book for Pharo :)

2015-01-30 Thread Werner Kassens
Hi Damien, useful info indeed, thanks. do you intend to do the same with the big version? werner On 01/30/2015 05:45 PM, Damien Pollet wrote: I did a proper release of the PDF book on Github: https://github.com/SquareBracketAssociates/NumericalMethods/releases

Re: [Pharo-users] New book for Pharo :)

2015-01-30 Thread Damien Pollet
Let me demo the release process to the other maintainers, then we'll see ;) On 30 January 2015 at 18:46, Werner Kassens wrote: > Hi Damien, > useful info indeed, thanks. do you intend to do the same with the big > version? > werner > > > On 01/30/2015 05:45 PM, Damien Pollet wrote: > >> I did a

Re: [Pharo-users] how to install all of ZincHTTPComponents?

2015-01-30 Thread Sven Van Caekenberghe
Are you sure you understand how Metacello configurations and groups works ? You are misinterpreting what you see. Please read the class comment of ConfigurationOfZincHTTPComponents. You have to load (at least) the 'REST' group for what you want. > On 30 Jan 2015, at 11:23, Martin Bähr > wrote

Re: [Pharo-users] how to debug zinc server errors from tests

2015-01-30 Thread Sven Van Caekenberghe
> On 30 Jan 2015, at 12:18, Ben Coman wrote: > > If there is a particular test you want to run outside of the test framework, > essentially you reproduce TestCase>>runCase in the Workspace. > For example... > MyClassTest new setUp testMyTest Actually the proper usage is MyTestCase run:

Re: [Pharo-users] how to debug zinc server errors from tests

2015-01-30 Thread Sven Van Caekenberghe
> On 30 Jan 2015, at 10:11, Martin Bähr > wrote: > > Excerpts from Sven Van Caekenberghe's message of 2015-01-30 07:59:00 +0100: >>> when debugging a zinc server with tests structured as in >>> http://zn.stfx.eu/zn/build-and-deploy-1st-webapp/ >>> i am wondering how to best debug errors in the

Re: [Pharo-users] SmaCC: First steps

2015-01-30 Thread Thierry Goubier
2015-01-30 14:04 GMT+01:00 kilon alios : > Ok thanks for the info, I am still however curious about these "tests" are > just tests (which may or may not happen) that determine the AST, for > example which node to use ? > 'tests' is just there because, in the grammar, there is this at a certain po

Re: [Pharo-users] SmaCC: First steps

2015-01-30 Thread kilon alios
thank for your congratulations, because at times I fear I ask too obvious questions. I have to say I find this parsing very complex but very fascinating too :) Time to experiment with the visitor. On Fri, Jan 30, 2015 at 11:49 PM, Thierry Goubier wrote: > > > 2015-01-30 14:04 GMT+01:00 kilon ali

Re: [Pharo-users] New book for Pharo :)

2015-01-30 Thread Casimiro de Almeida Barreto
I second that: you never fail to impress. Excellent work, Steph !!! On 29-01-2015 14:55, blake wrote: > You never fail to impress, Steph. Excellent work. > > On Wed, Jan 28, 2015 at 9:21 AM, stepharo > wrote: > > Didier Besset offered his great book "Object-Oriented

[Pharo-users] discoverability: (was: how to install all of ZincHTTPComponents?)

2015-01-30 Thread Martin Bähr
(new thread because this is not a reply to sven, but a general observation for pharo devs) Excerpts from Sven Van Caekenberghe's message of 2015-01-30 21:19:01 +0100: > Are you sure you understand how Metacello configurations and groups works ? > You are misinterpreting what you see. how am i su