Re: [Pharo-users] Starting a pool of worker images using command line parameters

2014-10-23 Thread p...@highoctane.be
On Fri, Oct 24, 2014 at 12:50 AM, Luc Fabresse wrote: > Hi, > > >> Note that zeroconf handlers allow you to build images incrementally (the >> image is saved after each build), which is way faster than always starting >> from scratch. >> > > what are zeroconf "handlers"? > the things you get in

Re: [Pharo-users] Starting a pool of worker images using command line parameters

2014-10-23 Thread p...@highoctane.be
On Thu, Oct 23, 2014 at 11:11 PM, Esteban A. Maringolo wrote: > 2014-10-23 17:04 GMT-03:00 Sven Van Caekenberghe : > > >> Why do you use the pharo shell script instead of pharo-vm with > >> --no-display? Is there any benefit other than having the pwd set to > >> the image location? And hence, the

Re: [Pharo-users] Starting a pool of worker images using command line parameters

2014-10-23 Thread Sven Van Caekenberghe
> On 24 Oct 2014, at 00:50, Luc Fabresse wrote: > > Hi, > > Note that zeroconf handlers allow you to build images incrementally (the > image is saved after each build), which is way faster than always starting > from scratch. > > what are zeroconf "handlers"? > because I use zeroconf to reb

Re: [Pharo-users] Starting a pool of worker images using command line parameters

2014-10-23 Thread Luc Fabresse
Hi, > Note that zeroconf handlers allow you to build images incrementally (the > image is saved after each build), which is way faster than always starting > from scratch. > what are zeroconf "handlers"? because I use zeroconf to rebuild images and it is slow because it downloads the vm, the ima

Re: [Pharo-users] Starting a pool of worker images using command line parameters

2014-10-23 Thread Sven Van Caekenberghe
> On 23 Oct 2014, at 23:11, Esteban A. Maringolo wrote: > > 2014-10-23 17:04 GMT-03:00 Sven Van Caekenberghe : > >>> Why do you use the pharo shell script instead of pharo-vm with >>> --no-display? Is there any benefit other than having the pwd set to >>> the image location? And hence, the argu

Re: [Pharo-users] Pharo program examples

2014-10-23 Thread Peter Uhnák
Hi, > a simple calculation program for any purposes This reminded me of a calculator and this https://medium.com/@svenvc/rediscovering-the-ux-of-the-legendary-hp-35-scientific-pocket-calculator-d1d497ece999 > A file archieve perhaps or so ? What about the Compression package? But if you want in

[Pharo-users] Pharo program examples

2014-10-23 Thread Hans Schueren
Hello again , let me ask a strange question for a beginner of pharo. Let the system be the system. hahaha " Are there examples of complete , simple programs for Pharo smalltalk 80 ? " Very simple ones for beginners ? A file archieve perhaps or so ? For example :a simple personal da

[Pharo-users] Pharo program examples

2014-10-23 Thread Hans Schueren
Hello again , let me ask a strange question for a beginner of pharo. Let the system be the system. hahaha " Are there examples of complete , simple programs for Pharo smalltalk 80 ? " Very simple ones for beginners ? A file archieve perhaps or so ? For example :a simple personal da

Re: [Pharo-users] Starting a pool of worker images using command line parameters

2014-10-23 Thread Sven Van Caekenberghe
> On 23 Oct 2014, at 21:54, Esteban A. Maringolo wrote: > > 2014-10-23 16:08 GMT-03:00 Sven Van Caekenberghe : >> Nah, you can do it way easier: >> >> $ cat run.st >> NonInteractiveTranscript stdout install. >> >> Transcript show: Smalltalk commandLine arguments; cr. >> >> Smalltalk quitPrimi

Re: [Pharo-users] Starting a pool of worker images using command line parameters

2014-10-23 Thread Esteban A. Maringolo
2014-10-23 16:08 GMT-03:00 Sven Van Caekenberghe : > Nah, you can do it way easier: > > $ cat run.st > NonInteractiveTranscript stdout install. > > Transcript show: Smalltalk commandLine arguments; cr. > > Smalltalk quitPrimitive. > > $ ./pharo Pharo.image run.st 1 2 3 > #('1' '2' '3') > > HTH, U

Re: [Pharo-users] Starting a pool of worker images using command line parameters

2014-10-23 Thread Sven Van Caekenberghe
> On 23 Oct 2014, at 21:17, Esteban Lorenzano wrote: > > $ cat startserver.sh > #! /bin/sh > nohup ./pharo Pharo.image eval —no-quit “MyServerStart port: $1” & > > ./startserver 8080 > ./startserver 8081 > ./startserver 8082 > > but is a bit… “trucho” (in plain argentinian)… which means a bad

Re: [Pharo-users] Starting a pool of worker images using command line parameters

2014-10-23 Thread Esteban Lorenzano
$ cat startserver.sh #! /bin/sh nohup ./pharo Pharo.image eval —no-quit “MyServerStart port: $1” & ./startserver 8080 ./startserver 8081 ./startserver 8082 but is a bit… “trucho” (in plain argentinian)… which means a bad quality hack :P > On 23 Oct 2014, at 21:08, Sven Van Caekenberghe wrote:

Re: [Pharo-users] Starting a pool of worker images using command line parameters

2014-10-23 Thread Damien Cassou
On Thu, Oct 23, 2014 at 8:16 PM, Esteban A. Maringolo wrote: > How can I capture the --port argument? For what I saw, only "boolean" > parameters can be defined (--quit, --save, etc, without arguments). It > is, no getopts compatibility. no; it is possible to define parameters like --to=html as

Re: [Pharo-users] Starting a pool of worker images using command line parameters

2014-10-23 Thread Sven Van Caekenberghe
Nah, you can do it way easier: $ cat run.st NonInteractiveTranscript stdout install. Transcript show: Smalltalk commandLine arguments; cr. Smalltalk quitPrimitive. $ ./pharo Pharo.image run.st 1 2 3 #('1' '2' '3') HTH, Sven > On 23 Oct 2014, at 20:52, Esteban A. Maringolo wrote: > > 2014-1

Re: [Pharo-users] Starting a pool of worker images using command line parameters

2014-10-23 Thread Esteban A. Maringolo
2014-10-23 15:19 GMT-03:00 Esteban Lorenzano : > >> On 23 Oct 2014, at 20:16, Esteban A. Maringolo wrote: >> Do I have to define a subclass of STCommandLineHandler? > yes I thought so. >> How can I capture the --port argument? For what I saw, only "boolean" >> parameters can be defined (--quit,

Re: [Pharo-users] Starting a pool of worker images using command line parameters

2014-10-23 Thread Esteban Lorenzano
> On 23 Oct 2014, at 20:16, Esteban A. Maringolo wrote: > > tl;dr version: > > I'd like to be able to do something like > > $PATH/app/pharo-vm/pharo --nodisplay app.image st setup-worker.st --port 8091 > and: > $PATH/app/pharo-vm/pharo --nodisplay app.image st setup-worker.st --port 8092 > etc

[Pharo-users] Starting a pool of worker images using command line parameters

2014-10-23 Thread Esteban A. Maringolo
tl;dr version: I'd like to be able to do something like $PATH/app/pharo-vm/pharo --nodisplay app.image st setup-worker.st --port 8091 and: $PATH/app/pharo-vm/pharo --nodisplay app.image st setup-worker.st --port 8092 etc. Do I have to define a subclass of STCommandLineHandler? How can I capture

Re: [Pharo-users] Thanks.

2014-10-23 Thread kilon alios
I assume here you mean that Smalltalk emphasises on the existence of the IDE and the close integration of the IDE with the language. I will say yes you are correct. In other languages the IDE is simply not there, so the language cannot rely on it the same way Smalltalk relies on its own IDE. But t

[Pharo-users] Thanks.

2014-10-23 Thread Hans Schueren
Thank you Kion Alios ! As a beginner of smalltalk i have realized two things. 1. The main view in smalltalk language is on the " Programming System" ( functions of the Pharo system at all ) You could say : " Open the IDE - check the functions for many days : then start to write Objects

Re: [Pharo-users] Athens do not work on Image 40316+

2014-10-23 Thread Alexandre Bergel
Hi Jan! I can have a look next beginning of next week (not earlier sorry). In the meantime, you can use the Moose image. It is pretty stable. Cheers, Alexandre > Le 23-10-2014 à 3:50, Jan Blizničenko a écrit : > > Nicolai Hess wrote >> I think you can skip the first part: "ConfigurationOfAt

Re: [Pharo-users] Athens do not work on Image 40316+

2014-10-23 Thread Jan B.
Nicolai Hess wrote > Never give up! > > Be sure you have a valid PharoV30.sources file. Of course, sources file! It worked perfectly without it for few months (since I started using Pharo 4), so I completely forgot it even exists. You solved my problem, thanks a lot! Jan -- View this message

Re: [Pharo-users] move a method

2014-10-23 Thread [CH] Aliaksei Syrel
Hi, Does drag and drop not work for you? That's how I usually move methods between classes if I need to. Just press on the method name in the list and drag it to another class. (Works in Moose, should also work in Pharo). Cheers, Alex On Oct 23, 2014 11:45 AM, "Hans Schueren" wrote: > Good morn

Re: [Pharo-users] move a method

2014-10-23 Thread kilon alios
I see no move to trait, I am assuming you talk about system browser , system browser has no means to move methods. At least not in menus. Move to package is for the class. I usually just copy paste the method and then remove it from the original. Of course if you want to move more than one then it

[Pharo-users] move a method

2014-10-23 Thread Hans Schueren
Good morning fellows , i want to move a method in a different class. Therefore i can see two options in the Package Browser. (context menue of method) 1. move to trait (e) 2. move to package. The option one is ok. But i only can see there the message : "New Trait" No existing classes an

Re: [Pharo-users] Athens do not work on Image 40316+

2014-10-23 Thread Nicolai Hess
2014-10-23 10:04 GMT+02:00 Jan B. : > Ok, I give up, it seems like gods just don't like me. I'm gonna stick with > 40315. > Never give up! Be sure you have a valid PharoV30.sources file. > > Thanks for your time > Jan > > > > -- > View this message in context: > http://forum.world.st/Athens

Re: [Pharo-users] Athens do not work on Image 40316+

2014-10-23 Thread kilon alios
on the other hand even trying to reinitialise the Athens surface that should fix your session problem does not work, so it looks like the issue runs deeper than I thought, maybe Igor could help here On Thu, Oct 23, 2014 at 11:15 AM, kilon alios wrote: > ok i donwloaded your zip and I think I kno

Re: [Pharo-users] Athens do not work on Image 40316+

2014-10-23 Thread kilon alios
ok i donwloaded your zip and I think I know whats wrong, you probably saved the image and reopened and then it displayed the error ? because browsing through yours stack of error it looks like you experience the usual session problem. This natural when you try to fit a non-live C library to a live

Re: [Pharo-users] Athens do not work on Image 40316+

2014-10-23 Thread Jan B.
Ok, I give up, it seems like gods just don't like me. I'm gonna stick with 40315. Thanks for your time Jan -- View this message in context: http://forum.world.st/Athens-do-not-work-on-Image-40316-tp4786099p4786157.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.

Re: [Pharo-users] Athens do not work on Image 40316+

2014-10-23 Thread kilon alios
yes I did both and yes they work without any problem. Only strange thing was when i click do it on first step in created a transparent surface which I think its to be expected since it only creates the surface and not draws on it on that first step. But definitely no error. I actually clicked do it

Re: [Pharo-users] Athens do not work on Image 40316+

2014-10-23 Thread kilon alios
I can also confirm no problem with 40230 which is the latest concerning AthensDemoMorph example. Jan no worries, bugs are here to annoy the hell out of us :D so no I dont find your post misleading at all, you clearly experience a problem I hope people here help you solve it because Athens is a re

Re: [Pharo-users] Athens do not work on Image 40316+

2014-10-23 Thread Jan B.
This topic seems to "forked" into two, please look at my reply in the other one: http://forum.world.st/Athens-do-not-work-on-Image-40316-td4786137.html In the tutorial, did you press the right/next button and then "do it" button (everything looks fine until I do that). Does even "AthensDemoMorph e

Re: [Pharo-users] Athens do not work on Image 40316+

2014-10-23 Thread kilon alios
same here, looks like it works fine on win7 with the exact same version as yours On Thu, Oct 23, 2014 at 10:36 AM, Nicolai Hess wrote: > 2014-10-23 8:50 GMT+02:00 Jan Blizničenko : > >> Nicolai Hess wrote >> > I think you can skip the first part: "ConfigurationOfAthens loadVersion: >> > '2.0'."

Re: [Pharo-users] Athens do not work on Image 40316+

2014-10-23 Thread kilon alios
nope it is not, not in 40320 and not in any image I can remember. On Thu, Oct 23, 2014 at 10:15 AM, Marcus Denker wrote: > > > On 23 Oct 2014, at 08:50, Jan Blizničenko wrote: > > > > Nicolai Hess wrote > >> I think you can skip the first part: "ConfigurationOfAthens loadVersion: > >> '2.0'."

Re: [Pharo-users] Athens do not work on Image 40316+

2014-10-23 Thread Jan B.
Torsten Bergmann wrote > Hi Jan, > > your subject is a little bit misleading. I guess only the AthensTutorial > is not working. > > Because in 40316 Athens is working (at least for me). Try > >AthensDemoMorph example > > to verify in a fresh image from http://files.pharo.org/ (or downloaded

Re: [Pharo-users] Athens do not work on Image 40316+

2014-10-23 Thread Nicolai Hess
2014-10-23 8:50 GMT+02:00 Jan Blizničenko : > Nicolai Hess wrote > > I think you can skip the first part: "ConfigurationOfAthens loadVersion: > > '2.0'." > > because Athens is already in the image and the version on smalltalkhub is > > not > > uptodate with the one in the image. > > I've never did

Re: [Pharo-users] Athens do not work on Image 40316+

2014-10-23 Thread Jan B.
Marcus Denker-4 wrote > Do *not* run Gofer. The Tutorial is in the image… > > Marcus Well, then it is renamed or somehow hidden, because there is no Athens-Tutorial package, nor any class which name contains words "Tutorial" AND "Athens", especially not AthensTutorial. And even if there is,

Re: [Pharo-users] Athens do not work on Image 40316+

2014-10-23 Thread Marcus Denker
> On 23 Oct 2014, at 08:50, Jan Blizničenko wrote: > > Nicolai Hess wrote >> I think you can skip the first part: "ConfigurationOfAthens loadVersion: >> '2.0'." >> because Athens is already in the image and the version on smalltalkhub is >> not >> uptodate with the one in the image. > > I've ne

[Pharo-users] Athens do not work on Image 40316+

2014-10-23 Thread Torsten Bergmann
Hi Jan, your subject is a little bit misleading. I guess only the AthensTutorial is not working. Because in 40316 Athens is working (at least for me). Try AthensDemoMorph example to verify in a fresh image from http://files.pharo.org/ (or downloaded via PharoLauncher) without installing any