Re: [Pharo-users] Roassal : Playing with the contrast

2018-02-21 Thread abdelghani ALIDRA via Pharo-users
coloured. So, is there a way to do so?Thanks,Abdelghani De : Alexandre Bergel À : abdelghani ALIDRA ; Any question about pharo is welcome Envoyé le : Mercredi 21 février 2018 2h19 Objet : Re: [Pharo-users] Roassal : Playing with the contrast Hi! What do you mean with contrasts? You

Re: [Pharo-users] Roassal : Playing with the contrast

2018-02-21 Thread abdelghani ALIDRA via Pharo-users
--- Begin Message --- Hi Stef, It looks great. I will have a look and use for our work. CheersAbdelghani De : Stephane Ducasse À : abdelghani ALIDRA ; Any question about pharo is welcome Envoyé le : Mercredi 21 février 2018 10h15 Objet : Re: [Pharo-users] Roassal : Playing with the

[Pharo-users] Roassal : Playing with the contrast

2018-02-20 Thread abdelghani ALIDRA via Pharo-users
--- Begin Message --- Hi, I am wondering if there is a way to play with the contrast of Roassal visualisations. If so, please tell me how :) Thank you in advanceAbdelghani --- End Message ---

Re: [Pharo-users] Removing instance variables doesn't recompile the methods

2017-11-27 Thread abdelghani ALIDRA via Pharo-users
En date de : Lun 27.11.17, Peter Uhnák a écrit : Objet: Re: [Pharo-users] Removing instance variables doesn't recompile the methods À: "Any question about pharo is welcome" Cc: "abdelghani ALIDRA" Date: Lundi 27 novembre 2017, 10h21 As far a

Re: [Pharo-users] Removing instance variables doesn't recompile the methods

2017-11-27 Thread abdelghani ALIDRA via Pharo-users
--- Begin Message --- Hi Ben, I will try to see. I dont have my PC right now Abdelghani En date de : Lun 27.11.17, Ben Coman a écrit : Objet: Re: [Pharo-users] Removing instance variables doesn't recompile the methods À: "abdelgh

[Pharo-users] Removing instance variables doesn't recompile the methods

2017-11-26 Thread abdelghani ALIDRA via Pharo-users
--- Begin Message --- Hi, In a fresh pharo 6 image, I add a class with an instance variable x and implement accessors. Then I write a test method for the accessors of x MyClassTest>>testReadWriteX     self assert (MyClass new x: 0) x equals: 0 I run the test and obviously it is green BUT I re

Re: [Pharo-users] Dynamically changing code in a safe way

2017-11-04 Thread abdelghani ALIDRA via Pharo-users
k executing. Imagine if I were to hand you a loaf of bread and tell you to feed it to the dog. If I were then to hand you another loaf of bread, the dog would continue eating the first loaf. We never told the dog to do anything else. On Mon, Oct 23, 2017 at 1:53 PM, abdelg

[Pharo-users] Dynamically changing code in a safe way

2017-10-23 Thread abdelghani ALIDRA via Pharo-users
--- Begin Message --- Hi, If I create a class HotSwapping with the instance variable currentBLoc (and the corresponding accessors) and the following methods : HotSwapping>>initialize currentBloc := [ 1 to:50 do: [:index |Transcript show: index. 100 milliSeconds asDelay wait]. Transcript

Re: [Pharo-users] Failling Tests are green if BlockCannotReturn exception

2016-01-13 Thread abdelghani ALIDRA
Caekenberghe À : abdelghani ALIDRA ; Any question about pharo is welcome Envoyé le : Mardi 12 janvier 2016 7h35 Objet : Re: [Pharo-users] Failling Tests are green if BlockCannotReturn exception > On 12 Jan 2016, at 00:26, abdelghani ALIDRA wrote: > > Hi, > > I observed

[Pharo-users] Failling Tests are green if BlockCannotReturn exception

2016-01-11 Thread abdelghani ALIDRA
Hi, I observed this unexpected behavior in test classes.In a test class define a method : testBlock     |aBlock|     aBlock := [ ^1 ].     aBlock value.     self assert: false. Althought the assertion is false at the end of the test, the test is green.Actually, It does not matter what you put af

[Pharo-users] Happy new year 2016

2016-01-02 Thread abdelghani ALIDRA
Happy new year everybody. Best wish for 2016. Looks like the Pharo journey is getting more and more exciting :) Abdelghani. Message: 1 Date: Fri, 1 Jan 2016 16:57:27 +0100 From: stepharo To: Pharo Development List ,    Any question     about pharo is welcome Subject: [Pharo-users] Happy new ye

Re: [Pharo-users] NSGA II Genetic algorithm in SmallTalk/Pharo

2015-12-13 Thread abdelghani ALIDRA
Done : https://groups.google.com/forum/#!topic/scismalltalk/PYgp3UPPdS8 CheersAbdelghani De : Serge Stinckwich À : abdelghani ALIDRA ; Any question about pharo is welcome Cc : Gustavo Santos Envoyé le : Dimanche 13 décembre 2015 13h49 Objet : Re: [Pharo-users] NSGA II Genetic

[Pharo-users] NSGA II Genetic algorithm in SmallTalk/Pharo

2015-12-12 Thread abdelghani ALIDRA
Hi, Is there an implementation in Smalltalk/Pharo of the multiObjectives Genetic Algorithm NSGAII?I beleive Gustavo implemented a sort of multiobjective genetic algorithm but I am not sure it was NSGAII. Thanks in advance. Abdelghani

Re: [Pharo-users] catching exceptions

2015-11-26 Thread abdelghani ALIDRA
Hi Skip,  It is working fine for me Thank you.  Abdelghani De : Skip Lentz À : abdelghani ALIDRA ; Any question about pharo is welcome Envoyé le : Jeudi 26 novembre 2015 13h38 Objet : Re: [Pharo-users] catching exceptions Hi, you can use BlockClosure>>on:do:, lik

[Pharo-users] catching exceptions

2015-11-26 Thread abdelghani ALIDRA
Hi everyBody, I know there is some kind of exceptions handling mechanism  in Pharo but I cant  exactly  remember where to find it.Actually, I would like to execute specific code if atRandomis called on an empty Array or Collection.I probably can still override errorEmptyCollection but maybe there

Re: [Pharo-users] BitField

2015-11-19 Thread abdelghani ALIDRA
Thanks Stef. It Seems to be what I am looking for. Abdelghani En date de : Jeu 19.11.15, stepharo a écrit : Objet: Re: [Pharo-users] BitField À: "abdelghani ALIDRA" , "Any question about pharo is welcome" Date: Je

[Pharo-users] Array : very weird behavior

2015-11-19 Thread abdelghani ALIDRA
Hi everybody, I am experiencing a very weird behavior with Arrays : I writed a test case as follows ; testChange | bitArray1 | bitArray1 := #(0 0 0 0). (1 to: bitArray1 size) do: [ :index ||temp| temp := (bitArray1 at: index) + 1. bitArray1 at: index put: (temp). ]. self assert: bitArray1 = #(

[Pharo-users] BitField

2015-11-16 Thread abdelghani ALIDRA
Hi everybody, I was discussing with Thibault about the performance of some methods defined on sets ( actually quite slow for big collections, mainly union: and intersection: ) and we were wondering if there is any implementation of some BitField-like class to speed up these operations? May be in

Re: [Pharo-users] Very sad day for the world

2015-11-15 Thread abdelghani ALIDRA
Israeli women and children. Oh, really? If we can't trust Imams to promote non-violence and the Ummah is required to step up, it all rests on the Mu'minoon picking up weapons against these Quranic terrorists and actively sending these Munafiqoon to Jahannam. Peace to Paris, Robert

Re: [Pharo-users] Very sad day for the world

2015-11-15 Thread abdelghani ALIDRA
Indeed, This is a very sad day.I sincerly sympathize with people of France.In Algeria, we have known such barbarian actions in the 90's (and much more unfortunately, may you be preserved)But today we got rid of it. And I hope France will do too. In fact, I am quite sure it will.  I finaly would

Re: [Pharo-users] Transcrip Show: in a loop

2015-11-13 Thread abdelghani ALIDRA
Yes, the benchmark object is a nice idea. I just did not know about it Thanks to all  Abdelghani. De : Sven Van Caekenberghe À : Any question about pharo is welcome Cc : abdelghani ALIDRA Envoyé le : Vendredi 13 novembre 2015 14h32 Objet : Re: [Pharo-users] Transcrip Show: in a loop

Re: [Pharo-users] Transcrip Show: in a loop

2015-11-13 Thread abdelghani ALIDRA
Thanks Vincent,  flush does not seem to work but I think I am going to use bench. Abdelghani De : Blondeau Vincent À : abdelghani ALIDRA ; Any question about pharo is welcome Envoyé le : Vendredi 13 novembre 2015 10h37 Objet : RE: [Pharo-users] Transcrip Show: in a loop

[Pharo-users] Transcrip Show: in a loop

2015-11-13 Thread abdelghani ALIDRA
Hi all, In order to monitor my program performance, I am using Transcrip>>show as follows ; 10 timesRepeat:[    aLongComputation.     Transcript show: 'some message'.     ] The thing is that the messages are not shown one after another but all together after the loop is finished, unless I put a

Re: [Pharo-users] an elegant way to return a result

2015-07-03 Thread abdelghani ALIDRA
Hi, There is also this book : Clean Code: A Handbook of Agile Software Craftsmanship Some of you probably already knew about it, still it is good to recall :) Abdelghani |   | |   | |   |   |   |   |   | | Clean Code: A Handbook of Agile Software CraftsmanshipBook by Martin Robert C | | | | Aff

Re: [Pharo-users] an elegant way to return a result

2015-06-30 Thread abdelghani ALIDRA
Thanks eveybody, ^ something aMsg ifNotNil: [ aNotherResult ]is much more prety indded :) Abdelghani De : Peter Uhnák À : abdelghani ALIDRA ; Any question about pharo is welcome Envoyé le : Mardi 30 juin 2015 13h26 Objet : Re: [Pharo-users] an elegant way to return a result No

[Pharo-users] an elegant way to return a result

2015-06-30 Thread abdelghani ALIDRA
Hi guys, what is the best way to express the following :return (something aMsg) if it is not nil, return somethingElse elsewhere I could stil write: something aMsg ifNil:[^ something aMsg]ifNotNil:[^aNotherResult] but it sounds a little bit weird Regards. Abdelghani

[Pharo-users] adding an element to an empty array

2015-06-29 Thread abdelghani ALIDRA
Hi guys, Is there any way to add an element to an empty array (must not use new: anElement)? Cheers

Re: [Pharo-users] Moose

2015-06-24 Thread abdelghani ALIDRA
metrics and visualisations and better understand the code :) Abdelghani   De : Alexandre Bergel À : abdelghani ALIDRA Envoyé le : Mercredi 24 juin 2015 17h03 Objet : Re: [Pharo-users] Moose Hi! No, we do not have a particular description of the text file. This was made in a very ad

Re: [Pharo-users] Moose

2015-06-23 Thread abdelghani ALIDRA
Ok. Thanks a lot. Abdelghani De : Tudor Girba À : abdelghani ALIDRA Cc : Any question about pharo is welcome Envoyé le : Mardi 23 juin 2015 13h51 Objet : Re: [Pharo-users] Moose You do not have to return anything if you do not have any information. FAMIXAssociation already does

Re: [Pharo-users] Moose

2015-06-23 Thread abdelghani ALIDRA
Thank you Tudor, Yes, it makes sence.Then I suppose that I just return nil if I dont want to display the previous and next information. Regards De : Tudor Girba À : abdelghani ALIDRA ; Any question about pharo is welcome Envoyé le : Lundi 22 juin 2015 21h25 Objet : Re: [Pharo-users

[Pharo-users] Moose

2015-06-22 Thread abdelghani ALIDRA
Hi everybody, when working with the FAMIX meta model, one must implement the previous, next, from and to methods for each class extending FAMIXAssosiation. What is the diffence between previous/from and next/to?if I make MyFamixClass>>from^previousthe same information is displayed twice in the Mo

[Pharo-users] Ring Vs Ficus

2015-06-06 Thread abdelghani ALIDRA
Hi Guys, I believe the Ring metamodel has been proposed 4 or 5 years earlier. Is it acctually in use in the current pharo tools? which ones? I have been told that Martin has develloped a different model : Ficus What are the limitations that Martin tried to fixed?What can be further unhanced? Than