[Pharo-users] Re: Standalone html builder (a la seaside without seaside?)

2020-09-29 Thread Tim Mackinnon
;> might check it out. Be aware that my former colleague created it for our >> specific project and I have never used it in any other place, so I just HOPE >> it would work like I imagine. It is also not documented or tested at all. >> >> Best regards, >> Ja

[Pharo-users] Re: Standalone html builder (a la seaside without seaside?)

2020-09-28 Thread Tim Mackinnon
> On 28 Sep 2020, at 19:35, Franz Josef Konrad wrote: > > Am 28.09.2020 um 19:28 schrieb Tim Mackinnon: >> Hi - has anyone ever managed to extract the html builder out of seaside - or >> written something equivalent? >> I often find I want to build some HTML, but

[Pharo-users] Standalone html builder (a la seaside without seaside?)

2020-09-28 Thread Tim Mackinnon
Hi - has anyone ever managed to extract the html builder out of seaside - or written something equivalent? I often find I want to build some HTML, but don’t want the full seaside - and was wondering if anyone has managed to extract it, or have something similar? This combined with Renoir from

Re: [Pharo-users] Disable halt and breakpoints globally

2020-08-19 Thread Tim Mackinnon
Hi Esteban - its a good question (and I'm intrigued what can be done) - but for production aren't you automatically building a fresh image with a CI system... its pretty easy to do these days and this would stop that. Additionally you could add something to search for self halt, as a build step

Re: [Pharo-users] Extract-method refactoring erratic behavior in Pharo 8

2020-08-02 Thread Tim Mackinnon
I think these ones should be testable quite easily - I wrote (when prompted by Stef) a series of tests for the text selection expansion commands which use a similar ast/node based inferencing - so the refactorings should be written with an ast passed to them along with cursor and text

Re: [Pharo-users] Extract-method refactoring erratic behavior in Pharo 8

2020-07-31 Thread Tim Mackinnon
Well said. Yes - we should work on our refactoring tools a lot more. As the inventors of refactoring and the tools that back it, we’ve got to a place where we are a bit poor in this area - it’s not fluid and easy like it should be. Although - hats off to the automatic rewrite tools for

Re: [Pharo-users] Want to create a text Field using SPEC2 to get Value from User

2020-07-29 Thread Tim Mackinnon
Hi - you will get the most benefit by working through the problem yourself which is why folks are hesitant to “do it for you”, as you won’t learn meaningfully that way. Have you tried putting a break point in the code and using the debugger? (You can use the code “self halt.” If you can’t

Re: [Pharo-users] [ANN] Hyperspace v2.0.0 [v2.0.0] released!

2020-06-30 Thread Tim Mackinnon
Hey guys - I love your little repos of useful stuff, however can I ask a favour - could you put a better readme on your repo's as its not always obvious what they do , and whether its something worth investing some time in. Tim On Mon, 29 Jun 2020, at 8:32 PM, Buenos Aires Smalltalk wrote: >

Re: [Pharo-users] UK Smalltalk User Group Meeting - Wednesday, May 27th

2020-05-20 Thread Tim Mackinnon
Before the lockdown, when you could meet in the pub, we were blown away when Alan nervously approached us and asked if we were the UKST group as he was keen to meet some Smalltalkers as he’d been using this music system written in Smalltalk ... it was an amazing story that I’m sure he’ll get

Re: [Pharo-users] Deleting images / saving as - in Pharo Launcher auncher

2020-05-15 Thread Tim Mackinnon
I find I do the same sort of precautionary measure (and probably would do it more if launcher supported this use case and helped me manage those snaphot images) - I view it a bit like how TimeMachine lets you see previous versions of files - yes the source code is versioned, but its just the

Re: [Pharo-users] All file accesses get externalCalledFailed exceptions.

2020-04-22 Thread Tim Mackinnon
H Michael- that seems strange, I just tried the following on a Pharo8 with Catalina: OSPlatform current currentWorkingDirectoryPath. > /Users/macta/Dev/Smalltalk/Pharo/Pharo 8.0 - 64bit I’m using PharoLauncher, although my images are not stored in Documents, but ~/Dev/Smalltalk/Pharo (I

[Pharo-users] Code Changes seems very slow in P8?

2020-04-21 Thread Tim Mackinnon
I haven’t used P8 a lot, but I still find that the code changes tool still needs more work (I feel quite nervous about it vs. the now deprecated changes file). I noticed today on a new P8 image where I did a bit of work (not much). Having launched the image again today (and my laptop had

Re: [Pharo-users] Why are dropdown lists so chunky even in new Spec?

2020-04-21 Thread Tim Mackinnon
Perhaps I should just log an issue for this? But is this a Launcher issue or a Spec2 one? > On 19 Apr 2020, at 15:36, Tim Mackinnon wrote: > > Great work on bringing spec to life, and it looks quite slick in the new > PharoLaucnher - but I don’t understand why in Pharo the d

[Pharo-users] Pharo.org is down?

2020-04-18 Thread Tim Mackinnon
Is there planned maintenance on pharo.org? Is been down for a while today….

Re: [Pharo-users] [Demo]: Remote Control Mac Apps (like OBS) via Pharo on iOS

2020-04-16 Thread Tim Mackinnon
Nice one Sean - didn’t recognise you with the moustache though ;) It hadn’t occurred to me to link in to some AppleScript to make things happen - great observation. > On 16 Apr 2020, at 12:11, Sean P. DeNigris wrote: > > I used Pharo to turn an iPhone into a tethered remote control for apps

Re: [Pharo-users] Pharo 8: What is the VM doing when I am doing nothing?

2020-04-11 Thread Tim Mackinnon
Hi Peter - I had understood that this always a problem as Morphic is always polling for events (so am surprised you found an image where it’s not happening). I believe that recent work has almost got to a point where this can be resolved - there were some recent status reports on this, and

Re: [Pharo-users] Thinking aloud about project at hand

2020-04-10 Thread Tim Mackinnon
Wasn’t there a recent financial app in Pharo that was made open source... there might be many ideas in it, and possibly a starting point. It’s in the success pages of pharo: Quuve, there are posts from Mariano about what tech they used too Tim > On 10 Apr 2020, at 09:13, "teso...@gmail.com"

Re: [Pharo-users] Ballooning image size! Approaching 400MB

2020-04-01 Thread Tim Mackinnon
Hi Russ - > On 1 Apr 2020, at 17:14, Russ Whaley wrote: > > A couple of basic questions... > I thought tempVariables, inside a method were automatically destroyed when > the method terminated? > If I pass an object (either a parm or tempVariable) that resides in that > message to another

Re: [Pharo-users] Ballooning image size! Approaching 400MB

2020-04-01 Thread Tim Mackinnon
ntermediate solution as well. Of course > that doesn't fix the code which doesn't dispose of the objects in the UI or > model... > > > Joachim > > > > > Am 01.04.20 um 08:42 schrieb Tim Mackinnon: >> Hi Russ - a quick look at your stats seems to indicate th

Re: [Pharo-users] Ballooning image size! Approaching 400MB

2020-04-01 Thread Tim Mackinnon
Hi Russ - a quick look at your stats seems to indicate that something is holding on to your model, I didn’t understand the first object growing by 2, but the second increases by 1 each time, and it looks like some form of root object holding on to the others ? This of course means the GC can’t

[Pharo-users] What is the status of SUnit in Pharo?

2020-03-30 Thread Tim Mackinnon
Hi guys - what’s the status of SUnit in Pharo, are fixes supposed to be applied upstream to some master SUnit project or do we propose fixes/improvements locally? For example the method: should: aBlock raise: anExceptionalEvent whoseDescriptionIncludes: substring description: aString

Re: [Pharo-users] Do we have a simple markdown parser?

2020-03-26 Thread Tim Mackinnon
Hey Kasper - it looks like your GHMParser does exactly what I need, in that it parses the markdown spec I am looking at. One question - GHMAbstractBlock has a children property - when would you expect that to be populated? E.g. if the markdown was # Header 1 Some text ## Header 2 More text

Re: [Pharo-users] Do we have a simple markdown parser?

2020-03-25 Thread Tim Mackinnon
Hey thanks - I took another fresh image and this one seemed to work, so not sure what happened in the other image that causes that issue (I’ve seen it before with other projects too - something seems to cause a stall, and then things don’t seem to work …). Anyway - thanks for putting it

Re: [Pharo-users] Do we have a simple markdown parser?

2020-03-25 Thread Tim Mackinnon
o me. > > Best, > > Kasper > > On Tue, Mar 24, 2020 at 10:12 PM Tim Mackinnon <mailto:tim@testit.works>> wrote: > Hmm I hadn’t even thought of Xstreams… I always thought it sounded cool, > perhaps its a place to start - but as you mention, I’m not sure it reall

Re: [Pharo-users] Do we have a simple markdown parser?

2020-03-24 Thread Tim Mackinnon
Use case is: > > > | wikiGrammar wikiParser output| > Transcript clear. > wikiGrammar := PEGParser grammarWiki reading positioning. > wikiParser := PEGParser parserPEG parse: 'Grammar' stream: wikiGrammar actor: > PEGParserParser new. > input := (your string input goes h

Re: [Pharo-users] Do we have a simple markdown parser?

2020-03-24 Thread Tim Mackinnon
gt; though. > > On Tue, Mar 24, 2020 at 1:52 PM Tim Mackinnon wrote: > Hi guys - do we have a simple markdown parser that is reasonably up to date? > I did a quick GitHub scan and a few popped out, but I wasn’t convinced I had > found one the “everyone” uses (albeit, everyone might

[Pharo-users] Do we have a simple markdown parser?

2020-03-24 Thread Tim Mackinnon
Hi guys - do we have a simple markdown parser that is reasonably up to date? I did a quick GitHub scan and a few popped out, but I wasn’t convinced I had found one the “everyone” uses (albeit, everyone might be a small sample). Ideally I don’t want to get sucked into writing another one (a

Re: [Pharo-users] [ANN] JRMPC Poll

2020-03-24 Thread Tim Mackinnon
Or we teach people to fish…? What’s the point of duplicating everything that’s already in the image anyway - we just need to be cleverer or ensure that people know to look there and have the right onboarding experience to do that? Otherwise its just another thing that gets out of date very

Re: [Pharo-users] Pharo #sum vs #sumNumbers and the consequence of #average

2020-03-23 Thread Tim Mackinnon
Thanks for the git issue - and sadly this goes back a long way :( I’ve added my example to the sad history… is there anyone that can rule on this? > On 23 Mar 2020, at 21:23, Sven Van Caekenberghe wrote: > > https://github.com/pharo-project/pharo/issues/2225 > >> On 23 Mar 2

Re: [Pharo-users] Pharo #sum vs #sumNumbers and the consequence of #average

2020-03-23 Thread Tim Mackinnon
I’m always impressed with the quality of answers that come out of these discussions - inevitably I’m reminded that dispatching off the right parties is ultimately where the power lies (when you cheat - it always seems to end up with a gotcha). Thanks guys. Tim > On 23 Mar 2020, at 15:15,

[Pharo-users] Pharo #sum vs #sumNumbers and the consequence of #average

2020-03-23 Thread Tim Mackinnon
ote: > > Thanks for sharing, this is indeed something quite subtle. > >> On 20 Mar 2020, at 16:19, Tim Mackinnon wrote: >> >> Actually I can answer my own question - its the difference between #sum and >> #sumNumbers (and an easy mistake to make - I almost

Re: [Pharo-users] Slots vs collections

2020-03-20 Thread Tim Mackinnon
Wow - I hadn’t quite understood the implications here- can you explain that 2DArray reference a bit more? I keep thinking slots are cool but haven’t quite spotted when to use them and this seems like a compelling example that I haven’t quite grasped... Tim > On 20 Mar 2020, at 17:54, Noury

Re: [Pharo-users] Pharo float precision vs Python

2020-03-20 Thread Tim Mackinnon
…. Ar it makes my head hurt. Its important as we compare differently to python and this then makes us waste time. Tim > On 20 Mar 2020, at 15:19, Tim Mackinnon wrote: > > Actually I can answer my own question - its the difference between #sum and > #sumNumbers (and an easy mistake

Re: [Pharo-users] Pharo float precision vs Python

2020-03-20 Thread Tim Mackinnon
Actually I can answer my own question - its the difference between #sum and #sumNumbers (and an easy mistake to make - I almost wish that sum was the sumNumbers implementation and there was a sumSample that behaved like now) > On 20 Mar 2020, at 14:52, Tim Mackinnon wrote: > > Hi

[Pharo-users] Pharo float precision vs Python

2020-03-20 Thread Tim Mackinnon
Hi guys - I recall this came up a few months ago, but I’m curious about the difference of Pharo’s use of Float64 vs Python - as I assumed that if languages use the same IEEE spec (or whatever spec it is) that simple stuff would be quite similar. I am curious why in Python adding these numbers:

[Pharo-users] Best ways to retrieve JSON objects from a feed?

2020-03-20 Thread Tim Mackinnon
Hi everyone, I’m finally finding some space from world chaos and looking more into Pharo, and I have a question about retrieving json data from feeds - how is the best way to elegantly parse it - e.g. I am doing : url := ZnUrl fromString:

Re: [Pharo-users] Corona virus

2020-03-16 Thread Tim Mackinnon
9-ncov%2Fhcp%2Finfection-control.html > > <https://www.cdc.gov/coronavirus/2019-ncov/infection-control/control-recommendations.html?CDC_AA_refVal=https%3A%2F%2Fwww.cdc.gov%2Fcoronavirus%2F2019-ncov%2Fhcp%2Finfection-control.html> > - https://www.thelancet.com/coronavirus > <htt

Re: [Pharo-users] Corona virus

2020-03-16 Thread Tim Mackinnon
Guys - this is very moving… I have family in Italy and its very worrying to hear the accounts, but equally as this spreads wider I worry about friends and families here too… This said - on a more proactive front, I did download the Corona GitHub pharo project and it has introduced me to the

Re: [Pharo-users] Smalltalk Poll

2020-01-29 Thread Tim Mackinnon
Is this a poll you expect none of us to take? Maybe - it’s too productive and fun, real programmers should be made to suffer Sent from my iPhone > On 29 Jan 2020, at 13:00, Esteban Maringolo wrote: > > Final and correct option: All the above :-D > > Esteban A. Maringolo > > >> On Wed, Jan

Re: [Pharo-users] Latest PharoJS Success Story

2020-01-28 Thread Tim Mackinnon
Hey - that’s really cool. Simple, but certainly inspired me... thanks for pushing on this! Sent from my iPhone Sent from my iPhone > On 28 Jan 2020, at 18:18, N. Bouraqadi wrote: > > The latest PharoJS-powered smartphone app is now live. > Development has been made using Pharo. > Then,

Re: [Pharo-users] Pharo display bug

2020-01-18 Thread Tim Mackinnon
I find that pressing save fixes it (it’s a cache corruption thing and very annoying - but it’s been hard to fix). It’s certainly improved since the last round of fixes but I still get it, and some things loaded in your image seem to trigger it more frequently (mirage was one of them) Tim Sent

Re: [Pharo-users] [ANN] Phoedown - Markdown to HTML

2020-01-02 Thread Tim Mackinnon
seem to centre around ffi a c based libraries - but maybe using them more will tease this out. Tim Sent from my iPhone > On 2 Jan 2020, at 01:27, Pierce Ng wrote: > >> On Wed, Jan 01, 2020 at 02:35:03PM +0100, Tim Mackinnon wrote: >> I’m curious why you chose to us

Re: [Pharo-users] [ANN] Phoedown - Markdown to HTML

2020-01-01 Thread Tim Mackinnon
I’m loving all the little utility libraries coming out (and appreciate the write ups on how things are done). I’m curious why you chose to use ffi for this one in particular as it would seem to be quite straightforward to do it all in native Smalltalk (not to down play your integration in any

Re: [Pharo-users] I feel like an overwhelmed maintenance programmer - how to get some toeholds?

2019-12-18 Thread Tim Mackinnon
Steve - obviously there are a few books and tutorials to skim through, but worth mentioning the meta-enter key (eg Cmd-enter on Mac) - this is spotter which is a universal grep and browser to help find things, as well as users of things (and lots more tricks) Also, in the playground is where

Re: [Pharo-users] Zinc & IdentityServer4

2019-11-09 Thread Tim Mackinnon
Interestingly I came across a need to investigate oauth and its only because I happened to read this msg that I knew how to find such a useful resource - the examples are brilliant, thanks Sven! This said, it highlights that ‘the published documentation in this area is not very accessible or

Re: [Pharo-users] Strategy for investigating test failures

2019-10-20 Thread Tim Mackinnon
Confusion of failing test aside - is this something that got worse in Pharo 7? Did these tests pass in under 10s in 6 and take longer in 7? This would be a concrete thing to address, and something to check in 8. Tim Sent from my iPhone > On 20 Oct 2019, at 20:11, PBKResearch wrote: > >

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 pip

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

2019-10-18 Thread Tim Mackinnon
f time on minimizing the image. There is still a lot of > room for improvement. > > Jan. > > > > >> On Fri, Oct 18, 2019 at 12:30 PM Norbert Hartl wrote: >> Tim, >> >> is there a document anywhere explaining how to do a lambda image? >> >> Norb

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] 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.

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

2019-10-13 Thread Tim Mackinnon
Hi - While I’m sure everyone can give you an answer - it’s more useful to teach you how to answer these questions for your self. Try right clicking with your cursor on asString and choose “implementors of” (it may have a slightly different name friending on Pharo version - or press

Re: [Pharo-users] Running a teapot instance remotely

2019-10-11 Thread Tim Mackinnon
If your question is aimed more at deploying on a server - it’s standard practice for applications (java, python, ruby etc) to have a watcher that will restart your app if it terminates/crashes - Pharo is no different. This mechanism serves well If a C primitive fails, or your server terminates

Re: [Pharo-users] Running a teapot instance remotely

2019-10-10 Thread Tim Mackinnon
Sergio - looking at the last time I did this, my run script did: pharo /home/app/PagerDuty/PagerDuty.image --no-default-preferences run.st This was using sysctrl (from memory - but this line was what was run.) The run.st was 1 2 3 4 5 6 7 "Simple application run script" Transcript cr; cr;

Re: [Pharo-users] Workflows and possible usages

2019-09-27 Thread Tim Mackinnon
my iPhone > On 26 Sep 2019, at 09:12, Tim Mackinnon wrote: > > Hi everyone, in my day job I encountered an interesting domain problem that a > previous java team has made a bit of a hash of ... > > I thought it might be interesting to model it in Pharo to help explain it >

[Pharo-users] Workflows and possible usages

2019-09-26 Thread Tim Mackinnon
Hi everyone, in my day job I encountered an interesting domain problem that a previous java team has made a bit of a hash of ... I thought it might be interesting to model it in Pharo to help explain it better to a new team and I was interested in community thoughts as we have some of the

Re: [Pharo-users] Exercism - creating fresh image with previously submitted exercises

2019-09-03 Thread Tim Mackinnon
I’ve replied to David in discord - but in case anyone else comes looking - the upgrade path for the first versions of exercism is documented in the instruction for Pharo in the exercism track. This should resolve most problems listed below. The move to a package per exercise was driven by

[Pharo-users] Fwd: [Exercism] Weekly mentoring update (for Pharo)

2019-08-19 Thread Tim Mackinnon
I’m not sure if this is interesting to the wider community - but I’m always genuinely impressed that we continue to get a good trickle of solutions submitted to Pharo Exercism - and I’m genuinely impressed that there is a team of folks who quietly co—help in mentoring students and giving

Re: [Pharo-users] alt-tab in pharo?

2019-08-14 Thread Tim Mackinnon
Hi Steve - there is a built in window switcher but it doesn’t work very well (and crucially, not with all windows, which defeats the point). I can’t recall the trigger key-stroke, it might be ctrl -tab . However there is an alternative you can load in that does a better job - Mirage ,

Re: [Pharo-users] Pharo 6.0 and 6.1 64 bit freeze on MacMini -also in 7.03

2019-08-06 Thread Tim Mackinnon
The error is quite specific, you have to click on the maximise green button on a Mac and go full screen - if you just resize or alt-click that button you don’t seem to get this problem (at least I haven’t been able to - but Ted hasn’t confirmed this yet). So I don’t think its quite so bad - and

Re: [Pharo-users] A Canticle for Smalltalk

2019-08-06 Thread Tim Mackinnon
gt; "Used Smalltalk" doesn't imply that they stopped using Smalltalk, esp. if > Kapital is still operational. > > > Tim Mackinnon wrote >> It’s very entertaining but it seems a bit sad - it’s a shame it refers to >> JP-Morgan as “used Smalltalk “ as actually t

Re: [Pharo-users] A Canticle for Smalltalk

2019-08-06 Thread Tim Mackinnon
It’s very entertaining but it seems a bit sad - it’s a shame it refers to JP-Morgan as “used Smalltalk “ as actually they are “still using Smalltalk” (so it’s not in the past) Tim Sent from my iPhone > On 5 Aug 2019, at 16:19, Richard Kenneth Eng > wrote: > > A big fan of my work created

Re: [Pharo-users] Pharo 6.0 and 6.1 64 bit freeze on MacMini -also in 7.03

2019-08-02 Thread Tim Mackinnon
Out of curiosity - instead of going true “full screen” (I’m assuming you are clicking the green + button), try doing alt+click green button (which just resizes the window full screen), and then try your steps - does that make a difference? I believe there is a full screen issue covered here

Re: [Pharo-users] How to visit over packages, classes, methods (all types)

2019-06-17 Thread Tim Mackinnon
teStream nextPut: $"; cr; cr ]. self exPrintOutCategoriesFor: self class on: aWriteStream. self exPrintOutCategoriesFor: self on: aWriteStream > On 13 Jun 2019, at 08:26, Marcus Denker wrote: > > > >> On 19 May 2019, at 19:23, Tim Mackinnon wro

Re: [Pharo-users] Find after in strings?

2019-06-03 Thread Tim Mackinnon
;>> #upToAll: >>>would have left it." >>>^self match: aCollection >>> >>> Sorry about the incomplete message. >>> #match: is such a bad name for this operation that the method comment has to >>> go to some trouble to explain that

Re: [Pharo-users] Find after in strings?

2019-06-01 Thread Tim Mackinnon
thinking - but searching would be my first choice). Tim > On 1 Jun 2019, at 20:49, Tim Mackinnon wrote: > > Interesting - there is no #skipToAll: in pharo, I wonder why not? It sounds > like what I was looking for - and I’m surprised its not there. There is > #skipTo: for a

Re: [Pharo-users] Find after in strings?

2019-06-01 Thread Tim Mackinnon
nalyser for the mini-language > I'm using, and NOT try to hack at it using general-purpose string > methods. > > Perhaps you can tell us more about the context? What is the application- > level task you are trying to solve? > > > > On Sat, 1 Jun 2019 at 22:01, Tim Mackinno

[Pharo-users] Find after in strings?

2019-06-01 Thread Tim Mackinnon
Maybe this is a dumb question - and often I’m surprised when asking these, but why is there no way to “find after” a string. I find it rather boring to try and parse a string, after a known marker - thus: (loc := aString findString: ‘marker’) > 0 ifTrue: [ loc := loc + ‘marker’ size ]. Is

Re: [Pharo-users] Pharo 7.0.3 Seaside 3

2019-05-26 Thread Tim Mackinnon
You should log an issue on the Pharo github - with the simplest reproducible case (I think I understand it was loading Ztimestamp in a fresh image via Monticello on 64bit windows? It’s been tricky having a good test on 64bit windows, so would be good if you’ve found something reproducible.

Re: [Pharo-users] TestRunner to run superclass's tests

2019-05-23 Thread Tim Mackinnon
Oh yeah - I forgot about that one too… and another developer wastes time on that strange decision (we really must get it changed, its just not what you expect) > On 23 May 2019, at 13:14, Cyril Ferlicot wrote: > > > Currently, to inherit tests you need to override > #shouldInheritSelectors

Re: [Pharo-users] TestRunner to run superclass's tests

2019-05-23 Thread Tim Mackinnon
Hi Pierce - not sure I understand what you are trying to do - I tend to run all tests in a package which it cmd-t in calypso, but I sometimes need to run lots of disjoint tests, so I created a fake test and overrode the suite method eg: TestCase subclass: #AllExercismTests

Re: [Pharo-users] How to visit over packages, classes, methods (all types)

2019-05-20 Thread Tim Mackinnon
e to finish Rowan for GemStone first:) > > Dale > >> On 5/19/19 10:23 AM, Tim Mackinnon wrote: >> Hi - is there a way to iterate over all the code in a package (or class or >> baseline) in a generic way (to pretty print out class definitions, and >> me

Re: [Pharo-users] The baseline complexity of tiny big projects...

2019-05-19 Thread Tim Mackinnon
led out class to the exercise directly > - exercism submit Foobar.st > I had been quite impressed with how smoothly everything went in the UI before. > > >> On Mon, 20 May 2019 at 09:57, Tim Mackinnon wrote: >> I’m wondering if others might spot a better way of handling

[Pharo-users] The baseline complexity of tiny big projects...

2019-05-19 Thread Tim Mackinnon
I’m wondering if others might spot a better way of handling this - but with Exercism, I’ve got 100 exercises to manage. An Exercise is a TestCase and 1 or more solution classes (normally 1, but sometimes several). I had initially used Tags to manage this, there was an ExercismExercise package,

[Pharo-users] How to visit over packages, classes, methods (all types)

2019-05-19 Thread Tim Mackinnon
Hi - is there a way to iterate over all the code in a package (or class or baseline) in a generic way (to pretty print out class definitions, and methods - including extensions ). I was kind of hoping that with TonelWriter and Fileout and Critics that we would have a generic visitor mechanism

Re: [Pharo-users] can I do this with a stream or a format

2019-05-17 Thread Tim Mackinnon
Actually that is the hidden gem on all of this - thinking about the common things people do through new eyes, has forced me to learn new things (and that feels very compatible with Pharo). I also thank everyone here for entertaining these questions and hopefully help build another way for

Re: [Pharo-users] Small query about ZnClient post - with "; " form values

2019-05-17 Thread Tim Mackinnon
is the size limit, as smaller examples work - e.g. http://ws.stfx.eu/64XPQAYR2YTU <http://ws.stfx.eu/64XPQAYR2YTU> Tim > On 17 May 2019, at 11:15, Sven Van Caekenberghe wrote: > > Tim, > >> On 17 May 2019, at 11:57, Tim Mackinnon wrote: >> >> Thanks for chipp

Re: [Pharo-users] Small query about ZnClient post - with "; " form values

2019-05-17 Thread Tim Mackinnon
> >> On 17 May 2019, at 03:04, Tim Mackinnon wrote: >> >> I was trying to automate posting some values to a website (I would use >> Stfx.eu but it doesn’t do syntax highlighting and only seems to work for >> quite small amounts). > > Hmm, it does highlightin

[Pharo-users] Small query about ZnClient post - with "; " form values

2019-05-16 Thread Tim Mackinnon
I was trying to automate posting some values to a website (I would use Stfx.eu but it doesn’t do syntax highlighting and only seems to work for quite small amounts). Anyway the following code always seems to trim values that have a ; in them - and I’m wondering if I’m missing something - or if

Re: [Pharo-users] Bloc of code in tiers programming language

2019-05-15 Thread Tim Mackinnon
On a similar line - I’ve often noticed that an interesting block pattern in Smalltalk which is overlooked in other languages is how we handle errors through them. We often don’t throw exceptions but instead pass a useful block (and often 2) for what to do instead. at:ifAbsent: comes to mind

Re: [Pharo-users] What's wrong with latest Pharo?

2019-04-30 Thread Tim Mackinnon
Apr 2019, at 17:15, Tim Mackinnon wrote: > > Guille - it looks like modifying that method and : > "I installed some other package (`libcurl-gnutls`) which is an "addon" to the > regular `libcurl`.” > > Got us further - now he’s getting IceAuthenticationError- which

Re: [Pharo-users] What's wrong with latest Pharo?

2019-04-30 Thread Tim Mackinnon
Selector: trick to hopefully fix that). When I confirm everything, I will report back the magic syntax (at least for Arch) - as well as the desire to back port that fix to 7. Thanks for chipping in (and this is the thread that keeps on giving…) Tim > On 30 Apr 2019, at 16:08, Tim Mackinnon wr

[Pharo-users] Right clicking often fails first time?

2019-04-30 Thread Tim Mackinnon
This has been bugging me for a long time - but its incredibly annoying that when you right click on a class, package, Iceberg entry - that the context menu doesn’t often appear. You have to click again (or remember to click first and then right click - even if the reverent item is already

Re: [Pharo-users] What's wrong with latest Pharo?

2019-04-30 Thread Tim Mackinnon
the segfault for some reason. I’ll see if I can guide him through changing that method. Tim > On 30 Apr 2019, at 15:53, Tim Mackinnon wrote: > > Hi Guille - I’m not using Arch Linux myself - this was a seasoned exercism > contributor trying to give pharo a spin - and sadly it hasn’t gone we

Re: [Pharo-users] What's wrong with latest Pharo?

2019-04-30 Thread Tim Mackinnon
library but cannot load it... > > If you check in Pharo8, the same method reads slightly different: > > LGitLibrary >> unixModuleName > | pluginDir | > pluginDir := Smalltalk vm binary parent. > #('libgit2.so' 'libgit2.so.0') > dete

Re: [Pharo-users] What's wrong with latest Pharo?

2019-04-30 Thread Tim Mackinnon
oogle Cloud Platform, for example, the user can choose from this list of > > hosts: Debian GNU/Linux 9 (Stretch), CentOS 6, CentOS 7, various versions of > > CoreOS, Ubuntu 14.04 LTS Minimal, Ubuntu 16.04 LTS Minimal, Ubuntu 18.04 LTS > > Minimal, Ubuntu 18.10 Minimal, various versions

Re: [Pharo-users] Why doesn't the VM command line help show the useful image commands anymore?

2019-04-30 Thread Tim Mackinnon
> On 30 Apr 2019, at 09:21, K K Subbu wrote: > > On 30/04/19 3:35 AM, Tim Mackinnon wrote: >> Anyway - I tried using the command line on OSX ( I noticed they had >> used pharo, and not pharo-ui — which I never understood: why is it >> not pharo for ui and pharo-cmd for

[Pharo-users] Why doesn't the VM command line help show the useful image commands anymore?

2019-04-29 Thread Tim Mackinnon
I was asked a question about starting pharo exercism from the command line on Arch linux - seems the Pharo.image file isn’t being found (but it was installed with AUR, which I am unfamiliar with). Anyway - I tried using the command line on OSX ( I noticed they had used pharo, and not pharo-ui

Re: [Pharo-users] Revisiting the inheritance of tests in 2019....

2019-04-23 Thread Tim Mackinnon
mistake. Tim > On 23 Apr 2019, at 13:14, Tim Mackinnon wrote: > > I just got burned by tests not inheriting from a TestCase superclass… I note > that in 2017, Cyril tried to argue to get this changed to work just like > normal objects (proposing that for P7 tests works like a

[Pharo-users] Revisiting the inheritance of tests in 2019....

2019-04-23 Thread Tim Mackinnon
I just got burned by tests not inheriting from a TestCase superclass… I note that in 2017, Cyril tried to argue to get this changed to work just like normal objects (proposing that for P7 tests works like any other object…) but I think it was just too difficult to argue against a decision made

Re: [Pharo-users] Why are package tags not proper sub-packages?

2019-04-22 Thread Tim Mackinnon
. But it seems that the guidance is to think projects / packages (not baseline/package/tags) Tim Sent from my iPhone > On 20 Apr 2019, at 00:15, Tim Mackinnon wrote: > > Well I guess most usages are “load 3rd party baseline” and you don’t really > care who owns the extension methods

Re: [Pharo-users] Why are package tags not proper sub-packages?

2019-04-19 Thread Tim Mackinnon
Well I guess most usages are “load 3rd party baseline” and you don’t really care who owns the extension methods (all the sub-tags are normally part of the parent project anyway). If you do add any extensions to that project, you probably also don’t notice they don’t show up in any tags of the

Re: [Pharo-users] Why are package tags not proper sub-packages?

2019-04-19 Thread Tim Mackinnon
That’s the struggle I face - I might be able to coerce Calypso to show extension methods in the tag, but there seems no way to understand what tag it/they are associated with - which also got me to the catch you mention, when saving an exercise I can’t know what extensions to save with it...

Re: [Pharo-users] how to model this a better way

2019-04-18 Thread Tim Mackinnon
You quickly find it’s a more interesting exercise than just a “point and dictionary”, particularly if you want to do it in an elegant Smalltalk way (but not over do it either). The interesting bit is that when facing a new direction, you need to know how to advance in that direction , and also

[Pharo-users] Why are package tags not proper sub-packages?

2019-04-16 Thread Tim Mackinnon
Does anyone remember why we decided to consider package tags (as in: Kernel-BasicObjects) not fully fledged sub-packages? The implication here is that extension methods can’t live on the tag (they live on the parent package - in the above case Kernel - and not Kernel-BasicObjects), and equally

[Pharo-users] Method comment template

2019-04-16 Thread Tim Mackinnon
One of the things mentioned at PharoDays, which actually could have been a boring talk but in fact caught my attention due to being well researched and presented - was the question of commenting in Pharo (thanks presenters). However, the question of class comments and how many classes actually

Re: [Pharo-users] [Pharo-dev] [ANN] Pharo 7.0.3

2019-04-13 Thread Tim Mackinnon
This is great - I’m pleased we can get fixes like this (and keen to get passed that font issue which was driving me crazy). A small related question - how do ensure we get fixes from sub projects considered too? I’d really like to see: https://github.com/pharo-ide/Calypso/pull/451 as it’s

Re: [Pharo-users] Richard Kenneth Eng is NOT Mr. Smalltalk

2019-04-11 Thread Tim Mackinnon
Thanks guys - I think some useful clarifications came out of this - and I hope it doesn’t dent anyone’s enthusiasm to spreading the good word about all useful technology and approaches. > On 11 Apr 2019, at 08:28, Michael Zeder wrote: > > > >> How about we just move on? > > Thanks. I have

Re: [Pharo-users] Richard Kenneth Eng is NOT Mr. Smalltalk

2019-04-10 Thread Tim Mackinnon
How about we just move on? I don’t see much usefulness in arguing over older stuff - I’m sure you/we/them will have different opinions on levels of incorrectness - honestly it’s not worth it. I think you’ve defended your corner fine , but I would much prefer that everyone focuses on the

[Pharo-users] Why is it called #keysSortedSafely in Dictionary?

2019-04-10 Thread Tim Mackinnon
I’m curious why on Dictionary there is #keys and #keysSortedSafely ? Why isn’t it just #keysSorted - do we normally provided a keysSortedDangerously? Looking deeper, it seems to duplicate the keys method, so I’m wondering if this is ripe for some rework. Tim

<    1   2   3   4   5   6   7   8   >