Re: [Pharo-users] Learn Pharo - Not Working
Ben Coman wrote > On Mon, 4 Feb 2019 at 01:58, magicspeller < > pharo@ > > wrote: > >> I just discovered the window tabs >> at the bottom as well, which would have helped if I'd thought to look >> there. >> >> Hope I didn't cause anyone a lot of frustration. >> >> In a way, I am glad I posed the question, because I have learned a lot in >> the ensuing discussion. I'll respond to a couple of the new replies, but >> thank you, everyone, very, very much. >> > > How would you feel about stretching that learning to submit a PR > updating that text to indicate a window will open? Sorry, Ben, you lost me. What's a PR? Updated what text? Can you please give me an explanation an idiot (me) can understand? Thanks, Keith -- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
Re: [Pharo-users] Learn Pharo - Not Working
On Mon, 4 Feb 2019 at 01:58, magicspeller wrote: > Ben Coman wrote > > On Sun, 3 Feb 2019 at 19:54, Sven Van Caekenberghe < > > > sven@ > > > > wrote: > >> > >> You are on Windows, are there any other Windows users that can confirm > >> this either way ? > >> > > > > On Win 10 and this works for me in both 32-bit and 64-bit Pharo 7.0.1 > > (build: 146, commit: c48755a) > > 64-bit VM: 201901051900 > > https://github.com/OpenSmalltalk/opensmalltalk-vm.git Date: Sat Jan 5 > > 20:00:11 2019 CommitHash: 7a3c6b6 Plugins: 201901051900 > > > > cheers -ben > > Thanks, everyone. I think I owe you all an apology. I just tried the 64-bit > version again and it worked perfectly. > If you hare learning and having fun, thats good with me. > > The instructions just say, "You can learn Pharo by clicking on the > following > expression:". I didn't expect a new window to open; I had just finished a > different Pharo course in which everything stayed in the same window. You'd > think I would see a new window opening anyway, but I'm wondering if it > might > have been hidden behind the main window. Its exactly this sort of little niggle that adepts just fly by without noticing. Fresh eyes are really important. I just discovered the window tabs > at the bottom as well, which would have helped if I'd thought to look > there. > > Hope I didn't cause anyone a lot of frustration. > > In a way, I am glad I posed the question, because I have learned a lot in > the ensuing discussion. I'll respond to a couple of the new replies, but > thank you, everyone, very, very much. > How would you feel about stretching that learning to submit a PR updating that text to indicate a window will open? cheers -ben > > Warren > > > > > -- > Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html > >
Re: [Pharo-users] Learn Pharo - Not Working
On a Win 10 Lenovo laptop with a trackpad with no mouse buttons, the 64-bit version took several clicks on ‘ProfStef go’ to register. I suspect it might be the trackpad which isn’t sending mouse messages correctly because I also have problems with other apps. /*—-*/ Sent from my iPhone https://boincstats.com/signature/-1/user/51616339056/sig.png See https://objectnets.net and https://objectnets.org > On Feb 3, 2019, at 04:25, Ben Coman wrote: > > > >> On Sun, 3 Feb 2019 at 19:54, Sven Van Caekenberghe wrote: >> Hi, >> >> It would also be quite surprising if this depended on the 32/64 bits >> difference. >> >> In any case it works for me (macOS 64 bit): it opens a window titled >> 'Welcome (1/29)' containing step one of the tutorial: >> >> === >> "Hello! I'm Professor Stef. >> >> You must want me to help you learn Pharo. >> >> So let's go to the first lesson. Select the text below, right-click and >> choose 'Do it'" >> >> ProfStef next. >> === >> >> You are on Windows, are there any other Windows users that can confirm this >> either way ? > > On Win 10 and this works for me in both 32-bit and 64-bit Pharo 7.0.1 (build: > 146, commit: c48755a) > 64-bit VM: 201901051900 https://github.com/OpenSmalltalk/opensmalltalk-vm.git > Date: Sat Jan 5 20:00:11 2019 CommitHash: 7a3c6b6 Plugins: 201901051900 > > cheers -ben
Re: [Pharo-users] Learn Pharo - Not Working
On 2/3/2019 1:35 PM, Richard70nl wrote: I just checked, the "right click -> do it" only works if at least the cursor is somewhere on the statement. I normally do a cmd-D (macOS) in these situations though. But AFAIK it’s not necessary to select the whole statement. If the cursor is somewhere else in the editor the “right click -> do it” does not work as expected. I think the editor should maybe put the cursor in the position where you right click. But that is more of a preference. I think if you get used to that behaviour then you probably don’t even think about it. Coming from most common coding editors, I find the editors in Pharo a bit quirky. But I (we?) probably get used to it. I did check online how some people use external editors and I think it’s not worth the hassle. It’s not as straightforward programming as I’m used to. And, I think if you use an external editor you miss the “immersion” of the environment. Thanks, Richard!
Re: [Pharo-users] Learn Pharo - Not Working
On 2/3/2019 5:01 AM, Ben Coman wrote: In general you are correct, but newcomers are more familiar with a click paradigm that a select &doIt paradigm so this specific case is different. In the interest of teaching how to fish :), here is how you can discover these sorts of answers for yourself... Tools > Finder > Source then search for... ProfStef go and you'll see... WelcomeHelp-class>>learn which does... (self doItFrom: 'ProfStef go.') Double-clicking "doItFrom:" selects it, then hitting does "Code search... > implementors of it" that is commented... [left as an exercise for the reader] Thank you. That's really helpful! Keith
Re: [Pharo-users] Learn Pharo - Not Working
On 2/3/2019 2:48 AM, ducasse wrote: Hi keith did you look at the Pharo mooc? http://mooc.pharo.org Because there are many videos explaining interaction. No, I've been to the site but haven't gotten around to looking at much there. I will now, thanks. It's good to know about the videos. To execute an expression you should either select or if it is on one line you can just use command-D or command-P Learning this is a big revelation. In the course I took, I had to select a command on *every single page* and then enter Ctrl-D. It got to be really tiring and frustrating. I just went back to the course and tried just left clicking on the command before entering Ctrl-D and discovered that it works there as well. Wish I'd known it when I started the course. Thanks very much, Keith
Re: [Pharo-users] Learn Pharo - Not Working
Hi Keith,On 3 Feb 2019, at 01:30, magicspeller wrote:Can you tell me why you don't have to select "ProfStef go." before rightclicking it. I had gotten the impression that to execute any Smalltalkstatement you always have to select it first.I just checked, the "right click -> do it" only works if at least the cursor is somewhere on the statement. I normally do a cmd-D (macOS) in these situations though. But AFAIK it’s not necessary to select the whole statement. If the cursor is somewhere else in the editor the “right click -> do it” does not work as expected. I think the editor should maybe put the cursor in the position where you right click. But that is more of a preference. I think if you get used to that behaviour then you probably don’t even think about it.Coming from most common coding editors, I find the editors in Pharo a bit quirky. But I (we?) probably get used to it. I did check online how some people use external editors and I think it’s not worth the hassle. It’s not as straightforward programming as I’m used to. And, I think if you use an external editor you miss the “immersion” of the environment.Cheers,Richard
Re: [Pharo-users] Learn Pharo - Not Working
> On 3 Feb 2019, at 18:57, magicspeller wrote: > > Ben Coman wrote >> On Sun, 3 Feb 2019 at 19:54, Sven Van Caekenberghe < > >> sven@ > >> > wrote: >>> >>> You are on Windows, are there any other Windows users that can confirm >>> this either way ? >>> >> >> On Win 10 and this works for me in both 32-bit and 64-bit Pharo 7.0.1 >> (build: 146, commit: c48755a) >> 64-bit VM: 201901051900 >> https://github.com/OpenSmalltalk/opensmalltalk-vm.git Date: Sat Jan 5 >> 20:00:11 2019 CommitHash: 7a3c6b6 Plugins: 201901051900 >> >> cheers -ben > > Thanks, everyone. I think I owe you all an apology. I just tried the 64-bit > version again and it worked perfectly. > > The instructions just say, "You can learn Pharo by clicking on the following > expression:". I didn't expect a new window to open; I had just finished a > different Pharo course in which everything stayed in the same window. You'd > think I would see a new window opening anyway, but I'm wondering if it might > have been hidden behind the main window. I just discovered the window tabs > at the bottom as well, which would have helped if I'd thought to look there. > > Hope I didn't cause anyone a lot of frustration. > > In a way, I am glad I posed the question, because I have learned a lot in > the ensuing discussion. I'll respond to a couple of the new replies, but > thank you, everyone, very, very much. > > Warren No problem, good luck with your further explorations, welcome to Pharo. Sven
Re: [Pharo-users] Learn Pharo - Not Working
Ben Coman wrote > On Sun, 3 Feb 2019 at 19:54, Sven Van Caekenberghe < > sven@ > > wrote: >> >> You are on Windows, are there any other Windows users that can confirm >> this either way ? >> > > On Win 10 and this works for me in both 32-bit and 64-bit Pharo 7.0.1 > (build: 146, commit: c48755a) > 64-bit VM: 201901051900 > https://github.com/OpenSmalltalk/opensmalltalk-vm.git Date: Sat Jan 5 > 20:00:11 2019 CommitHash: 7a3c6b6 Plugins: 201901051900 > > cheers -ben Thanks, everyone. I think I owe you all an apology. I just tried the 64-bit version again and it worked perfectly. The instructions just say, "You can learn Pharo by clicking on the following expression:". I didn't expect a new window to open; I had just finished a different Pharo course in which everything stayed in the same window. You'd think I would see a new window opening anyway, but I'm wondering if it might have been hidden behind the main window. I just discovered the window tabs at the bottom as well, which would have helped if I'd thought to look there. Hope I didn't cause anyone a lot of frustration. In a way, I am glad I posed the question, because I have learned a lot in the ensuing discussion. I'll respond to a couple of the new replies, but thank you, everyone, very, very much. Warren -- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
Re: [Pharo-users] Learn Pharo - Not Working
Just clicking onto ProfStef Go. works for me on both, too. Win 10, Pharo-7.0.1+build.146, VM: 201901051900 https://github.com/OpenSmalltalk/opensmalltalk-vm.git Date: Sat Jan 5 20:00:11 2019 CommitHash: 7a3c6b6 Plugins: 201901051900 -- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
Re: [Pharo-users] Learn Pharo - Not Working
Tim Mackinnon wrote > doit or printit should find the nearest complete expression (even if > multiline) and evaluate that That would be great! - Cheers, Sean -- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
Re: [Pharo-users] Learn Pharo - Not Working
On Sun, 3 Feb 2019 at 08:31, magicspeller wrote: > > Can you tell me why you don't have to select "ProfStef go." before right > clicking it. I had gotten the impression that to execute any Smalltalk > statement you always have to select it first. > In general you are correct, but newcomers are more familiar with a click paradigm that a select &doIt paradigm so this specific case is different. In the interest of teaching how to fish :), here is how you can discover these sorts of answers for yourself... Tools > Finder > Source then search for... ProfStef go and you'll see... WelcomeHelp-class>>learn which does... (self doItFrom: 'ProfStef go.') Double-clicking "doItFrom:" selects it, then hitting does "Code search... > implementors of it" that is commented... [left as an exercise for the reader] cheers -ben
Re: [Pharo-users] Learn Pharo - Not Working
Sent from my iPhone > On 3 Feb 2019, at 09:56, ducasse wrote: > > Now what frustrates me is that Command-B does not automatically select the > line. But why would you arbitrarily highlight a line? I was frustrated that with my cursor on a valid selector (or class, or parameter), selecting the whole line often resulted in an error? Or are you simply suggesting that it should highlight the expression it’s identified before doing the evaluation? I didn’t think of that, and it’s a good idea. To be clearer - in a playground if you had: 5 + 4. ‘Hello’ size + 5 (cursor here) What should meta-p do? I would argue - print 10 not give an error? This feels more in line with power of our tools right? Tim
Re: [Pharo-users] Learn Pharo - Not Working
He’s on Windows, so it wold be Ctrl-D and Ctrl-P. /*—-*/ Sent from my iPhone https://boincstats.com/signature/-1/user/51616339056/sig.png See https://objectnets.net and https://objectnets.org > On Feb 3, 2019, at 01:48, ducasse wrote: > > Hi keith > > did you look at the Pharo mooc? > http://mooc.pharo.org > > Because there are many videos explaining interaction. > > To execute an expression you should either select or if it is on one line > you can just use command-D or command-P > > Stef
Re: [Pharo-users] Learn Pharo - Not Working
Sent from my iPhone > On 3 Feb 2019, at 02:42, Sean P. DeNigris wrote: > > believe the default is to evaluate the whole line where the cursor is if > nothing is selected. That reminds me - while I fixed the senders/implementers search commands to intelligently look for the nearest selector to the cursor (in pharo7), I forgot about workspace evaluation - doit or printit should find the nearest complete expression (even if multiline) and evaluate that - unless you specifically highlight something. It makes it much more efficient to then examine things quickly. Tim
Re: [Pharo-users] Learn Pharo - Not Working
magicspeller wrote > Can you tell me why you don't have to select "ProfStef go." before right > clicking it. I had gotten the impression that to execute any Smalltalk > statement you always have to select it first. I believe the default is to evaluate the whole line where the cursor is if nothing is selected. - Cheers, Sean -- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
Re: [Pharo-users] Learn Pharo - Not Working
In Pharo, my impression is that the cu /*—-*/ Sent from my iPhone https://boincstats.com/signature/-1/user/51616339056/sig.png See https://objectnets.net and https://objectnets.org > On Feb 2, 2019, at 16:30, magicspeller wrote: > > Richard70NL wrote >> For me it works, but what you can also try is: >> 1) Click the menu Tools -> Playground >> 2) Type: ProfStef go. >> 3) Right click what you just typed and click "Do It" >> >> BTW, I'm also new with Pharo (not with programming) and I really enjoy the >> book at http://books.pharo.org/pharo-by-example/. > > Hi Richard, > > Like you, I have a programming background, but Pharo and Smalltalk are quite > a new experience. I downloaded /Pharo By Example/ but haven't gotten around > to reading any of it yet. > > Thank you for the Playground suggestion! That's a great idea, and it works > really well. That means I should be able to go back to the 64-bit version. > > Can you tell me why you don't have to select "ProfStef go." before right > clicking it. I had gotten the impression that to execute any Smalltalk > statement you always have to select it first. > > Thanks again, > Keith > > > > > -- > Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html >
Re: [Pharo-users] Learn Pharo - Not Working
I think they call the 64-bit stuff “experimental” so it best to learn on the 32-bit stuff. Then you can help the developers debug the 64-bit stuff. /*—-*/ Sent from my iPhone https://boincstats.com/signature/-1/user/51616339056/sig.png See https://objectnets.net and https://objectnets.org > On Feb 2, 2019, at 11:59, magicspeller wrote: > > John Pfersich wrote >> Did you use the 32-bit version or the 64-bit version? I just used Pharo >> Launcher to start a 32-bit image. I clicked on ‘ProfStef go’ and got a >> separate window with the tutorial. I didn’t try the 64-bit version; it’s >> still beta software. > > Thanks again, John. I went to the download site and discovered that both 7.0 > versions are labeled development versions. I downloaded and ran the 32-bit > version. It works fine. > > > > > -- > Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html >
Re: [Pharo-users] Learn Pharo - Not Working
Richard70NL wrote > For me it works, but what you can also try is: > 1) Click the menu Tools -> Playground > 2) Type: ProfStef go. > 3) Right click what you just typed and click "Do It" > > BTW, I'm also new with Pharo (not with programming) and I really enjoy the > book at http://books.pharo.org/pharo-by-example/. Hi Richard, Like you, I have a programming background, but Pharo and Smalltalk are quite a new experience. I downloaded /Pharo By Example/ but haven't gotten around to reading any of it yet. Thank you for the Playground suggestion! That's a great idea, and it works really well. That means I should be able to go back to the 64-bit version. Can you tell me why you don't have to select "ProfStef go." before right clicking it. I had gotten the impression that to execute any Smalltalk statement you always have to select it first. Thanks again, Keith -- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
Re: [Pharo-users] Learn Pharo - Not Working
magicspeller wrote > You can learn Pharo by clicking on the following expression: > > ProfStef go. > > I clicked on ProfStef go and nothing happened. There are three URL links > on > the same page that work like they're supposed to, but no matter how many > times I try, clicking on ProfStef go appears to do nothing at all. For me it works, but what you can also try is: 1) Click the menu Tools -> Playground 2) Type: ProfStef go. 3) Right click what you just typed and click "Do It" BTW, I'm also new with Pharo (not with programming) and I really enjoy the book at http://books.pharo.org/pharo-by-example/. Cheers, Richard -- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
Re: [Pharo-users] Learn Pharo - Not Working
John Pfersich wrote > Did you use the 32-bit version or the 64-bit version? I just used Pharo > Launcher to start a 32-bit image. I clicked on ‘ProfStef go’ and got a > separate window with the tutorial. I didn’t try the 64-bit version; it’s > still beta software. Thanks again, John. I went to the download site and discovered that both 7.0 versions are labeled development versions. I downloaded and ran the 32-bit version. It works fine. -- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
Re: [Pharo-users] Learn Pharo - Not Working
Thanks, John. It is the 64-bit version. I didn't know it was beta software. -- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
Re: [Pharo-users] Learn Pharo - Not Working
Did you use the 32-bit version or the 64-bit version? I just used Pharo Launcher to start a 32-bit image. I clicked on ‘ProfStef go’ and got a separate window with the tutorial. I didn’t try the 64-bit version; it’s still beta software. /*—-*/ Sent from my iPhone https://boincstats.com/signature/-1/user/51616339056/sig.png See https://objectnets.net and https://objectnets.org > On Feb 1, 2019, at 23:34, magicspeller wrote: > > Hi, everyone. > > I'm an absolute newbie to Pharo, and to Smalltalk, and I'm trying to learn. > I just installed Pharo 7.0.1 (on Windows 10) and I immediately got stuck. > > I selected "Learn Pharo" in the outline, and it gave me a screen saying: > > You can learn Pharo by clicking on the following expression: > > ProfStef go. > > I clicked on ProfStef go and nothing happened. There are three URL links on > the same page that work like they're supposed to, but no matter how many > times I try, clicking on ProfStef go appears to do nothing at all. > > Am I misunderstanding what I'm supposed to do or what's supposed to happen? > > Thanks a lot for your help. > > > > -- > Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html >