Re: [Pharo-users] OSProcess and CommandShell available on GitHub for Pharo users

2019-10-14 Thread David T. Lewis
Hi Sean, On Mon, Oct 14, 2019 at 08:16:17AM -0500, Sean P. DeNigris wrote: > David T. Lewis wrote > > Alistair Grant and I, with the support of Feenk, have made GitHub > > repositories > > for OSProcess and CommandShell > > Thank you to all involved! > > > David T. Lewis wrote > > my own develo

Re: [Pharo-users] OSProcess and CommandShell available on GitHub for Pharo users

2019-10-14 Thread David T. Lewis
On Mon, Oct 14, 2019 at 11:01:13AM -0500, Sean P. DeNigris wrote: > David T. Lewis wrote > > they can now be loading in Pharo... > > In Pharo 7.0.4, the following chugged for about an hour cycling back and > forth between OSP and Command Shell without completing: > baseline: 'OSProcess' with

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

2019-10-14 Thread Vince Refiti
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 Smalltalk instances instead. Even then I would use SQLite3 (or even Postgres, Redis etc) to hold the shared mutabl

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

2019-10-14 Thread Tim Mackinnon
Noury - I happened to notice in a recent article about the Rust scheduler (it caught my eye) it had a section on concurrent testing and a tool they write called Loom to test all possible permutations and catch errors. This might be an avenue of investigation for your work ? An idea any way. htt

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

2019-10-14 Thread Sean P. DeNigris
gcotelli wrote > I don't know if call it canonical. But certainly it is the version the > community is maintaining. That works for me. I guess I'll re-fork from there. Hopefully, some of the other repo owners will speak up as to whether they have useful changes to pick up. - Cheers, Sean --

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

2019-10-14 Thread Gabriel Cotelli
I don't know if call it canonical. But certainly it is the version the community is maintaining. It's a fork of the mtaborda repo and converted to tonel format. I don't know how it was migrated from Sthub, but it was before any tool for migrating the history existed. I think it must contain all th

Re: [Pharo-users] NVARCHAR and Glorp

2019-10-14 Thread eftomi
Thanks, Sven. I found the "ultimate" place where strings are being prepared for INSERT INTO clause - this happens in String>>#glorpPrintSQLOn:. Not so easy to parametrize at a first glance. Maybe with WideString>>#glorpPrintSQLOn: but I'm not sure how other platforms would be happy. I decided to wo

Re: [Pharo-users] How to install stripe library on Pharo 7 64bit ?

2019-10-14 Thread Paul DeBruicker
Are you sure you're using a released version of Pharo 7? Running the load script in a stable released version of Pharo 7 loads with no errors for me. I'm not in a position to be able to support un-released or non-stable or outdated versions of Pharo (e.g. pharo 8). To get a stable version of Pha

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

2019-10-14 Thread Cyril Ferlicot
What is the relation with Units maintained by Zweindenker? On Mon 14 Oct 2019 at 19:13, Sean P. DeNigris wrote: > It seems that this is now canonical: https://github.com/ba-st/aconcagua > > I assume its predecessor [1] was a port from this StHub repo [2]. There are > two other repos on StHub [3]

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

2019-10-14 Thread Sean P. DeNigris
To slightly further complicate matters, canonical does not quite have all commits from its predecessor. - Cheers, Sean -- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html

[Pharo-users] Aconcagua Canonical Repo(s)

2019-10-14 Thread Sean P. DeNigris
It seems that this is now canonical: https://github.com/ba-st/aconcagua I assume its predecessor [1] was a port from this StHub repo [2]. There are two other repos on StHub [3] - the first of which has changes after the last in [1] and the other has changes which may have been/need to be merged. C

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

2019-10-14 Thread Richard Sargent
Samuel, One thing I don't recall seeing in this thread is a discussion of the semantics of the methods names. I find it helpful to consider #asWhatever to be a conversion method, used to convert one object to another essentially compatible class. e.g. #asFloat sent to an integer would be expected

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

2019-10-14 Thread Samuel Teixeira Santos
Very clear to me now. Thank you and to others too by your previous answers

Re: [Pharo-users] OSProcess and CommandShell available on GitHub for Pharo users

2019-10-14 Thread Sean P. DeNigris
David T. Lewis wrote > they can now be loading in Pharo... In Pharo 7.0.4, the following chugged for about an hour cycling back and forth between OSP and Command Shell without completing: baseline: 'OSProcess' with: [ spec

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

2019-10-14 Thread Christopher Fuhrman
On Mon, Oct 14, 2019, 08:49 Samuel Teixeira Santos wrote: > when you say when: "what this object converted *to a string means in my > domain"* - what really means, specially about when you say *'domain'?* > > Could you give some example for this? > > Thanks > A good example might be PLU codes [1

Re: [Pharo-users] OSProcess and CommandShell available on GitHub for Pharo users

2019-10-14 Thread Sean P. DeNigris
Sean P. DeNigris wrote > ...to the GH README Also: - you can disable the GH issue tracker if you don't want reports there - you don't need the code subfolder (src) in the URL since you have project metadata - Cheers, Sean -- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.ht

Re: [Pharo-users] OSProcess and CommandShell available on GitHub for Pharo users

2019-10-14 Thread Sean P. DeNigris
David T. Lewis wrote > Alistair Grant and I, with the support of Feenk, have made GitHub > repositories > for OSProcess and CommandShell Thank you to all involved! David T. Lewis wrote > my own development work remains on squeaksource so I prefer > contributions there anyway It might be good to

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

2019-10-14 Thread Samuel Teixeira Santos
I like the way you put because it's a nice way to remember and to teach too. I'm just bit confusing, and I think this because Object Oriented it's not one of my strong skills, when you say when: "what this object converted *to a string means in my domain"* - what really means, specially about when

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

2019-10-14 Thread Sean P. DeNigris
arcanosam wrote > printString... v asString... There is something different about both? I will add that conceptually: - #printString = what a developer would want to see, e.g. in an inspector - #displayString = a string suitable for UI (i.e. in production) - #asString - while typically implemented

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

2019-10-14 Thread Samuel Teixeira Santos
Thank you too Richard. Very interesting and elucidative. Regards to all.

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

2019-10-14 Thread Norbert Hartl
Hi, > Am 14.10.2019 um 09:07 schrieb Hernán Morales Durand > : > > Hi guys, > > 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 image for Pharo? Please have a look at https://githu

Re: [Pharo-users] NVARCHAR and Glorp

2019-10-14 Thread Sven Van Caekenberghe
Hi Tomaz, > On 11 Oct 2019, at 18:15, eftomi wrote: > > Dear all, > > I'm working on ADO database driver for Glorp by using Pablo's PharoCOM. The > structure of the driver is similar to Sven's P3DatabaseDriver and P3Client > (thanks, Sven for very clear architecture :-) ) and the work is progre

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

2019-10-14 Thread Richard O'Keefe
days keysAndValuesDo: [:key :value | Transcript print: key; nextPutAll: ' has '; print: value; nextPutAll: ' days'; cr]. Transcript endEntry. works too and in some Smalltalks is easily the most efficient approach, as it does not construct any strings you have no other use for. In Pharo, howeve

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

2019-10-14 Thread Pierce Ng
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 image for Pharo? > Anyone could make it work Pharo on Alpine since i

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

2019-10-14 Thread Hernán Morales Durand
Hi guys, 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 image for Pharo? I am also interested in which stage you use to install packages into the image, and why? Do you copy the contained im