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

2019-10-17 Thread Norbert Hartl
> Am 17.10.2019 um 02:00 schrieb Julián Maestri : > > As a side note, the final image size is not what really matters, if you have > 20 different images all starting from the same base image (eg ubuntu:18.04) > the base layer is shared among all images so the network / disk usage is less > t

Re: [Pharo-users] String concatenation vs. Stream

2019-10-17 Thread Richard O'Keefe
When is it pointless to introduce a WriteStream and just use #, ? When #, would not be in a loop or recursion. Constructing error messages, class initialisation code, that sort of thing. If you find yourself doing a lot of concatenations, you are probably missing an abstraction. For example, buil

[Pharo-users] Import a pharo 6 image in pharo 7

2019-10-17 Thread Oswall Verny Arguedas C.
I have a prototype of an application with image persistence made in pharo 6.1. I wanted to export (upgrade) the data (database, objects, collections) of the image and code to Pharo 7. It is possible to perform that operation. Thanks in advance Oswall

Re: [Pharo-users] String concatenation vs. Stream

2019-10-17 Thread Vince Refiti
Yes, but the real question is: What is the lower bound? When would you consider it pointless to use streams and just concatenate away? Or even trying to profile the difference. For me, 3 or less. Vince From: Pharo-users [mailto:pharo-users-boun...@lists.pharo.org] On Behalf Of Kasper Østerbye

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

2019-10-17 Thread Hernán Morales Durand
El mié., 16 oct. 2019 a las 19:49, Julián Maestri () escribió: > Example: > > # Stage 1: Load the project on an empty image, in this case this is a > development image (should change to use a minimal image) > > FROM basmalltalk/pharo:7.0-image AS loader > COPY load-project.st ./ > RUN pharo Pharo

[Pharo-users] String concatenation vs. Stream

2019-10-17 Thread Kasper Østerbye
This is an old one, and I knew of cause that one should not use #, when you can use streams instead. But that is was this bad to use #, came as a surprise I must say Best, Kasper

Re: [Pharo-users] NVARCHAR and Glorp

2019-10-17 Thread eftomi
Solomon, thank you for your additional insights. Of course we'll have to wait for SQL Server 2019 to be adopted - tactful devops wait for SP2 of v4 to change from v2 to v3 :-) Indeed I solved the problem in NVARCHAR / NCHAR / NTEXT by adding the method WideString>>#glorpPrintSQLOn: which is almost

Re: [Pharo-users] help with understanding the visitor pattern

2019-10-17 Thread Richard O'Keefe
First, this is presumably the "Die" exercise from the Pharo track of exercism.io. Second, this is a case where - there is nothing to a Die other than the number of faces, so from a practical point of view there should not be a Die class; - there is nothing to a DieHandle other than a sequence

[Pharo-users] Pharo TechTalk Oct 24

2019-10-17 Thread Marcus Denker
Hi, Next techtalk will be *next* week (Oct 24): Topic: Headless VM Calendar entry: https://association.pharo.org/event-3419545 (it was originally dated to today, we will try to be better in pre-planning from the next one on)