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 <alexandre.ber...@me.com> À : abdelghani ALIDRA <alidran...@yahoo.fr>; Any question about pharo is welcome <pharo-users@lists.pharo.org> Envoyé le : Mercredi 21 février 2018 2h19 Objet : Re: [Ph

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 <stepharo.s...@gmail.com> À : abdelghani ALIDRA <alidran...@yahoo.fr>; Any question about pharo is welcome <pharo-users@lists.pharo.org> En

[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 <i.uh...@gmail.com> a écrit : Objet: Re: [Pharo-users] Removing instance variables doesn't recompile the methods À: "Any question about pharo is welcome" <pharo-users@lists.pharo.org> Cc: "abdelghani ALIDRA" &l

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

2017-11-27 Thread abdelghani ALIDRA via Pharo-users
ods À: "abdelghani ALIDRA" <alidran...@yahoo.fr>, "Any question about pharo is welcome" <pharo-users@lists.pharo.org> Date: Lundi 27 novembre 2017, 6h03 Thanks for reporting Abdelghani.Now it would be doubly useful if you could isolate which build introduced

[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: [Pharo-users] Dynamically changing code in a safe way

2017-11-04 Thread abdelghani ALIDRA via Pharo-users
again, it won't start the new block 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, 20

[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].

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

2016-01-13 Thread abdelghani ALIDRA
Caekenberghe <s...@stfx.eu> À : abdelghani ALIDRA <alidran...@yahoo.fr>; Any question about pharo is welcome <pharo-users@lists.pharo.org> Envoyé le : Mardi 12 janvier 2016 7h35 Objet : Re: [Pharo-users] Failling Tests are green if BlockCannotReturn exception > On

[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

[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

[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

[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 =

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 <steph...@free.fr> a écrit : Objet: Re: [Pharo-users] BitField À: "abdelghani ALIDRA" <alidran...@yahoo.fr>, &qu

[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

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

2015-11-15 Thread abdelghani ALIDRA
Paris, Robert On 11/15/2015 04:23 AM, abdelghani ALIDRA wrote: > > 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 tod

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 <vincent.blond...@worldline.com> À : abdelghani ALIDRA <alidran...@yahoo.fr>; Any question about pharo is welcome <pharo-users@lists.pharo.org> Envoy

[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] 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 <s...@stfx.eu> À : Any question about pharo is welcome <pharo-users@lists.pharo.org> Cc : abdelghani ALIDRA <alidran...@yahoo.fr> Envoyé le : Ve

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

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 i.uh...@gmail.com À : abdelghani ALIDRA alidran...@yahoo.fr; Any question about pharo is welcome pharo-users@lists.pharo.org Envoyé le : Mardi 30 juin 2015 13h26 Objet

[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 alexandre.ber...@me.com À : abdelghani ALIDRA alidran...@yahoo.fr Envoyé le : Mercredi 24 juin 2015 17h03 Objet : Re: [Pharo-users] Moose Hi! No, we do not have a particular description

Re: [Pharo-users] Moose

2015-06-23 Thread abdelghani ALIDRA
Ok. Thanks a lot. Abdelghani De : Tudor Girba tu...@tudorgirba.com À : abdelghani ALIDRA alidran...@yahoo.fr Cc : Any question about pharo is welcome pharo-users@lists.pharo.org Envoyé le : Mardi 23 juin 2015 13h51 Objet : Re: [Pharo-users] Moose You do not have to return anything

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 tu...@tudorgirba.com À : abdelghani ALIDRA alidran...@yahoo.fr; Any question about pharo is welcome pharo-users@lists.pharo.org

[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 MyFamixClassfrom^previousthe same information is displayed twice in the

[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?