Re: [Pharo-users] skipping whole class

2015-07-01 Thread Camille
ile? Yes it is: put a “self skip” in the setUp method :) Camille > > Thanks, > Peter

Re: [Pharo-users] how to get all the send to super?

2015-06-28 Thread Camille
her executeTree: each ast ]. superSends Camille > > Stef >

[Pharo-users] Pratt Parsers for PetitParser

2015-06-10 Thread Camille
it gives good results in other cases. So would it be possible to change this behavior to let the parser decide if it returns the furthestFailure or the original failure? Cheers, Camille

Re: [Pharo-users] Creating a Class in a Temporary Environment

2015-05-12 Thread Camille
superclass: Object; name: #AClassForTesting ]. Camille > On 12 May 2015, at 12:45, Sean P. DeNigris wrote: > > I used to have > > creatingAClassInATemporaryNamespace > > | testingEnvironment morph | > testingEnvironment

Re: [Pharo-users] time library?

2015-04-16 Thread Camille
> On 16 Apr 2015, at 17:37, Paul DeBruicker wrote: > > Chronos has Timeperiods & works in Pharo 1.3+, GemStone 2.3-3.2 and Squeak > 4.3+ > > > Timeperiod from: (Timepoint now) duration: (ScientificDuration minutes: 1) > > > http://smalltalkhub.com/#!/~Chronos/Chronos >

Re: [Pharo-users] time library?

2015-04-16 Thread Camille
necy/0506-M1-COO/A%20New%20Object-Oriented%20Model%20of%20the%20Gregorian%20Calendar.pdf> Camille > Doru > > -- > www.tudorgirba.com <http://www.tudorgirba.com/> > > "Every thing has its own flow"

Re: [Pharo-users] first impressions

2015-03-27 Thread Camille
gt; What does it mean? That it’s living up to its reputation. Camille > Norbert

Re: [Pharo-users] PhD offer with Pharo about Interaction design

2015-02-10 Thread Camille
Great! > On 10 Feb 2015, at 14:29, stepharo wrote: > > > http://www.inria.fr/en/institute/recruitment/offers/phd/campaign-2015/%28view%29/details.html?id=PNGFK026203F3VBQB6G68LOE1&LOV5=4509&LG=EN&Resultsperpage=20&nPostingID=9157&nPostingTargetID=15138&option=52&sort=DESC&nDepartmentID=28 > >

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 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 i have some help with that? (or

Re: [Pharo-users] Does RoelTyper works?

2014-08-20 Thread Camille Teruel
eation' it assumes that the type is the class. In your example it doesn't do that assumption since #black is categorized under 'defaults'. There is maybe some other cases that I don't remember. Cheers, Camille On 19 août 2014, at 21:42, Juraj Kubelka wrote: > Hi,

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

2014-07-24 Thread Camille Teruel
On 24 juil. 2014, at 18:11, Ben Coman wrote: > Camille Teruel wrote: >> >> >> On 24 juil. 2014, at 17:05, stepharo wrote: >> >>> Camille >>> >>> Ammonite is not that sezzy :) >> >> Because it has tentacles? :-D >&

Re: [Pharo-users] Browse list of methods

2014-07-24 Thread Camille Teruel
;>#copy } named: 'My Methods' autoSelect: #copy) open Camille > Best, > Mark > > > > -- > View this message in context: > http://forum.world.st/Browse-list-of-methods-tp4769871.html > Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com. >

[Pharo-users] Deprecator

2014-07-24 Thread Camille Teruel
TW, if you have a better name for this project let me know! For example, I thought about Ammonite because it's an extinct animal (analogy with deprecated) and it fits the sea naming theme. Cheers, Camille

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

2014-07-16 Thread Camille Teruel
>> Alain >> >> >> On Wed, Jul 16, 2014 at 2:59 AM, Verkoster Info wrote: >> It definitely is, >> >> >> >> >> thanks for all your answers… >> >> Regards >> >> Max >> >> Am 16.07.2014 um 00:56

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 wrote: > Hi Max, > > Pharo doesn't have syntax for prefix operator like "-". > The parser does accepts a "-" before literal numbers but

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, Camil

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] Xcode's Swift Playground

2014-06-03 Thread Camille Teruel
On 3 juin 2014, at 17:34, Johan Fabry wrote: > > On Jun 3, 2014, at 4:21 AM, Camille Teruel 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 typ

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

2014-06-03 Thread Camille Teruel
On 3 juin 2014, at 09:10, Clément Bera wrote: > > > > 2014-06-03 8:40 GMT+02:00 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 about swift is not only that Apple chose

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 wrote: > You can right click on your package and select "browse scoped". > Then senders/implementors queries and refacto

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 wrote: > Hi, > > I am work

Re: [Pharo-users] Ghost Proxy

2014-05-22 Thread Camille Teruel
On 22 mai 2014, at 22:29, Luc Fabresse wrote: > > > > 2014-05-22 19:49 GMT+02:00 Camille Teruel : > > On 22 mai 2014, at 19:07, Luc Fabresse wrote: > >> >> >> >> >> 2014-05-22 18:06 GMT+02:00 Camille Teruel : >> >> On 22

Re: [Pharo-users] Calling an arbitrary method

2014-05-22 Thread Camille Teruel
On 22 mai 2014, at 19:46, sergio_101 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'.. > > in ruby, i

Re: [Pharo-users] Ghost Proxy

2014-05-22 Thread Camille Teruel
On 22 mai 2014, at 19:07, Luc Fabresse wrote: > > > > > 2014-05-22 18:06 GMT+02:00 Camille Teruel : > > On 22 mai 2014, at 11:54, stepharo wrote: > > > > >> In general, we should think about if is would make sense that the language > >&g

Re: [Pharo-users] Ghost Proxy

2014-05-22 Thread Camille Teruel
On 22 mai 2014, at 11:54, stepharo 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 &

Re: [Pharo-users] Slots

2014-05-19 Thread Camille Teruel
On 19 mai 2014, at 14:11, Marcus Denker wrote: > > On 19 May 2014, at 07:24, Clément Bera wrote: > >> >> >> >> 2014-05-18 21:42 GMT+02:00 Johan Fabry : >> >> I understand, thanks for the info. >> >> Let me simplify my question: Using slots is there a reasonably >> straightforward way fo

Re: [Pharo-users] Slots

2014-05-19 Thread Camille Teruel
Link on the slot definition (before, after, > around/instead). This is for the more “reflective” use cases. > > Now this is all in an early state.. the idea is to finish all this over the > summer :-) > > With Camille we did a quick 20 minute prototype of the whole thing: Subclass >

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

2014-04-07 Thread Camille Teruel
On 7 avr. 2014, at 16:31, Clément Bera 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 class defines.

Re: [Pharo-users] Question on style

2014-04-02 Thread Camille Teruel
tion methods like #detect:ifNone: #at:ifPresent: #at:ifAbsent: ,etc ... BTW, is it expected that when the discriminant equals 0, the same root is returned twice? > > "The idea is to have a class to calculate quadratic equations. > This second third still only calculates real roots (le

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 collection

Re: [Pharo-users] lasergame problem with Blankcell

2014-04-02 Thread Camille Teruel
On 2 avr. 2014, at 16:27, Mark Rizun wrote: > That is really wierd:) > > > 2014-04-02 17:17 GMT+03:00 Roelof Wobben : > 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 should and shouldnt): >> >>

Re: [Pharo-users] lasergame problem with Blankcell

2014-04-02 Thread Camille Teruel
On 2 avr. 2014, at 13:21, Roelof Wobben 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 because s

Re: [Pharo-users] create instance var accesors from menu (Pharo 3.0)

2014-04-01 Thread Camille Teruel
In the browser, right-click on the class in question, then Refactoring -> Class Refactoring -> Generate Accessors The little "h, a" indicate that the keyboard shortcut is mod+h+a where mod is your OS-specific modifier key for Pharo shortcuts (ctrl on linux and windows, command on osx). On 1 avr

Re: [Pharo-users] lasergame question

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

Re: [Pharo-users] lasergame question

2014-04-01 Thread Camille Teruel
On 1 avr. 2014, at 16:39, Roelof Wobben wrote: > Camille Teruel schreef op 1-4-2014 16:34: >> >> On 1 avr. 2014, at 16:21, Roelof Wobben wrote: >> >>> Camille Teruel schreef op 1-4-2014 15:08: >>>> On 1 avr. 2014, at 14:52, Roelof Wobben wrote: >

Re: [Pharo-users] lasergame question

2014-04-01 Thread Camille Teruel
On 1 avr. 2014, at 16:21, Roelof Wobben wrote: > Camille Teruel schreef op 1-4-2014 15:08: >> On 1 avr. 2014, at 14:52, Roelof Wobben wrote: >> >>> Hello, >> Hello, >> >>> Im on this page now: http://squeak.preeminent.org/tut2007/html/01

Re: [Pharo-users] lasergame question

2014-04-01 Thread Camille Teruel
On 1 avr. 2014, at 14:52, Roelof Wobben 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 instantiated (

Re: [Pharo-users] Pharo 1

2014-03-31 Thread Camille Teruel
On 31 mars 2014, at 15:43, Roelof Wobben wrote: > Stephan Eggermont schreef op 31-3-2014 15:35: >> Two things come to mind: >> - method names start with lowercase >> CellsPerSide > > you are right, I mistyped that one. I wil change it >> - did you make cellsPerSide into a separate method? >

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

2014-03-25 Thread Camille Teruel
On 25 mars 2014, at 11:42, Sergi Reyner wrote: > 2014-03-25 10:30 GMT+00:00 Benjamin : > 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 wi

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

2014-03-25 Thread Camille Teruel
On 25 mars 2014, at 11:30, Benjamin 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 instance method > or a constructor

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

2014-02-12 Thread Camille Teruel
em 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 ==

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

2014-01-25 Thread Camille Teruel
On 25 janv. 2014, at 16:27, Thomas Worthington 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 about democracy and > fre

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

2013-11-18 Thread Camille Teruel
ypically crosscut many units. In Pyret, they have another clause "check" for that purpose. > Regards, > > Esteban A. Maringolo > > > 2013/11/18 Camille Teruel : >> >> On 17 nov. 2013, at 15:16, Tudor Girba wrote: >> >> I stumbled across thi

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

2013-11-18 Thread Camille Teruel
On 17 nov. 2013, at 15:16, Tudor Girba wrote: > I stumbled across this idea when Markus Gaelli chose it as a PhD topic about > ten years ago (man, I'm old). The main idea was not to provide tests, but > examples that happened to have assertions. The goal was twofold: (1) provide > live docume

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 wrote: > bump? > > > 2013/10/25 Bernat Romagos

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

2013-11-14 Thread Camille Teruel
On 14 nov. 2013, at 12:38, Stéphane Ducasse 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 like #ifTrue:ifFalse: , #

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 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' > > Which made me

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 wrote: > > On 08 Nov 2013, at 13:20, Camille Teruel wrote: > >> >> On 8 nov. 2013, at 13:04, Damien Cassou wrote: >> >>> On Fri, Nov 8, 2013 at 12:59 PM, Camille Teruel >>> wrote: >>>> &g

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 wrote: > On Fri, Nov 8, 2013 at 12:59 PM, Camille Teruel > 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 the disk

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 11:44, Yuriy Tymchuk wrote: > Just downloaded last build. Works for me. (I’m on Mavericks of course) Not for me (on mavericks too)... > > On 08 Nov 2013, at 11:38, Damien Cassou wrote: > >> >> On Thu, Nov 7, 2013 at 8:10 PM, Bruce Prior wrote: >> I tried CTRL-click to o

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 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] Rw engine and Patterns for searching

2013-08-22 Thread Camille Teruel
On 23 août 2013, at 05:16, Gisela Decuzzi wrote: > Hi Camille! > Thanks for the details about using the dot. > I know that for this case is better matching an expression but it sounded > strange at the begining the behavior inside the block despite of the ``@ As far as I understa

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 th

Re: [Pharo-users] Tudor Girba joins Pharo Board

2013-07-02 Thread camille teruel
2013/7/2 Clément Bera > Good news. Congratulations Tudor. > > I have a question. It is common knowledge that if the community cannot > decide something for Pharo, the Pharo board will decide for the community. > You used to be 3 so it was fine. Now that you are 4, if 2 people vote in a > way and

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 wrote: >> On Sun, Jun 30, 2013 at 2:54 PM, Camillo Bruni >> wrote: >>> But you know that you can do this right now? >> >> >> I think these examples only show that some verifications are missing. >> I don't

Re: [Pharo-users] SmalltalkWorld chartFrameworks.

2013-05-16 Thread Camille Teruel
On 16 mai 2013, at 17:59, stephane ducasse wrote: > yes normally the moose people. > This is strange because eyesee is in Moose and we load it daily in 2.0. Maybe the smalltalk hub repo is more up to date? > > Stef > >> Thanks for your answer Camille! >> >>

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