Re: [Pharo-users] Bloc Space within a Space

2017-09-25 Thread Sean P. DeNigris
Stephane Ducasse-3 wrote > with multiple little worlds showing windows inside and to control all > the events. That sounds awesome! Smalltalk is at heart a simulation bench and the inability to simulate the IDE itself has felt like heavy shackles when I tried to implement several

Re: [Pharo-users] Usability issues with Calypso

2017-09-25 Thread Sean P. DeNigris
Denis Kudriashov wrote > In Calypso you should not create protocols with star. In method editor > status bar there is explicit checkbox "extension" to specify external > package for the method. > We should move away from star convention and work directly with packages. > Calypso gives you the

Re: [Pharo-users] Testing a Unicode Character's Category

2017-09-25 Thread Richard Sargent
Andrew P. Black wrote > The Pharo image has a table of Unicode Character Categories in a class > variable GeneralCategory of class Unicode. But there do not seem to be > many methods to interpret this data. For example, while there is a method > > Unicode class >> #isDigit: aCharacter >

[Pharo-users] How to include DeployUtils in a Configuration?

2017-09-25 Thread Hernán Morales Durand
I am trying to include DeployUtils in a ConfigurationOf (Pharo 6.1) following instructions at: https://github.com/fstephany/DeployUtils If I include the dependency as suggested: spec baseline: 'DeployUtils' with: [ spec repository: 'github://fstephany/DeployUtils/repository']. then when I

Re: [Pharo-users] How to find if a method is being executed in a given process

2017-09-25 Thread Steven Costiou
Le 2017-09-25 17:47, Stephane Ducasse a écrit : > This is exactly my usecase, i need to remove code that may be called > by a method on the stack - and i know exactly which method. However my > base hypothesis is that it is in an already running process (maybe a > loop) and that part i cannot

Re: [Pharo-users] How to find if a method is being executed in a given process

2017-09-25 Thread Marcus Denker
> On 25 Sep 2017, at 17:47, Stephane Ducasse wrote: > > This is exactly my usecase, i need to remove code that may be called > by a method on the stack - and i know exactly which method. I do not understand. I think we are all not in sync and talk about four different

Re: [Pharo-users] How to find if a method is being executed in a given process

2017-09-25 Thread Stephane Ducasse
This is exactly my usecase, i need to remove code that may be called by a method on the stack - and i know exactly which method. However my base hypothesis is that it is in an already running process (maybe a loop) and that part i cannot change. Is there an existing Pharo implementation of

Re: [Pharo-users] NeoJSON and polymorphism

2017-09-25 Thread Juraj Kubelka
Hi Sven, thank you! In the NeoJSON repository, you likely want to merge Neo-JSON-Core-SvenVanCaekenberghe.43 and 44. And the same for the test cases. > On Sep 24, 2017, at 06:05, Sven Van Caekenberghe wrote: > > Hi Juraj, > > This would be a simpler form of the type/class

Re: [Pharo-users] How to find if a method is being executed in a given process

2017-09-25 Thread Marcus Denker
> On 25 Sep 2017, at 15:19, Steven Costiou wrote: > > > Le 2017-09-25 12:21, jtuc...@objektfabrik.de wrote : > >> Steven >> >> You could add use a semaphore if changing code is an option. >> We once used MethodWrappers in VAST to answer a similar question regarding

Re: [Pharo-users] How to find if a method is being executed in a given process

2017-09-25 Thread Ben Coman
On Mon, Sep 25, 2017 at 9:19 PM, Steven Costiou wrote: > > > Le 2017-09-25 12:21, jtuc...@objektfabrik.de wrote : > > Steven > > You could add use a semaphore if changing code is an option. > We once used MethodWrappers in VAST to answer a similar question regarding >

Re: [Pharo-users] Pharo 7 license question

2017-09-25 Thread Jimmie Houchin
Hello, thanks for the reply. I have thought about recursive and unfortunately it is not in my opinion an adequate or equivalent substitute. It may be inoffensive, but it is not accurate in conveying those properties or characteristics of the GPL. Something that is recursive generally makes

Re: [Pharo-users] Is a non-break space whitespace?

2017-09-25 Thread stephan
On 25-09-17 09:53, Richard Sargent wrote: Rather than off-the-cuffing anything, please honour the Unicode Character Properties. Refer to https://en.wikipedia.org/wiki/Unicode_character_property#Whitespace, among others. That is a good idea. And it won't help you if you scrape data from the

Re: [Pharo-users] How to find if a method is being executed in a given process

2017-09-25 Thread Steven Costiou
Le 2017-09-25 12:21, jtuc...@objektfabrik.de wrote : > Steven > > You could add use a semaphore if changing code is an option. > We once used MethodWrappers in VAST to answer a similar question regarding > whether a body of code can be removed from a system. > > Joachim This is exactly my

[Pharo-users] Testing a Unicode Character's Category

2017-09-25 Thread Prof. Andrew P. Black
The Pharo image has a table of Unicode Character Categories in a class variable GeneralCategory of class Unicode. But there do not seem to be many methods to interpret this data. For example, while there is a method Unicode class >> #isDigit: aCharacter that checks if the Unicode

Re: [Pharo-users] How to find if a method is being executed in a given process

2017-09-25 Thread Ben Coman
On Mon, Sep 25, 2017 at 6:06 PM, Steven Costiou wrote: > Hi, > > how can i know if a given method is being executed ? > > For ex.: > > process := [[mycondition] whileTrue:[ myObject doStuff. myDelay wait]] fork > > I want to suspend process and find if doStuff is being

Re: [Pharo-users] Is a non-break space whitespace?

2017-09-25 Thread Ben Coman
On Mon, Sep 25, 2017 at 3:53 PM, Richard Sargent < richard.sarg...@gemtalksystems.com> wrote: > Ben Coman wrote > > On Sun, Sep 24, 2017 at 7:53 PM, PBKResearch > > > peter@.co > > > > > wrote: > > > >> Hello All > >> > >> > >> > >> I have a little puzzle to disturb your Sunday lunch, maybe. I

Re: [Pharo-users] How to find if a method is being executed in a given process

2017-09-25 Thread Marcus Denker
> On 25 Sep 2017, at 12:06, Steven Costiou wrote: > > Hi, > > how can i know if a given method is being executed ? > > For ex.: > > process := [[mycondition] whileTrue:[ myObject doStuff. myDelay wait]] fork > > I want to suspend process and find if doStuff is being

Re: [Pharo-users] How to find if a method is being executed in a given process

2017-09-25 Thread jtuc...@objektfabrik.de
Steven You could add use a semaphore if changing code is an option. We once used MethodWrappers in VAST to answer a similar question regarding whether a body of code can be removed from a system. Joachim Am 25.09.17 um 12:06 schrieb Steven Costiou: Hi, how can i know if a given method

[Pharo-users] How to find if a method is being executed in a given process

2017-09-25 Thread Steven Costiou
Hi, how can i know if a given method is being executed ? For ex.: process := [[mycondition] whileTrue:[ myObject doStuff. myDelay wait]] fork I want to suspend process and find if doStuff is being executed or if process is waiting. How could i do that ? Steven.

Re: [Pharo-users] Is a non-break space whitespace?

2017-09-25 Thread PBKResearch
Hello One way of dealing with this in a general way is to introduce a new predicate #isWhitespace for Character, maybe following the Wikipedia definition as Richard suggests, and then either (a) recode String>>#trim and friends to use #isWhitespace rather than #isSeparator or (b) introduce

Re: [Pharo-users] Is a non-break space whitespace?

2017-09-25 Thread Sven Van Caekenberghe
> On 25 Sep 2017, at 09:53, Richard Sargent > wrote: > > Ben Coman wrote >> On Sun, Sep 24, 2017 at 7:53 PM, PBKResearch > >> peter@.co > >> >> wrote: >> >>> Hello All >>> >>> >>> >>> I have a little puzzle to disturb your Sunday lunch, maybe. I have

Re: [Pharo-users] Is a non-break space whitespace?

2017-09-25 Thread Richard Sargent
Ben Coman wrote > On Sun, Sep 24, 2017 at 7:53 PM, PBKResearch > peter@.co > > wrote: > >> Hello All >> >> >> >> I have a little puzzle to disturb your Sunday lunch, maybe. I have been >> scraping text data from web pages, which often comes with redundant space >> before or after. I routinely

Re: [Pharo-users] Is a non-break space whitespace?

2017-09-25 Thread Ben Coman
On Sun, Sep 24, 2017 at 7:53 PM, PBKResearch wrote: > Hello All > > > > I have a little puzzle to disturb your Sunday lunch, maybe. I have been > scraping text data from web pages, which often comes with redundant space > before or after. I routinely use ‘trim’ on the