Re: [Pharo-users] SmalltalkWorld chartFrameworks.

2013-05-16 Thread Camille Teruel
Hi Juan, You can have a look to eyeSee: Gofer it squeaksource: 'EyeSee'; package: 'ConfigurationOfEyeSee'; load. (Smalltalk at: #ConfigurationOfEyeSee) loadDefault On 16 mai 2013, at 16:03, Juan Ignacio Vaccarezza wrote: Hi all, Does anybody know a chart framework? Im

Re: [Pharo-users] trait question

2013-07-01 Thread Camille Teruel
On 1 juil. 2013, at 12:19, Igor Stasenko wrote: On 30 June 2013 15:48, Damien Cassou damien.cas...@gmail.com wrote: On Sun, Jun 30, 2013 at 2:54 PM, Camillo Bruni camillobr...@gmail.com wrote: But you know that you can do this right now? I think these examples only show that some

Re: [Pharo-users] Rw engine and Patterns for searching

2013-08-21 Thread Camille Teruel
Hello Gisela, On 21 août 2013, at 15:43, Gisela Decuzzi wrote: Hello, I'm trying to understand how to define a correct pattern and I'm lost with the cases where I use a method pattern and the desired code is inside a block. In the case where we search (methods) with metavariables and the

Re: [Pharo-users] Proper way of handling multiple exception sections

2013-10-25 Thread Camille Teruel
On 25 oct. 2013, at 13:34, Norbert Hartl norb...@hartl.name wrote: I’m thinking about what would be the proper/least annoying way of having multiple exception sections. If I have a code block that can emit two different exceptions is the only way doing it [ [ ... ] on: Exception1 do:

Re: [Pharo-users] Pharo 3.0.0.dmg for Mac OSX - problem loading on OS 10.9

2013-11-08 Thread Camille Teruel
On 8 nov. 2013, at 13:04, Damien Cassou damien.cas...@gmail.com wrote: On Fri, Nov 8, 2013 at 12:59 PM, Camille Teruel camille.ter...@gmail.com wrote: Not for me (on mavericks too)... what is your problem? The very same: “Pharo” is damaged and can’t be opened. You should eject

Re: [Pharo-users] Pharo 3.0.0.dmg for Mac OSX - problem loading on OS 10.9

2013-11-08 Thread Camille Teruel
On 8 nov. 2013, at 13:26, Yuriy Tymchuk yuriy.tymc...@me.com wrote: On 08 Nov 2013, at 13:20, Camille Teruel camille.ter...@gmail.com wrote: On 8 nov. 2013, at 13:04, Damien Cassou damien.cas...@gmail.com wrote: On Fri, Nov 8, 2013 at 12:59 PM, Camille Teruel camille.ter...@gmail.com

Re: [Pharo-users] Who uses poolDictionaries? New class template cleanup

2013-11-12 Thread Camille Teruel
+1 On 12 nov. 2013, at 16:39, Johan Fabry jfa...@dcc.uchile.cl wrote: Hi all, I am preparing slides for a course. I came to the typical: Number subclass: #Complex instanceVariableNames: 'real imaginary' classVariableNames: '' poolDictionaries: '' category: 'ComplexNumbers'

Re: [Pharo-users] Lock free structures in Pharo

2013-11-14 Thread Camille Teruel
On 14 nov. 2013, at 12:38, Stéphane Ducasse stephane.duca...@inria.fr wrote: You should look in VM code clement / eliot can reply more precisely but the idea is to see when do you accept to suspend a computation. In Smalltlak this is after each message. Except for #== and inlined message

Re: [Pharo-users] Arduino package extra files

2013-11-15 Thread Camille Teruel
Hello Bernat, You should ask directly the developers of this project. Maybe they are not registered to this mailing list. You should find their mail addresses on the squeaksource page of this project. On 15 nov. 2013, at 10:47, Bernat Romagosa tibabenfortlapala...@gmail.com wrote: bump?

Re: [Pharo-users] Pyret: adding tests directly into classes

2013-11-18 Thread Camille Teruel
. In Pyret, they have another clause check for that purpose. Regards, Esteban A. Maringolo 2013/11/18 Camille Teruel camille.ter...@gmail.com: On 17 nov. 2013, at 15:16, Tudor Girba tu...@tudorgirba.com wrote: I stumbled across this idea when Markus Gaelli chose it as a PhD topic about

Re: [Pharo-users] Life, Ukraine, Developers

2014-01-25 Thread Camille Teruel
On 25 janv. 2014, at 16:27, Thomas Worthington tho...@technouveau.co.uk wrote: Well, good luck. But remember that the enemy of your enemy may not be your friend and that no one cares more about your welfare than you do, no matter how big a smile they have or how warm a speech they make

Re: [Pharo-users] [Pharo-dev] [gsoc-mentors] GSoC: call for ideas

2014-02-12 Thread Camille Teruel
of modification of anonymous classes. Then the student can provides several examples of custom slots and identify potential clients of these new facilities. Dialect: Pharo Skill level: intermediate Mentors: Camille Teruel / Martin Dias == Title

Re: [Pharo-users] Java this against our thisContext

2014-03-25 Thread Camille Teruel
On 25 mars 2014, at 11:30, Benjamin benjamin.vanryseghem.ph...@gmail.com wrote: Within an instance method or a constructor, this is a reference to the current object — the object whose method or constructor is being called. You can refer to any member of the current object from within an

Re: [Pharo-users] Java this against our thisContext

2014-03-25 Thread Camille Teruel
On 25 mars 2014, at 11:42, Sergi Reyner sergi.rey...@gmail.com wrote: 2014-03-25 10:30 GMT+00:00 Benjamin benjamin.vanryseghem.ph...@gmail.com: Within an instance method or a constructor, this is a reference to the current object — the object whose method or constructor is being called. You

Re: [Pharo-users] lasergame question

2014-04-01 Thread Camille Teruel
On 1 avr. 2014, at 14:52, Roelof Wobben r.wob...@home.nl wrote: Hello, Hello, Im on this page now: http://squeak.preeminent.org/tut2007/html/017.html I do not understand one thing. Where do I put the initialize script #initialize is not a script, it's a method. When an object is

Re: [Pharo-users] lasergame question

2014-04-01 Thread Camille Teruel
On 1 avr. 2014, at 16:21, Roelof Wobben r.wob...@home.nl wrote: Camille Teruel schreef op 1-4-2014 15:08: On 1 avr. 2014, at 14:52, Roelof Wobben r.wob...@home.nl wrote: Hello, Hello, Im on this page now: http://squeak.preeminent.org/tut2007/html/017.html I do not understand one

Re: [Pharo-users] lasergame question

2014-04-01 Thread Camille Teruel
On 1 avr. 2014, at 16:50, Roelof Wobben r.wob...@home.nl wrote: Nicolai Hess schreef op 1-4-2014 16:44: 2014-04-01 16:21 GMT+02:00 Roelof Wobben r.wob...@home.nl: Camille Teruel schreef op 1-4-2014 15:08: On 1 avr. 2014, at 14:52, Roelof Wobben r.wob...@home.nl wrote: Hello, Hello

Re: [Pharo-users] lasergame problem with Blankcell

2014-04-02 Thread Camille Teruel
On 2 avr. 2014, at 13:21, Roelof Wobben r.wob...@home.nl wrote: Hello, On the first part I have to make a class named BlankCell which is a subclass of TestCase. So far no problem. But when you are on the MirrorCell part BlankCell must be a subclass of Cell. But then the tests will fail

Re: [Pharo-users] lasergame problem with Blankcell

2014-04-02 Thread Camille Teruel
On 2 avr. 2014, at 16:27, Mark Rizun mri...@gmail.com wrote: That is really wierd:) 2014-04-02 17:17 GMT+03:00 Roelof Wobben r.wob...@home.nl: Mark Rizun schreef op 2-4-2014 15:16: The mistake is simple. You have to write as follows (just replace cell for self in two lines before

Re: [Pharo-users] Question on style

2014-04-02 Thread Camille Teruel
Hi Nacho, I wouldn't throw an error because otherwise one must know beforehand that an equation is non-resolvable or must use #on:do: everywhere. Since that when you ask to resolve an equation you get back a collection of solutions, a non-resolvable equation could just return an empty

Re: [Pharo-users] Question on style

2014-04-02 Thread Camille Teruel
twice? The idea is to have a class to calculate quadratic equations. This second third still only calculates real roots (leaving aside imaginary roots). But thanks to Damien Cassou, and Camille Teruel has a better style. A QuadraticEquation is a class used to solve Quadratic Equations

Re: [Pharo-users] Compiler evaluate: - Smalltalk evaluate:

2014-04-07 Thread Camille Teruel
On 7 avr. 2014, at 16:31, Clément Bera bera.clem...@gmail.com wrote: Hello, I do not like 'Smalltalk evaluate:' either. One solution is to do 'self class compiler evaluate:'. Yes IMO, calling #compiler on a class is the best solution since it returns a compiler with the options that the

Re: [Pharo-users] Slots

2014-05-19 Thread Camille Teruel
On 19 mai 2014, at 14:06, Marcus Denker marcus.den...@inria.fr wrote: On 18 May 2014, at 21:42, Johan Fabry jfa...@dcc.uchile.cl wrote: I understand, thanks for the info. Let me simplify my question: Using slots is there a reasonably straightforward way for me to intercept variable

Re: [Pharo-users] Ghost Proxy

2014-05-22 Thread Camille Teruel
On 22 mai 2014, at 11:54, stepharo steph...@free.fr wrote: In general, we should think about if is would make sense that the language comes with a good proxy model by default. + 1 We should do that with Camille. Yes. Now the problem is to agree on what is a good model. There is many

Re: [Pharo-users] Calling an arbitrary method

2014-05-22 Thread Camille Teruel
On 22 mai 2014, at 19:46, sergio_101 sergio@gmail.com wrote: In many cases, an object might have a method (filter, selector, etc) attached to it so that the object can run the correct method.. for instance, an object might have a filterMethod variable with a value 'filterByArtist'..

Re: [Pharo-users] Ghost Proxy

2014-05-22 Thread Camille Teruel
On 22 mai 2014, at 22:29, Luc Fabresse luc.fabre...@gmail.com wrote: 2014-05-22 19:49 GMT+02:00 Camille Teruel camille.ter...@gmail.com: On 22 mai 2014, at 19:07, Luc Fabresse luc.fabre...@gmail.com wrote: 2014-05-22 18:06 GMT+02:00 Camille Teruel camille.ter...@gmail.com

Re: [Pharo-users] Finding methods sending shouldBeImplemented within a package

2014-05-28 Thread Camille Teruel
You can right click on your package and select browse scoped. Then senders/implementors queries and refactorings will be scoped to your package (modulo a bug that includes unrelated trait methods that I need to fix :) ). On 28 mai 2014, at 13:57, Markus Fritsche mfrits...@reauktion.de wrote:

Re: [Pharo-users] Finding methods sending shouldBeImplemented within a package

2014-05-28 Thread Camille Teruel
Here is the bug entry the fix: https://pharo.fogbugz.com/f/cases/13281/Wrong-environment-when-browsing-scoped On 28 mai 2014, at 14:08, Camille Teruel camille.ter...@gmail.com wrote: You can right click on your package and select browse scoped. Then senders/implementors queries

Re: [Pharo-users] Xcode's Swift Playground

2014-06-03 Thread Camille Teruel
On 3 juin 2014, at 09:10, Clément Bera bera.clem...@gmail.com wrote: 2014-06-03 8:40 GMT+02:00 jtuc...@objektfabrik.de jtuc...@objektfabrik.de: I remember seeing a demo of F# at an Eclipse conference a few years ago. It also very much reminded me of Smalltalk. What's interesting

Re: [Pharo-users] Xcode's Swift Playground

2014-06-03 Thread Camille Teruel
On 3 juin 2014, at 17:34, Johan Fabry jfa...@dcc.uchile.cl wrote: On Jun 3, 2014, at 4:21 AM, Camille Teruel camille.ter...@gmail.com wrote: To what I understand, types are inferred, it is not statically typed. Am I wrong ? If there is type inference then it is statically typed

Re: [Pharo-users] Slots

2014-06-07 Thread Camille Teruel
You can use the old syntax for class declaration for creating classes, i.e. : Superclass subclass: #MyClass instanceVariableNames: 'x y z' classVariableNames: '' category: 'MyProject' However, the compiler does not take slots into account yet, so custom slots will only

Re: [Pharo-users] Number is not accepted by UI

2014-07-15 Thread Camille Teruel
Hi Max, Pharo doesn't have syntax for prefix operator like -. The parser does accepts a - before literal numbers but it's not possible for arbitrary expressions. However you have the message #negated . negatedWidth ^ self width negated Cheers, Camille On 16 juil. 2014, at 00:16,

Re: [Pharo-users] Number is not accepted by UI

2014-07-15 Thread Camille Teruel
I've been overtaken :) Isn't that an active mailing list ? On 16 juil. 2014, at 00:53, Camille Teruel camille.ter...@gmail.com wrote: Hi Max, Pharo doesn't have syntax for prefix operator like -. The parser does accepts a - before literal numbers but it's not possible for arbitrary

Re: [Pharo-users] Number is not accepted by UI

2014-07-16 Thread Camille Teruel
answers… Regards Max Am 16.07.2014 um 00:56 schrieb Camille Teruel camille.ter...@gmail.com: I've been overtaken :) Isn't that an active mailing list ? On 16 juil. 2014, at 00:53, Camille Teruel camille.ter...@gmail.com wrote: Hi Max, Pharo doesn't have syntax for prefix

Re: [Pharo-users] Browse list of methods

2014-07-24 Thread Camille Teruel
On 24 juil. 2014, at 16:02, Mark Rizun mri...@gmail.com wrote: Hi guys, If I have list of methods, how can I open a browser containing only this methods? There is MessageBrowser. Look at the class side for the creating instances For example you can do: (MessageBrowser on: { Object#copy }

Re: [Pharo-users] [Pharo-dev] Deprecator

2014-07-24 Thread Camille Teruel
On 24 juil. 2014, at 18:11, Ben Coman b...@openinworld.com wrote: Camille Teruel wrote: On 24 juil. 2014, at 17:05, stepharo steph...@free.fr wrote: Camille Ammonite is not that sezzy :) Because it has tentacles? :-D May be autoRepair selfRepair :) Yes for example

Re: [Pharo-users] Does RoelTyper works?

2014-08-20 Thread Camille Teruel
Hello Juraj, RoelTyper guesses types from message sends mainly. In your example, there is no message sent to the iv 'color' so it has not enough information to guess it's type. The rule of thumb is the more code you have the more precise the type inference is. RoelTyper can also guess types

Re: [Pharo-users] Help to get the classes/methods that were updated after compilation.

2014-09-02 Thread Camille Teruel
On 2 sept. 2014, at 23:29, Pernet Alexis alexis.per...@etudiant.univ-lille1.fr wrote: Hello! Hi Alexis, So, i need to know what classes/methods have been changed so that i can run the critic browser tests on the fly. I remember there's a way to do it, but not exactly how to use it. Can