Re: [Pharo-users] Rewriting question

2017-06-12 Thread Nicolai Hess
2017-06-10 21:16 GMT+02:00 werner kassens : > On 06/10/2017 04:07 PM, werner kassens wrote: > >> On 06/10/2017 03:37 PM, werner kassens wrote: >> >>> Hi, >>> >>> i have a private rewriting rule. unfortunately it shows up in the lower >>> pane of the SystemBrowser which makes no sense at all, since

Re: [Pharo-users] Pharo6 server deployment and no home directory

2017-06-12 Thread Juraj Kubelka
Hi Holger, I have an impression that it can be solved by using "--no-default-preferences” option: ./pharo Pharo.image --no-default-preferences Is it a good solution for you? Or do you need to load some preferences? Another option could be implementing an error signal, e.g., CantFindOr

Re: [Pharo-users] How to grab a debug on Syntax Error?

2017-06-12 Thread Henrik Sperre Johansen
Depends on whether you have a SyntaxErrorNotification or a SemanticError. For SyntaxErrorNotifications, you can wrap in a handler block raising a debugger (and will see at which index in source the error is for). Handling automatically is very kludgey without changes to the way OpalCompiler fetche

Re: [Pharo-users] How to grab a debug on Syntax Error?

2017-06-12 Thread Henrik Sperre Johansen
Stephane Ducasse-3 wrote > You get a pop up but now idea how to do anything with it. You're supposed to edit the invalid source code in the popup, and save it. Then load will proceed using the corrected code. The title / tooltip for the popup could surely use some better explaining ;) -- View

Re: [Pharo-users] How to grab a debug on Syntax Error?

2017-06-12 Thread Marcus Denker
> On 12 Jun 2017, at 10:46, Henrik Sperre Johansen > wrote: > > Stephane Ducasse-3 wrote >> You get a pop up but now idea how to do anything with it. > > You're supposed to edit the invalid source code in the popup, and save it. > Then load will proceed using the corrected code. Yes, and it

Re: [Pharo-users] Rewriting question

2017-06-12 Thread werner kassens
Hi Nicolai, thanks, yes, i can see that basically more or less solves the problem i had. werner On 06/12/2017 09:15 AM, Nicolai Hess wrote: 2017-06-10 21:16 GMT+02:00 werner kassens >: On 06/10/2017 04:07 PM, werner kassens wrote: On 06/10/2017 03:37

Re: [Pharo-users] Wiring objects, IoC and Service Locator

2017-06-12 Thread Vitor Medina Cruz
> > I don't think it should. If you have a small cluster of objects where you > can manage the dependencies yourself, you can compose larger objects from > them and manage the dependencies the same way. By doing so, you'll get an > object that is simpler from the outside than it's parts in the insi

[Pharo-users] Remote debugger: do i need identical images ?

2017-06-12 Thread Steven Costiou
Hi, when using the Pharo remote debugger, we have a server side (the remote application) and a client side (the local computer used to debug). Apart from the remote debugger itself, do both images need to have exactly the same code - especially the application itself - or could they be differen

Re: [Pharo-users] Remote debugger: do i need identical images ?

2017-06-12 Thread Denis Kudriashov
Hi. 2017-06-12 16:03 GMT+02:00 Steven Costiou : > Hi, > > when using the Pharo remote debugger, we have a server side (the remote > application) and a client side (the local computer used to debug). > > Apart from the remote debugger itself, do both images need to have exactly > the same code - e

Re: [Pharo-users] Remote debugger: do i need identical images ?

2017-06-12 Thread Steven Costiou
Le 2017-06-12 16:27, Denis Kudriashov a écrit : > Hi. > > 2017-06-12 16:03 GMT+02:00 Steven Costiou : > >> Hi, >> >> when using the Pharo remote debugger, we have a server side (the remote >> application) and a client side (the local computer used to debug). >> >> Apart from the remote deb

[Pharo-users] A question of style - pass a context or embed one?

2017-06-12 Thread Tim Mackinnon
Hi - I’m after some ideas or maybe previous examples that might guide me in the best approach of wrapping a low level library (essentially the Jira connector that Phil demo’d at Pharo days this year). There are some low level commands that will fetch json arrays for you given a “lira” instance-

Re: [Pharo-users] A question of style - pass a context or embed one?

2017-06-12 Thread Esteban A. Maringolo
Hello Tim, 2017-06-12 16:15 GMT-03:00 Tim Mackinnon : > Hi - I’m after some ideas or maybe previous examples that might guide me in > the best approach of wrapping a low level library (essentially the Jira > connector that Phil demo’d at Pharo days this year). > > There are some low level comman

Re: [Pharo-users] A question of style - pass a context or embed one?

2017-06-12 Thread p...@highoctane.be
A dynamic variable could work too. But domain objects are somewhat hard to do in my view because we are dealing with an API that has tons of options and customizability in its results + people can define their own types and fields. That's why I went for a JiraBuilder thing that has a reference to

[Pharo-users] Test request

2017-06-12 Thread Hilaire
Hi, A Dr. Geo user on Ubuntu 16.04 reported to me instability problem I do not meet on my 12.04 config. It seems related to Cairo or FreeType. I will likely update my system on 16.04 later this summer, but I can't just tweak it as this is the end of the school year with several admin tasks to con

Re: [Pharo-users] Test request

2017-06-12 Thread john pfersich
I followed the steps in your mail and it seems to work fine in Ubuntu 16.04 LTS, though I've never tried Dr Geo and the app is mostly in French. It's been 47 years since I've used French extensively, so YMMV. Let you know if I have problems. On Mon, Jun 12, 2017 at 12:59 PM, Hilaire wrote: > Hi,

Re: [Pharo-users] Help in thinking about how to save a "program"

2017-06-12 Thread Benoit St-Jean via Pharo-users
--- Begin Message --- Hi Glenn, Another very useful tool you can use to save/manipulate/store Smalltalk scripts is ScriptManager (http://catalog.pharo.org/catalog/project/ScriptManager).   There are plenty of similar tools but this one is very easy to use and simple and has been doing the job for

Re: [Pharo-users] Help in thinking about how to save a "program"

2017-06-12 Thread Ben Coman
On Mon, Jun 12, 2017 at 7:22 AM, Glenn Hoetker wrote: > Hi all. I’m new to Pharo and loving it. As I transition from a text-file > based mindset, I’m a little stuck and would appreciate help in how to think > about a situation in a Pharonic (Pharo-ish, Pharoc?) way. > > I”m crafting a short pro

Re: [Pharo-users] Wiring objects, IoC and Service Locator

2017-06-12 Thread aryehof
Consider that in Java, one can /only /achieve polymorphic behavior across objects by using /interfaces /or /inheritance/. In Smalltalk one can achieve polymorphic behavior across objects just by *having them understand the same message*. The need to have complex schemes for the wiring of objects