Re: [Pharo-users] Morphic or forking bug?

2017-05-31 Thread Ben Coman
On Wed, May 31, 2017 at 10:23 PM, horrido wrote: > I have a puzzling bug. I've narrowed the scenario down to this code: > > Cranky»initA >a := ((StringMorph contents: '') color: Color white) position: (0@0 > ). >m addMorph: a > > Cranky»initialize >f :=

Re: [Pharo-users] Morphic or forking bug?

2017-05-31 Thread horrido
Thanks, Hilaire. I had high hopes for your suggestion. But after testing a few times, Pharo crashed again. So the step protocol doesn't solve the problem, either. HilaireFernandes wrote > Alternatively use the step protocol of the Morph class. I think it is > documented in the Pharo by

Re: [Pharo-users] ANTLR4 to SmaCC

2017-05-31 Thread Henrique Rocha
Thierry Goubier wrote > LL(*) brings itself to entirely different hacks to play with the tokens > and lexical analysis that LR() grammars, and most of the hard work on > parsers is in that area. > > I haven't looked if the reversed recursion in ANTLR is hard to convert. I agree. But I have

Re: [Pharo-users] Morphic or forking bug?

2017-05-31 Thread Hilaire
Alternatively use the step protocol of the Morph class. I think it is documented in the Pharo by example book. Hilaire Le 31/05/2017 à 17:00, Denis Kudriashov a écrit : > Hi Horrido. > > Morphic is not thread safe library. Users should not update morphs > state directly from background

Re: [Pharo-users] ANTLR4 to SmaCC

2017-05-31 Thread Thierry Goubier
Hi Henrique, Le 31/05/2017 à 17:03, Henrique Rocha a écrit : Hello, I was trying to convert a ANTLR4 grammar specification to SmaCC. After many unsuccessful tries that made me question my sanity I wondered: maybe someone has a solution. Grammar conversion is something that can be automated.

Re: [Pharo-users] anotations like etc.

2017-05-31 Thread Esteban Lorenzano
> On 31 May 2017, at 19:19, Petr Fischer wrote: > > Hello, in Pharo 6.0, there is new annotations/pragmas like "”. that’s Pavel’s intromission :) in fact it should be self flag: #todo. the pragma is less intromission with code, but it has to be put in a specific place.

Re: [Pharo-users] anotations like etc.

2017-05-31 Thread Sven Van Caekenberghe
Open Spotter, type 'todo', scroll to the bottom, under Pragmas, click, a GT inspector opens on all usages Or type 'todo #p' .. > On 31 May 2017, at 19:19, Petr Fischer wrote: > > Hello, in Pharo 6.0, there is new annotations/pragmas like "". > > Is there any doc about

Re: [Pharo-users] Morphic or forking bug?

2017-05-31 Thread horrido
I tried *UIManager default defer:* but I still got an intermittent crash. Good suggestion, though. Maybe it's not related to Morphic not being thread-safe? Denis Kudriashov wrote > Hi Horrido. > > Morphic is not thread safe library. Users should not update morphs state > directly from

[Pharo-users] anotations like etc.

2017-05-31 Thread Petr Fischer
Hello, in Pharo 6.0, there is new annotations/pragmas like "". Is there any doc about this? How can I browse all "todos", how can I browse all possible annotations etc.? Thanks! pf

Re: [Pharo-users] Porting Transducers to Pharo

2017-05-31 Thread Peter Uhnak
You can also give a try to use SIF (Smalltalk Interchange Format) https://github.com/peteruhnak/sif There is parcel file in VW subfolder, and docs here: https://github.com/peteruhnak/sif/blob/master/docs.md I've used it about year ago for some small code exchanges; but of course you will have

Re: [Pharo-users] Porting Transducers to Pharo

2017-05-31 Thread Alexandre Bergel
If I remember correctly, there is a parcel in VisualWorks to export a file out (Squeak format). @Milton, can you give a hand to Steffen? Alexandre -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. >

Re: [Pharo-users] ANTLR4 to SmaCC

2017-05-31 Thread Alexandre Bergel
Hi Henrique, I have never tried to do this. But this is a very valuable effort. There are many grammars in ANTLR, it would be fantastic to reuse them. Keep us posted about your efforts. Alexandre -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu

Re: [Pharo-users] Morphic or forking bug?

2017-05-31 Thread horrido
I'm using Pharo 5.0 . I'm using the Spur VM for Raspberry Pi . I'm

[Pharo-users] ANTLR4 to SmaCC

2017-05-31 Thread Henrique Rocha
Hello, I was trying to convert a ANTLR4 grammar specification to SmaCC. After many unsuccessful tries that made me question my sanity I wondered: maybe someone has a solution. Grammar conversion is something that can be automated. My question is if anyone has done something to convert an ANTLR4

Re: [Pharo-users] Porting Transducers to Pharo

2017-05-31 Thread Damien Pollet
I got stumped / life moved on… >From the top of my head, my port was working for the most part (the tests rely on a mocking library that should be ported as well; translating to either BabyMock2 or Mocketry seems possible on the surface but there is some impedance mismatch there between the

Re: [Pharo-users] Morphic or forking bug?

2017-05-31 Thread Denis Kudriashov
2017-05-31 16:24 GMT+02:00 horrido : > Oh, I forgot to mention, the crash dump says I got a segmentation fault. This is of course needs attention. What pharo you are using? what VM, images, OS?

Re: [Pharo-users] Morphic or forking bug?

2017-05-31 Thread Denis Kudriashov
Hi Horrido. Morphic is not thread safe library. Users should not update morphs state directly from background processes. Use #defer: message to update morphs in such cases. Try following loop: [ [ true ] whileTrue: [ UIManager default defer: [ a contents: 0 asString]. delay wait ] fork

Re: [Pharo-users] Porting Transducers to Pharo

2017-05-31 Thread Esteban A. Maringolo
FileTree is the Pharo implementation of the Cypress format for packages, STIG is the implementation of Cypress for VW. The latest changes are available in , but it doesn't work out of the box. I'm interested in having a way to share code back and forth

Re: [Pharo-users] Discord server ownership

2017-05-31 Thread Dimitris Chloupis
"Esteban is going to be excited about this :)" he certainly enjoys the conveniences of his new powers :) "So you put us all into this gaming chatroom and now you leave. Good move. ;-) I hope to see you back in the mailing list and chat server (whatever it is we use at that moment). Regards!"

Re: [Pharo-users] Morphic or forking bug?

2017-05-31 Thread horrido
Oh, I forgot to mention, the crash dump says I got a segmentation fault. horrido wrote > I have a puzzling bug. I've narrowed the scenario down to this code: > > Cranky»initA >a := ((StringMorph contents: '') color: Color white) position: > (0@0). >m addMorph: a > >

[Pharo-users] Morphic or forking bug?

2017-05-31 Thread horrido
I have a puzzling bug. I've narrowed the scenario down to this code: Cranky»initA a := ((StringMorph contents: '') color: Color white) position: (0@0). m addMorph: a Cranky»initialize f := Form fromFileNamed: 'hot_air_balloon_mysticmorning.jpg'. m := ImageMorph new. m form: f.

Re: [Pharo-users] Porting Transducers to Pharo

2017-05-31 Thread Steffen Märcker
Thanks for the encouraging response! First question: Which is the recommended (friction free) way to exchange code between VW and Pharo? Cheers! Steffen Am .05.2017, 16:22 Uhr, schrieb Alexandre Bergel : I second Sven. This is very exciting! Let us know when you

Re: [Pharo-users] Porting Transducers to Pharo

2017-05-31 Thread Steffen Märcker
Hello Damien, I remember very well. How far did you get? Did you kick of a discussion on one of the Pharo lists? And did FileTree become a convenient way to exchange code between VW and Pharo? Best, Steffen Am .05.2017, 16:16 Uhr, schrieb Damien Pollet :

Re: [Pharo-users] Porting Transducers to Pharo

2017-05-31 Thread Alexandre Bergel
I second Sven. This is very exciting! Let us know when you have something ready to be tested. Alexandre -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. > On May 31, 2017, at 9:00 AM, Sven Van

[Pharo-users] [ANN] Zeroconf stable will be moved tomorrow to 6.0 (as part of the release process)

2017-05-31 Thread Esteban Lorenzano
Hi, We will move stable to 6.0 and alpha to 7.0. So if you depend on something that can be affected by this, is the moment to update your scripts. cheers, Esteban

Re: [Pharo-users] Porting Transducers to Pharo

2017-05-31 Thread Damien Pollet
As you know I experimented with that a while ago. My code is at http://smalltalkhub.com/#!/~cdlm/Experiments/source On 31 May 2017 at 15:00, Sven Van Caekenberghe wrote: > > > On 31 May 2017, at 14:23, Steffen Märcker wrote: > > > > Hi, > > > > I am the developer

Re: [Pharo-users] Discord server ownership

2017-05-31 Thread Ben Coman
Passing the baton at the right time is an important responsibility. Thanks for your efforts setting up the server in the first place. cheers -ben On Fri, May 26, 2017 at 3:29 AM, Dimitris Chloupis wrote: > Hey there, as you may or may not know I am the person to blame

Re: [Pharo-users] Porting Transducers to Pharo

2017-05-31 Thread Sven Van Caekenberghe
> On 31 May 2017, at 14:23, Steffen Märcker wrote: > > Hi, > > I am the developer of the library 'Transducers' for VisualWorks. It was > formerly known as 'Reducers', but this name was a poor choice. I'd like to > port it to Pharo, if there is any interest on your side. I

[Pharo-users] Porting Transducers to Pharo

2017-05-31 Thread Steffen Märcker
Hi, I am the developer of the library 'Transducers' for VisualWorks. It was formerly known as 'Reducers', but this name was a poor choice. I'd like to port it to Pharo, if there is any interest on your side. I hope to learn more about Pharo in this process, since I am mainly a VW guy. And

Re: [Pharo-users] pharocloud alternative

2017-05-31 Thread Johannes Brauer
You see the message when you log in to the pharocloud management console. It says that there is a „lack of resources“. Johannes > Am 30.05.2017 um 23:05 schrieb Petr Fischer : > > Why will be pharocloud closed? Where is the message? Thanks, pf > > >> Hi, >> >> I am

Re: [Pharo-users] pharocloud alternative

2017-05-31 Thread Tim Mackinnon
I really, really wish that we had a vm that worked on AWS Lambda… I think this is the future of computing - and I would dearly love to understand the “smalltalk” approach to function as a service (FAAS). In particular how you debug apps. I was struck by Phil’s demo at Pharo days, where he

[Pharo-users] Recording TechTalk Roassal available

2017-05-31 Thread Marcus Denker
Hello! The recording of the Roassal Techtalk of yesterday is available here: https://www.youtube.com/watch?v=-Pk4q5oMdLo (start at 7:35) A PDF with all the code of the demos shown: http://files.pharo.org/media/techtalk/RoassalTechTalk.pdf