Re: [Pharo-users] How to write a little REPL

2017-11-27 Thread Stephane Ducasse
Sorry I wanted to have it in pharo :) On Mon, Nov 27, 2017 at 3:56 AM, Holger Freyther wrote: > >> On 27. Nov 2017, at 05:38, Stephane Ducasse wrote: >> >> Hi > > Hey! > > >> I'm working on a mini scheme implementation and I would like to add a REPL

Re: [Pharo-users] Autoupdate of playground contents up to the last keystroke

2017-11-27 Thread Tudor Girba
Hi, You are reading the wrong port. Try this instead: playground := GTPlayground new. playground openOn: GTPlayPage new. playground onChangeOfPort: #text act: [ :x | self inform: (x pane port: #text) value ] Cheers, Doru > On Nov 28, 2017, at 12:48 AM, Offray Vladimir Luna

Re: [Pharo-users] How do you store and manage small programs?

2017-11-27 Thread Andy Burnett
Wow! What a great collection of answers. Thanks everyone, I learned a lot from that relatively simple question. I have installed QuickAccess - that's very cool. And, I have also tried the

[Pharo-users] Autoupdate of playground contents up to the last keystroke

2017-11-27 Thread Offray Vladimir Luna Cárdenas
Hi, Grafoscopio uses Doru's suggestion for auto-updating its contents, as published in http://ws.stfx.eu/ETEC2JH7363M, but if you test that code you will see that the contents showed in the inform message are one keystroke behind of the current playground content, as showed below, which creates

[Pharo-users] Using a TreePresenter

2017-11-27 Thread Prof. Andrew P. Black
I'm trying to use a (subclass of a) TreePresenter that is populated with FileReferences. I see that the current selection is, reasonably enough, a TreeNodePresenter, so I'm assuming that to set a selection programatically, I'm going to have to find the right TreeNodePresenter. So I've assumed

Re: [Pharo-users] How do you store and manage small programs?

2017-11-27 Thread Sean P. DeNigris
Stephane Ducasse-3 wrote > Super cool tshirt! Ha ha ha +1!! - Cheers, Sean -- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html

Re: [Pharo-users] Pharo-Chrome (was: Soup bug(fix))

2017-11-27 Thread Stephane Ducasse
Hi stephan not really this is more "not thinking in terms of large dependencies" :) Stef On Mon, Nov 27, 2017 at 12:26 PM, stephan wrote: > On 27-11-17 11:02, Alistair Grant wrote: >> >> As >> we've seen from Pillar and Magritte, the more dependencies the greater >> the

Re: [Pharo-users] Pharo-Chrome (was: Soup bug(fix))

2017-11-27 Thread Stephane Ducasse
Hi alistair I understand. If this is a useful combination my practice is to create a separate projects which loads both. For Pillar and Magritte this is another story. When magritte is used deep down in the core of Magritte then you end up being forced to load magritte even when you do not need

Re: [Pharo-users] How do you store and manage small programs?

2017-11-27 Thread Stephane Ducasse
Super cool tshirt! Stef On Mon, Nov 27, 2017 at 1:18 PM, p...@highoctane.be wrote: > It is useful for presentations. > > https://www.youtube.com/watch?v=JhmmoEtAq20=269s > > Phil > > On Mon, Nov 27, 2017 at 1:06 PM, Tim Mackinnon wrote: >> >> Wow - I never

Re: [Pharo-users] Removing instance variables doesn't recompile the methods

2017-11-27 Thread abdelghani ALIDRA via Pharo-users
--- Begin Message --- Hi Peter, Yes. More basically : 1) you compile a method with parameter anObject 2) you add an instance anObject 3) you try to modify/compile the method and you have a message error. Maybe there should be a kind of warning message Abdelghani

Re: [Pharo-users] Removing instance variables doesn't recompile the methods

2017-11-27 Thread abdelghani ALIDRA via Pharo-users
--- Begin Message --- Hi Ben, I will try to see. I dont have my PC right now Abdelghani En date de : Lun 27.11.17, Ben Coman a écrit : Objet: Re: [Pharo-users] Removing instance variables doesn't recompile the methods À:

Re: [Pharo-users] How do you store and manage small programs?

2017-11-27 Thread Offray Vladimir Luna Cárdenas
Yes. Plenty of solutions, from just open your Playground in a scripts folder, to QuickAccess, to objects, to embedding scripts into more complete data narratives. They serve different purposes, so explore them and see which ones serves better your taste and user case. Cheers, Offray On

Re: [Pharo-users] How do you store and manage small programs?

2017-11-27 Thread p...@highoctane.be
It is useful for presentations. https://www.youtube.com/watch?v=JhmmoEtAq20=269s Phil On Mon, Nov 27, 2017 at 1:06 PM, Tim Mackinnon wrote: > Wow - I never noticed that extension - that’s amazing. > > On 27 Nov 2017, at 10:56, p...@highoctane.be wrote: > > QuickAccess is

Re: [Pharo-users] How do you store and manage small programs?

2017-11-27 Thread Tim Mackinnon
Wow - I never noticed that extension - that’s amazing. > On 27 Nov 2017, at 10:56, p...@highoctane.be wrote: > > QuickAccess is also a great option. > > https://pharoweekly.wordpress.com/2015/11/06/quickaccess/ > > > On Mon, Nov 27,

Re: [Pharo-users] Pharo-Chrome (was: Soup bug(fix))

2017-11-27 Thread stephan
On 27-11-17 11:02, Alistair Grant wrote: As we've seen from Pillar and Magritte, the more dependencies the greater the maintenance costs and potential for incompatibility. That conclusion is not supported by the actual code. The maintenance costs for Pillar were high because of ignoring

Re: [Pharo-users] How do you store and manage small programs?

2017-11-27 Thread Alistair Grant
On 27 November 2017 at 11:16, Alistair Grant wrote: > On 26 November 2017 at 13:07, Stephane Ducasse > wrote: >> Hi Andy >> >> As you saw there are plenty of solutions. >> >> Now what I learned is that it is often better in the long to have a >>

Re: [Pharo-users] How do you store and manage small programs?

2017-11-27 Thread p...@highoctane.be
QuickAccess is also a great option. *https://pharoweekly.wordpress.com/2015/11/06/quickaccess/ * On Mon, Nov 27, 2017 at 11:16 AM, Alistair Grant wrote: > On 26 November 2017 at 13:07, Stephane Ducasse

Re: [Pharo-users] How do you store and manage small programs?

2017-11-27 Thread Alistair Grant
On 26 November 2017 at 13:07, Stephane Ducasse wrote: > Hi Andy > > As you saw there are plenty of solutions. > > Now what I learned is that it is often better in the long to have a > little object because suddenly > it opens your mind and you realise that you can teach

Re: [Pharo-users] Pharo-Chrome (was: Soup bug(fix))

2017-11-27 Thread Alistair Grant
Hi Stef, On 26 November 2017 at 22:39, Stephane Ducasse wrote: > Hi Alistair > > If you want help I can add a baseline that automtically load DataFrame. > Because users should not load by themselves external project. Thanks for the offer, but Pharo-Chrome isn't actually

Re: [Pharo-users] Removing instance variables doesn't recompile the methods

2017-11-27 Thread Peter Uhnák
As far as I know this has been a _feature_ for a very long time. Automatic recompiling methods is not the best idea, because: 1) you compile a method with temp var "hello" that uses inst var "world" 2) you add a inst var "hello" 3) you remove "world" 4) trying to recompile the method will fail,

Re: [Pharo-users] How to write a little REPL

2017-11-27 Thread p...@highoctane.be
Or https://github.com/guillep/Scale but linux. Phil On Nov 27, 2017 03:56, "Holger Freyther" wrote: > > > On 27. Nov 2017, at 05:38, Stephane Ducasse > wrote: > > > > Hi > > Hey! > > > > I'm working on a mini scheme implementation and I would like

Re: [Pharo-users] How to write a little REPL

2017-11-27 Thread p...@highoctane.be
NeoConsole could be an option. https://github.com/svenvc/pharo-server-tools/blob/master/README.md Phil On Nov 27, 2017 03:56, "Holger Freyther" wrote: > On 27. Nov 2017, at 05:38, Stephane Ducasse wrote: > > Hi Hey! > I'm working on a mini

Re: [Pharo-users] How to write a little REPL

2017-11-27 Thread Pavel Krivanek
Do you want it in the command line or in the Morphic UI? -- Pavel 2017-11-26 22:38 GMT+01:00 Stephane Ducasse : > Hi > > I'm working on a mini scheme implementation and I would like to add a REPL > and > I wonder how I can super easily get a read line. > > Stef > >