Re: [Pharo-users] Please rejoin Discord
Because I posted a new link it was misinterpreted that the old one did not work which is not the case. Yeah changing it back to the old one is the right choice. I created the new one only for convenience but as I said we already have a ton of invite links. In any case the old one will remain and wont bet changed, unless Dicscord decides something stupid which I doubt will do because already too many people (outside our community) that use Discord depend on the invite links not to change and remain the same. So all is good :) On Sun, Mar 11, 2018 at 9:43 PM Stephane Ducassewrote: > Ok now I do not understand why the invite changed on the pharo web > site (and I do not like the here instead of the full name) because we > have to hover to get the information. > > On Sun, Mar 11, 2018 at 7:30 PM, Dimitris Chloupis > wrote: > > if you provide me the specific link of the invitation you are referring > to, > > I can verify it for you that has not changed > > > > Our server currently has 26 invites with no expiration date. 2 of them > are > > created by me. > > > > But yes if an invite is without expiration date it means it won't get > > deleted. > > > > The most likely scenario is that you are using an invite created by > Esteban > > (@Estebanlm), because it has been used 871 times. That invite has not > > changed and is the invite ending with "Sj2rhxn" and indeed it has no > > expiration date, which means it will "never" change. Neither any other of > > the 26 invites. > > > > > > > > > > On Sun, Mar 11, 2018 at 8:07 PM Stephane Ducasse < > stepharo.s...@gmail.com> > > wrote: > >> > >> did the invitation changed? > >> Because we will have to update books flyers and others. > >> So is there a way to keep the invitation link stable? > >> > >> Stef > >> > >> 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 > >> > 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 exploring all possible > >> > threats to make sure this never happens again. > >> > > > >
[Pharo-users] feenk log
Hi, Here is an update of the work on Bloc, Brick and GT. As always, please do let us know what you think. Bloc: - Improved the deletion in the text editor and covered the scenarios with examples - Worked on the text selection. Still work needed for selection to be production ready: https://twitter.com/feenkcom/status/969183393547259905 - Balanced rope structure for even better performance of the editor. Overall, the performance of the text editor improved 2x. https://twitter.com/feenkcom/status/971009488789516288 - Selectable curves: https://twitter.com/feenkcom/status/967690664589910016 Brick: - Resizer overlay. The tweet below also shows how we can now easily script dragging behavior in examples: https://twitter.com/feenkcom/status/971990195011690496 GToolkit: - Diagrammer is a new engine for drawing diagrams based on Bloc. This is the first version, and we will continue working on it in the following weeks, so stay tuned for more news. This is also one of the first Bloc applications: https://twitter.com/feenkcom/status/972243179599794180 - Andrei put together a beautiful description of a scenario in which an application is molded interactively in the Playground & Inspector. The subject is face recognition, and the resulting code is both functional and explainable. This is intended as a tutorial material that shows what moldable development means and how it changes the way we program: https://twitter.com/feenkcom/status/972907051448979458 Have fun, The feenk team www.feenk.com -- www.tudorgirba.com www.feenk.com "To utilize feedback, you first have to acquire it."
Re: [Pharo-users] Please rejoin Discord
Ok I changed the community web page to point to http://discord.gg/Sj2rhxn as in the flyer and other documents. On Sun, Mar 11, 2018 at 8:42 PM, Stephane Ducassewrote: > Ok now I do not understand why the invite changed on the pharo web > site (and I do not like the here instead of the full name) because we > have to hover to get the information. > > On Sun, Mar 11, 2018 at 7:30 PM, Dimitris Chloupis > wrote: >> if you provide me the specific link of the invitation you are referring to, >> I can verify it for you that has not changed >> >> Our server currently has 26 invites with no expiration date. 2 of them are >> created by me. >> >> But yes if an invite is without expiration date it means it won't get >> deleted. >> >> The most likely scenario is that you are using an invite created by Esteban >> (@Estebanlm), because it has been used 871 times. That invite has not >> changed and is the invite ending with "Sj2rhxn" and indeed it has no >> expiration date, which means it will "never" change. Neither any other of >> the 26 invites. >> >> >> >> >> On Sun, Mar 11, 2018 at 8:07 PM Stephane Ducasse >> wrote: >>> >>> did the invitation changed? >>> Because we will have to update books flyers and others. >>> So is there a way to keep the invitation link stable? >>> >>> Stef >>> >>> 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 >>> > 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 exploring all possible >>> > threats to make sure this never happens again. >>> >>
Re: [Pharo-users] Please rejoin Discord
Ok now I do not understand why the invite changed on the pharo web site (and I do not like the here instead of the full name) because we have to hover to get the information. On Sun, Mar 11, 2018 at 7:30 PM, Dimitris Chloupiswrote: > if you provide me the specific link of the invitation you are referring to, > I can verify it for you that has not changed > > Our server currently has 26 invites with no expiration date. 2 of them are > created by me. > > But yes if an invite is without expiration date it means it won't get > deleted. > > The most likely scenario is that you are using an invite created by Esteban > (@Estebanlm), because it has been used 871 times. That invite has not > changed and is the invite ending with "Sj2rhxn" and indeed it has no > expiration date, which means it will "never" change. Neither any other of > the 26 invites. > > > > > On Sun, Mar 11, 2018 at 8:07 PM Stephane Ducasse > wrote: >> >> did the invitation changed? >> Because we will have to update books flyers and others. >> So is there a way to keep the invitation link stable? >> >> Stef >> >> 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 >> > 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 exploring all possible >> > threats to make sure this never happens again. >> >
Re: [Pharo-users] Please rejoin Discord
I used the old one after being kicked. It worked. Cheers, Cedrick > Le 11 mars 2018 à 19:30, Dimitris Chloupisa écrit : > > if you provide me the specific link of the invitation you are referring to, I > can verify it for you that has not changed > > Our server currently has 26 invites with no expiration date. 2 of them are > created by me. > > But yes if an invite is without expiration date it means it won't get > deleted. > > The most likely scenario is that you are using an invite created by Esteban > (@Estebanlm), because it has been used 871 times. That invite has not changed > and is the invite ending with "Sj2rhxn" and indeed it has no expiration date, > which means it will "never" change. Neither any other of the 26 invites. > > > > >> On Sun, Mar 11, 2018 at 8:07 PM Stephane Ducasse >> wrote: >> did the invitation changed? >> Because we will have to update books flyers and others. >> So is there a way to keep the invitation link stable? >> >> Stef >> >> 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 >> > 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 exploring all possible >> > threats to make sure this never happens again. >>
Re: [Pharo-users] Please rejoin Discord
if you provide me the specific link of the invitation you are referring to, I can verify it for you that has not changed Our server currently has 26 invites with no expiration date. 2 of them are created by me. But yes if an invite is without expiration date it means it won't get deleted. The most likely scenario is that you are using an invite created by Esteban (@Estebanlm), because it has been used 871 times. That invite has not changed and is the invite ending with "Sj2rhxn" and indeed it has no expiration date, which means it will "never" change. Neither any other of the 26 invites. On Sun, Mar 11, 2018 at 8:07 PM Stephane Ducassewrote: > did the invitation changed? > Because we will have to update books flyers and others. > So is there a way to keep the invitation link stable? > > Stef > > 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 > 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 exploring all possible > > threats to make sure this never happens again. > >
Re: [Pharo-users] About validation
Stéphane Ducasse wrote > Now does anybody implemented in Pharo the SUnit extension? Sorry I missed this and just found it while porting my implementation to GH: https://github.com/seandenigris/Validation-Revisited HTH - Cheers, Sean -- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
Re: [Pharo-users] Please rejoin Discord
did the invitation changed? Because we will have to update books flyers and others. So is there a way to keep the invitation link stable? Stef On Sat, Mar 10, 2018 at 11:48 AM, Dimitris Chloupiswrote: > 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 exploring all possible > threats to make sure this never happens again.
Re: [Pharo-users] How do I ask the FileSystem to resolve a relative path?
Hi Hannes, On 11 March 2018 at 17:49, H. Hirzelwrote: > The first solution given by Sven works fine. > > dir := FileSystem workingDirectory / '..' / 'public'. > dir ensureCreateDirectory. > (dir / 'myFile.txt') writeStreamDo: [ :out | out << 'Hello World!' ]. > > > The second version > > obj := (FileSystem workingDirectory / '..' / 'public' / 'testing' > / 'test2.txt') ensureCreateFile. > obj writeStream > > gives a #streamError in the class FileHandle. This is for Pharo 6.1 I don't get any error in 6.1 or 7.0. Maybe supply a call stack? In case you aren't familiar with this, the debugger has a little hamburger menu button to the right of "Through" which has "Copy Stack to Clipboard". Cheers, Alistair
Re: [Pharo-users] How do I ask the FileSystem to resolve a relative path?
The first solution given by Sven works fine. dir := FileSystem workingDirectory / '..' / 'public'. dir ensureCreateDirectory. (dir / 'myFile.txt') writeStreamDo: [ :out | out << 'Hello World!' ]. The second version obj := (FileSystem workingDirectory / '..' / 'public' / 'testing' / 'test2.txt') ensureCreateFile. obj writeStream gives a #streamError in the class FileHandle. This is for Pharo 6.1 On 3/11/18, Sven Van Caekenberghewrote: > > >> On 11 Mar 2018, at 10:39, john pfersich wrote: >> >> or try >> >> dir := (FileSystem workingDirectory / '..' / 'public' / 'testing' / >> 'test2.txt') ensureCreateFile. >> dir writeStream. > > Indeed! > >> On Sun, Mar 11, 2018 at 1:16 AM, Sven Van Caekenberghe >> wrote: >> >> >> > On 11 Mar 2018, at 09:42, H. Hirzel wrote: >> > >> > Hello >> > >> > This is a follow up question to 'How do I make sure a directory >> > exists?' >> > >> > The answer to that question was >> > >> > dir := FileSystem workingDirectory / '..' / 'public'. >> > dir ensureCreateDirectory. >> > >> > >> > Now I want to create a writeStream. >> > >> > dir writeStream >> > >> > gives 'Unable to open file' >> >> You want to write to a directory ? >> >> You probably mean >> >> dir := FileSystem workingDirectory / '..' / 'public'. >> dir ensureCreateDirectory. >> (dir / 'foo.txt') writeStreamDo: [ :out | out << 'bar' ]. >> >> You are probably also looking for >> >> dir canonicalize. >> (dir / 'foo.txt') canonicalize. >> >> > It seems that I need to ask to resolve the relative path first. >> > How does the proper code idiom look like? >> > >> > >> > Regards >> > >> > Hannes >> > >> >> >> > > >
Re: [Pharo-users] How do I ask the FileSystem to resolve a relative path?
> On 11 Mar 2018, at 10:39, john pfersichwrote: > > or try > > dir := (FileSystem workingDirectory / '..' / 'public' / 'testing' / > 'test2.txt') ensureCreateFile. > dir writeStream. Indeed! > On Sun, Mar 11, 2018 at 1:16 AM, Sven Van Caekenberghe wrote: > > > > On 11 Mar 2018, at 09:42, H. Hirzel wrote: > > > > Hello > > > > This is a follow up question to 'How do I make sure a directory exists?' > > > > The answer to that question was > > > > dir := FileSystem workingDirectory / '..' / 'public'. > > dir ensureCreateDirectory. > > > > > > Now I want to create a writeStream. > > > > dir writeStream > > > > gives 'Unable to open file' > > You want to write to a directory ? > > You probably mean > > dir := FileSystem workingDirectory / '..' / 'public'. > dir ensureCreateDirectory. > (dir / 'foo.txt') writeStreamDo: [ :out | out << 'bar' ]. > > You are probably also looking for > > dir canonicalize. > (dir / 'foo.txt') canonicalize. > > > It seems that I need to ask to resolve the relative path first. > > How does the proper code idiom look like? > > > > > > Regards > > > > Hannes > > > > >
Re: [Pharo-users] How do I ask the FileSystem to resolve a relative path?
or try dir := (FileSystem workingDirectory / '..' / 'public' / 'testing' / 'test2.txt') ensureCreateFile. dir writeStream. On Sun, Mar 11, 2018 at 1:16 AM, Sven Van Caekenberghewrote: > > > > On 11 Mar 2018, at 09:42, H. Hirzel wrote: > > > > Hello > > > > This is a follow up question to 'How do I make sure a directory exists?' > > > > The answer to that question was > > > > dir := FileSystem workingDirectory / '..' / 'public'. > > dir ensureCreateDirectory. > > > > > > Now I want to create a writeStream. > > > > dir writeStream > > > > gives 'Unable to open file' > > You want to write to a directory ? > > You probably mean > > dir := FileSystem workingDirectory / '..' / 'public'. > dir ensureCreateDirectory. > (dir / 'foo.txt') writeStreamDo: [ :out | out << 'bar' ]. > > You are probably also looking for > > dir canonicalize. > (dir / 'foo.txt') canonicalize. > > > It seems that I need to ask to resolve the relative path first. > > How does the proper code idiom look like? > > > > > > Regards > > > > Hannes > > > > >
Re: [Pharo-users] How do I make sure a directory exists?
Works on Ubuntu 16.04 Sent from my iPhone Encrypted email at jgpfers...@protonmail.com > On Mar 10, 2018, at 12:38, Cyril Ferlicotwrote: > > >> 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 >> >> FileSystem disk workingDirectory / '../public' ensureCreateDirectory >> >> does not work as >> >> FileSystem disk workingDirectory / '../public' > > Try `(FileSystem workingDirectory / '..' / 'public') ensureCreateDirectory` > >> >> is an instance of ByteStream. Seemingly there is no conversion to a >> directory object. >> >> I wonder what is needed in addition? >> >> >> >> >> >> >> >> On 3/10/18, Cyril Ferlicot wrote: >> > 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" >> >> >> >> >> >> What is the equivalent Pharo method? BTW is there a cheat sheet for >> >> FileSystem operations in Pharo? >> >> >> > >> > Hi, >> > >> > 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. >> > >> > >> >> Thanks in advance >> >> Hannes >> >> >> >> >> >> >> >> - >> >> [1] http://wiki.squeak.org/squeak/6333 >> >> >> >> https://github.com/mumez/FileMan >> >> >> >> FileMan provides an API to file and directory tasks. >> >> FileMan is a thin wrapper for various Smalltalk file libraries. It >> >> provides simple, portable interfaces for manipulating files and >> >> directories. >> >> ... >> >> Since 2015 FileMan is the default file library in Cuis Smalltalk. >> >> >> >> -- >> > Cyril Ferlicot >> > https://ferlicot.fr >> > >> > http://www.synectique.eu >> > 2 rue Jacques Prévert 01, >> > 59650 Villeneuve d'ascq France >> > >> > -- > Cyril Ferlicot > https://ferlicot.fr > > http://www.synectique.eu > 2 rue Jacques Prévert 01, > 59650 Villeneuve d'ascq France
Re: [Pharo-users] How do I ask the FileSystem to resolve a relative path?
> On 11 Mar 2018, at 09:42, H. Hirzelwrote: > > Hello > > This is a follow up question to 'How do I make sure a directory exists?' > > The answer to that question was > > dir := FileSystem workingDirectory / '..' / 'public'. > dir ensureCreateDirectory. > > > Now I want to create a writeStream. > > dir writeStream > > gives 'Unable to open file' You want to write to a directory ? You probably mean dir := FileSystem workingDirectory / '..' / 'public'. dir ensureCreateDirectory. (dir / 'foo.txt') writeStreamDo: [ :out | out << 'bar' ]. You are probably also looking for dir canonicalize. (dir / 'foo.txt') canonicalize. > It seems that I need to ask to resolve the relative path first. > How does the proper code idiom look like? > > > Regards > > Hannes >
[Pharo-users] How do I ask the FileSystem to resolve a relative path?
Hello This is a follow up question to 'How do I make sure a directory exists?' The answer to that question was dir := FileSystem workingDirectory / '..' / 'public'. dir ensureCreateDirectory. Now I want to create a writeStream. dir writeStream gives 'Unable to open file' It seems that I need to ask to resolve the relative path first. How does the proper code idiom look like? Regards Hannes