Re: [Pharo-users] Dynamically changing code in a safe way

2017-10-24 Thread Prof. Andrew P. Black
> On 24 Oct 2017, at 22:48 , Peter Uhnák wrote: > > > Why the assignment of the new code is delayed until the end of the bloc > > execution? > > The assignment is performed immediately, but the old code is still being > executed. Once the value was sent to the block, the

Re: [Pharo-users] Can we halt on memory growth beyond a limit?

2017-10-24 Thread Ben Coman
On Wed, Oct 25, 2017 at 4:15 AM, PAUL DEBRUICKER wrote: > I'm trying to get some understanding about a process that uses a lot of > RAM when it runs. > > > Is there a way to halt if/when RAM use doubles ? > > > Thanks > > Paul > I don't know, but just to clarify, you are

Re: [Pharo-users] Glorp: #includesKey:

2017-10-24 Thread jtuc...@objektfabrik.de
Herby, I must admit I've never used Dictionary Mappings with Glorp, so I don't have an answer. But I am a bit confused by your code examples. See below Am 24.10.17 um 20:27 schrieb Herby Vojčík: Hello! I am using a DictionaryMapping in my code, and I wanted to use #includesKey: in #where:

Re: [Pharo-users] Territorial loading problems & alternative ways of loading data for making a choropleth map

2017-10-24 Thread Hernán Morales Durand
2017-10-24 15:24 GMT-03:00 Offray Vladimir Luna Cárdenas : > Gracias Hernán! > No problema :) > This is working fine. I would like to put the displayed map inside the > GT playground right panel, to get something similar to what you get when > you execute

[Pharo-users] CodeCity like visualization in Linux

2017-10-24 Thread Rafael Luque
Hi all, I'm working on an introductory talk about Pharo for a software craftsmanship local meetup. The presentation will be mainly driven by demos and I'd like to show a CodeCity-like visualization. I've been able to load it in Pharo 5, but it get an error when select the "City" tag in

Re: [Pharo-users] Can we halt on memory growth beyond a limit?

2017-10-24 Thread Clément Bera
Hi, You can start the VM with this parameter: --memory [mk]use fixed heap size (added to image size) When the memory is reached you have an out of memory error. Check --help on the VM. On Tue, Oct 24, 2017 at 10:15 PM, PAUL DEBRUICKER wrote: > I'm trying to get

Re: [Pharo-users] using mocketry to mock subcall

2017-10-24 Thread Denis Kudriashov
Hi 2017-10-24 20:07 GMT+02:00 Herby Vojčík : > Denis Kudriashov wrote: > >> Hi Herby. >> >> 2017-10-20 18:49 GMT+02:00 Herby Vojčík > >: >> >> >> I had this problem. I tried something like (though not exactly w/ >> this code):

Re: [Pharo-users] Multi-core Software Concurrency

2017-10-24 Thread Michael J. Forster
To supplement the points raised by others, I never assume that someone asking me about "concurrency" understands the following: https://blog.golang.org/concurrency-is-not-parallelism -- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html

Re: [Pharo-users] Dynamically changing code in a safe way

2017-10-24 Thread Peter Uhnák
> Why the assignment of the new code is delayed until the end of the bloc execution? The assignment is performed immediately, but the old code is still being executed. Once the value was sent to the block, the block started executing and is no longer under the control of the HotSwapping object.

Re: [Pharo-users] Dynamically changing code in a safe way

2017-10-24 Thread Prof. Andrew P. Black
> On 23 Oct 2017, at 23:12 , Richard Sargent > wrote: > > Imagine if I were to hand you a loaf of bread and tell you to feed it to the > dog. If I were then to hand you another loaf of bread, the dog would continue > eating the first loaf. We never told

[Pharo-users] Glorp: #includesKey:

2017-10-24 Thread Herby Vojčík
Hello! I am using a DictionaryMapping in my code, and I wanted to use #includesKey: in #where: clause (something akin each tools includesKey: aToolId ) to select only rows for which DictionaryMapping uses certain key. It failed with the error in the lines of "#tools does not resolve to

Re: [Pharo-users] Territorial loading problems & alternative ways of loading data for making a choropleth map

2017-10-24 Thread Offray Vladimir Luna Cárdenas
Gracias Hernán! This is working fine. I would like to put the displayed map inside the GT playground right panel, to get something similar to what you get when you execute "RTMapLocationExample new exampleSeismOnEarth" from a playground. Do you have any planned support for that? I could try to

Re: [Pharo-users] using mocketry to mock subcall

2017-10-24 Thread Herby Vojčík
Denis Kudriashov wrote: Hi Herby. 2017-10-20 18:49 GMT+02:00 Herby Vojčík >: I had this problem. I tried something like (though not exactly w/ this code): Foo stub new will: [ :aMessage | | original | original :=

Re: [Pharo-users] Zinc HTTP Component HTTP/2?

2017-10-24 Thread Volkert
I am not sure what Svens plan with the Zinc HTTP Component is, but a bounty is a good idea ... On 23.10.2017 22:12, Stephane Ducasse wrote: > We could run a bounty. Now here we are full of work. > > On Mon, Oct 23, 2017 at 6:59 PM, Volkert > wrote: >> So

Re: [Pharo-users] Smalltalk Argument

2017-10-24 Thread David Mason
PharoJS is working to give you that mobile app/browser app experience. As with others, we're not there yet, but getting there. See http://pharojs.org The 67% loved means that 67% of people using Smalltalk (or perhaps have ever used it) want to continue - so it's presumably a high percentage of

[Pharo-users] [ANN] Pharo Consortium New Platinum Member: Ingenieurbüro für Bauwesen Schmidt GmbH

2017-10-24 Thread Marcus Denker
The Pharo Consortium is very happy to announce that Ingenieurbüro für Bauwesen Schmidt GmbH has joined the Consortium as a Platinum Member. About - Ingenieurbüro für Bauwesen Schmidt GmbH: http://bauing-schmidt.de - Pharo Consortium: http://consortium.pharo.org The goal of the Pharo Consortium