[Pharo-users] new themoosebook.org - work in progress

2016-10-19 Thread Tudor Girba
Hi, I am working on a new The Moose Book. You can see the current draft here: http://themoosebook.org In the current form, it covers about 40% of what I want to have at the end. My target is to get a first complete version ready until Spring 2017. The book targets Moose 6.1, although most parts

Re: [Pharo-users] [Seaside] [ANN] Zürich Smalltalk Meetup Nov 8th, 2016

2016-10-19 Thread Esteban Lorenzano
> On 19 Oct 2016, at 22:55, Dale Henrichs > wrote: > > Michal, > > This sounds quite exciting ... I was wondering how you were getting on with > Tugrik+Mongo+Voyage and now I know :) > > I would be very interested in helping you in any way that I can, just let me > know. > yes, me too :)

Re: [Pharo-users] CodeGenerator, your opinions?

2016-10-19 Thread Hernán Morales Durand
Thank you Otto, I had a look and it seems a nice implementation (couldn't load into the image but using the Monticello Browser) Cheers, Hernán 2016-10-19 0:44 GMT-03:00 Otto Behrens : > > Do you mean internal or embedded DSL? I am open to write an DSL if > > facilitates the job, the thing with

Re: [Pharo-users] [Seaside] [ANN] Zürich Smalltalk Meetup Nov 8th, 2016

2016-10-19 Thread Mariano Martinez Peck
On Wed, Oct 19, 2016 at 5:01 PM, Michal Balda wrote: > Hi, > the short answer is: not yet. > > The back story is: We have been experimenting with GemStone and Tugrik at > work. While Tugrik appears to work very well (even though it is new and not > yet finished), I found the overall architecture

Re: [Pharo-users] How do I debug a MNU in Pharo-6.0

2016-10-19 Thread Dale Henrichs
It looks like some "Failed magic" is involved here. A bit of the stack for your viewing pleasure: MessageNotUnderstood: receiver of "ifTrue:ifFalse:" is nil UndefinedObject(Object)>>doesNotUnderstand: #ifTrue:ifFalse: STONWriter>>ExecuteUnOptimizedIn: UndefinedObject(Object)>>mustBeBooleanInMagi

Re: [Pharo-users] CodeGenerator, your opinions?

2016-10-19 Thread Hernán Morales Durand
Hi Stef 2016-10-19 17:29 GMT-03:00 stepharo : > Hernan > > What is the input you take to generate magritte? > Something like this: CGStMagritte uniqueInstance inputClass: ModelClass1; targetClass: ModelClass1; setBooleanAttributes: 'instVar1' label: 'label iVa

[Pharo-users] How do I debug a MNU in Pharo-6.0

2016-10-19 Thread Dale Henrichs
I am trying to debug a problem that showed up loading my version of STON into Pharo-6.0. ON Travis, I see the error message[1]: MessageNotUnderstood: receiver of "ifTrue:ifFalse:" is nil The code is loading and passing tests in Pharo-5.0, 4.0, 3.0 and several versions of GemStone, so I am inte

Re: [Pharo-users] [Seaside] [ANN] Zürich Smalltalk Meetup Nov 8th, 2016

2016-10-19 Thread Esteban A. Maringolo
2016-10-19 17:01 GMT-03:00 Michal Balda : > While playing with Tugrik I came up with a few ideas so I started a clean > Pharo image with the following task in mind: find a way of getting objects > from Pharo to GemStone and back, as simply as possible, without any > unnecessary dependencies. In

Re: [Pharo-users] Default working directory

2016-10-19 Thread Vitor Medina Cruz
I think file writeStream of File does not honor FileSystem configuration. In the end of the message chain you have the primitive call "primOpen: fileName writable: writableFlag". Try changing your test code to this: testFileExists | file | file := FileSystem workingDirectory / 'as

Re: [Pharo-users] [Seaside] [ANN] Zürich Smalltalk Meetup Nov 8th, 2016

2016-10-19 Thread Dale Henrichs
Michal, This sounds quite exciting ... I was wondering how you were getting on with Tugrik+Mongo+Voyage and now I know :) I would be very interested in helping you in any way that I can, just let me know. Dale On 10/19/2016 01:01 PM, Michal Balda wrote: Hi, the short answer is: not yet.

Re: [Pharo-users] CodeGenerator, your opinions?

2016-10-19 Thread stepharo
would be nice to ask dragos his Smalltalk code :) Le 18/10/16 à 21:20, p...@highoctane.be a écrit : http://www.micro-workflow.com/PDF/wecfo.pdf seemed interesting. Not state machines per se but still. Longer paper here: http://micro-workflow.com/PDF/phdthesis.pdf Phil On Tue, Oct 18, 2016 a

Re: [Pharo-users] CodeGenerator, your opinions?

2016-10-19 Thread stepharo
Looks fun :) Le 18/10/16 à 19:10, Evan Donahue a écrit : So this isn't a specific out-of-the-box solution to any of the code-generation use cases people have been discussing, but I thought it was relevant enough to toss it out there. I'm currently doing some work on program synthesis using a

Re: [Pharo-users] CodeGenerator, your opinions?

2016-10-19 Thread stepharo
Hernan What is the input you take to generate magritte? Lionel would like to have a kind of Crud on top of Pharo and it would be good for business. Stef Le 18/10/16 à 18:07, Hernán Morales Durand a écrit : 2016-10-18 9:35 GMT-03:00 Lionel Akue >: Great!

Re: [Pharo-users] CodeGenerator, your opinions?

2016-10-19 Thread stepharo
Le 18/10/16 à 07:24, Hernán Morales Durand a écrit : Hi guys, I am writing a code generator, doing a few iterations right now. I want your opinion, which most useful thing would you like to be generated automatically? It could be a pattern, an idiom, another language... For example my own

Re: [Pharo-users] OSProcess lock image

2016-10-19 Thread Hilaire
Hi Paul, Thanks for the tips. My image was running for days with the computer going to sleep regularly. Restarting the image solved the problem. Hilaire Le 15/10/2016 à 20:00, Paul DeBruicker a écrit : > I have no idea why it happens but sometimes OSProcess resumes working after > doing a > >

Re: [Pharo-users] [Seaside] [ANN] Zürich Smalltalk Meetup Nov 8th, 2016

2016-10-19 Thread Michal Balda
Hi, the short answer is: not yet. The back story is: We have been experimenting with GemStone and Tugrik at work. While Tugrik appears to work very well (even though it is new and not yet finished), I found the overall architecture (Tugrik+Mongo+Voyage) a bit complicated. Tugrik is meant to be

Re: [Pharo-users] Cog VM on Raspberry Pi ?

2016-10-19 Thread Sven Van Caekenberghe
OK, thanks everybody for the replies, seems like I was looking at 3 basically identical VM's with Cog. I went back to an older installation (on a RPi2), that performed way worse (being a stack interpreter): volumio@audio359:~/pharo$ ./bin/PharoS --version 3.9-7 #1 Thu Mar 26 14:59:31 CET 2015 g

Re: [Pharo-users] Default working directory

2016-10-19 Thread wvzuilen
I've tried that. Like this: FileSystem disk workingDirectoryPath: Path / 'Users/myusername/Desktop'. As expected it changes my working directory, but the test mentioned in my first post still fails. ?!? -- View this message in context: http://forum.world.st/Default-working-directory-macOS-tp491

Re: [Pharo-users] Default working directory

2016-10-19 Thread Vitor Medina Cruz
Esteban, yes, I could use save as..., its pretty much the same thing, no? On Wed, Oct 19, 2016 at 3:16 PM, Vitor Medina Cruz wrote: > Ahh, look, FileSystem has a workingDirectoryPath:, you could change the > working directory using that. > > On Wed, Oct 19, 2016 at 3:06 PM, Vitor Medina Cruz >

Re: [Pharo-users] Default working directory

2016-10-19 Thread Vitor Medina Cruz
Ahh, look, FileSystem has a workingDirectoryPath:, you could change the working directory using that. On Wed, Oct 19, 2016 at 3:06 PM, Vitor Medina Cruz wrote: > I suppose you should do that, I am relatively new to Pharo either, and a > Windows user (by force, not because I want, lets be clear :

Re: [Pharo-users] Default working directory

2016-10-19 Thread Esteban Lorenzano
you cannot do a “save as…” and use it later? > On 19 Oct 2016, at 18:46, wvzuilen wrote: > > In the default Pharo macOS download the image file is embedded inside the > Pharo.app package. Are you suggesting that I use a separate image file that > I place at a location where I can write files? >

Re: [Pharo-users] Default working directory

2016-10-19 Thread Vitor Medina Cruz
I suppose you should do that, I am relatively new to Pharo either, and a Windows user (by force, not because I want, lets be clear :) ), but in a Mac or Linux I think I would use try Pharo Launcher, where you can manage you images. In windows I create a new directory and copy the default image ther

Re: [Pharo-users] Default working directory

2016-10-19 Thread wvzuilen
In the default Pharo macOS download the image file is embedded inside the Pharo.app package. Are you suggesting that I use a separate image file that I place at a location where I can write files? -- View this message in context: http://forum.world.st/Default-working-directory-macOS-tp4919393p4

Re: [Pharo-users] CodeGenerator, your opinions?

2016-10-19 Thread Johan Fabry
Sorry, I did not catch this thread before. If you are looking for a terse way to describe state machines, you may want to have a look at LRP, a live programming language for nested state machines (for robotics), implemented in Pharo. It seems to have what you are talking about in your mail. It

Re: [Pharo-users] Default working directory

2016-10-19 Thread Vitor Medina Cruz
I think it defaults to where you image is, but you can inspect FileSystem workingDirectory in Playground and see for yourself :) On Wed, Oct 19, 2016 at 1:51 PM, wvzuilen wrote: > Hi all, > > I'm new to Smalltalk and Pharo, so be kind ;-) I've tried Google and > searching the world.st forum but

Re: [Pharo-users] Refactoring changed method

2016-10-19 Thread Vitor Medina Cruz
Yes, something like that would be good. On Wed, Oct 19, 2016 at 12:10 PM, Nicolai Hess wrote: > > > 2016-10-19 16:00 GMT+02:00 Vitor Medina Cruz : > >> It indicates with a little yellow (for me :) ) corner yes (also, if I >> cntr+z all changes the corner does not goes away). It shows a changes >

[Pharo-users] Default working directory

2016-10-19 Thread wvzuilen
Hi all, I'm new to Smalltalk and Pharo, so be kind ;-) I've tried Google and searching the world.st forum but I couldn't find the answer to the following question: I looks like the default working directory of my MacOS Pharo instance is a path inside the Pharo5.0.app: /Applications/Pharo5.0.app/C

Re: [Pharo-users] Cog VM on Raspberry Pi ?

2016-10-19 Thread Henrik Johansen
> On 18 Oct 2016, at 11:11 , Sven Van Caekenberghe wrote: > > > Is there still a stack VM (PharoS for ARM, 5.0) ? I downloaded the one you linked (http://files.pharo.org/vm/pharoS/raspbian/latest.zip ), but it was a pre-spur VM, so I had

Re: [Pharo-users] Refactoring changed method

2016-10-19 Thread Nicolai Hess
2016-10-19 16:00 GMT+02:00 Vitor Medina Cruz : > It indicates with a little yellow (for me :) ) corner yes (also, if I > cntr+z all changes the corner does not goes away). It shows a changes > browser also, but it doesn't help much, usually I just click Ok if only my > code is affected. Wouldn't b

Re: [Pharo-users] Refactoring changed method

2016-10-19 Thread Vitor Medina Cruz
It indicates with a little yellow (for me :) ) corner yes (also, if I cntr+z all changes the corner does not goes away). It shows a changes browser also, but it doesn't help much, usually I just click Ok if only my code is affected. Wouldn't be good if a warn popup is prompted telling me I have cha

Re: [Pharo-users] Refactoring changed method

2016-10-19 Thread Nicolai Hess
2016-10-19 15:19 GMT+02:00 Vitor Medina Cruz : > Hello, > > While I was editing a method, if I do a rename temporary refactoring the > system rollbacks every change I did to the method in order to apply the > refactoring. Is that the correct behavior? Shouldn't It at least asks me if > I want to s

[Pharo-users] Refactoring changed method

2016-10-19 Thread Vitor Medina Cruz
Hello, While I was editing a method, if I do a rename temporary refactoring the system rollbacks every change I did to the method in order to apply the refactoring. Is that the correct behavior? Shouldn't It at least asks me if I want to save my changes before I apply the refactoring? It was reall

Re: [Pharo-users] Cog VM on Raspberry Pi ?

2016-10-19 Thread Henrik Johansen
There are two; without nuscratch package loaded, it's an old interpreter (squeak script in /usr/bin launches /usr/lib/squeak/4.*), with nuscratch loaded (which it should be by default in recent Raspbian versions...), it's a cog vm. (squeak script in /usr/bin launches /usr/lib/squeak/5.*) Cheers,

Re: [Pharo-users] Cog VM on Raspberry Pi ?

2016-10-19 Thread Henrik Johansen
> On 18 Oct 2016, at 6:27 , Sven Van Caekenberghe wrote: > >>> "https://bintray.com/opensmalltalk/vm/download_file?file_path=cog_linux32ARMv6_pharo.cog.spur_201610142319.tar.gz"; That's the one I downloaded/ran Pharo on. Like Todd said, there's also a Spur VM shipped with raspbian (as part of

[Pharo-users] Pharo Monthly Newsletter: How to subscribe

2016-10-19 Thread Marcus Denker
Hi, We are sending out a monthly (with a summer break…) newsletter. Of course if you read all the mails here, there is nothing new, but it is fun to get a mail every month with pointers to projects and news that one might have missed. Subscribe here: http://eepurl.com/byhgL9 Marcus