Re: [Pharo-users] Concurrency Best Practices + Tests

2019-10-15 Thread Richard O'Keefe
(1) Be very clear in your design about which objects are shared and which are not. (2) Immutable objects can be shared safely. Mutable ones are much much harder to work with. (3) Lazy initialisation does not work well in concurrent programming, *except* when you are constructing an immutable

Re: [Pharo-users] Aconcagua Canonical Repo(s)

2019-10-15 Thread Markus Stumptner
Thanks for pointing out the relationship.  I had actually been looking for an implementation of the old OOPSLA paper intermittently over a few months. Never would have occurred to me that this is one.   The curse of coy package names... On 15/10/2019 3:50, Cyril Ferlicot wrote: What is the

Re: [Pharo-users] Concurrency Best Practices + Tests

2019-10-15 Thread David Mason
I’d love to see someone write a recording debugger for smalltalk. In theory you might be able to use rr with Pharo. https://rr-project.org/ ../Dave On Oct 15, 2019, 9:22 AM -0400, Noury Bouraqadi , wrote: > Thanks Vince, Christopher, and Tim! > > Noury > > > On 15 Oct 2019, at 05:46, Vince Refit

Re: [Pharo-users] Transcript: printString or asString

2019-10-15 Thread Richard O'Keefe
It may be worth noting that the 1998 ANSI Smalltalk standard defines #asString for Character, , String, and Symbol and for those classes only. VisualWorks extends #asString to things like Filename and URIs and Text and several other things for which "convert to String" makes sense and are not local

Re: [Pharo-users] Smallest docker image for pharo >=7 ?

2019-10-15 Thread Hernán Morales Durand
El lun., 14 oct. 2019 a las 5:23, Pierce Ng () escribió: > On Mon, Oct 14, 2019 at 04:07:49AM -0300, Hernán Morales Durand wrote: > > Because I am lazy and want to avoid searching through all DockerHub > > repository pages... Do you know a Dockerfile to generate the smallest > > possible docker im

[Pharo-users] PharoADO

2019-10-15 Thread eftomi
Dear all, A working prototype of PharoADO is now available at https://github.com/eftomi/pharo-ado. I'd be glad if you can find the time to test it and report your observations to this list or on the GitHub. PRs are welcome and much needed :-) Firstly, I would like to focus on various database d

Re: [Pharo-users] Concurrency Best Practices + Tests

2019-10-15 Thread Noury Bouraqadi
Thanks Vince, Christopher, and Tim! Noury > On 15 Oct 2019, at 05:46, Vince Refiti > wrote: > > Hi > > Q. What are your best practices and recommendations for developing and > testing concurrent software? > A. I avoid writing concurrent code if I can. If not, I would launch multiple > Smal

Re: [Pharo-users] Transcript: printString or asString

2019-10-15 Thread Samuel Teixeira Santos
Hi Richard. Very useful your considerations. I find too the messages like #asWhatever, like you said, were about type conversions, similar like we have in other languages. #printString and the others remember me the special method in Python __str__ or __unicode__ which allow change the default re