Re: [Pharo-users] Text-Editing UI

2020-08-02 Thread tbrunz
If you do, send me a message about what you're considering, and I can help you choose. I'm much more knowledgeable about CBs that the average person -- especially about programming on them & using Linux on them. Another nice thing about Chromebooks is that they're inexpensive. Meaning, you get

Re: [Pharo-users] Text-Editing UI

2020-08-02 Thread Russ Whaley
Wow! Nice to know there are success stories like yours. When we were having issues and trying to determine which way we should go to, we just couldn’t find good answers on the CB side. Perhaps we should give it another go! On Sun, Aug 2, 2020 at 5:34 PM tbrunz wrote: > Of course, ask a

Re: [Pharo-users] Intermediate-Level Tutorials for Pharo

2020-08-02 Thread Stéphane Ducasse
Hi Thanks I was planning to implement it. I asked Esteban to take the time to integrate my PR. Now can you send some PRs to the version of esteban like that we will get a better version. And you can open issues on his repo We will fix them. S > On 2 Aug 2020, at 20:22, Russ Whaley wrote:

Re: [Pharo-users] A warning under PharoLauncher 1.8-2019.03.27

2020-08-02 Thread Rene Paul Mages (ramix)
Le 02/08/2020 à 22:44, tbrunz a écrit : > Hi Rene, > > Are you running Pharo Launcher 2.0? > > I saw these under 2.0, then upgraded to 2.2 and I haven't seen it since. > > -Ted Thanks a lot Ted. After your recommended upgrade the issue is gone. -- All the best Rene Paul Mages (ramix)

Re: [Pharo-users] Text-Editing UI

2020-08-02 Thread tbrunz
Of course, ask a half-dozen people about this subject and you'll get 6 different responses... Between myself, my wife, my daughter, family, friends, we've had at least 8 CBs. None have failed. My wife is still using (and loving) the 2015 Pixel LS CB I got 5 years ago. Not even the battery has

Re: [Pharo-users] A warning under PharoLauncher 1.8-2019.03.27

2020-08-02 Thread tbrunz
Hi Rene, Are you running Pharo Launcher 2.0? I saw these under 2.0, then upgraded to 2.2 and I haven't seen it since. -Ted -- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html

[Pharo-users] A warning under PharoLauncher 1.8-2019.03.27

2020-08-02 Thread Rene Paul Mages (ramix)
Hello, When the following command is launched : ./pharolauncher/pharo-launcher we can see this warning : http://ramix.org/pharo/version-8.0/InstanceVariableNotFound.png Nota Bene : my laptop in running under Linux Mint 18.3 _Sylvia_ - Release amd64 20171124]/ xenial contrib main non-free --

Re: [Pharo-users] Text-Editing UI

2020-08-02 Thread Russ Whaley
:) indeed it is On Sun, Aug 2, 2020 at 4:27 PM tbrunz wrote: > Look at the keyboard -- that's a Chromebook, not a WinTel or Linux laptop. > > > > That was about a year & a half ago. > > > > -- > Sent from:

Re: [Pharo-users] Text-Editing UI

2020-08-02 Thread Russ Whaley
Yes, I played with my daughter's chromebook - was considering doing just what you're suggesting - a few weeks later it died - well not completely - but is finicky enough that she can't use it for her masters work any longer (too unreliable) - so she went back to a 2013 MacBookPro... (they just

Re: [Pharo-users] Text-Editing UI

2020-08-02 Thread tbrunz
Look at the keyboard -- that's a Chromebook, not a WinTel or Linux laptop. That was about a year & a half ago. -- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html

Re: [Pharo-users] Text-Editing UI

2020-08-02 Thread tbrunz
Not exactly the answer you're looking for, but... Take a look at the latest Chromebooks. They are *awesome*. Beats iPads & iOS! There are "tablet" Chromebooks (the keyboard folds all the way underneath the touchscreen, and is de-activated), as well as keyboard-detachable models, as well as

Re: [Pharo-users] Text-Editing UI

2020-08-02 Thread Russ Whaley
+1 - platform specific defaults. Also, is there any document anyone can point me to on why Pharo is not viable for iOS? I have an iPad Pro and I'd LOVE to be able to code/test and run my apps when I travel... my old MacBookPro is getting long-in-the-tooth. On Sun, Aug 2, 2020 at 1:01 PM tbrunz

Re: [Pharo-users] Extract-method refactoring erratic behavior in Pharo 8

2020-08-02 Thread Tim Mackinnon
I think these ones should be testable quite easily - I wrote (when prompted by Stef) a series of tests for the text selection expansion commands which use a similar ast/node based inferencing - so the refactorings should be written with an ast passed to them along with cursor and text

Re: [Pharo-users] Intermediate-Level Tutorials for Pharo

2020-08-02 Thread Russ Whaley
Well, the very next step in the tutorial says: How does this look? Now we can open our task list manager as follows: TODOApplication new run. However, TODOApplication has not yet been connected to anything... displaying the UI that is depicted in the tutorial is not achievable at this point...

Re: [Pharo-users] Working directory and image directory

2020-08-02 Thread tbrunz
You might like these, too (for newbies): https://gist.github.com/tbrunz/f1d74353bdff7d40031b10d4220daaa9 https://gist.github.com/tbrunz/02d9a2f62053f8dfa4c229e5075d6796 -- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html

Re: [Pharo-users] Class side vs instance side (variables and methods)

2020-08-02 Thread tbrunz
Maybe more to the point: You do not want to *code a dependency on* what the implementing class may do as far as the returned result. :^) "Brittle code" will eventually break. Murphy's Law says that it will break at the worst possible time for you to have to deal with it. :^D -- Sent from:

Re: [Pharo-users] Working directory and image directory

2020-08-02 Thread tbrunz
Hi Russ, No, I haven't submitted it. I figured it would be good practice for you to do so! -Ted -- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html

Re: [Pharo-users] Working directory and image directory

2020-08-02 Thread Russ Whaley
Ted, Thank you very much for these detailed instructions! I have copied them out for future use. I can see I'm going to very much enjoy your tutorials :) I hope to have time today to submit a couple issues I've run across. Did I see you submitted the workingDirectory/root bug? Thanks, Russ On

Re: [Pharo-users] Intermediate-Level Tutorials for Pharo

2020-08-02 Thread Russ Whaley
Here are a couple of items with my first 5 minutes with the TODO tutorial... TODOListPresenter >> initializePresenters todoListPresenter := self newTable addColumn: ((SpCheckBoxTableColumn evaluated: [:task | task isDone]) width: 20); addColumn:

Re: [Pharo-users] Intermediate-Level Tutorials for Pharo

2020-08-02 Thread tbrunz
>> Let's do it, then. I'll volunteer to do most of the work. :^) > >I will review anything you write :) I'll write well and add lots of comments to make that easy for you. :^D >> My hope is that participating in this will make me capable of creating >> advanced tutorials all by myself. > >I

Re: [Pharo-users] Class side vs instance side (variables and methods)

2020-08-02 Thread Stéphane Ducasse
ted basically > Dog class>>newWhite > "Returns a new white instance of receiver." > ^self new >color: Color white; >yourself is equivalent to > Dog class>>newWhite >"Returns a new white instance of receiver.” > | instance | instance := self new.

Re: [Pharo-users] Class side vs instance side (variables and methods)

2020-08-02 Thread Stéphane Ducasse
+1 > On 2 Aug 2020, at 19:37, Richard Sargent wrote: > > > > On August 2, 2020 10:16:54 AM PDT, tbrunz wrote: >> Thanks, Richard. >> >> So adding #yourself is mostly needed for cases where you send #add: to >> an >> OrderedCollection (because that returns the added element instead of >>

Re: [Pharo-users] Intermediate-Level Tutorials for Pharo

2020-08-02 Thread Stéphane Ducasse
> On 2 Aug 2020, at 19:51, tbrunz wrote: > >>> I've been thinking lately that it would be nice to expand the number of >>> Pharo tutorials we have available. But rather than (or along with) >>> creating >>> more "beginner" level tutorials, I'd like to see some good "intermediate" >>> level

Re: [Pharo-users] Class side vs instance side (variables and methods)

2020-08-02 Thread tbrunz
Got it. Seems like an important point for those who are trying to understand the difference between instances and classes. I've gotten strange results myself until I learned that #yourself is an essential thing... -t -- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html

Re: [Pharo-users] Intermediate-Level Tutorials for Pharo

2020-08-02 Thread tbrunz
>> I've been thinking lately that it would be nice to expand the number of >> Pharo tutorials we have available. But rather than (or along with) >> creating >> more "beginner" level tutorials, I'd like to see some good "intermediate" >> level Pharo tutorials. > >Me too :) Let's do it, then.

Re: [Pharo-users] Class side vs instance side (variables and methods)

2020-08-02 Thread Richard Sargent
On August 2, 2020 10:16:54 AM PDT, tbrunz wrote: >Thanks, Richard. > >So adding #yourself is mostly needed for cases where you send #add: to >an >OrderedCollection (because that returns the added element instead of >returning the collection as most expect it would)? No. It is used when you

Re: [Pharo-users] Class side vs instance side (variables and methods)

2020-08-02 Thread tbrunz
Thanks, Richard. So adding #yourself is mostly needed for cases where you send #add: to an OrderedCollection (because that returns the added element instead of returning the collection as most expect it would)? I've been adding it in all cases, which I guess does no harm. -t -- Sent from:

Re: [Pharo-users] Class side vs instance side (variables and methods)

2020-08-02 Thread Richard Sargent
On August 2, 2020 9:25:32 AM PDT, tbrunz wrote: >Shouldn't this code > >> So if you implement a #newWhite method in the "class side" of Dog, it >> would be something like this. >> >> Dog class>>newWhite >> "Returns a new white instance of receiver." >> ^self new color: Color white > >be

Re: [Pharo-users] Text-Editing UI

2020-08-02 Thread tbrunz
It might be best to have this be configurable/customizable for each user (which is what I think you're getting at). The question is what should the default "out of the box" behavior be? There are conventions, although they're not exactly "standardized" (as they should be). Most of us have

Re: [Pharo-users] smalltalkhub down

2020-08-02 Thread Stéphane Ducasse
Yes the old server is having pain. I will advertise a bit http://static.smalltalkhub.com/ S > On 13 Jul 2020, at 21:19, Sven Van Caekenberghe wrote: > > Hi Christophe, > > Thanks a lot for taking care. > > About the static version: that already looks great, it even has a search >

Re: [Pharo-users] Text-Editing UI

2020-08-02 Thread Stéphane Ducasse
Hello Alex > Hello. I would like to modify the text-editing UI in Pharo to add some > affordances I’m accustomed to from MacOS. Specifically, right now > command(a.k.a. meta)-left/right-arrow moves one word left/right in Pharo, > whereas on MacOS this is done with the option(a.k.a. alt)-key,

Re: [Pharo-users] About some stuff to know if I launch new project to build Graphical User Interface for a database...

2020-08-02 Thread Stéphane Ducasse
Hello patrick > I'm testing pharo and I would like to know about some things I can't yet > really get with documentation : > 1. I was asking myself about delivries for (no pharo) end users. I don't want > end user use pharo launcher and look at image to load it. I saw article about > to build

Re: [Pharo-users] Class side vs instance side (variables and methods)

2020-08-02 Thread tbrunz
Shouldn't this code > So if you implement a #newWhite method in the "class side" of Dog, it > would be something like this. > > Dog class>>newWhite > "Returns a new white instance of receiver." > ^self new color: Color white be this instead? > Dog class>>newWhite > "Returns a new white

Re: [Pharo-users] A question concerning Nautilus

2020-08-02 Thread Stéphane Ducasse
Thanks I will check PBE8 S. > On 14 Jul 2020, at 03:58, Serge Stinckwich wrote: > > Hi René, > > use instead: > > ClyFullBrowser openOnMethod: Integer >> #factorial > > Book should be updated for Pharo 8 :-) > Regards, > > On Mon, Jul 13, 2020 at 10:42 PM Rene Paul Mages (ramix)

Re: [Pharo-users] Smalltalkhub delete date

2020-08-02 Thread Stéphane Ducasse
Hi Paul I could not really understand what you mean since we will not delete anything. Just make the archive readonly. We planned to have SmalltalkHub turn into a file server around november https://pharoweekly.wordpress.com/2020/04/03/smalltalkhub-deprecation-notice/ S. > On 10 Jul 2020,

Re: [Pharo-users] Class side vs instance side (variables and methods)

2020-08-02 Thread Stéphane Ducasse
Hello patrick Welcome > > Subject: Class side vs instance side (variables and methods) > Date: 29 July 2020 at 01:34:22 CEST > To: Any Question About Pharo Is Welcome > > > Being new not only to Smalltalk, but OOP in general, I think I finally am > understanding things. Did you read my

Re: [Pharo-users] Extract-method refactoring erratic behavior in Pharo 8

2020-08-02 Thread tbrunz
> the problem is that right now we can write tests for UI and we try hard to do it but > as soon as we have a pop up we do not have yet a way to capture this > interaction. > We were discussing about it and got it by the covid. So many things have been impacted by COVID. Now we have new ways

Re: [Pharo-users] Intermediate-Level Tutorials for Pharo

2020-08-02 Thread Stéphane Ducasse
> On 2 Aug 2020, at 15:33, Russ Whaley wrote: > > EXACTLY!, Stéphane, thank you! I will go through this tutorial today. > > Has anyone written any documentation or maybe a tool that would help > understand what each ‘widget’ is capable of? I review all example code, read > all class

Re: [Pharo-users] Extract-method refactoring erratic behavior in Pharo 8

2020-08-02 Thread Stéphane Ducasse
> On 2 Aug 2020, at 16:45, tbrunz wrote: > > I found the same problem only yesterday when I tried "Extract method" in > Pharo 8 (for the first time). > > Comprehensive UI tests would be a great thing. But complicated to create. > Like writing tutorials for GUI-based applications. ;^) the

Re: [Pharo-users] Working directory and image directory

2020-08-02 Thread tbrunz
Russ, Here's a link; I created a GitHub gist in your honor: https://gist.github.com/tbrunz/4209026fabc44c5baf0a502f677b708c Please provide comments, improvements, corrections, or anything that will make it clearer for others who are in the same boat. Thanks! -Ted -- Sent from:

Re: [Pharo-users] Working directory and image directory

2020-08-02 Thread tbrunz
Hi Russ, Here's how to submit a bug report. Fortunately, GitHub makes it easy and straightforward. Surf to https://github.com/pharo-project and find the particular project that's affected. I think in your case, you want "pharo": https://github.com/pharo-project/pharo Underneath

Re: [Pharo-users] Extract-method refactoring erratic behavior in Pharo 8

2020-08-02 Thread tbrunz
I found the same problem only yesterday when I tried "Extract method" in Pharo 8 (for the first time). Comprehensive UI tests would be a great thing. But complicated to create. Like writing tutorials for GUI-based applications. ;^) Is there a way to emulate a GUI user and the actions of mouse

Re: [Pharo-users] Intermediate-Level Tutorials for Pharo

2020-08-02 Thread Russ Whaley
EXACTLY!, Stéphane, thank you! I will go through this tutorial today. Has anyone written any documentation or maybe a tool that would help understand what each ‘widget’ is capable of? I review all example code, read all class comments and peruse the class hierarchy, but when a widget capability

Re: [Pharo-users] Cmd+s in P8 not captured using Commander (works in P9) and SpTextPresenter

2020-08-02 Thread Stéphane Ducasse
Can you open a bug entry with your solution? Like that I can point it to steven. tx > On 30 Jul 2020, at 05:10, Hernán Morales Durand > wrote: > > I found a difference in shortcut handling between Pharo 8 and Pharo 9 which > you can reproduce with the attached minimum working example. In the

Re: [Pharo-users] Working directory and image directory

2020-08-02 Thread Stéphane Ducasse
Hi Davide Can you open a bug entry on Pharo and on Fuel? S. > On 31 Jul 2020, at 11:37, Davide Varvello wrote: > > > From: Davide Varvello > Subject: Re: Working directory and image directory > Date: 31 July 2020 at 11:37:22 CEST > To: pharo-users@lists.pharo.org > > > Hi > > Isn't it

Re: [Pharo-users] Extract-method refactoring erratic behavior in Pharo 8

2020-08-02 Thread Stéphane Ducasse
> On 31 Jul 2020, at 20:21, Esteban Maringolo wrote: > > Hi, > > I get, more often than not, a message indicating an "invalid source to > extract", commonly with the "End of statement list encountered" > explanation. > > In comparison, I can extract the same code in Pharo 4. Is there a >

Re: [Pharo-users] Extract-method refactoring erratic behavior in Pharo 8

2020-08-02 Thread Stéphane Ducasse
> On 1 Aug 2020, at 01:58, Tim Mackinnon wrote: > > Well said. Yes - we should work on our refactoring tools a lot more. As the > inventors of refactoring and the tools that back it, we’ve got to a place > where we are a bit poor in this area - it’s not fluid and easy like it should > be.

Re: [Pharo-users] Editing in Pharo Debugger

2020-08-02 Thread Stéphane Ducasse
can you open a bug entry? Because we should get this back. > On 30 Jul 2020, at 03:48, horrido wrote: > > The latest 9.0 64-bit development version that I downloaded earlier this > week. > > > > tbrunz wrote >> For which version, Richard? >> >> I get the "orange triangle" in Pharo 8. >>

Re: [Pharo-users] Intermediate-Level Tutorials for Pharo

2020-08-02 Thread Stéphane Ducasse
> On 29 Jul 2020, at 05:06, Russ Whaley wrote: > > Back on the 'Intermediate Tutorials' question... > > I would love to see intermediate tutorials on Spec2 and Seaside and > perhaps how to best adapt an (Sp)Application to serve both 'presenters' with > guidelines on what responsibility

Re: [Pharo-users] Intermediate-Level Tutorials for Pharo

2020-08-02 Thread Stéphane Ducasse
> On 28 Jul 2020, at 05:38, tbrunz wrote: > > tl;dr: I have some ideas about more advanced Pharo tutorials, and I have an > example that I would like to have reviewed/critiqued before I develop it any > further. > > I've been thinking lately that it would be nice to expand the number of >