Re: [Pharo-users] Unable to execute example code from "The Spec UI Framework" Book

2018-03-21 Thread brett
Thank you -- of course ! I had that "ui close" in my code !!! , I'd expected the form to take control until I exited the form itself and had not considered the code would 'fall straight through' to the 'ui close' The example form now displays on Pharo's World and is active as expected. >From

Re: [Pharo-users] Problem setting up Tide demo

2018-03-21 Thread herby
On March 21, 2018 11:18:42 PM GMT+01:00, in_pharo_us...@nym.hush.com wrote: >Hi Esteban, hi Herbert, > >so, formally, it is a Tide integration issue now, IMHO. > >As I understand it now: > >Tide's setup procedure generates a file system out of a Monticello >archive >and puts Tide related

Re: [Pharo-users] Problem setting up Tide demo

2018-03-21 Thread in_pharo_users
Hi Esteban, hi Herbert, so, formally, it is a Tide integration issue now, IMHO. As I understand it now: Tide's setup procedure generates a file system out of a Monticello archive and puts Tide related extensions for Amber in it. Then the user is directed to that fs's root to install Amber.

Re: [Pharo-users] Issues with recent Pharos reading files

2018-03-21 Thread Andrew P. Black
> On 20 Mar 2018, at 23:01 , Guillermo Polito wrote: > > @Andrew, about the directories issue, can you provide me a full stack trace > and even better a way to reproduce it? I sent a lengthy message in this thread explaining the circumstances. Is that enough? If

Re: [Pharo-users] Problem setting up Tide demo

2018-03-21 Thread Herbert Vojčík
In newer version of Amber the loading code changed significantly, as promises are used (best way to migrate old code is to actually created new project using `amber init` and only move the needed pieces (src/*.st files, .amd.json files, lists of packages in deploy.js / testing.js / devel.js /

Re: [Pharo-users] Pharo sound with SDL Library

2018-03-21 Thread Stephane Ducasse
Thanks for the news! If you can provide a little example of WAVParser it will help. On Tue, Mar 20, 2018 at 4:50 PM, Mariano Badoglio wrote: > Perfect! I have loaded the Merwan WAVParser project, that uses the > OpenAL library and it worked fine. > > Best regards! >

Re: [Pharo-users] Problem setting up Tide demo

2018-03-21 Thread Esteban Lorenzano
hi, no idea :) as I said this is more a matter for Amber list than Pharo. but amber maintainer (Herbert) hangs here so he will probably reply if he sees this :P Esteban > On 21 Mar 2018, at 21:42, in_pharo_us...@nym.hush.com wrote: > > Hi Esteban, > > after I got Amber running separately,

[Pharo-users] Problem setting up Tide demo

2018-03-21 Thread in_pharo_users
Hi Esteban, after I got Amber running separately, I set up Tide according to https://github.com/tide-framework/tide readme.md Everything went fine so far, but after the page loaded, Helios did not pop. Blank page. So I looked into the page source and, suspiciously, at line 18 I found

Re: [Pharo-users] Issues with recent Pharos reading files

2018-03-21 Thread Andrew P. Black
> On 21 Mar 2018, at 10:07 , Alistair Grant wrote: > > But to help track down your issue, maybe temporarily replace the code with: > > errorCode > >errorCode ifNotNil: [self halt: errorCode asString]. >^ #badDirectoryPath > > > That should allow you to

Re: [Pharo-users] How to model extension method in UML

2018-03-21 Thread Stephane Ducasse
I would package extension in the package doing them and use a stereotype to capture this because UML does not have this concept. Stef On Wed, Mar 21, 2018 at 9:00 AM, Jan Blizničenko wrote: > Hello > > I have a question regarding UML modelling of Pharo extension method.

Re: [Pharo-users] Porting Transducers to Pharo

2018-03-21 Thread Stephane Ducasse
Hi esteban It was to manage namespace (from memory). Stef On Wed, Mar 21, 2018 at 2:29 PM, Esteban A. Maringolo wrote: > Hi Steffen, > > 2017-06-06 7:44 GMT-03:00 Steffen Märcker : >> I assumed so. I used file-outs only to get something working quickly. =)

Re: [Pharo-users] Unable to execute example code from "The Spec UI Framework" Book

2018-03-21 Thread kmo
Have you left in that ui close statement that was in your first post? I tried you code and it worked fine - but if you issue a close you'll have nothing to see! -- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html

Re: [Pharo-users] Yet another Pharo in docker

2018-03-21 Thread Herbert Vojčík
BTW, Sean (or anyone else), if you still find this docker useful, should I add you as contributor in dockerhub and write access in git so you could make builds for 70 (I do not use 70, so not knowing when is it the good point to make new build). Or is there some ETA to official one built from

Re: [Pharo-users] Porting Transducers to Pharo

2018-03-21 Thread Damien Pollet
I think I used FileOut30 and encodings were part of the adhoc fixing before loading into Pharo (using iconv certainly, but I don't recall) On 21 March 2018 at 14:29, Esteban A. Maringolo wrote: > Hi Steffen, > > 2017-06-06 7:44 GMT-03:00 Steffen Märcker : >

Re: [Pharo-users] Unable to execute example code from "The Spec UI Framework" Book

2018-03-21 Thread Sean P. DeNigris
dragoncity-2 wrote > When I run the > > |ui | ... etc from a Playground, I don't get a working UI Form, but > I get a correctly defined static image layout of the form under 'Morph' IN > the Playground. > > I expected the CustomerSatisfaction UI form to appear as a independent > item on

Re: [Pharo-users] Porting Transducers to Pharo

2018-03-21 Thread Esteban A. Maringolo
Hi Steffen, 2017-06-06 7:44 GMT-03:00 Steffen Märcker : > I assumed so. I used file-outs only to get something working quickly. =) > Properly published code will follow as soon as I am more familiar with code > management in Pharo. I'm coming back to this. What was the choosen

Re: [Pharo-users] Unable to execute example code from "The Spec UI Framework" Book

2018-03-21 Thread dragoncity
You've defined this as an instance method, not a class method Thanks for that observation! On closer read indeed I had missed the 'class' word in the defaultSpec text on page 6, it took a little fiddling to get a Class method defined. Its 'almost' working :-) When I run the |ui | ...

Re: [Pharo-users] New Files in Pharo - Migration Guide, How To's and examples

2018-03-21 Thread Guillermo Polito
Hi all, Don't forget also that this are the low level bricks used in Pharo. Utterly required by the bootstrap and the minimal image, thus keeping dependencies small and controlled is a big +. Magic and automatic stuff can be added on top. Nothing prevents to add a little layer on top as a

Re: [Pharo-users] Issues with recent Pharos reading files

2018-03-21 Thread Guillermo Polito
On Wed, Mar 21, 2018 at 9:51 AM, Guillermo Polito wrote: > I'll fix smalltalk CI code for Pharo 7 to use the new class. That will > solve the problems in travis builds. > Aaand, fix in here, awaiting for integration: https://github.com/hpi-swa/smalltalkCI/pull/361

Re: [Pharo-users] Issues with recent Pharos reading files

2018-03-21 Thread Guillermo Polito
I'll fix smalltalk CI code for Pharo 7 to use the new class. That will solve the problems in travis builds. @Andrew, about the directories issue, can you provide me a full stack trace and even better a way to reproduce it? @Cédrik, kind of the same, if you provide a proper issue (or even a test

Re: [Pharo-users] Unable to execute example code from "The Spec UI Framework" Book

2018-03-21 Thread Alistair Grant
On 21 March 2018 at 08:37, dragoncity wrote: > I had already defined & accepted defaultSpec , as per page 6. > > Attached is my CustomerSatisfaction.st file : I assume Pharo will suck it > back in ! You've defined this as an instance method, not a class method. If

[Pharo-users] How to model extension method in UML

2018-03-21 Thread Jan Blizničenko
Hello I have a question regarding UML modelling of Pharo extension method. If I have a class ClassA in package PackageA, and I have a package PackageB which contains extension method of ClassA (so there is a new method in ClassA with protocol "*PackageB"), how exactly to model this situation in

Re: [Pharo-users] Unable to execute example code from "The Spec UI Framework" Book

2018-03-21 Thread dragoncity
I had already defined & accepted defaultSpec , as per page 6. Attached is my CustomerSatisfaction.st file : I assume Pharo will suck it back in ! On 21/03/18 17:55, Alistair Grant wrote: On 21 March 2018 at 03:12, dragoncity wrote: Hello, I'm just getting

Re: [Pharo-users] Unable to execute example code from "The Spec UI Framework" Book

2018-03-21 Thread Yuriy Babah
at the end of the fifth page " The widgets have now been defined and configured, but their placement in the UI has not yet been specified. This is the role of the class side method defaultSpec . " CustomerSatisfaction class >> defaultSpec ^ SpecLayout composed newRow: [ :row | row add:

Re: [Pharo-users] Unable to execute example code from "The Spec UI Framework" Book

2018-03-21 Thread Alistair Grant
On 21 March 2018 at 03:12, dragoncity wrote: > Hello, I'm just getting into Pharo, and am trying to > do the example 'tutorial' UI programs in chapter 2 of The Spec UI Framework > book. I have a special interest in end user GUI interfaces for programs. I > enter the