Re: [Pharo-users] Thread-safe initialization of class state (was Re: Threads safety in Pharo)

2017-08-11 Thread Tim Mackinnon
Interesting, your example was subtle enough that I had to read it a few times to understand the issue. (I was caught up on the ifNil and not the contents). Actually, thinking about it - isn't the real issue the #ifNil - you want an atomic version. It strikes me you could wrap the whole concept

[Pharo-users] [ANN] PharoLambda 1.5 - Pharo running on AWS Lambda now with saved Debug sessions via S3

2017-08-10 Thread Tim Mackinnon
project is on: https://gitlab.com/macta/PharoLambda <https://gitlab.com/macta/PharoLambda> And the screencast: https://www.youtube.com/watch?v=bNNCT1hLA3E <https://www.youtube.com/watch?v=bNNCT1hLA3E> Tim > On 15 Jul 2017, at 00:39, Tim Mackinnon <tim@testit.works> wrote: >

Re: [Pharo-users] sharing context/variables between multiple playgrounds

2017-08-07 Thread Tim Mackinnon
I mentioned this a while back 2, less between different playground windows, but more when you drill down on a value in a playground and then want to use a value on the first pane. There was some discussion about this (Denis had some good ideas), and it seemed like a good idea but something to

[Pharo-users] How to remove packages and reclaim image size?

2017-08-04 Thread Tim Mackinnon
Hi - I’m wondering how you best remove packages in the image to reclaim space? I am a bit confused because I see 2 package systems MCPackage and RPackage? And I see 2 different ways of removing things: (MCPackage named: name) unload (RPackage organizer packageNamed: name) unregister So which

Re: [Pharo-users] Settings - Server Mode - should I use it?

2017-08-04 Thread Tim Mackinnon
> But since your Lambda is meant to finish quite quickly, alternatively maybe > during image shutdown you could set a flag such that next startup > #interCyclePause: blocks for 500ms and if the image exits cleanly and > quickly, #doOneCycleNowFor: is never executed at all. > > chee

Re: [Pharo-users] How to load a baseline in Iceberg? Get #addTo: sent to nil?

2017-08-03 Thread Tim Mackinnon
> On 3 Aug 2017, at 20:29, Alistair Grant <akgrant0...@gmail.com> wrote: > >> On Thu, Aug 03, 2017 at 05:28:33PM +0100, Tim Mackinnon wrote: >> Alistair - does that mean you?ve not tried using that menu item on a baseline >> package? I think its there for this reason -

Re: [Pharo-users] How to load a baseline in Iceberg? Get #addTo: sent to nil?

2017-08-03 Thread Tim Mackinnon
packageSpecsInLoadOrder allButLast do: [ :s | s version load ]. > On 3 Aug 2017, at 14:15, Alistair Grant <akgrant0...@gmail.com> wrote: > > Hi Tim, > > On Thu, Aug 03, 2017 at 10:55:09AM +0100, Tim Mackinnon wrote: >> It might be something in this area - I wil

Re: [Pharo-users] How to load a baseline in Iceberg? Get #addTo: sent to nil?

2017-08-03 Thread Tim Mackinnon
k snapshot: true andQuit: true. > > You may not need the workarounds (first is for non-"git@" remote, second is > for github:// not working without a github.com ssh access). > > Tim Mackinnon wrote: >> I’m wondering if I’m missing a trick somewhere - but I have a simple &

Re: [Pharo-users] GT Playground, pages dropdown menu - how does it work?

2017-08-03 Thread Tim Mackinnon
dor Girba <tu...@tudorgirba.com> wrote: > > Hi, > > The dropdown only shows the cached pages. It should be enhanced. Would you be > interested in diving in to propose a change? > > Doru > > > >> On Aug 2, 2017, at 5:54 PM, Tim Mackinnon <tim@tes

Re: [Pharo-users] How to load a baseline in Iceberg? Get #addTo: sent to nil?

2017-08-03 Thread Tim Mackinnon
realise it, until I found a very simple example of it. Tim Sent from my iPhone > On 3 Aug 2017, at 01:55, Esteban A. Maringolo <emaring...@gmail.com> wrote: > > What is the Metacello integration setting? > > Esteban A. Maringolo > > 2017-08-02 19:01 GMT-03:00 Tim

Re: [Pharo-users] Iceberg and removing packages

2017-08-02 Thread Tim Mackinnon
I just hit the same problem - I wanted to remove a package that I no longer wanted - I went to the iceberg packages tab for the project and picked remove from disk and then I did a synchronise and commit. At the time I did notice that it didn’t show a package removal change (but I assumed that

Re: [Pharo-users] How to load a baseline in Iceberg? Get #addTo: sent to nil?

2017-08-02 Thread Tim Mackinnon
of these? So I guess that setting isn’t applicable? Tim > On 2 Aug 2017, at 22:31, Tim Mackinnon <tim@testit.works> wrote: > > I’m wondering if I’m missing a trick somewhere - but I have a simple project > with 2 packages, one is a BaseLineOfMyPkg and the other is MyPkg (tech

[Pharo-users] How to load a baseline in Iceberg? Get #addTo: sent to nil?

2017-08-02 Thread Tim Mackinnon
I’m wondering if I’m missing a trick somewhere - but I have a simple project with 2 packages, one is a BaseLineOfMyPkg and the other is MyPkg (technically I don’t need the BaseLineOf, but I was learning how to use them and I simply added a postLoad hook to run some code in it). Anyway, If I

Re: [Pharo-users] about a pillar based output format for Epicea

2017-08-02 Thread Tim Mackinnon
Out of curiosity (as Pillar - well actually Ecstatic, was on my next hitlist to research), but is it so different from something like JavaScripts Metalsmith.io ? I found metalsmith’s publishing pipeline and plugin system quite intuitive and easy to use but I just didn’t

[Pharo-users] GT Playground, pages dropdown menu - how does it work?

2017-08-02 Thread Tim Mackinnon
Hi - overtime I think I understand how the pages dropdown for the playground works, it then doesn’t do what I expect? I have learned that double clicking a page tab will put the page into the stash directory with a name (which is cool), but then it doesn’t always seem to appear in the dropdown

Re: [Pharo-users] What sets the Monticello Local Cache Directory default in a new image?

2017-08-02 Thread Tim Mackinnon
ambda (which is very cool BTW - and I’ll write it up soon when I have it bedded in) Tim > On 2 Aug 2017, at 15:10, Mariano Martinez Peck <marianop...@gmail.com > <mailto:marianop...@gmail.com>> wrote: > > > > On Wed, Aug 2, 2017 at 10:50 AM, Tim Mackinnon <tim@te

[Pharo-users] Settings - Server Mode - should I use it?

2017-08-02 Thread Tim Mackinnon
Hi - I hadn’t looked in the settings browser much before, but I was looking at what settings there were and noticed “server mode”. Should I be enabling this when building a headless server image to run on Lambda? I saw a 2016 post by John Brant that indicated it made a difference when doing

Re: [Pharo-users] What sets the Monticello Local Cache Directory default in a new image?

2017-08-02 Thread Tim Mackinnon
rianop...@gmail.com > <mailto:marianop...@gmail.com>> wrote: > > > > On Wed, Aug 2, 2017 at 9:16 AM, Tim Mackinnon <tim@testit.works > <mailto:tim@testit.works>> wrote: > Hi - I’ve noticed that when I download a new image+vm with zeroconf (in a > fresh di

Re: [Pharo-users] What sets the Monticello Local Cache Directory default in a new image?

2017-08-02 Thread Tim Mackinnon
th --no-default-preferences. > > -- Pavel > > 2017-08-02 14:37 GMT+02:00 Tim Mackinnon <tim@testit.works > <mailto:tim@testit.works>>: > Hey thanks - that seems like a good strategy (I hadn’t though of sharing the > GT ones as well). > > However, I’m still c

Re: [Pharo-users] What sets the Monticello Local Cache Directory default in a new image?

2017-08-02 Thread Tim Mackinnon
ug 2, 2017 at 9:16 AM, Tim Mackinnon <tim@testit.works > <mailto:tim@testit.works>> wrote: > Hi - I’ve noticed that when I download a new image+vm with zeroconf (in a > fresh directory) - that when I launch it, the setting Tools | Software Config > Mgnmnt | Monticello |

[Pharo-users] What sets the Monticello Local Cache Directory default in a new image?

2017-08-02 Thread Tim Mackinnon
Hi - I’ve noticed that when I download a new image+vm with zeroconf (in a fresh directory) - that when I launch it, the setting Tools | Software Config Mgnmnt | Monticello | Local Cache Directory has a value that points to a directory from one of my earlier images. Is this normal (does it

Re: [Pharo-users] Creating the smallest server runtime footprint

2017-07-31 Thread Tim Mackinnon
ing etc. and it seems like I should be a good customer for kicking the tires on all of this. Tim > On 31 Jul 2017, at 14:42, Pavel Krivanek <pavel.kriva...@gmail.com> wrote: > > > > 2017-07-31 15:28 GMT+02:00 Tim Mackinnon <tim@testit.works > <mailto:tim@testit.works&

Re: [Pharo-users] Creating the smallest server runtime footprint

2017-07-31 Thread Tim Mackinnon
like Gofer isn’t there, and I’m now wondering if Metacello isn’t there either) - so I’m wondering how you guys load baselinesOf of configurationsOf? Tim > On 31 Jul 2017, at 14:17, Pavel Krivanek <pavel.kriva...@gmail.com> wrote: > > H Tim > > 2017-07-31 15:07 GMT+02:

Re: [Pharo-users] Creating the smallest server runtime footprint

2017-07-31 Thread Tim Mackinnon
fulBuild/artifact/vmmaker-image.zip> > and then evaluate: > ./pharo generator.image eval "[Spur32to64BitBootstrap new bootstrapImage: > 'conversion.image'] on: AssertionFailure do: [ :fail | fail resumeUnchecked: > nil ]" > > -- Pavel > > > > 2

Re: [Pharo-users] Performance of zero conf install since 6.1 seems very slow?

2017-07-30 Thread Tim Mackinnon
caching on my end to hopefully lessen the impact of this down stream where my CI lives. Tim > On 31 Jul 2017, at 00:12, Tim Mackinnon <tim@testit.works> wrote: > > I’m still seeing very slow download response times - so I’ve started to work > on better caching Inria downloads

Re: [Pharo-users] Performance of zero conf install since 6.1 seems very slow?

2017-07-30 Thread Tim Mackinnon
/pharo64.zip) Why would this file take so much longer than than the vm? (As in minutes vs. Seconds) Tim > On 26 Jul 2017, at 12:59, Tim Mackinnon <tim@testit.works> wrote: > > Yes I see the same - it was seconds and now minutes. > > Maybe it is worth having a mirror for CI

Re: [Pharo-users] How to calculate someone's age elegantly? Does Duration work?

2017-07-28 Thread Tim Mackinnon
ifTrue: [difference - TimeUnits year unitaryMeasurement] > ifFalse: [difference] > Test for that > testAge > | john | > john := Person namedFirst: 'John' last: 'Doe' born: March fourteenth , 1963. > self > assert: (john ageOn: March thirteenth , 2013) equals: (TimeU

Re: [Pharo-users] Critical issues for Dr. Geo on P6

2017-07-28 Thread Tim Mackinnon
Just to chip in - I hope we can get past this bump (and I think it is a bump). I am actually ecstatic that recent improvements - a 64bit vm, a minimal image and git integration, have opened the door to Pharo working on AWS Lambda. Also having a CI system to help crank these things out is also a

Re: [Pharo-users] Performance of zero conf install since 6.1 seems very slow?

2017-07-26 Thread Tim Mackinnon
t; We were also seeing it yesterday. In travis, 10m to download an image (and >> thus timeout). Before it took seconds. >> >> On Wed, Jul 26, 2017 at 9:41 AM, Denis Kudriashov <dionisi...@gmail.com> >> wrote: >>> Hi. >>> >>> I don't kno

[Pharo-users] Performance of zero conf install since 6.1 seems very slow?

2017-07-26 Thread Tim Mackinnon
Hi - has anyone else noticed that since 6.1 - using zero conf for installs is very very slow (it takes minutes to download pharo64.zip when using curl get.pharo.org/64/ | bash This is both on my local computer but also on the gitlab ci server? Is it possibly something isn’t configured right?

Re: [Pharo-users] Looking for small boards and tiny computers which can run Pharo

2017-07-25 Thread Tim Mackinnon
Wasn’t there another board that Ben was talking about recently - http://blog.openinworld.com/2017/06/evening-with-pharo-esp32/ (esp32?) > On 25 Jul 2017, at 09:14, Denis Kudriashov wrote: > > Hi. > > Pharo

Re: [Pharo-users] [Pharo-dev] [ANN] Pharo 6.1 (summer) released!

2017-07-24 Thread Tim Mackinnon
This is a great step to show we have a stable consistent base for the year ahead - thanks for pulling this off! One small caveat on the 64bit angle - there are still some known outstanding bugs with 64bits - meaning that Fuel is known not to work (which might be for more specialised things -

Re: [Pharo-users] Why do we separate class/instance methods in the browser?

2017-07-23 Thread Tim Mackinnon
Thierry, i'd forgotten about alt-browser, I recall reading about it a long time ago. I'll check it out as it's sounds like the metaphor I'm thinking about. The current class/instance toggle just doesn't work well in my opinion - I like the idea of a tree on the protocol pane, that feels like a

[Pharo-users] Pharo 6, scrolling with 2 fingers on a Mac trackpad is very erratic

2017-07-23 Thread Tim Mackinnon
Hi - I’m wondering if anyone else has noticed that in Pharo 6, when you scroll on a MacBook trackpad with 2 fingers, that strange things happen, particularly if you do it quickly. For example, in a system browser if you expand the configurations tree and scroll through it, it very often just

[Pharo-users] What is the setting Software Configuration Management | Default Local Repository and why does it have a strange value?

2017-07-23 Thread Tim Mackinnon
Hi - A while back I was struggling with loading some metacello libraries and was convinced there was something wrong with the default working directory. I found a different way of loading things and moved on. Anyway - I have just noticed in the the settings Browser that there is a section

Re: [Pharo-users] Why do we separate class/instance methods in the browser?

2017-07-23 Thread Tim Mackinnon
gt; > > On Sat, Jul 22, 2017 at 4:37 PM, K K Subbu <kksubbu...@gmail.com> wrote: >> On Saturday 22 July 2017 06:51 PM, Tim Mackinnon wrote: >> >>> The one that stuck out for me (and is actually mentioned in another >>> thread this week) was the class/ins

Re: [Pharo-users] Is it possible to change the Pharo application title bar?

2017-07-23 Thread Tim Mackinnon
s.pharo.org > <mailto:pharo-users-boun...@lists.pharo.org>> på vegne av Tim Mackinnon > <tim@testit.works <mailto:tim@testit.works>> > Sendt: 22. juli 2017 18:44:46 > Til: Pharo Users Newsgroup > Emne: [Pharo-users] Is it possible to change the Pharo application

[Pharo-users] Is it possible to change the Pharo application title bar?

2017-07-22 Thread Tim Mackinnon
Hi - is it possible to easily change the Pharo.image title bar in the pharo application? (As in the OSX title bar, or Windows one). I find that I often have multiple images running and its difficult to distinguish them - so having a title that had the immediate path of the image would be very

[Pharo-users] Why do we separate class/instance methods in the browser?

2017-07-22 Thread Tim Mackinnon
Hi - this week I was asked to run a mob programming session with Smalltalk - and show a group of experienced developers Smalltalk so that they could practice mobbing around a new idea. It worked really well, a 20 min talk explaining a bit of the ethos and a few key features and some quick

Re: [Pharo-users] How to calculate someone's age elegantly? Does Duration work?

2017-07-21 Thread Tim Mackinnon
it seems rather complicated at the moment while the full git integration process is being sorted out). Thanks everyone Tim > On 21 Jul 2017, at 16:40, Paul DeBruicker <pdebr...@gmail.com> wrote: > > Tim Mackinnon wrote >> I am also wondering if the issue with Times

Re: [Pharo-users] How to calculate someone's age elegantly? Does Duration work?

2017-07-21 Thread Tim Mackinnon
017, at 12:54, K K Subbu <kksubbu...@gmail.com> wrote: > > On Friday 21 July 2017 03:01 PM, Tim Mackinnon wrote: >> Actually that simplification doesn’t work - someone born on 1/Mar/2000 >> should be 11 on 1/Mar/2011 and this answers 10 (the previous version did

Re: [Pharo-users] How to calculate someone's age elegantly? Does Duration work?

2017-07-21 Thread Tim Mackinnon
en it is >> less by 1, so the code can be simplified to: >> >> ^aDate year - self year - >> (aDate dayOfYear < self dayOfYear) ifTrue: [ 1 ] ifFalse: [ 0 ]) >> >> BTW, the code has an off-by-one error. +1 should be dropped in first age >> assignm

Re: [Pharo-users] How to calculate someone's age elegantly? Does Duration work?

2017-07-21 Thread Tim Mackinnon
Actually that simplification doesn’t work - someone born on 1/Mar/2000 should be 11 on 1/Mar/2011 and this answers 10 (the previous version did work). This does make me think its tricky enough to put this in the core - I may submit it along with the unit tests I borrowed from Stack Overflow

Re: [Pharo-users] How to calculate someone's age elegantly? Does Duration work?

2017-07-21 Thread Tim Mackinnon
self year + 1. > aDate monthIndex < self monthIndex ifTrue: [ ^age - 1 ]. > (aDate monthIndex = self monthIndex and: [aDate dayOfMonth < self > dayOfMonth]) ifTrue: [ ^age - 1 ]. > ^age > > HTH .. Subbu > >> On Friday 21 July 2017 05:28 AM, Tim Mackinnon wrote: >&

Re: [Pharo-users] How to calculate someone's age elegantly? Does Duration work?

2017-07-20 Thread Tim Mackinnon
: startDate ending: endDate) end equals: endDate. > On 21 Jul 2017, at 00:58, Tim Mackinnon <tim@testit.works> wrote: > > Hi - I just ran a great MobProgramming session with Smalltalk for the XProLo > group - and there was lots of great feedback and questions, however one of &g

[Pharo-users] How to calculate someone's age elegantly? Does Duration work?

2017-07-20 Thread Tim Mackinnon
Hi - I just ran a great MobProgramming session with Smalltalk for the XProLo group - and there was lots of great feedback and questions, however one of them really got me thinking… We did a little exercise to create a Person class with name, dob - and then we TDD’d an age method… which seems

Re: [Pharo-users] Can anyone answer this?

2017-07-20 Thread Tim Mackinnon
It would be nice if the JPMorgan folks could comment on this one (their system is now 20 years old I think, its huge, has had large numbers of people successfully working on it - concurrently) and I know they did leverage live coding ability particularly in error scenarios however there is a

Re: [Pharo-users] Why does debugger browse open on Object?

2017-07-19 Thread Tim Mackinnon
my iPhone > On 19 Jul 2017, at 19:55, Esteban Lorenzano <esteba...@gmail.com> wrote: > > Hi, > >> On 19 Jul 2017, at 19:56, Esteban A. Maringolo <emaring...@gmail.com> wrote: >> >> Hi Tim, all >> >> 2017-07-19 14:34 GMT-03:00 Tim Mackinnon <

[Pharo-users] Why does debugger browse open on Object?

2017-07-19 Thread Tim Mackinnon
Hi - I've always meant to ask this question as it often catches me out. When you get a typical debugger on doesNotUnderstood: I find that typically I've muddled up a method name - so I want to quickly browse the receiver of my mistake and understand what methods it actually has that I can use.

Re: [Pharo-users] Creating the smallest server runtime footprint

2017-07-19 Thread Tim Mackinnon
. > > Yes, it seems incredibly fast. I'll have to try this myself to check, but I > have no time now. > >> Thank you for pursuing this path, it could open a new territory for >> using Pharo at big scale. >> >> Esteban A. Maringolo >> >> >> 201

Re: [Pharo-users] Creating the smallest server runtime footprint

2017-07-17 Thread Tim Mackinnon
p-172-31-44-73 PharoLambdaMin]$ time ./pharo Pharo.image exec "Lambda processJSON: '{}'" {"outputSpeech":{"text":"Good Morning, it's eleven twenty-six","type":"PlainText"},"shouldEndSession":true,"card":{"content"

Re: [Pharo-users] Creating the smallest server runtime footprint

2017-07-17 Thread Tim Mackinnon
'conversion.image'] on: AssertionFailure do: [ :fail | fail resumeUnchecked: >> nil ]" >> >> -- Pavel >> >> >> >> 2017-07-15 10:19 GMT+02:00 Tim Mackinnon <tim@testit.works>: >>> Hi Pavel - thanks for getting me to the point where

Re: [Pharo-users] Creating the smallest server runtime footprint

2017-07-15 Thread Tim Mackinnon
es nor configurations to load your code. > > -- Pavel > > 2017-07-14 9:59 GMT+02:00 Tim Mackinnon <tim@testit.works > <mailto:tim@testit.works>>: > Hi - buoyed by the success of a minimal image (thanks Pavel), I'm wondering > if I can get even smaller. > > The

Re: [Pharo-users] Creating the smallest server runtime footprint

2017-07-15 Thread Tim Mackinnon
and <hernan.mora...@gmail.com> > wrote: > > Hi Tim, > > 2017-07-14 4:59 GMT-03:00 Tim Mackinnon <tim@testit.works>: >> Hi - buoyed by the success of a minimal image (thanks Pavel), I'm wondering >> if I can get even smaller. > > Can you share a script

Re: [Pharo-users] Understanding DateTime and Locale and formatting times in a locale?

2017-07-14 Thread Tim Mackinnon
Classic - the moment you write something, it suddenly dawns on you… its the other way around. (ZTimezone id: 'America/Halifax’) gmtToLocal: ZTimestamp now… Tim > On 15 Jul 2017, at 00:34, Tim Mackinnon <tim@testit.works> wrote: > > Thanks for chipping in - but its the o

Re: [Pharo-users] [ANN] PharoLambda a demo of Pharo running on AWS Lambda

2017-07-14 Thread Tim Mackinnon
Things move fast, I already got a shout out from an AWS advocate - https://twitter.com/chrismunns/status/885959425860808704 <https://twitter.com/chrismunns/status/885959425860808704> Tim > On 15 Jul 2017, at 00:39, Tim Mackinnon <tim@testit.works> wrote: > > Hi - I’v

[Pharo-users] [ANN] PharoLambda a demo of Pharo running on AWS Lambda

2017-07-14 Thread Tim Mackinnon
Hi - I’ve been playing around with getting Pharo to run well on AWS Lambda. It’s early days, but I though it might be interesting to share what I’ve learned so far. Usage examples and code at https://gitlab.com/macta/PharoLambda With help from many of

Re: [Pharo-users] Understanding DateTime and Locale and formatting times in a locale?

2017-07-14 Thread Tim Mackinnon
printOn: stream timezone: (ZTimezone id: 'America/Halifax’) but it doesn’t seem to be that? I must be missing something. Tim > On 14 Jul 2017, at 23:28, Norbert Hartl <norb...@hartl.name> wrote: > > Have a look at #asLocal > > Norbert > >> Am 14.07.2017 um 23

[Pharo-users] Understanding DateTime and Locale and formatting times in a locale?

2017-07-14 Thread Tim Mackinnon
Hi - I’m really confused about DateAndTime support in Pharo? If I have a server app running in the EU, and a user makes a request from Canada, and I want to format the time they see to be in their timezone - how do I do that with the classes in Pharo? I can ask for a DataAndTime nowUTC, and if

Re: [Pharo-users] Is there a 64bit minimal image for either 6.0 or 7.0?

2017-07-14 Thread Tim Mackinnon
mpile everything. In > the image there is the Undeclared mechanism that should rebind new classes as > soon as they are loaded. Can you provide more insight on the bug? Why do you > need to recompile? > > Tx, > Guille > > On Thu, Jul 13, 2017 at 7:55 PM, Tim Mackinno

Re: [Pharo-users] Creating the smallest server runtime footprint

2017-07-14 Thread Tim Mackinnon
im Sent from my iPhone > On 14 Jul 2017, at 08:59, Tim Mackinnon <tim@testit.works> wrote: > > Hi - buoyed by the success of a minimal image (thanks Pavel), I'm wondering > if I can get even smaller. > > There are lots of .so's in the vm which wouldn't make sense on a

[Pharo-users] Creating the smallest server runtime footprint

2017-07-14 Thread Tim Mackinnon
Hi - buoyed by the success of a minimal image (thanks Pavel), I'm wondering if I can get even smaller. There are lots of .so's in the vm which wouldn't make sense on a server once deployed - sound, maybe libgit ... Is there a list of the essential ones, or tips on what I can strip out of the

Re: [Pharo-users] Is there a 64bit minimal image for either 6.0 or 7.0?

2017-07-13 Thread Tim Mackinnon
| m recompile ]. MCFileTreeAbstractReader methods do: [:m | m recompile ]. Tim > On 13 Jul 2017, at 18:18, Tim Mackinnon <tim@testit.works> wrote: > > Thinking about this a bit more - if the minimal image is too minimal, and I > load in some required classes - do I nee

Re: [Pharo-users] Is there a 64bit minimal image for either 6.0 or 7.0?

2017-07-13 Thread Tim Mackinnon
Thinking about this a bit more - if the minimal image is too minimal, and I load in some required classes - do I need to force methods to recompile to pick up the now loaded classes? Is there an easy way to do that? Tim > On 13 Jul 2017, at 17:40, Tim Mackinnon <tim@testit.works&

Re: [Pharo-users] Is there a 64bit minimal image for either 6.0 or 7.0?

2017-07-13 Thread Tim Mackinnon
rtifact/latest-minimal-64.zip > > <https://ci.inria.fr/pharo/view/7.0/job/70-Bootstrap-32bit-Conversion/lastSuccessfulBuild/artifact/latest-minimal-64.zip> > > -- Pavel > > 2017-07-13 8:10 GMT+02:00 Tim Mackinnon <tim@testit.works > <mailto:tim@testit.works>>

Re: [Pharo-users] Is there a 64bit minimal image for either 6.0 or 7.0?

2017-07-13 Thread Tim Mackinnon
bs that will convert them to 64bits. > > -- Pavel > > 2017-07-12 23:14 GMT+02:00 Tim Mackinnon <tim@testit.works>: >> Hi - I would like to try a minimal image on AWS lambda (so I need a 64 bit >> version). >> >> Is there a 64bit image for either 6.0 or 7.0 t

[Pharo-users] Is there a 64bit minimal image for either 6.0 or 7.0?

2017-07-12 Thread Tim Mackinnon
Hi - I would like to try a minimal image on AWS lambda (so I need a 64 bit version). Is there a 64bit image for either 6.0 or 7.0 that is easy to download? I can see - http://get.pharo.org/60-minimal but it doesn’t say its 64 bit, so I assume its 32bit? Tim

Re: [Pharo-users] 2 questions around gitlab, gitfiletree, BaselineOf

2017-07-12 Thread Tim Mackinnon
I have another approach (possibly similar) - as gitlab has already checked out the code for you you simply need to point to it? - rm -rf build. # gitlab can cache the build directory - mkdir build - cp scripts/* build - cd build - curl get.pharo.org/64/ | bash - ./pharo Pharo.image

Re: [Pharo-users] How to specify metacello package dependencies in a git world?

2017-07-09 Thread Tim Mackinnon
017, at 12:00, Thierry Goubier <thierry.goub...@gmail.com> wrote: > > Hi Tim, > > Le 09/07/2017 à 10:31, Tim Mackinnon a écrit : >> Hi - I am trying to specify a simple package dependency(NeoJSON) for a hello >> world type simple project and I’m hitting problems. >&

[Pharo-users] How to specify metacello package dependencies in a git world?

2017-07-09 Thread Tim Mackinnon
Hi - I am trying to specify a simple package dependency(NeoJSON) for a hello world type simple project and I’m hitting problems. I’ve been reading the DeepIntoPharo chapter and have looked at the blog post by Uko (http://blog.yuriy.tymch.uk/2015/07/pharo-and-github-versioning-revision-2.html

Re: [Pharo-users] How to view hierarchy of multiple classes in a package?

2017-07-08 Thread Tim Mackinnon
That's awesome and it reminds me that I need to make a baselineof for all my fav tools so that I load them when I grab a new image, as I don't have calypso loaded on my lambda experimental image. Tim Sent from my iPhone Sent from my iPhone > On 7 Jul 2017, at 16:55, Denis Kudriashov

Re: [Pharo-users] Should I be running 32bit or 64bit pharo 6?

2017-07-08 Thread Tim Mackinnon
It would be great if the snap instructions were on the download page as I can never remember them when I point fellow devs to Pharo (who often are using Linux) Tim Sent from my iPhone Sent from my iPhone > On 7 Jul 2017, at 14:49, Alistair Grant wrote: > > If you're

Re: [Pharo-users] installing iceberg

2017-07-07 Thread Tim Mackinnon
:06, sergio ruiz <sergio@gmail.com> wrote: > > I am running pharo 6. > > i am running the 64bit version.. should i be running the 32bit version? > > when i try to run iceberg, I get an error.. but it is installed when i > download.. > >> On July 6,

Re: [Pharo-users] installing iceberg

2017-07-06 Thread Tim Mackinnon
What version are you trying to install in in? As Pharo 6 (and I believe the new 7) already have it installed- you can just select it in the Tools menu? If you are trying to upgrade it - there were some instructions in an email from Esteban - but you only need to do that if you want to run 64bit

Re: [Pharo-users] Are we able to run pharo images in a read only environment?

2017-07-05 Thread Tim Mackinnon
gt; But it is really hard to find the cause. > > The good news is that the Pharo 7 minimal core is way faster > > $ time ./pharo ~/Downloads/Pharo7.0-core-32bit-b649ac6.image eval "42 > factorial" > 14050061177528798985431426062445115699363840 > > real 0m

Re: [Pharo-users] Pharo command line, stdout and integrating with other tools?

2017-07-04 Thread Tim Mackinnon
; > and it'll print 42 and nothing else. > > I'm not sure I understand the double quote (") character issue that \" > solves. Example? > > > > On Thu, Jun 29, 2017 at 7:02 AM, Tim Mackinnon <tim@testit.works > <mailto:tim@testit.works>> wro

Re: [Pharo-users] Pharo command line, stdout and integrating with other tools?

2017-07-04 Thread Tim Mackinnon
"type": "simple" } } ‘ok’ <— this extra output, the result of a method will confuse tools calling Pharo Tim > On 1 Jul 2017, at 17:41, Tim Mackinnon <tim@testit.works> wrote: > > Thanks Andreas, I was just coming to the conclusion you have pointed o

Re: [Pharo-users] Pharo command line, stdout and integrating with other tools?

2017-07-01 Thread Tim Mackinnon
ll > ./pharo -headless myimage.image process StandardFileStream stdout print: 42 > > and it'll print 42 and nothing else. > > I'm not sure I understand the double quote (") character issue that \" > solves. Example? > > > >> On Thu, Jun 29, 2017

Re: [Pharo-users] Are we able to run pharo images in a read only environment?

2017-06-30 Thread Tim Mackinnon
93638400000 > > real0m0.262s > user0m0.132s > sys0m0.062s > > Which is good of course ! > >> That being said, these lambda servers can only work well if they keep >> instances alive for longer when there is enough traffic.>> >>>

Re: [Pharo-users] Pharo6 playground saving semantics and .changes?

2017-06-29 Thread Tim Mackinnon
aved automagically in > pharo-local/play-stash (and auto saves on changes from then on). I use that > all the time. > >> On 29 Jun 2017, at 16:45, Tim Mackinnon <tim@testit.works> wrote: >> >> Hi - I really like the playground metaphor, it really is such a nice

[Pharo-users] Pharo6 playground saving semantics and .changes?

2017-06-29 Thread Tim Mackinnon
Hi - I really like the playground metaphor, it really is such a nice way to experiment. However I've noticed that unlike older versions of Smalltalk, it seems that DoIt operations in playground don't end up in the .changes file anymore (which I guess is a mixed blessing when you want to

[Pharo-users] Pharo command line, stdout and integrating with other tools?

2017-06-29 Thread Tim Mackinnon
Hi - I've been playing with using Pharo with Aws lambda and have got an image to launch in that environment. However now I need to better integrate Pharo with its calling environment - and I know there was a concerted effort to make Pharo play better which I should be able to leverage. So I

Re: [Pharo-users] Are we able to run pharo images in a read only environment?

2017-06-28 Thread Tim Mackinnon
Van Caekenberghe <s...@stfx.eu> wrote: > > >> On 28 Jun 2017, at 13:52, JeremieRegnault <jeremie.regna...@outlook.com> >> wrote: >> >> Tim Mackinnon wrote >>> FYI: I managed to get it to work - I still get the message about trying to >>> sav

Re: [Pharo-users] Are we able to run pharo images in a read only environment?

2017-06-28 Thread Tim Mackinnon
simple lambda execution takes about 2700 to 2900ms Tim > On 28 Jun 2017, at 01:01, Tim Mackinnon <tim@testit.works> wrote: > > Hi Sven, I'm curious how you are running your image. > > I am following this tutorial - > https://aws.amazon.com/blogs/compute/scripting-l

Re: [Pharo-users] Are we able to run pharo images in a read only environment?

2017-06-27 Thread Tim Mackinnon
? Like you, I am wondering when I run it on an ec2 instance (non lambda), why it takes so long to load? It feels like it can be faster? Tim Sent from my iPhone Sent from my iPhone > On 27 Jun 2017, at 20:21, Sven Van Caekenberghe <s...@stfx.eu> wrote: > > >> On 27 Ju

Re: [Pharo-users] Pharo6 bootstrap how to

2017-06-27 Thread Tim Mackinnon
This is great work - I think ultimately we can show the strengths of Smalltalk on images running in unusual places. Tim Sent from my iPhone > On 27 Jun 2017, at 12:05, Pavel Krivanek <pavel.kriva...@gmail.com> wrote: > > > > 2017-06-26 18:19 GMT+02:00 Tim Mackin

Re: [Pharo-users] ZnConstants missing 511 in default Pharo 6.0 32 image?

2017-06-27 Thread Tim Mackinnon
> On 27 Jun 2017, at 17:55, Sven Van Caekenberghe <s...@stfx.eu> wrote: > > >> On 27 Jun 2017, at 18:30, Tim Mackinnon <tim@testit.works> wrote: >> >> Yes ZnConstants initialize >> Works, >> >> When I inspected the constants before this,

Re: [Pharo-users] ZnConstants missing 511 in default Pharo 6.0 32 image?

2017-06-27 Thread Tim Mackinnon
? Tim > On 27 Jun 2017, at 15:02, Sven Van Caekenberghe <s...@stfx.eu> wrote: > > Hi Tim, > >> On 27 Jun 2017, at 15:50, Tim Mackinnon <tim@testit.works> wrote: >> >> Hi - I have been slowly working my way through some of the pharo components &

[Pharo-users] Are we able to run pharo images in a read only environment?

2017-06-27 Thread Tim Mackinnon
Hi - I am trying to run a pharo image in lambda (as an experiment) - however I get an error from Pharo about not being able to write to the changes file? As I am just evaluating some code - I’m not really coding, so don’t need a changes file - is there a command line option to not require it?

[Pharo-users] ZnConstants missing 511 in default Pharo 6.0 32 image?

2017-06-27 Thread Tim Mackinnon
Hi - I have been slowly working my way through some of the pharo components and tutorials and when trying out ZnEasy with a password protected api, I got a talkback when I mistyped a password. It looks like ZnConstants in a fresh Pharo 6.0 32 image excludes 511 from its constants. The code

Re: [Pharo-users] Pharo6 bootstrap how to

2017-06-26 Thread Tim Mackinnon
This is very interesting… what would you need in that image to use the remote debugging demo’d at Pharo Days 2017 - as I’m assuming for a server environment with a web-app, you could have a lean core image and then remotely attach to it to understand what was going on? With enough

Re: [Pharo-users] UUIDGenerator

2017-06-19 Thread Tim Mackinnon
> wrote: > > That being said, maybe one can do a spotter extension that looks into the > help topics. > > I did one with windows (should be in Pharo7). > > So one would ho to spotter and put a word followed by #help or #he > > Maybe this is in already! > Phil

Re: [Pharo-users] UUIDGenerator

2017-06-19 Thread Tim Mackinnon
It is in the Pharo help - however I have noticed that Help doesn’t have a convenient search box and the new Welcome screen that launches with Pharo possibly should have a shortcut to useful navigational features…. Sounds like something I can contributed. Tim > On 19 Jun 2017, at 00:39,

Re: [Pharo-users] [ARTICLE] Quick write me a Redis client

2017-06-14 Thread Tim Mackinnon
Hi Sven - another nice article. 2 small typos I spotted: 1) requests) from the client to the server are sent as a array of bulk strings Should be requests) from the client to the server are sent as an array of bulk strings 2) to interact with as much services and servers as possible Is

Re: [Pharo-users] A question of style - pass a context or embed one?

2017-06-13 Thread Tim Mackinnon
asses based on the metadata provided by Jira. > > Phil > > On Mon, Jun 12, 2017 at 9:28 PM, Esteban A. Maringolo <emaring...@gmail.com > <mailto:emaring...@gmail.com>> wrote: > Hello Tim, > > 2017-06-12 16:15 GMT-03:00 Tim Mackinnon <tim@testit.works>

[Pharo-users] A question of style - pass a context or embed one?

2017-06-12 Thread Tim Mackinnon
Hi - I’m after some ideas or maybe previous examples that might guide me in the best approach of wrapping a low level library (essentially the Jira connector that Phil demo’d at Pharo days this year). There are some low level commands that will fetch json arrays for you given a “lira”

Re: [Pharo-users] pharocloud alternative

2017-05-31 Thread Tim Mackinnon
I really, really wish that we had a vm that worked on AWS Lambda… I think this is the future of computing - and I would dearly love to understand the “smalltalk” approach to function as a service (FAAS). In particular how you debug apps. I was struck by Phil’s demo at Pharo days, where he

Re: [Pharo-users] Loading Glorp+PostgreSQL

2017-05-24 Thread Tim Mackinnon
from my iPhone > On 24 May 2017, at 06:22, Sven Van Caekenberghe <s...@stfx.eu> wrote: > > >> On 24 May 2017, at 01:36, Tim Mackinnon <tim@testit.works> wrote: >> >> I just forked the booklet today and was working through it. I don’t know if >> your c

Re: [Pharo-users] Loading Glorp+PostgreSQL

2017-05-23 Thread Tim Mackinnon
I just forked the booklet today and was working through it. I don’t know if your changes were already in there, but most things are working for me. I have hit a few typos and inconsistencies that I’ve noted and I would recommend a change to the unit test bit as it feels weird to add a test

Re: [Pharo-users] Anyone knows how to get the list of available archetype with Pillar?

2017-05-22 Thread Tim Mackinnon
I’m also interested in Pillar and Ecstatic - how do you even get started with this? I would like to replace my experiment with Metalsmith.io with ecstatic/pillar but its quite opaque at the moment. It feels like its very similar, and my reasons for switching are that

<    2   3   4   5   6   7   8   >