Re: [Pharo-users] Wait two seconds

2015-05-15 Thread stepharo
Indeed. I would love somebody to work on a new generation example finder as mentioned in PharoTopics :) Stef Le 14/5/15 18:20, Sean P. DeNigris a écrit : Pierre Chanson wrote I had a bug... Issue 15540: Finder Should Accept Run-Time Arrays https://pharo.fogbugz.com/default.asp?15540 I trace

Re: [Pharo-users] how to see methods implemented in super classes

2015-05-15 Thread Sanjay Minni
i.e. - can I see the methods defined in the superclass in the circled panel Sanjay Minni wrote > Hi > > is there a way to see in the browse all the methods implemented in the > super classes as well, maybe in a different colour, > > i thoug

[Pharo-users] Demande d'aide

2015-05-15 Thread seb NZOGANG
Bonjour je suis nouveau dans la Programmation Orientée Objet sur pharo.j'utilise la version 4.0 de pharo et j'ai une connaissance assez avancée dans la programmation mais ce langage qui viens juste de nous être enseigné est assez nouveau pour moi.et c'est dans l'optique de cet enseignement qu'il no

Re: [Pharo-users] how to see methods implemented in super classes

2015-05-15 Thread Nicolai Hess
2015-05-15 8:56 GMT+02:00 Sanjay Minni : > > i.e. - can I see the methods defined in the superclass in the circled panel > > > Not in the default browser. You can only see the little up-arrow, if the method is defined in this class and at least

Re: [Pharo-users] Demande d'aide

2015-05-15 Thread Esteban Lorenzano
Bonjour, ici on parle normalement anglais mais il y à aussi quelques-uns francophones (pas moi :P) Si tu ne connait rien de Pharo, je crois tu dois commencer par lire http://www.pharobyexample.org et suivre les examples y montré avec le livre, tu dois utiliser

Re: [Pharo-users] Demande d'aide

2015-05-15 Thread Julien Delplanque
Bonjour, Tout d'abord je pense que vous devriez poser tes questions en anglais sur cette mailing list. Ensuite, il existe plusieurs livres pour apprendre à utiliser Pharo sur le site dans la section documentation: http://pharo.org/documentation. "Pharo by example" est bien pour commencer (http

Re: [Pharo-users] Demande d'aide

2015-05-15 Thread Serge Stinckwich
2015-05-15 10:34 GMT+02:00 Julien Delplanque : > Bonjour, > > Tout d'abord je pense que vous devriez poser tes questions en anglais sur > cette mailing list. > Ensuite, il existe plusieurs livres pour apprendre à utiliser Pharo sur le > site dans la section documentation: http://pharo.org/documenta

Re: [Pharo-users] Demande d'aide

2015-05-15 Thread Julien Delplanque
Oh nice, didn't know about it :) On 15/05/15 10:39, Serge Stinckwich wrote: 2015-05-15 10:34 GMT+02:00 Julien Delplanque : Bonjour, Tout d'abord je pense que vous devriez poser tes questions en anglais sur cette mailing list. Ensuite, il existe plusieurs livres pour apprendre à utiliser Pharo

Re: [Pharo-users] Demande d'aide

2015-05-15 Thread seb NZOGANG
justement je viens de fini de lire le livre "pharo par l'exemple" et là je suis capable de faire un tas de choses dans pharo.tt ce que je veux pour ce projet c'est une orientation. -dans les classes à créer -les méthodes à créer -de quels super classe doivent hériter ces methodes?? et l'anglais n'e

Re: [Pharo-users] Demande d'aide

2015-05-15 Thread seb NZOGANG
if i want to progrom tetris's game, how many method can i create? seb Le 15/05/2015, seb NZOGANG a écrit : > justement je viens de fini de lire le livre "pharo par l'exemple" et > là je suis capable de faire un tas de choses dans pharo.tt ce que je > veux pour ce projet c'est une orientation. > -d

Re: [Pharo-users] Demande d'aide

2015-05-15 Thread Serge Stinckwich
Hi Seb, welcome in the Pharo community. This is a english-speaking mailing-list. This is ok to ask questions here but nobody will do your class work. Where are you located in Cameroon ? Regards, 2015-05-15 10:19 GMT+02:00 seb NZOGANG : > Bonjour je suis nouveau dans la Programmation Orientée Ob

Re: [Pharo-users] Demande d'aide

2015-05-15 Thread Julien Delplanque
There is a framework for board games called "Boardician" on smalltalkhub (http://smalltalkhub.com/#!/~squidik/Boardician). You can also install it on your image using the configuration browser. I have never implemented anything using it but maybe looking at its examples is a start to see how y

Re: [Pharo-users] Demande d'aide

2015-05-15 Thread Julien Delplanque
Oh I see here: http://boardician.blogspot.com.ar/2015/03/boardician.html that Tetris is already implemented in the framework. ;) On 15/05/15 11:03, Julien Delplanque wrote: There is a framework for board games called "Boardician" on smalltalkhub (http://smalltalkhub.com/#!/~squidik/Boardician).

Re: [Pharo-users] how to see methods implemented in super classes

2015-05-15 Thread Sanjay Minni
Thanks ... while I can get the hierarchy for a locally implemented method, is there a way for knowing implemented methods in the super class ? The browser in Dolphin from Object-Arts has an option "show inherited methods" in which it shows all methods incl those in the super class hierarchy in the

[Pharo-users] How to open the moose panel programmatically ?

2015-05-15 Thread Leonardo Silva
Hi, I have an application that creates an instance of a moose model. I would like to know how I can open it inside the moose panel programmatically. Without using the World menu. Thank you, Leonardo

Re: [Pharo-users] Demande d'aide

2015-05-15 Thread seb NZOGANG
yes julien i'm located in cameroon. i need the help to install BgBoardician package in my pharo 4.0. how can i do it?? seb Le 15/05/2015, Julien Delplanque a écrit : > Oh I see here: http://boardician.blogspot.com.ar/2015/03/boardician.html > that Tetris is already implemented in the framework. ;)

Re: [Pharo-users] how to see methods implemented in super classes

2015-05-15 Thread seb NZOGANG
thanks Sanjay 2015-05-15 11:16 UTC+02:00, Sanjay Minni : > Thanks ... while I can get the hierarchy for a locally implemented method, > is > there a way for knowing implemented methods in the super class ? > > The browser in Dolphin from Object-Arts has an option "show inherited > methods" in whic

Re: [Pharo-users] How to open the moose panel programmatically ?

2015-05-15 Thread Tudor Girba
MooseModel open. Doru On Fri, May 15, 2015 at 12:06 PM, Leonardo Silva < leonardo.humbe...@gmail.com> wrote: > Hi, > > I have an application that creates an instance of a moose model. > I would like to know how I can open it inside the moose panel > programmatically. > Without using the World me

Re: [Pharo-users] How to open the moose panel programmatically ?

2015-05-15 Thread Tudor Girba
Sorry: MoosePanel open. Doru On Fri, May 15, 2015 at 12:30 PM, Tudor Girba wrote: > MooseModel open. > > Doru > > On Fri, May 15, 2015 at 12:06 PM, Leonardo Silva < > leonardo.humbe...@gmail.com> wrote: > >> Hi, >> >> I have an application that creates an instance of a moose model. >> I would l

Re: [Pharo-users] How to open the moose panel programmatically ?

2015-05-15 Thread Leonardo Silva
It works fine. Thanks On Fri, May 15, 2015 at 12:30 PM, Tudor Girba wrote: > Sorry: > MoosePanel open. > > Doru > > On Fri, May 15, 2015 at 12:30 PM, Tudor Girba > wrote: > >> MooseModel open. >> >> Doru >> >> On Fri, May 15, 2015 at 12:06 PM, Leonardo Silva < >> leonardo.humbe...@gmail.com> wr

Re: [Pharo-users] How to open the moose panel programmatically ?

2015-05-15 Thread Tudor Girba
You can also open the Moose Finder on any Moose entity. For example: MooseModel new openInMoose Doru On Fri, May 15, 2015 at 2:41 PM, Leonardo Silva wrote: > It works fine. Thanks > > On Fri, May 15, 2015 at 12:30 PM, Tudor Girba > wrote: > >> Sorry: >> MoosePanel open. >> >> Doru >> >> On Fr

[Pharo-users] phratch with robot Poppy

2015-05-15 Thread jannik laval
Hi all, A group of my students worked on the connection of phratch and the robot Poppy. All is done with a REST communication (thanks to Zinc). http://www.phratch.com/archives/1138 Now, we have a new robot in our world :) Cheers, -- ~~Jannik Laval~~ École des Mines de Douai Enseignant-cherch

Re: [Pharo-users] phratch with robot Poppy

2015-05-15 Thread Johan Fabry
Very cool! > On May 15, 2015, at 10:26, jannik laval wrote: > > Hi all, > > A group of my students worked on the connection of phratch and the robot > Poppy. > All is done with a REST communication (thanks to Zinc). > > http://www.phratch.com/archives/1138

Re: [Pharo-users] phratch with robot Poppy

2015-05-15 Thread Tudor Girba
Cool and funny :) Doru On Fri, May 15, 2015 at 3:53 PM, Johan Fabry wrote: > > Very cool! > > On May 15, 2015, at 10:26, jannik laval wrote: > > Hi all, > > A group of my students worked on the connection of phratch and the robot > Poppy. > All is done with a REST communication (thanks to Zinc

[Pharo-users] Reef: Initialization with default parameters

2015-05-15 Thread Thomas Heniart
Hi, Currently, I am playing with Reef and it is a cool framework but I have a little problem... I want to initialize a REForm with a parameter I need in initializeContents So I have something but it doesn't seem to be the right way... ObjectX>>renderContentOn: html html render: (myReefForm ne

[Pharo-users] Store a png in a class variable

2015-05-15 Thread Leonardo Silva
Hi, I load a PNG file using the code below: pngPath := '/Users/Somefolder/UI-Theme.png' asFileReference. forms := pngPath readStreamDo: [ :in | (PNGReadWriter on: in) nextImage ]. ... But I don't want to create this dependency with a file path. I would like to be able to encode the image into a

Re: [Pharo-users] Store a png in a class variable

2015-05-15 Thread stepharo
Look at the icons because they are managed like an encoded byte array. Le 15/5/15 21:11, Leonardo Silva a écrit : Hi, I load a PNG file using the code below: pngPath := '/Users/Somefolder/UI-Theme.png' asFileReference. forms := pngPath readStreamDo: [ :in | (PNGReadWriter on: in) nextImage

Re: [Pharo-users] phratch with robot Poppy

2015-05-15 Thread stepharo
this is cool :) I was waitin for that since I saw the poppy project on Smalltalkhub :) Stef Le 15/5/15 15:26, jannik laval a écrit : Hi all, A group of my students worked on the connection of phratch and the robot Poppy. All is done with a REST communication (thanks to Zinc). http://www.phr

Re: [Pharo-users] Demande d'aide

2015-05-15 Thread stepharo
But you will not learn much if you copy too much :) Stef Le 15/5/15 12:35, Julien Delplanque a écrit : Left click anywhere to open the menu, go to Tools>Configuration Browser. Type BgBoardician select the package and click "Install stable version". It will install the package and all requir

Re: [Pharo-users] Demande d'aide

2015-05-15 Thread Julien Delplanque
Sure but he wanted to see how big it could be, I assume he will not do plagiarism :p. On 15/05/15 21:43, stepharo wrote: But you will not learn much if you copy too much :) Stef Le 15/5/15 12:35, Julien Delplanque a écrit : Left click anywhere to open the menu, go to Tools>Configuration Bro

Re: [Pharo-users] phratch with robot Poppy

2015-05-15 Thread Alexandre Bergel
Excellent!!! Go go go! Alexandre -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. > On May 15, 2015, at 9:26 AM, jannik laval wrote: > > Hi all, > > A group of my students worked on the connection o

[Pharo-users] Patterns for event handling Morphic?

2015-05-15 Thread Stephan Eggermont
I find it difficult to understand event handling in Morphic. I'm using both handleListenEvent: and mouseDown: and on:send:to: and haven't even started using announcements. What am I supposed to be using when, and what is supposed to be replaced in Bloc? Stephan

Re: [Pharo-users] Store a png in a class variable

2015-05-15 Thread Peter Uhnák
You can also use this utility to simplify generation of the array. http://smalltalkhub.com/#!/~peteruhnak/IconFactory Peter On Fri, May 15, 2015 at 9:37 PM, stepharo wrote: > Look at the icons because they are managed like an encoded byte array. > > > Le 15/5/15 21:11, Leonardo Silva a écrit :

[Pharo-users] Testing a seaside task and component?

2015-05-15 Thread Alexandre Bergel
Hi! I have a rather simple question regarding seaside. Assuming I have a method MyTask>>go How can I test it in a unit test? Executing MyTask new go leads to the error: 'You can only #call: and #answer: from within a callback or a Task.' Pity the Seaside distribution does not have the Sushi exa

Re: [Pharo-users] [Moose-dev] Re: Fwd: Magritte = Auto-GT Presentation

2015-05-15 Thread Tudor Girba
Hi Sean, Sorry for the slow response. In the latest Moose, ConfigurationOfGlamour now loads again Magritte and the associated presentation, and provides an example of how to embed it in the inspector. If you inspect: GLMMagrittePersonExample new name: 'William Shakespeare'; address: 'Stratf

Re: [Pharo-users] Patterns for event handling Morphic?

2015-05-15 Thread Alain Plantec via Pharo-users
--- Begin Message --- Hello Stephan, For user interaction events (mouse / keyboard events..., see MorphicEvent hierarchy, HandMorph, MorphicEventHandler...): - if you create your own morph class, then you implement mouseDown:, mouseUp: etc according to the event hierarchy. To allow a morph to m

[Pharo-users] Quuve in action

2015-05-15 Thread Cameron Sanders via Pharo-users
--- Begin Message --- We are just starting to get some videos made to demonstrate Quuve in action. Here is the first... https://www.youtube.com/watch?v=mA7O8bUtd0o. [views best in Chrome directly, not via gmail] We will be making more and will start posting them to our website. -Cam --- End Mess

[Pharo-users] Alt-tab between windows

2015-05-15 Thread Avdi Grimm
Hey folks! I've dabbled with smalltalk here and there over the years, but recently I've settled in to learn Pharo in earnest. A few of you might have seen the videos I've been putting up; they seem to be making the rounds on Twitter. I just want to say I've felt really welcomed by all the people wh

Re: [Pharo-users] Alt-tab between windows

2015-05-15 Thread Nicolai Hess
2015-05-16 0:52 GMT+02:00 Avdi Grimm : > Hey folks! I've dabbled with smalltalk here and there over the years, but > recently I've settled in to learn Pharo in earnest. A few of you might have > seen the videos I've been putting up; they seem to be making the rounds on > Twitter. I just want to sa

Re: [Pharo-users] Alt-tab between windows

2015-05-15 Thread Avdi Grimm
Messing around, I've gotten the impression that Morphic doesn't really have the concept of a window manager. I've even played with the "Tiling Window Manager", but it isn't really a *manager* in the usual sense, it's more of a collection of shortcuts for manually resizing windows. Without having d

Re: [Pharo-users] Alt-tab between windows

2015-05-15 Thread Carlo
Hi Avdi Enjoyed listening to your ruby rogues podcasts and tapas and now finally Smalltalk;) Regarding your pain points on keyboard vs mouse; I've seen this come up before. There has been lot's of improvement, but still a way to go. I tested cycling between windows on Pharo 3 on mac and Alt-tab

Re: [Pharo-users] Alt-tab between windows

2015-05-15 Thread Avdi Grimm
On Fri, May 15, 2015 at 7:06 PM Carlo wrote: > Removing the 'self halt' still works though. > Can you give me a little more detail about where to find this? Thanks!

Re: [Pharo-users] Alt-tab between windows

2015-05-15 Thread Carlo
On my Pharo4.0 Latest update: #40609 Pressing Alt-Tab brings up a debugger. Debugging the method shows: newPreviewMorph "Answer a new preview holder." self halt. ^ Morph new color: Color transparent; extent: self defaultPreviewExtent;

Re: [Pharo-users] Alt-tab between windows

2015-05-15 Thread Carlo
As far as I know you are correct in assumption of morphic windows; especially considering experiences playing with Self where it originated from. TWM is a way of managing the multiple open windows. Morphic objects are cool though especially in Squeak or Lively Kernel (Pharo less so) e.g. rotate

Re: [Pharo-users] Alt-tab between windows

2015-05-15 Thread Avdi Grimm
On Fri, May 15, 2015 at 7:12 PM Carlo wrote: > > Pressing Alt-Tab brings up a debugger. Debugging the method shows: > > Thanks! Any idea where the keyboard shortcut is assigned? On the only systems I have handy to test this, the OS catches Alt-Tab before it ever gets to Pharo.

Re: [Pharo-users] Alt-tab between windows

2015-05-15 Thread Nicolai Hess
2015-05-16 1:11 GMT+02:00 Carlo : > On my > > Pharo4.0 > Latest update: #40609 > > Pressing Alt-Tab brings up a debugger. Debugging the method shows: > But this does not work for Pharo on Windows . On windows alt+tab always switches between active applications. There was some code on older versio

Re: [Pharo-users] Alt-tab between windows

2015-05-15 Thread Avdi Grimm
I'd be totally cool with Alt-Left/Right. I just want *something* so I don't have to lift my hand just to switch from e.g. Browser to Playground and back. On Fri, May 15, 2015 at 7:23 PM Nicolai Hess wrote: > 2015-05-16 1:11 GMT+02:00 Carlo : > >> On my >> >> Pharo4.0 >> Latest update: #40609 >>

Re: [Pharo-users] Alt-tab between windows

2015-05-15 Thread Carlo
Was taking a look in my image and followed references to Character alt or ctrl and found the hooks, but changing them wasn't working. Remembered now that there is a Keymap Browser under World/System/Keymap Browser You could try looking at that or wait until someone that knows responds... Cheers

[Pharo-users] Problems getting a png image with ZnEasy

2015-05-15 Thread Offray Vladimir Luna Cárdenas
Hi all, When I try to do: ~~~ ZnEasy getPng: 'https://pbs.twimg.com/profile_images/3179579549/f83f0e935fb5eff6d967e37e1a3efe5c_normal.png' ~~~ I get "MessageNotUnderstood: receiver of "bitShift:" is nil". Still I can browse the image in the web browser. Any hints? Cheers, Offray

Re: [Pharo-users] Alt-tab between windows

2015-05-15 Thread Avdi Grimm
On Fri, May 15, 2015 at 8:21 PM, Carlo wrote: > Remembered now that there is a Keymap Browser under World/System/Keymap > Browser > You could try looking at that or wait until someone that knows responds... > Yeah, there's no listing for Alt-Tab there, which was one of the things that flummoxed

Re: [Pharo-users] Quuve in action

2015-05-15 Thread S Krish
Really nice.. On Sat, May 16, 2015 at 3:47 AM, Cameron Sanders via Pharo-users < pharo-users@lists.pharo.org> wrote: > > > -- Forwarded message -- > From: Cameron Sanders > To: Any question about pharo is welcome > Cc: > Date: Fri, 15 May 2015 18:17:17 -0400 > Subject: Quuve in

Re: [Pharo-users] Quuve in action

2015-05-15 Thread Cameron Sanders via Pharo-users
--- Begin Message --- Thank you for the feedback. While we have MANY hours in Quuve at Debris, I must give due credit to the many wonderful free tools we are using. *Thank you Pharo community, Gemstone, and the multitude of private firms which have shared their tools with the community. THANK YOU.

Re: [Pharo-users] Alt-tab between windows

2015-05-15 Thread Carlo
Hi See my earlier email was bounced. ... Ok, hacked and debugged my pharo 4 image and I've got ctrl- left or right working on my mac. Two changes needed TaskListMorph>>keyStroke: event needs to change as per below to add the ctrl left or right. TaskListMorph>>keyStroke: event "Pro

Re: [Pharo-users] Alt-tab between windows

2015-05-15 Thread Carlo
Hi I see my earlier email was bounced again... Ok, hacked and debugged my pharo 4 image and I've got ctrl- left or right working on my mac. Two changes needed TaskListMorph>>keyStroke: event needs to change as per below to add the ctrl left or right. TaskListMorph>>keyStroke: event