Re: [Pharo-users] I18n in pharo

2017-11-10 Thread H. Hirzel
On 11/10/17, Hilaire wrote: > A cleaner Pharo will help there. > > To be frank, I found later Pharo releases not inspiring. Bigger, bigger > and bigger with added code, protocol changes, and bugs at will. It is > becoming too complicated for a hobby use of it. > > I decided I

Re: [Pharo-users] Why does the test runner show red when I correct a test?

2017-11-10 Thread Denis Kudriashov
And give me concrete steps to see that it is not working (if you will find it) 2017-11-09 23:47 GMT+01:00 Tim Mackinnon : > Thanks Denis - I'll try my simple TDD test case in Pharo 7 (I haven't > tried it yet - probably time to). > > I think it is correct to show green if you

Re: [Pharo-users] Why does the test runner show red when I correct a test?

2017-11-10 Thread Denis Kudriashov
Hi Richard 2017-11-09 23:51 GMT+01:00 Richard Sargent < richard.sarg...@gemtalksystems.com>: > I think it is correct to show green if you fix your problem in the >> debugger and then proceed and it passes all assertions. But it should >> equally fail if you proceed and it asserts false or craps

Re: [Pharo-users] Pharo 6.1 UTF8InvalidText error

2017-11-10 Thread Denis Kudriashov
Hi. Sorry for the late response. I skipped your mail somehow. You need to try CP1251 converter. In past I used CP1251TextConverter from http://www.squeaksource.com/RussianSupport.html. But now there is very nice ZnCharacterEncoder hierarchy which provides out of the box main encodings. To get

Re: [Pharo-users] I18n in pharo

2017-11-10 Thread H. Hirzel
Maybe in a different thread... On 11/10/17, H. Hirzel wrote: > On 11/10/17, Hilaire wrote: >> A cleaner Pharo will help there. >> >> To be frank, I found later Pharo releases not inspiring. Bigger, bigger >> and bigger with added code, protocol

Re: [Pharo-users] I18n in pharo

2017-11-10 Thread stephan
On 09-11-17 21:29, Викентий Потапов wrote: Will Pharo 7 be ready for i18n of applications? With QCMagritte we have provided string translations since Pharo 4 or so. In a Magritte-based application you can just add a visitor that walks the descriptions and extracts what needs translating. We

Re: [Pharo-users] Pharo 6.1 UTF8InvalidText error

2017-11-10 Thread Sven Van Caekenberghe
Denis, His problem is much more fundamental: his Pharo image does not start up (correctly) because some of its paths (his directory/folder names) where Pharo is located uses Cyrillic characters. He has no chance to fix this. I think this is a problem with FileSystem path decoding on Windows.

Re: [Pharo-users] About implementing a "Mini Pillar" in-image renderer for Pharo ...

2017-11-10 Thread H. Hirzel
A note: Tudor Girba wrote: Fri, Aug 25, 2017 at 1:31 PM Reply-To: Any question about pharo is welcome To: Any question about pharo is welcome Hi, As mentioned in an announcement about 10 days ago, we are

Re: [Pharo-users] I18n in pharo

2017-11-10 Thread Esteban Lorenzano
> On 10 Nov 2017, at 04:05, Pavel Krivanek wrote: > > > > 2017-11-09 23:50 GMT+01:00 Esteban Lorenzano >: > I think this is two different problems: > > 1. pharo itself supporting different languages/keyboards,

Re: [Pharo-users] I18n in pharo

2017-11-10 Thread Marcus Denker
> On 10 Nov 2017, at 11:18, Esteban Lorenzano wrote: > > > >> On 10 Nov 2017, at 04:05, Pavel Krivanek > > wrote: >> >> >> >> 2017-11-09 23:50 GMT+01:00 Esteban Lorenzano >

[Pharo-users] About implementing a "Mini Pillar" in-image renderer for Pharo ...

2017-11-10 Thread H. Hirzel
Hello In the thread 'including Pillar in Pharo image by default' it was suggested by Stephane Ducasse to include a subset of Pillar in the Pharo image[1] . I'd like to extend that proposal a little bit it in order to do very simple presentations. This should allow to describe at least part of

Re: [Pharo-users] I18n in pharo

2017-11-10 Thread Hilaire
A cleaner Pharo will help there. To be frank, I found later Pharo releases not inspiring. Bigger, bigger and bigger with added code, protocol changes, and bugs at will. It is becoming too complicated for a hobby use of it. I decided I will not finish porting DrGeo to P6 or P7, and it will

Re: [Pharo-users] Writing "powerpoint" like presentations in Pharo?

2017-11-10 Thread H. Hirzel
On 11/3/17, Stephan Eggermont wrote: > On 03/11/17 12:33, Tim Mackinnon wrote: >> Cool - great minds think alike ;) > > :) > >> In your photo - there is keynote, are you creating there and then >> rendering in Pharo - or are you exporting to keynote to had out >> afterwards? > >

[Pharo-users] SmaCC UI Problem solved but only when breakpoint was added

2017-11-10 Thread Federico.Balaguer
Hello I am progressing with my use of SmaCC and I think a found the source of the problem that makes it impossible to generete the classes for the parser and scanner. Scenario 1) I gave the name for both classes: the parser and the scanner. 2) I copy the very simple first part of the tutorial

Re: [Pharo-users] I18n in pharo

2017-11-10 Thread Cédrick Béler
> > A cleaner Pharo will help there. > > To be frank, I found later Pharo releases not inspiring. Bigger, bigger and > bigger with added code, protocol changes, and bugs at will. It is becoming > too complicated for a hobby use of it. It’s quite a moving target with so many fundamental

Re: [Pharo-users] Writing "powerpoint" like presentations in Pharo?

2017-11-10 Thread Marcus Denker
>> >> My Bloc experiments on vimeo are helping me test hypotheses on how I'd >> want to work with it. > > Links to the videos? > Creating Bloc Widgets in Pharo https://vimeo.com/235934701 Creating Bloc Widgets in Pharo 2: ColorPanel https://vimeo.com/236419682 I will add that

Re: [Pharo-users] Writing "powerpoint" like presentations in Pharo?

2017-11-10 Thread stephan
On 10-11-17 12:06, H. Hirzel wrote: Is the code available somewhere? I've been fighting somewhat with Iceberg, and using fast-changing functionality in Bloc. I'm integrating the experiments and will provide a link then. Stephan

Re: [Pharo-users] Adding an Iceberg repository at startup

2017-11-10 Thread Mariano Martinez Peck
I would also like that :) On Fri, Nov 10, 2017 at 6:45 AM, Prof. Andrew P. Black wrote: > I would like to have the git repositories that I’m working from > automatically added to the list of known repositories in Iceberg at startup > time. In other words, I don;t want to have

Re: [Pharo-users] Pharo 6.1 UTF8InvalidText error

2017-11-10 Thread Denis Kudriashov
Yes, I know. I just described some workaround to find the fix. So my suggestions are: - create user with english name and run Pharo under it. - find the place where FilePathEncoder is called and modify encoding to another one: try CP1251 instead of UTF8 or otherwise. - try to read your Russian

Re: [Pharo-users] SmaCC UI Problem solved but only when breakpoint was added

2017-11-10 Thread Thierry Goubier
Hi Frederico, I think what is happening is one needs to accept (press return) in the scanner and parser test fields, for the names to be taken into account. Otherwise, they keep that non-accepted status (the orange triangle appearing in top-right of the text fields). Can you check if it was the

Re: [Pharo-users] Pharo 6.1 UTF8InvalidText error

2017-11-10 Thread Denis Kudriashov
2017-11-10 11:44 GMT+01:00 Denis Kudriashov : > > And question for others: should not we deprecate old TextConverter's and > move to zn encoders completely? > And I found related issue 17751 . > > 2017-11-01

Re: [Pharo-users] SmaCC UI Problem solved but only when breakpoint was added

2017-11-10 Thread Federico.Balaguer
Hi Thierry, you are right. I didn't see the orange corner at all until you pointed it out to me. Thanks! -- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html

Re: [Pharo-users] including Pillar in Pharo image by default

2017-11-10 Thread H. Hirzel
Hello Peter Uhnak summarized this thread about what what to include of Pillar in the base image on Aug 17, 2017 ([1] original question, [2] summary). The issue of having a "Mini pillar" in the image was brought up by Stephan Ducasse and summarized by Cyril Ferlicot. I will start a new thread

Re: [Pharo-users] QCMagritte on Github

2017-11-10 Thread laurent
Hi, Le mer. 8 nov. 2017 à 8:15, stephan a écrit : Definitely, and I'm still struggling a bit with Iceberg. I would definitely favor a setup where the whole open source part is build on each commit using travis and images are put on (e.g.) bitbucket. Now a QCMagritte

Re: [Pharo-users] Why does the test runner show red when I correct a test?

2017-11-10 Thread Richard Sargent
> > I think it is correct because icon shows the last run state. > My claim is that is not a true statement. Then it is up to user to check how test is working in normal way. > This is my point. You must do this or you cannot know. The first statement should say "the last run state from the

Re: [Pharo-users] Unable to load SmaCC on pharo6 (or pharo5)

2017-11-10 Thread H. Hirzel
On 11/9/17, Federico.Balaguer wrote: > I would like to check if I need to use SmaCC for a project. I tried to > install it on Pharo 6.1 32bits with iceberg but I was not able to do it. > > Then I tried to get SmaCC on an Pharo5 I just loaded SmaCC into a Pharo 5 -

Re: [Pharo-users] Adding an Iceberg repository at startup

2017-11-10 Thread Peter Uhnák
You can create repositories programatically. repo := IceRepositoryCreator new location: '/home/user/.../'; subdirectory: 'codeSubdirectory'; createRepository. repo register. On Fri, Nov 10, 2017 at 1:11 PM, Mariano Martinez Peck < marianop...@gmail.com> wrote: > I would also like

Re: [Pharo-users] QCMagritte on Github

2017-11-10 Thread Sean P. DeNigris
Stephan Eggermont-3 wrote > At a certain point we might want to fold all of QCMagritte back into > Magritte, but that is a discussion for later I think. If you get around to that, also feel free to steal anything you might find interesting from https://github.com/seandenigris/Magritte3 where

Re: [Pharo-users] perspective request for those earningalivingfromSmalltalk

2017-11-10 Thread stephan
On 10-11-17 17:56, Prof. Andrew P. Black wrote: On 6 Nov 2017, at 21:00 , Andrew Glynn wrote: Btw, did Self ever work? Self works fine. I played with it on a mac last year. I think Tobias Pape released a new version last year or so. Stephan

Re: [Pharo-users] About implementing a "Mini Pillar" in-image renderer for Pharo ...

2017-11-10 Thread Tudor Girba
Hi, As shown at ESUG, GT Documenter offers an advanced viewer (and editor) for Pillar working on top of Bloc. You can get it by loading: Iceberg enableMetacelloIntegration: true. Metacello new baseline: 'GToolkit'; repository: 'github://feenkcom/gtoolkit/src'; load. For example, you

Re: [Pharo-users] Why does the test runner show red when I correct atest?

2017-11-10 Thread Richard Sargent
Exactly! And don't let the words I write convince you I am immune to the same failings. Far from it! But, I try. :-) On Fri, Nov 10, 2017 at 10:49 AM, Andrew Glynn wrote: > Love this: > > > > “Many people in our industry, our profession have a disturbing tendency to > be

Re: [Pharo-users] QCMagritte on Github

2017-11-10 Thread stephan
On 10-11-17 15:59, laurent wrote: Now a QCMagritte image (vm 64) is built by Travis on each commit, see https://github.com/Afibre/QCMagritte/releases and https://travis-ci.org/Afibre/QCMagritte Thanks, Laurent, good to see progress being made. Stephan

Re: [Pharo-users] Adding an Iceberg repository at startup

2017-11-10 Thread Mariano Martinez Peck
Thanks guys. I ended up doing this: StartupPreferencesLoader default executeAtomicItems: { StartupAction name: '02 Iceberg' code: [ | repo | IceCredentialsProvider default sshCredentials username: 'git'; publicKey: '/Users/mariano/.ssh/id_rsa_github.pub'; privateKey:

Re: [Pharo-users] Why does the test runner show red when I correct a test?

2017-11-10 Thread Kjell Godo
On Fri, Nov 10, 2017 at 08:12 Richard Sargent < richard.sarg...@gemtalksystems.com> wrote: > I think it is correct because icon shows the last run state. >> > My claim is that is not a true statement. > > > Then it is up to user to check how test is working in normal way. >> > This is my point.

Re: [Pharo-users] perspective request for those earningalivingfromSmalltalk

2017-11-10 Thread Prof. Andrew P. Black
> On 6 Nov 2017, at 21:00 , Andrew Glynn wrote: > > Btw, did Self ever work? At all? The last I remember it was in a similar > state to Electron without the M$ adds in Visual Studio, i.e. the samples from > the site don’t build. Self worked fine. It was a bit

Re: [Pharo-users] FileReference basename of current dir

2017-11-10 Thread Guillermo Polito
On Thu, Nov 9, 2017 at 10:12 PM, Norbert Hartl wrote: > is there a good explanation why > > ‚foo‘ asFileReference parent basename > > gives ‚/‘ ? > I can only answer making one of the following assumtions - You've launched your image doing a double click - or by doing drag

Re: [Pharo-users] About implementing a "Mini Pillar" in-image renderer for Pharo ...

2017-11-10 Thread Stephane Ducasse
Ok let know. Guille worked the complete week on pillar (mainly archetype and the outputer part) and made **giant** steps. He removed most of the need for using make and we will do another cleaning first but first release Pharo 7.0.0 and its documentation. After we will remove magritte. Stef On

Re: [Pharo-users] QCMagritte on Github

2017-11-10 Thread Andrew Glynn
YAML is what it says, lol. I still prefer using SGML and outputting whatever markup I need, although I have to use US army software (that only works on Windows) to do it since Adobe gouges for FrameMaker. Probably a long lasting hangover from working for IBM years ago. Sure was a headache,

Re: [Pharo-users] Why does the test runner show red when I correct a test?

2017-11-10 Thread Richard Sargent
That would be fine. The point is that, without running the test in its entirety, from start to finish, without interruption, error, or failure, one cannot claim success. On Fri, Nov 10, 2017 at 9:34 AM, Sean P. DeNigris wrote: > Richard Sargent wrote > > The only reliable

Re: [Pharo-users] QCMagritte on Github

2017-11-10 Thread Stephane Ducasse
For your information. We got some problem with travis (what a bad idea to have a syntax like yaml - our industry is looping , even xml is better). we spent more than 30 min trying with Guille and Andrew to use bash in a script section (while this is working in some guille project) it does not in

Re: [Pharo-users] perspective request for thoseearningalivingfromSmalltalk

2017-11-10 Thread Andrew Glynn
Yea, I tried a really early version and it slipped my mind to ever get back to it – I did use NewtonScript a bit – I was one of the few that liked the Newton, probably because I hate talking on the phone, lol. It was pretty good on the last release of the Newton. I still have it somewhere

Re: [Pharo-users] Why does the test runner show red when I correct a test?

2017-11-10 Thread Sean P. DeNigris
Richard Sargent wrote > The only reliable conclusion one can make from such an interrupted run is > whether it failed again. So, it would be possible to determine that the > test should be coloured red, but it is impossible to *reliably* claim that > the test should be coloured green. What if we

Re: [Pharo-users] Unable to load SmaCC on pharo6 (or pharo5)

2017-11-10 Thread Stephane Ducasse
Hi thierry we are working and soon we will have a much simpler installation and everything :) Now just commit and I will check and fix :) Stef On Fri, Nov 10, 2017 at 6:47 AM, Thierry Goubier wrote: > Le 09/11/2017 à 21:02, Stephane Ducasse a écrit : >> >> Yes

Re: [Pharo-users] Why does the test runner show red when I correct atest?

2017-11-10 Thread Andrew Glynn
Love this: “Many people in our industry, our profession have a disturbing tendency to be vague and practice self-deception. Take the concept of a "bug" as an example. They don't "fly into" our code; we *put* them in it. *We* put them in. That's why they should be called errors or defects.”

Re: [Pharo-users] Why does the test runner show red when I correct a test?

2017-11-10 Thread Tim Mackinnon
My specific usecase is from a pragmatic TDD perspective - failing test, in the debugger you fix the test and press proceed - expecting green. Getting red, and then immediately running again to get red takes away from our story of love coding and loving your debugger - and even Cassie me to

Re: [Pharo-users] Why does the test runner show red when I correct a test?

2017-11-10 Thread Richard Sargent
I hear you and I understand your pain. However, if you corrected the problem, not by a code change, but by playing in the object's inspector or otherwise causing its internal state to change, and then resumed from the debugger, would you still claim the method was successful and should be

Re: [Pharo-users] About implementing a "Mini Pillar" in-image renderer for Pharo ...

2017-11-10 Thread Sean P. DeNigris
Tudor Girba-2 wrote > As shown at ESUG, GT Documenter offers an advanced viewer (and editor) for > Pillar working on top of Bloc. Two questions after playing with it: 1. Can one save a live-edited file? 2. Is it possible to make the markup codes invisible? That would seem more appropriate e.g. in

Re: [Pharo-users] Why does the test runner show red when I correct a test?

2017-11-10 Thread Tim Mackinnon
Sorry "immediately running again to get red " should have been "to get green" Tim Sent from my iPhone > On 10 Nov 2017, at 19:29, Tim Mackinnon wrote: > > immediately running again to get red

Re: [Pharo-users] Why does the test runner show red when I correct a test?

2017-11-10 Thread Richard Sargent
> > So after a restart we would expect green > Yes. Add having the test tool able to automate the tear-down and restart of the test would be a good automation. On Fri, Nov 10, 2017 at 11:41 AM, stephan wrote: > On 10-11-17 18:56, Richard Sargent wrote: > >> That would be

Re: [Pharo-users] Adding an Iceberg repository at startup

2017-11-10 Thread Stephane Ducasse
I will add this to the tips and tricks except is someone is faster than me. Stef On Fri, Nov 10, 2017 at 7:26 PM, Mariano Martinez Peck wrote: > Thanks guys. I ended up doing this: > > StartupPreferencesLoader default executeAtomicItems: { > StartupAction > name: '02

Re: [Pharo-users] FileReference basename of current dir

2017-11-10 Thread Alistair Grant
On 9 November 2017 at 22:12, Norbert Hartl wrote: > is there a good explanation why > > ‚foo‘ asFileReference parent basename > > gives ‚/‘ ? I'd like to think about this a bit more, but at first glance the problem seems to be that Path>>basename was written only taking

Re: [Pharo-users] Why does the test runner show red when I correct a test?

2017-11-10 Thread stephan
On 10-11-17 18:56, Richard Sargent wrote: That would be fine. The point is that, without running the test in its entirety, from start to finish, without interruption, error, or failure, one cannot claim success. So after a restart we whould expect green Stephan

Re: [Pharo-users] About implementing a "Mini Pillar" in-image renderer for Pharo ...

2017-11-10 Thread Ben Coman
On Sat, Nov 11, 2017 at 4:20 AM, Sean P. DeNigris wrote: > Tudor Girba-2 wrote > > As shown at ESUG, GT Documenter offers an advanced viewer (and editor) > for > > Pillar working on top of Bloc. > > Two questions after playing with it: > 1. Can one save a live-edited file?

Re: [Pharo-users] Why does the test runner show red when I correct a test?

2017-11-10 Thread Ben Coman
The CI sometimes fails due to heisenbugs, which of course we should fix but mostly someone just kicks the CI off again and the test passes and the code is integrated. So these heisenbugs slow down development when the CI fails, and also we are not gaining any systematic statistics on where the

Re: [Pharo-users] I18n in pharo

2017-11-10 Thread Andrew Glynn
I’d think about porting the I18n Gem from Ruby but replacing Gettext with xliff to be a better, more generalized solution. Cascade in the Ruby Gem is a useful feature missing from other implementations I’ve used. https://github.com/svenfuchs/i18n/tree/master/test

[Pharo-users] smalltalkhub amber debugger

2017-11-10 Thread Sebastian Heidbrink via Pharo-users
--- Begin Message --- Hi! I just browsed to http://smalltalkhub.com/#!/~jhoncc2 And got an amber debugger. ShTimelineEvent class from: json     ^(self withAllSubclasses         detect: [:each | each type = (json at: 'type')]         ifNone: [self]) fromJson: json json is nil here!

Re: [Pharo-users] About implementing a "Mini Pillar" in-image renderer for Pharo ...

2017-11-10 Thread Tudor Girba
Hi, > On Nov 10, 2017, at 9:20 PM, Sean P. DeNigris wrote: > > Tudor Girba-2 wrote >> As shown at ESUG, GT Documenter offers an advanced viewer (and editor) for >> Pillar working on top of Bloc. > > Two questions after playing with it: > 1. Can one save a live-edited