Re: [Pharo-users] How do I make sure a directory exists?

2018-03-10 Thread Cyril Ferlicot
On sam. 10 mars 2018 at 21:49, H. Hirzel wrote: > I note that 'workingDirectory' is the directory where Pharo is > launched from. In my case it happens to be the same where the image is > in but that cannot be assumed generally. The fact that "workingDirectory" point

Re: [Pharo-users] How do I make sure a directory exists?

2018-03-10 Thread H. Hirzel
I note that 'workingDirectory' is the directory where Pharo is launched from. In my case it happens to be the same where the image is in but that cannot be assumed generally. So (FileSystem workingDirectory / '..' / 'public') ensureCreateDirectory Worked fine. Thanks to all! --Hannes

Re: [Pharo-users] How do I make sure a directory exists?

2018-03-10 Thread Peter Uhnák
Operator priority :); unary messages `#ensureCreateDirectory have precedence over binary `#/` (FileSystem disk workingDirectory / '../public') ensureCreateDirectory. Also please note that the workingDirectory should be based on where Pharow as launched from, if you are looking for the image

Re: [Pharo-users] How do I make sure a directory exists?

2018-03-10 Thread Cyril Ferlicot
On sam. 10 mars 2018 at 21:36, H. Hirzel wrote: > Yes, #ensureCreateDirectory is available. > > I'd like to make sure a directory 'public' is available as a sibling > directory of the working directory (the directory where the Pharo > image is in) > > However > >

Re: [Pharo-users] How do I make sure a directory exists?

2018-03-10 Thread H. Hirzel
Yes, #ensureCreateDirectory is available. I'd like to make sure a directory 'public' is available as a sibling directory of the working directory (the directory where the Pharo image is in) However FileSystem disk workingDirectory / '../public' ensureCreateDirectory does not work as

Re: [Pharo-users] How do I make sure a directory exists?

2018-03-10 Thread Peter Uhnák
> > There is #ensureCreateDirectory in Pharo but I don't know if it will check > the parents exists. (And I don't have a Pharo image to check. > It will, at least on Windows. Peter

Re: [Pharo-users] How do I make sure a directory exists?

2018-03-10 Thread Cyril Ferlicot
On sam. 10 mars 2018 at 21:02, H. Hirzel wrote: > Hello > > In Squeak and the dialect independent FileMan [1] there is > > > FileDirectory >assureExistence > "Make sure the current directory exists. If necessary, create > all > parts in between" >

Re: [Pharo-users] How do I make sure a directory exists?

2018-03-10 Thread Sven Van Caekenberghe
Probably #ensureCreateDirectory > On 10 Mar 2018, at 21:01, H. Hirzel wrote: > > Hello > > In Squeak and the dialect independent FileMan [1] there is > > >FileDirectory > assureExistence > "Make sure the current directory exists. If necessary,

[Pharo-users] How do I make sure a directory exists?

2018-03-10 Thread H. Hirzel
Hello In Squeak and the dialect independent FileMan [1] there is FileDirectory assureExistence "Make sure the current directory exists. If necessary, create all parts in between" What is the equivalent Pharo method? BTW is there a cheat sheet for FileSystem operations

Re: [Pharo-users] Please rejoin Discord

2018-03-10 Thread Dimitris Chloupis
Hmm thats weird that you guys lost your admin roles, but not entirely, maybe the hack is responsible, no problem will add you back. I removed the authorisation of any third party apps and I am closing any potential security hole. I think I got them all covered but will stick around and keep

Re: [Pharo-users] Please rejoin Discord

2018-03-10 Thread p...@highoctane.be
Same here, no more admin On Sat, Mar 10, 2018 at 12:15 PM, Clément Bera wrote: > I think the roles got changed I am no longer admin (Note that it does not > really matter since I did not do much admin work but still) > > On Sat, Mar 10, 2018 at 11:48 AM, Dimitris

[Pharo-users] Fwd: [Pharo-dev] Please rejoin Discord

2018-03-10 Thread Esteban Lorenzano
yes, please rejoin Discord you too ;) > Begin forwarded message: > > From: Dimitris Chloupis > Subject: [Pharo-dev] Please rejoin Discord > Date: 10 March 2018 at 11:51:47 CET > To: Pharo Development List > Reply-To: Pharo Development List

Re: [Pharo-users] Please rejoin Discord

2018-03-10 Thread Clément Bera
I think the roles got changed I am no longer admin (Note that it does not really matter since I did not do much admin work but still) On Sat, Mar 10, 2018 at 11:48 AM, Dimitris Chloupis wrote: > Hey guys after my mistake we got "hacked" and someone banned all our >

Re: [Pharo-users] cancel changes in Nautilus broken on 6.1?

2018-03-10 Thread Ben Coman
On 10 March 2018 at 00:13, Siemen Baader wrote: > > > On Fri, Mar 9, 2018 at 8:02 AM, Ben Coman wrote: > >> thx for looking into this. half way there ;) >> do you have the Pharo build numbers that match these Nautilus versions? >> > > I don't.

[Pharo-users] Please rejoin Discord

2018-03-10 Thread Dimitris Chloupis
Hey guys after my mistake we got "hacked" and someone banned all our members in Discord I have revoked all the bans but you will have to rejoin . Existing join links are still valid , if you dont have one here is one https://discord.gg/gtKeHne My apologies for this inconvenience, I am still

Re: [Pharo-users] Ever growing image

2018-03-10 Thread Hilaire
Le 06/03/2018 à 11:55, Guillermo Polito a écrit : In any case, I only wanted to say that it is unfair to say that Pharo is big when "you only load your packages". And I feel that's not true, if you're using the graphical environment, you need display, bitblt, morphic, widgets. As soon as you