Re: [Pharo-users] VW -> Pharo

2019-10-18 Thread Tim Mackinnon
Yes having these things would be very useful, thanks for pushing them. Tim Sent from my iPhone > On 18 Oct 2019, at 21:35, eftomi wrote: > > … namely, I was thinking about porting ActiveRecord - if I'm not mistaken, > Alan's AR is not implemented yet in Pharo. It would be nice to have a

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

2019-10-18 Thread Tim Mackinnon
This is a better link: https://workingcopy.app/git/#path=scripts/build.sh=g...@gitlab.com:macta/PharoLambda.git Sent from my iPhone > On 18 Oct 2019, at 16:18, Tim Mackinnon wrote: > > Hi Norbert - it’s all in the gitlab repo (the idea was to fork it and > configure your own pipeline e vars)

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

2019-10-18 Thread Tim Mackinnon
Hi Norbert - it’s all in the gitlab repo (the idea was to fork it and configure your own pipeline e vars) However the key stuff was in the scripts dir, and this file - /scripts/build.sh Which also loads some .st files for image fix ups . Tim Sent from my iPhone Sent from my iPhone > On 18

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

2019-10-18 Thread Jan van de Sandt
Hi Norbert, Last year I did some experiments with Pharo Lambda functions, see: https://github.com/jvdsandt/pharo-aws-toolbox/blob/master/doc/pharo-lambda-runtime.md I didn't spend a lot of time on minimizing the image. There is still a lot of room for improvement. Jan. On Fri, Oct 18,

[Pharo-users] [ANN] Next Pharo Sprint: Oct 25

2019-10-18 Thread Marcus Denker
We will organize a Pharo sprint / Moose dojo Oct 25, starting at 10:00am. (Local Time Paris). Goals of this sprint: - Pharo 8: Fix issues from tracker https://github.com/pharo-project/pharo/issues Remote Sprint: Remotely, you

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

2019-10-18 Thread Kasper Østerbye
On 18 October 2019 at 08.00.13, Richard O'Keefe (rao...@gmail.com) wrote: 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

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

2019-10-18 Thread Norbert Hartl
Tim, is there a document anywhere explaining how to do a lambda image? Norbert > Am 18.10.2019 um 11:00 schrieb Tim Mackinnon : > > I haven’t tried in a while, but in 2017 with PharoLambda I had a combined > Pharo image and VM size if 21 mb using the early Pharo minimal (I recall it > was

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

2019-10-18 Thread Sven Van Caekenberghe
> On 18 Oct 2019, at 07:59, Richard O'Keefe wrote: > > 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

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

2019-10-18 Thread Tim Mackinnon
I haven’t tried in a while, but in 2017 with PharoLambda I had a combined Pharo image and VM size if 21 mb using the early Pharo minimal (I recall it was an early 7.0 image ). I was loading a simple hello Alexa app, so not a ton of code (but it had Neo Json and other AWS libs as a dependency I

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

2019-10-18 Thread Sven Van Caekenberghe
Hi, You could try to serialise/deserialise your data with either STON (textual) or FUEL (binary). 'mydata.ston' asFileReference writeStreamDo: [ :out | (STON writer on: out) nextPut: objectGraph ]. 'mydata.ston' asFileReference readStreamDo: [ :in | (STON reader on: in) next ]. If you have