[Pharo-users] 1st CFP: SLE 2016 (9th ACM SIGPLAN International Conference on Software Language Engineering)

2016-04-26 Thread Andrei Chis
**Call for Papers** 9th ACM SIGPLAN International Conference on Software Language Engineering (SLE 2016) Oct 31-Nov 1, 2016, Amsterdam, Netherlands (Co-located with SPLASH 2016) General chair: Tijs van der Storm, CWI,

Re: [Pharo-users] Messages interceptions without using "halt"

2016-04-26 Thread Denis Kudriashov
But if you want new message send logic only for your registered objects then you can use Ghost for this. It provides some infrastructure to implement such strange objects 2016-04-26 15:30 GMT+02:00 Denis Kudriashov : > Hi > > 2016-04-26 14:39 GMT+02:00 Steven Costiou : > >> Hello, >> >> i am not

Re: [Pharo-users] Messages interceptions without using "halt"

2016-04-26 Thread Thierry Goubier
2016-04-26 15:07 GMT+02:00 Esteban Lorenzano : > it is not what MetaLinks are for? > I think is easier than Ghost nowadays… but not sure :) > > look at > > ReflectivityControlTest>>testBeforeSend > > seems to be installing an interception “before send”, who is what you are > asking for. > It depe

Re: [Pharo-users] Messages interceptions without using "halt"

2016-04-26 Thread Steven Costiou
Thank you ! I will look into these possibilities =) Steven.

Re: [Pharo-users] Messages interceptions without using "halt"

2016-04-26 Thread Denis Kudriashov
Hi 2016-04-26 14:39 GMT+02:00 Steven Costiou : > Hello, > > i am not new to Pharo nor to the list but this is the first time i speak > here, so : hi =) > > > > I started a phd a few month ago (with Alain Plantec) on context oriented > programming and dynamic programs adaptation. I am using Pharo

Re: [Pharo-users] Messages interceptions without using "halt"

2016-04-26 Thread Esteban Lorenzano
it is not what MetaLinks are for? I think is easier than Ghost nowadays… but not sure :) look at ReflectivityControlTest>>testBeforeSend seems to be installing an interception “before send”, who is what you are asking for. Esteban ps: but I might be wrong… Marcus can explain better :) > On

Re: [Pharo-users] Messages interceptions without using "halt"

2016-04-26 Thread Thierry Goubier
Hi Steven, 2016-04-26 14:39 GMT+02:00 Steven Costiou : > Hello, > > i am not new to Pharo nor to the list but this is the first time i speak > here, so : hi =) > > > > I started a phd a few month ago (with Alain Plantec) on context oriented > programming and dynamic programs adaptation. I am usin

[Pharo-users] Messages interceptions without using "halt"

2016-04-26 Thread Steven Costiou
Hello, i am not new to Pharo nor to the list but this is the first time i speak here, so : hi =) I started a phd a few month ago (with Alain Plantec) on context oriented programming and dynamic programs adaptation. I am using Pharo for my experiments and i would like to intercept messages sent

Re: [Pharo-users] ensureCreateFile

2016-04-26 Thread Valentin Ryckewaert
I sent a new slice, check it and say me if it's ok for you :) 2016-04-26 11:51 GMT+02:00 Sven Van Caekenberghe : > > > On 26 Apr 2016, at 11:49, Cyril Ferlicot Delbecque < > cyril.ferli...@gmail.com> wrote: > > > > > > > > On 26/04/2016 11:31, Valentin Ryckewaert wrote: > >> I used this because h

Re: [Pharo-users] ensureCreateFile

2016-04-26 Thread Sven Van Caekenberghe
> On 26 Apr 2016, at 11:49, Cyril Ferlicot Delbecque > wrote: > > > > On 26/04/2016 11:31, Valentin Ryckewaert wrote: >> I used this because here it's the folder which doesn't exist so I didn't >> know if FileDoesNotExist were a good idea, here it's as you want. >> > > In fact I did not see

Re: [Pharo-users] ensureCreateFile

2016-04-26 Thread Sven Van Caekenberghe
Why not make a subclass of FileDoesNotExist, DirectoryDoesNotExist - it is almost the same, but more specific. Good exceptions are really important. > On 26 Apr 2016, at 11:44, Cyril Ferlicot Delbecque > wrote: > > > > On 26/04/2016 11:31, Valentin Ryckewaert wrote: >> I used this because h

Re: [Pharo-users] ensureCreateFile

2016-04-26 Thread Cyril Ferlicot Delbecque
On 26/04/2016 11:31, Valentin Ryckewaert wrote: > I used this because here it's the folder which doesn't exist so I didn't > know if FileDoesNotExist were a good idea, here it's as you want. > In fact I did not see but there is also a DirectoryDoesNotExist :) -- Cyril Ferlicot http://www.syn

Re: [Pharo-users] ensureCreateFile

2016-04-26 Thread Cyril Ferlicot Delbecque
On 26/04/2016 11:31, Valentin Ryckewaert wrote: > I used this because here it's the folder which doesn't exist so I didn't > know if FileDoesNotExist were a good idea, here it's as you want. > In Unix (at least) a directory is a file. I don't know if it's the same in Windows. So in my opinion i

Re: [Pharo-users] ensureCreateFile

2016-04-26 Thread Valentin Ryckewaert
I used this because here it's the folder which doesn't exist so I didn't know if FileDoesNotExist were a good idea, here it's as you want. 2016-04-26 11:24 GMT+02:00 Cyril Ferlicot Delbecque < cyril.ferli...@gmail.com>: > > > On 26/04/2016 10:34, Valentin Ryckewaert wrote: > > Hi ! > > > > I made

Re: [Pharo-users] ensureCreateFile

2016-04-26 Thread Cyril Ferlicot Delbecque
On 26/04/2016 10:34, Valentin Ryckewaert wrote: > Hi ! > > I made this if it's ok for you i'll post it on fogbugs : > > AbstractFileReference > createFile > "Create if necessary a file for the receiver. If the parent does not > exist return an exception" > self parent ensureCreateDirectory. > s

Re: [Pharo-users] [ANN] Genetic Algorithm is available from the Catalog

2016-04-26 Thread Cédrick Béler
I think this is GeneticAlgorithm ^^ Cheers, Cedrik Envoyé de mon iPhone > Le 26 avr. 2016 à 10:22, Serge Stinckwich a > écrit : > > Cool but without name this is maybe difficult to find :-) > > On Mon, Apr 25, 2016 at 10:10 PM, Alexandre Bergel > wrote: >> Hi! >> >> I did a bit of programm

Re: [Pharo-users] ensureCreateFile

2016-04-26 Thread Valentin Ryckewaert
Hi, https://pharo.fogbugz.com/f/cases/18084/FileReference-EnsureCreateFile the issue report I just corrected it in the slice Peter, sorry for my mistake. 2016-04-26 10:34 GMT+02:00 Valentin Ryckewaert < valentin.ryckewa...@gmail.com>: > Hi ! > > I made this if it's ok for you i'll post it on fo

Re: [Pharo-users] ensureCreateFile

2016-04-26 Thread Denis Kudriashov
2016-04-26 10:34 GMT+02:00 Valentin Ryckewaert < valentin.ryckewa...@gmail.com>: > createFile > "Create if necessary a file for the receiver. If the parent does not > exist return an exception" > self parent ensureCreateDirectory. > self writeStream close. > But it is wrong? It same as ensureCrea

Re: [Pharo-users] ensureCreateFile

2016-04-26 Thread Peter Uhnák
> > > AbstractFileReference > createFile > "Create if necessary a file for the receiver. If the parent does not > exist return an exception" > self parent ensureCreateDirectory. > self writeStream close. > > ensureCreateFile > "Create if necessary a file for the receiver. If the parent does not > e

Re: [Pharo-users] ensureCreateFile

2016-04-26 Thread Valentin Ryckewaert
Hi ! I made this if it's ok for you i'll post it on fogbugs : AbstractFileReference createFile "Create if necessary a file for the receiver. If the parent does not exist return an exception" self parent ensureCreateDirectory. self writeStream close. createDirectory "Verifies that the directory do

Re: [Pharo-users] [ANN] Genetic Algorithm is available from the Catalog

2016-04-26 Thread Serge Stinckwich
Cool but without name this is maybe difficult to find :-) On Mon, Apr 25, 2016 at 10:10 PM, Alexandre Bergel wrote: > Hi! > > I did a bit of programming… A genetic algorithm is available from the Catalog. > > Cheers, > Alexandre > -- > _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: > Alexandre