Re: [Pharo-users] SmaCC: First steps

2015-01-28 Thread kilon alios
Yes I am aware of PettitParser but the one thing that made me very interested into SmaCC is that it already supports Python syntax parsing , though I think is for Python 2 but if its 2.7 it wont be much issue for me that use Python 3.4 syntax. From a first look it looks PettitParser easier to use

[Pharo-users] SmaCC: First steps

2015-01-28 Thread kilon alios
Ok I have read a few times of the tutorial of Smacc in here http://www.refactoryworkers.com/SmaCC/ASTs.html and I am also following the help tool documentation inside pharo for SmaCC and I have to say I am very confused. Please bare with me because I am extremely noob when it comes to parsing,

[Pharo-users] HTTP Token Based authentication server?

2015-01-28 Thread Esteban A. Maringolo
Is it there any implementation for token based authentication over HTTP? I know there is a OAuth client, but do we have an OAuth server? I'm migrating the authentication of our mobile apps from standard HTTP digest (user/pass base64 encoded) to token based auth, and could find very useful to

[Pharo-users] Building 3D shapes in Roassal with interaction. Unexpected behaviour?

2015-01-28 Thread Nicolas Lusa
Hello everyone, It has been a while since I started working with Woden and Roassal and I recently figured out that something is behaving unexpectedly (at least from my point of view). Assume we create 3 shapes (all the same kind) with Roassal (i.e. 3 RWPyramid) and we associate an

Re: [Pharo-users] Pharo Sound of Silence

2015-01-28 Thread Xavier MESSNER
Hi, Nicolai Hess wrote But I don't understand why we do not use the pulse plugin with pharo. ( vm-sound-OSS is working too, and the source is already in the source tree) OSS is just a pain to use today. Some apps doesn't even support it anymore. And if we want to use it with Alsa, an

Re: [Pharo-users] Pharo Sound of Silence

2015-01-28 Thread Xavier MESSNER
Sean P. DeNigris wrote Evan Donahue wrote I'm trying to get sounds working in Pharo If it helps, I started a minimal wrapper of the cross-platform FMOD library at http://smalltalkhub.com/#!/~SeanDeNigris/FMOD . I did enough to play mp3s. Really great ! i will try this on my linux box,

Re: [Pharo-users] Supporting Start up around Pharo

2015-01-28 Thread Sebastian Sastre
3 Awesome initiative! Looking forward to see what comes from this! On Jan 28, 2015, at 8:51 AM, stepharo steph...@free.fr wrote: Hi guys if you are considering to create a start up around Pharo, we could find one year financial support if this is serious and that you would like to

[Pharo-users] Supporting Start up around Pharo

2015-01-28 Thread stepharo
Hi guys if you are considering to create a start up around Pharo, we could find one year financial support if this is serious and that you would like to come to work around Lille or France. Stef

Re: [Pharo-users] Pharo Sound of Silence

2015-01-28 Thread Ignacio Sniechowski
Sean, Could please indicate me how I have to do to play a mp3 inside Pharo? I loaded FMOD from your repo, but I don't know if I have to install something else, or where the mp3 file has to be or what class use. I'm running Pharo 3 and 4 under Win 8.1 Thanks in advance! best Nacho *Lic. Ignacio

Re: [Pharo-users] SPEC and Athens

2015-01-28 Thread Mark Rizun
First the svg does not resive properly while resizing the window. What do you mean by this? How can I also introduce an animated SVG? Like an svg that changes color during a mouse click? To work with events that are implemented in AthensSvgMorph you have to (as far as I know) access this

Re: [Pharo-users] Supporting Start up around Pharo

2015-01-28 Thread stepharo
This includes one year salary. But it requires building a case and being motivated :) Le 28/1/15 11:51, stepharo a écrit : Hi guys if you are considering to create a start up around Pharo, we could find one year financial support if this is serious and that you would like to come to work

Re: [Pharo-users] Why single inheritance?

2015-01-28 Thread Damien Pollet
Mostly, multiple inheritance is difficult to implement well in a simple enough form. The only language I know of that has a reasonably usable version of it is Eiffel (probably Nit too, but I don't know enough about it http://nitlanguage.org). There is the diamond inheritance problem, the problem

Re: [Pharo-users] Why single inheritance?

2015-01-28 Thread Cameron Sanders via Pharo-users
---BeginMessage--- Because smalltalk methods require so little code that overt-delegation is both easy to author and to understand. If on the other hand, one needs to repeatedly tell the compiler what types of data shall be used used, and then insert numerous delimiters, such delegation becomes

Re: [Pharo-users] Why single inheritance?

2015-01-28 Thread Cameron Sanders via Pharo-users
---BeginMessage--- Laura, Obviously, I should have let the experts answer, and I did not answer all of your questions in that last quick-off-the-cuff diss-the-strongly-typed-languages answer. My apologies. For me, i like to keep the namespace clean. And one must admit, with multiple inheritance,

Re: [Pharo-users] Building 3D shapes in Roassal with interaction. Unexpected behaviour?

2015-01-28 Thread Ronie Salgado
Hello Nicolas, Thanks for pointing this bug. I just fixed it in Woden-Core-RonieSalgado.64 . Can you try again? Greetings, Ronie 2015-01-28 10:40 GMT-03:00 Nicolas Lusa nicolas.l...@usi.ch: v := RWView new. e := (RWPyramid new) element. e on: RWMouseButtonDown do: [ :ev | ev

Re: [Pharo-users] dirty packages

2015-01-28 Thread Usman Bhatti
Esteban, I tried your script in my image. I did not help i.e. dirty packages are still present in Monticello browser ( and I still do not know why). On Wed, Jan 28, 2015 at 5:05 PM, Esteban Lorenzano esteba...@gmail.com wrote: You can try rebuilding the rpackage structure. 1) close all

Re: [Pharo-users] PostGIS in Pharo

2015-01-28 Thread stepharo
Why would you have to do that in SQL? Why you cannot import PGPoint and PGPolygon in Pharo? Sure, I'll collect georeferenced data in a mobile app, which I'll later have to group each one according to whether they fall inside a certain polygon (geopolitcal boundaries, like city, district,

Re: [Pharo-users] PostGIS in Pharo

2015-01-28 Thread Esteban A. Maringolo
2015-01-28 17:17 GMT-03:00 stepharo steph...@free.fr: Why would you have to do that in SQL? PostGIS is a little more than SQL, SQL enables you to query it, but it provides you with a lot of GIS functionality. I woudn't load a million rows into Pharo memory to search nearby locations to a

Re: [Pharo-users] SPEC and Athens

2015-01-28 Thread Sebastian Heidbrink
Hi Mark, can you send me an example implementation on this? I'll try to find a solution that might work for both of us. It is easier to find the reason with a second reference implementation, I guess. Sebastian Am 28.01.2015 um 07:27 schrieb Mark Rizun: I have the same problem with

Re: [Pharo-users] Pharo Sound of Silence

2015-01-28 Thread stepharo
But I don't understand why we do not use the pulse plugin with pharo. (vm-sound-OSS is working too, and the source is already in the source tree) I do not know either. Stef

Re: [Pharo-users] SPEC and Athens

2015-01-28 Thread Mark Rizun
It is in rewrite tool that I'm developing. You can download it here: http://smalltalkhub.com/#!/~MarkRizun/RewriteTool The morph is used, for example, in RewriteRuleBuilder#statusBarForMatch Mark 2015-01-28 21:24 GMT+01:00 Sebastian Heidbrink shei...@yahoo.de: Hi Mark, can you send me an

Re: [Pharo-users] SPEC and Athens

2015-01-28 Thread Sebastian Heidbrink
Seems we wrote at the same time... Well, Steph here is what I do. - I attend, organize Smalltalk meet ups. - I contribute to the open source community of Gemstone, Amber and VAST - I attend conferences like ESUG and STIC and burn funds to make the community look bigger - I host Smalltalk

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

2015-01-28 Thread Ignacio Sniechowski
I think SciTalk is a nice name :p *Lic. Ignacio Sniechowski, MBA* *Prosavic SRL* *Tel: (011) 4542-6714* On Wed, Jan 28, 2015 at 5:14 PM, stepharo steph...@free.fr wrote: I see and appreciate your effort really, but there is no reason to hide NumericalMethods from the

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

2015-01-28 Thread Hernán Morales Durand
2015-01-28 17:14 GMT-03:00 stepharo steph...@free.fr: I see and appreciate your effort really, but there is no reason to hide NumericalMethods from the book announcement. I do not know NumericalMethods. I vaguely recall that you were no happy that serge wants to change the code because

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

2015-01-28 Thread stepharo
I see and appreciate your effort really, but there is no reason to hide NumericalMethods from the book announcement. I do not know NumericalMethods. I vaguely recall that you were no happy that serge wants to change the code because it would not be in sync with the book. Now we can co-evolve

Re: [Pharo-users] SPEC and Athens

2015-01-28 Thread stepharo
It was a bit easy to say that. You can get frustrated by the state of certain libraries and I can tell you that we are fighting daily to improve the system (writing doc, fighting to get funds for engineers, coding). Now you should ask yourself how you can help pharo. Stef Welcome to the

Re: [Pharo-users] PostGIS in Pharo

2015-01-28 Thread Esteban A. Maringolo
2015-01-28 17:01 GMT-03:00 Hernán Morales Durand hernan.mora...@gmail.com: 2015-01-28 16:18 GMT-03:00 Esteban A. Maringolo emaring...@gmail.com: I don't know about PostGIS, but if you need boundary datasets there is GADM or GeoNames which may cover your needs. Recently I did a ST script

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

2015-01-28 Thread kilon alios
No idea what the problem really is, and what is that mess that concerns Numpy/SciPy but I welcome the new book , more documentation is always a cause of celebration, thank you for your hard work :) I think SciTalk is a nice name :p Way cooler than SciPy if you ask me ;)

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

2015-01-28 Thread Werner Kassens
Hi Stéphane, thanks to Msr Besset, to you and to the other people who made this possible. it's a fascinating book. werner

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

2015-01-28 Thread Tudor Girba
Great news indeed! Thanks, Doru On Wed, Jan 28, 2015 at 6:21 PM, stepharo steph...@free.fr wrote: Didier Besset offered his great book Object-Oriented Implementation of Numerical Methods An Introduction with Smalltalk and Java to the community. We would like to thank Didier Besset for his

[Pharo-users] dirty packages

2015-01-28 Thread Usman Bhatti
Hello, I have two packages MyPackage and MyPackage-Ext. When I load MyPackge-Ext, MyPackage becomes dirty and do not have any clue why. When I try to see changes in MyPackage in Monticello Browser, the package becomes clean again. There are two possibilities why MyPackage-Ext makes MyPackage

Re: [Pharo-users] SmaCC: First steps

2015-01-28 Thread kilon alios
Ok. I made sure the help was up to date with the current SmaCC; the online tutorial may differ a bit (GUI, some of the class creation commands). Yes I am not complaining about your effort. I am just new with parsing and everything looks alien to me :D I am mostly following your documentation

Re: [Pharo-users] SPEC and Athens

2015-01-28 Thread Sebastian Heidbrink
Hi Mark, that works! Thanks! But I still hava a problem here. First the svg does not resive properly while resizing the window. The svg is part of a ComposibleModel How can I also introduce an animated SVG? Like an svg that changes color during a mouse click? Are there any particular Models

Re: [Pharo-users] Why single inheritance?

2015-01-28 Thread Clément Bera
2015-01-28 16:41 GMT+01:00 Laura Risani laura.ris...@gmail.com: Hi all, What is the explanation why Smalltalk designers preferred single inheritance+traits to multiple inheritance? Why is the former better than the latter? Do traits let you share state also or only behavior? Traits only

[Pharo-users] Compatibility of Cypress, FileTree, STIG ?

2015-01-28 Thread Damien Pollet
Hi all, I'm trying to exchange code between VW and Pharo, but STIG does not seem to generate the same properties, and puts comment at the start of method files instead of the method category name, which confuses FileTree on the Pharo end. Any suggestions? -- Damien Pollet type less, do more [

Re: [Pharo-users] Waiting object

2015-01-28 Thread Laura Risani
Hi Ben , #fork let me implement the overall functionality i wanted, but i had to introduce some minor changes into the design to reflect the concurrent nature of the msg. So i still feel curious about how one could implement this msg Waiting wait : seconds i take the flow control during 'seconds'

Re: [Pharo-users] SPEC and Athens

2015-01-28 Thread Sebastian Heidbrink
Welcome to the world of Smalltalk! Am 28.01.2015 um 07:27 schrieb Mark Rizun: I have the same problem with PolygonMorph. It does not resize properly. Also I couldn't find any event related with window resizing. If you find a solution please let me know. Mark 2015-01-28 16:19 GMT+01:00

[Pharo-users] Why single inheritance?

2015-01-28 Thread Laura Risani
Hi all, What is the explanation why Smalltalk designers preferred single inheritance+traits to multiple inheritance? Why is the former better than the latter? Do traits let you share state also or only behavior? Best, Laura

Re: [Pharo-users] Waiting object

2015-01-28 Thread Laura Risani
Thank you Ben, i will take a look at that loop process. On Wed, Jan 28, 2015 at 1:49 PM, Ben Coman b...@openinworld.com wrote: On Wed, Jan 28, 2015 at 11:31 PM, Laura Risani laura.ris...@gmail.com wrote: Hi Ben , #fork let me implement the overall functionality i wanted, but i had to

Re: [Pharo-users] any OCR library for Pharo (Free or Commercial)

2015-01-28 Thread Paul DeBruicker
I don't know for sure but I don't think so. See this thread, about halfway down, for some ideas about how to interface with 3rd party libs: http://forum.world.st/Polymorph-improvements-tp3712781.html tesseract is a 3rd partly lib that may meet your needs:

[Pharo-users] smalltalk workshops (building a webserver) after code-in

2015-01-28 Thread Martin Bähr
hi, Google Code-In is over (i'll probably write more about that later) and there are a few students who have started their path to smalltalk. because there was interest among the students to continue learning, we have started a series of workshops to learn the elements of building a webserver.

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

2015-01-28 Thread Martin Bähr
hi, 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 ZnClient connection to a testserver started from the same test. the test fails with the

Re: [Pharo-users] any OCR library for Pharo (Free or Commercial)

2015-01-28 Thread stepharo
I do not know the ones that use pinesoft but they made it for real and sell products Stef Le 29/1/15 05:32, Sanjay Minni a écrit : Hi is there any OCR library which has been interfaced with Pharo (may be Free or Commercial library licence). I need a robust one preferably without deployment

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

2015-01-28 Thread stepharo
Let's get started with this. I agree with NumericalMethods being freezed in the Configuration Browser. But I don't want to be forced to load the whole SciSmalltalk to use 3 methods in NumericalMethods. Do you agree Serge? I agree with you that having a nice modular structure is important.

Re: [Pharo-users] SPEC and Athens

2015-01-28 Thread Sebastian Heidbrink
Okay, I had a short look and it seems one needs to either subclass the GenericAdapter, or configure it upon initializtion. One will need to add handlers upon resize and maybe even implement some kind of Form around the polymorph... but I have no idea if there is something like a form in

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

2015-01-28 Thread Hernán Morales Durand
We could probably start with RBClassRegexRefactoring new renameClasses; replace: '^Dhb(.*)$' with: 'NM$1' ignoreCase: false; execute. or whatever prefix you prefer :) I wrote some DHB extensions for easier building of matrices, if anyone give me access to the SciSmalltalk repository I

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

2015-01-28 Thread Hernán Morales Durand
Hi Werner 2015-01-28 21:11 GMT-03:00 Werner Kassens wkass...@libello.com: Hi Hernán, We have to get better at communication. It doesn't work if all of us fork libraries. i guess i disagree, the occasional fork g can be freshening. But I don't want to be forced to load the whole

Re: [Pharo-users] gt poster

2015-01-28 Thread Sven Van Caekenberghe
Thanks, Doru. (It won't be on paper though, they are already printed) On 28 Jan 2015, at 23:29, Tudor Girba tu...@tudorgirba.com wrote: Hi, Here is a poster for GT. Cheers, Doru -- www.tudorgirba.com Every thing has its own flow gt-poster.pdf

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

2015-01-28 Thread stepharo
Le 29/1/15 01:08, Werner Kassens a écrit : Hi Stéphane, thanks to Msr Besset, to you and to the other people who made this possible. it's a fascinating book. We really want to have new library. werner

Re: [Pharo-users] smalltalk workshops (building a webserver) after code-in

2015-01-28 Thread stepharo
This is excellent I'm working on new teaching material and I would love to have a simple chat app in a couple of lines :) Stef Le 29/1/15 05:52, Martin Bähr a écrit : hi, Google Code-In is over (i'll probably write more about that later) and there are a few students who have started

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

2015-01-28 Thread stepharo
So hernan how do we make progress?

[Pharo-users] PostGIS in Pharo

2015-01-28 Thread Esteban A. Maringolo
Is there anybody using PostGIS in Pharo? Regards! Esteban A. Maringolo

Re: [Pharo-users] dirty packages

2015-01-28 Thread Esteban Lorenzano
You can try rebuilding the rpackage structure. 1) close all browsers 2) execute RPackageOrganizer default initializeFromMC Esteban On 28 Jan 2015, at 16:50, Usman Bhatti usman.bha...@gmail.com wrote: Hello, I have two packages MyPackage and MyPackage-Ext. When I load MyPackge-Ext,

Re: [Pharo-users] Waiting object

2015-01-28 Thread Ben Coman
On Wed, Jan 28, 2015 at 11:31 PM, Laura Risani laura.ris...@gmail.com wrote: Hi Ben , #fork let me implement the overall functionality i wanted, but i had to introduce some minor changes into the design to reflect the concurrent nature of the msg. So i still feel curious about how one could

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

2015-01-28 Thread Hernán Morales Durand
2015-01-28 14:21 GMT-03:00 stepharo steph...@free.fr: Didier Besset offered his great book Object-Oriented Implementation of Numerical Methods An Introduction with Smalltalk and Java to the community. We would like to thank Didier Besset for his great book and for his gift of the source and

Re: [Pharo-users] SPEC and Athens

2015-01-28 Thread Sebastian Heidbrink
Am 28.01.2015 um 07:07 schrieb Mark Rizun: First the svg does not resive properly while resizing the window. What do you mean by this? Well, I implemented the example window from spec.st and added a ASVGMorph to it. When I now resize the window, then the button changes his size

[Pharo-users] New book for Pharo :)

2015-01-28 Thread stepharo
Didier Besset offered his great book Object-Oriented Implementation of Numerical Methods An Introduction with Smalltalk and Java to the community. We would like to thank Didier Besset for his great book and for his gift of the source and implementation to the community. You can find •

Re: [Pharo-users] PostGIS in Pharo

2015-01-28 Thread Hernán Morales Durand
Can you comment what are you trying to do? Hernán 2015-01-28 13:10 GMT-03:00 Esteban A. Maringolo emaring...@gmail.com: Is there anybody using PostGIS in Pharo? Regards! Esteban A. Maringolo

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

2015-01-28 Thread Hernán Morales Durand
I see and appreciate your effort really, but there is no reason to hide NumericalMethods from the book announcement. I am trying to avoid what the Python community did with NumPy and SciPy which is a mess. Hernán 2015-01-28 16:16 GMT-03:00 stepharo steph...@free.fr: Hernan This is 8 months

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

2015-01-28 Thread stepharo
Hernan This is 8 months that I push didier to release it. I spent my week-end to edit it. So when you talk about respect use your energy th right way. Stef 2015-01-28 14:21 GMT-03:00 stepharo steph...@free.fr mailto:steph...@free.fr: Didier Besset offered his great book

Re: [Pharo-users] PostGIS in Pharo

2015-01-28 Thread Hernán Morales Durand
2015-01-28 16:18 GMT-03:00 Esteban A. Maringolo emaring...@gmail.com: Sure, I'll collect georeferenced data in a mobile app, which I'll later have to group each one according to whether they fall inside a certain polygon (geopolitcal boundaries, like city, district, province, etc.). I could

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

2015-01-28 Thread p...@highoctane.be
Excellent news!​