Re: [Pharo-users] mentor question 4

2020-05-15 Thread Richard O'Keefe
PS: I should make it clear that I do not expect anArray asString to work for *all* arrays. In my Smalltalk, #(true false) asString raises an exception, and so does #(65 66 67) asString. On Sat, 16 May 2020 at 00:42, Richard O'Keefe wrote: > Why does it make no sense? > To a first

Re: [Pharo-users] mentor question 4

2020-05-15 Thread Richard O'Keefe
Why does it make no sense? To a first approximation, aCollection asWHATEVER = WHATEVER withAll: aCollection Consider 'CAB' asSet 'CAB' asArray 'CAB' asSortedCollection 'CAB' asBag and so on. They all mean "an instance of the class named in the selector with the elements of the receiver."

Re: [Pharo-users] Deleting images / saving as - in Pharo Launcher auncher

2020-05-15 Thread Cédrick Béler
And thanks you for supporting it and describing it better :) This is an addition I hacked but I lost the code ^^ (was really hacks). I’m pretty sure that would be easy to implement for « core dev » . Basically, this is another save as, maybe « save version » ? Then the "save as » should be

Re: [Pharo-users] ifCurtailed prompts debug window

2020-05-15 Thread Vitor Medina Cruz
Thanks! I will use on:do: so. On Fri, May 15, 2020 at 2:12 PM Richard Sargent < richard.sarg...@gemtalksystems.com> wrote: > On Fri, May 15, 2020 at 10:00 AM Vitor Medina Cruz > wrote: > >> Hello, >> >> On Windows 10 and Pharo 8, If I do: >> >> [ Error signal ] ifCurtailed: [ Transcript show:

Re: [Pharo-users] ifCurtailed prompts debug window

2020-05-15 Thread Richard Sargent
On Fri, May 15, 2020 at 10:00 AM Vitor Medina Cruz wrote: > Hello, > > On Windows 10 and Pharo 8, If I do: > > [ Error signal ] ifCurtailed: [ Transcript show: 'error' ]. > > the debug window pops up, when I close, 'error' is print in the > Transcript. If I do > That is correct. It isn't

Re: [Pharo-users] mentor question 4

2020-05-15 Thread Ben Coman
On Fri, 15 May 2020 at 20:43, Richard O'Keefe wrote: > Why does it make no sense? > To a first approximation, > aCollection asWHATEVER > = > WHATEVER withAll: aCollection > > Consider > 'CAB' asSet > 'CAB' asArray > 'CAB' asSortedCollection > 'CAB' asBag > and so on. They all mean "an

Re: [Pharo-users] [ANN] What are good reasons to use Smalltalk?

2020-05-15 Thread horrido
You are quite right. How did I manage to miss that?!! Richard Sargent wrote > You missed the fact that it makes it easier to communicate with the user > community, since it's a "near-English" grammar, and you can easily use a > common terminology. > > > On Wed, May 13, 2020, 12:43 Richard

[Pharo-users] ifCurtailed prompts debug window

2020-05-15 Thread Vitor Medina Cruz
Hello, On Windows 10 and Pharo 8, If I do: [ Error signal ] ifCurtailed: [ Transcript show: 'error' ]. the debug window pops up, when I close, 'error' is print in the Transcript. If I do [ Error signal ] on: Error do: [ Transcript show: 'error' ]. 'error' is print in Transcript without debug

Re: [Pharo-users] [ANN] What are good reasons to use Smalltalk?

2020-05-15 Thread Vitor Medina Cruz
You should make something similar but inverted, like: Why do you think Smalltalk should not be used? --or What are the problems you have that prevents you of using Smalltalk? I have seen many such posts of Smalltalk wonders, and while I agree with most of them, it seems that they aren't enough

Re: [Pharo-users] [ANN] What are good reasons to use Smalltalk?

2020-05-15 Thread Esteban Maringolo
I don't know what is behind the poll system, but it doesn't work in Brave browser. It simply says "Thanks for participating in the poll." I find the questions confusing though. Esteban A. Maringolo On Wed, May 13, 2020 at 4:43 PM Richard Kenneth Eng wrote: > >

Re: [Pharo-users] [ANN] What are good reasons to use Smalltalk?

2020-05-15 Thread Richard Sargent
On Fri, May 15, 2020 at 1:31 PM horrido wrote: > I've updated the poll question, but since there are already 56 votes, it > looks like nobody chose my new addition. Perhaps more of you should vote to > change that. > Communicating with developers is implicit. My point was about communicating

Re: [Pharo-users] [ANN] What are good reasons to use Smalltalk?

2020-05-15 Thread horrido
I've updated the poll question, but since there are already 56 votes, it looks like nobody chose my new addition. Perhaps more of you should vote to change that. horrido wrote > You are quite right. How did I manage to miss that?!! > > > Richard Sargent wrote >> You missed the fact that it

[Pharo-users] pharo 8 - method versions - how to see author/timestamp?

2020-05-15 Thread PAUL DEBRUICKER
Hi - Sometimes I want to revert to older versions of methods e.g. from an hour ago. In the "Recent versions of MyClass>>#myMethod" dialog no timestamps or authors are present. How do I see those? Thanks Paul

Re: [Pharo-users] ifCurtailed prompts debug window

2020-05-15 Thread Ben Coman
With the first, you are not defining for the Error to be handled, only what to do when the stack unwinds abnormally. In the second you are defining for the Error to be handled, so it does that. cheers -ben On Sat, 16 May 2020 at 01:00, Vitor Medina Cruz wrote: > Hello, > > On Windows 10 and

Re: [Pharo-users] [ANN] What are good reasons to use Smalltalk?

2020-05-15 Thread horrido
I've changed the word "developers" to "people". In a poll, it's hard to keep the question's answers brief and to the point. You don't want to be too wordy. So I have to choose my words very, very carefully so that I can be as concise as possible. I don't know how successful I am. Richard

Re: [Pharo-users] running Pharo8 in Digitalocean

2020-05-15 Thread Sanjay Minni
Hi Eventually in a Digitalocean Ubuntu droplet, I connected from Windows 10 to a Ubuntu Graphical desktop, installed PharoLauncher and couple of images and got seaside up, installed Mongo DB and a Pharo App. pretty smooth and can share how to step by step if anybody is interested. (note: no

Re: [Pharo-users] ifCurtailed prompts debug window

2020-05-15 Thread Richard O'Keefe
Also, #ifCurtailed: is supposed to fire if there's a long return that would have passed through it, while #on:do: doesn't care about long returns in the least. On Sat, 16 May 2020 at 15:27, Ben Coman wrote: > With the first, you are not defining for the Error to be handled, > only what to do

Re: [Pharo-users] git and Pharo new book...

2020-05-15 Thread Stéphane Ducasse
Thanks! S > On 15 May 2020, at 03:50, Serge Stinckwich wrote: > > I already start to send PRs to fix typos. > > > > On Thu, May 14, 2020 at 9:55 PM Stéphane Ducasse > wrote: > if you want to contribute to a chapter on other than github solutions. > I

Re: [Pharo-users] Deleting images / saving as - in Pharo Launcher auncher

2020-05-15 Thread Cédrick Béler
Thanks for the explanation Christophe. The tree might be a good idea. > >> I actually changed once the "save as » in a « save checkpoint charly » where >> it saves a copy but still load the default name. Might be an option ? :) > > « Saves a copy » : do you mean you copy the full folder to

Re: [Pharo-users] Deleting images / saving as - in Pharo Launcher auncher

2020-05-15 Thread Tim Mackinnon
I find I do the same sort of precautionary measure (and probably would do it more if launcher supported this use case and helped me manage those snaphot images) - I view it a bit like how TimeMachine lets you see previous versions of files - yes the source code is versioned, but its just the

Re: [Pharo-users] Covid-19 Tracker with PharoJS

2020-05-15 Thread Guillermo Polito
It’s cool! > El 14 may 2020, a las 17:37, Noury Bouraqadi escribió: > > Hi, > > Dave Mason did implement a COVID-19 tracker with PharoJS. > https://covid.cs.ryerson.ca/compare/ > > Noury

Re: [Pharo-users] Deleting images / saving as - in Pharo Launcher auncher

2020-05-15 Thread Stéphane Ducasse
> On 14 May 2020, at 23:20, Christophe Demarey > wrote: > > Hi Cédrick, > >> Le 7 mai 2020 à 08:24, Cédrick Béler a écrit : >> >> Hi Christophe, >> >> >> This version is definitely cooler :) > > Thanks > >> I just wander as for the previous version why deleting image can take some >>

Re: [Pharo-users] [ANN] Pharo Compendium

2020-05-15 Thread Cédrick Béler
Hi Torsten, > > Hi Cédrick, > > The GitHub part is based on an open public GitHub HTTP query - which has some > limits: > - it does not return private repos, only public ones > - it has a rate limit to not bring servers down > > Maybe there is a way to overcome these limits via

Re: [Pharo-users] Code completion in blocks (Pharo8)

2020-05-15 Thread Davide Varvello via Pharo-users
--- Begin Message --- Hi Guillermo, I have tried Pharo9 and it works, so unfortunately is a issue of Pharo8 Thanks Davide Guillermo Polito wrote > Hi Davide, > > I’m not sure if that works on Pharo8. Could you try quickly Pharo9 to see > if that’s fixed there? > I’ve made a pass on the code