Re: [Pharo-users] pathSegments of workingDirectory?

2019-02-13 Thread Alistair Grant
Hi David & Sven, On Thu, 14 Feb 2019 at 07:46, Sven Van Caekenberghe wrote: > > David, > > > On 14 Feb 2019, at 03:56, David Richards > > wrote: > > > > Hi community, > > > > Consider: > > > > | file | > > file := FileLocator workingDirectory . > > file fullName . > > "==> '/Users/dr/Documents/

Re: [Pharo-users] pathSegments of workingDirectory?

2019-02-13 Thread Sven Van Caekenberghe
David, > On 14 Feb 2019, at 03:56, David Richards > wrote: > > Hi community, > > Consider: > > | file | > file := FileLocator workingDirectory . > file fullName . > "==> '/Users/dr/Documents/Pharo/images/Study (Pharo 7.0 - 64bit stable)'" > file pathSegments . > "==> #()" > > How do we obtai

[Pharo-users] pathSegments of workingDirectory?

2019-02-13 Thread David Richards
Hi community, Consider: | file | file := FileLocator workingDirectory . file fullName . "==> '/Users/dr/Documents/Pharo/images/Study (Pharo 7.0 - 64bit stable)'" file pathSegments . "==> #()" How do we obtain path segments for the working directory? Is this an edge case where pathSegments does

Re: [Pharo-users] Boostrap for seaside : incorrect JQuery version

2019-02-13 Thread Tomaž Turk
This is now solved (https://github.com/astares/Seaside-Bootstrap/issues/9). Best wishes, Tomaz -- Original Message -- From: "Esteban Maringolo" To: "Tomaž Turk" ; "Any question about pharo is welcome" Sent: 12.2.2019 20:10:15 Subject: Re: [Pharo-users] Boostrap for seaside : incorre

Re: [Pharo-users] Running test

2019-02-13 Thread Hilaire
Ok, that sounds as a serious problem then. I am surprised the MacOS X PharoLauncher has problem too. The Linux one is working ok.  For drgeo I think I will make three different packages for each os. Le 13/02/2019 à 16:28, Sean P. DeNigris a écrit : > HilaireFernandes wrote >> You mean the same lib

Re: [Pharo-users] [ANN] P3 version 1.2

2019-02-13 Thread Francisco Ortiz Peñaloza
This is great news. Thanks! On Tue, Feb 12, 2019 at 5:44 PM Tudor Girba wrote: > Thanks a lot for doing this! > > It is of great help to know that we can reliably work with Postgres. > > Cheers, > Doru > > > > On Feb 12, 2019, at 3:22 PM, Sven Van Caekenberghe wrote: > > > > Hi, > > > > There i

Re: [Pharo-users] Multiple NeoJSON mappings for the same domain object

2019-02-13 Thread Francisco Ortiz Peñaloza
Hi, sadly there is no documentation about Stargate yet, we did the first release just 20 days ago. Regarding HATEOAS, is an optional feature and we're testing it usefulness right now. Stargate is built on top of Zinc and Teapot and it has the following features: - Content negotiation allows serv

Re: [Pharo-users] Multiple NeoJSON mappings for the same domain object

2019-02-13 Thread Norbert Hartl
> Am 13.02.2019 um 13:53 schrieb Esteban Maringolo : > > Not in a hurry at all, I'm defining this part, so I can explore > different alternatives. > > I'll explore the OpenAPI approach with JSONSchema as well. > > > Regards, > > ps: What I liked about Stargate is that it manages other aspec

Re: [Pharo-users] Running test

2019-02-13 Thread Sean P. DeNigris
HilaireFernandes wrote > You mean the same libgit plugin error? Sorry, I meant the bundle is damaged error - Cheers, Sean -- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html

Re: [Pharo-users] Traits for class methods?

2019-02-13 Thread Konrad Hinsen
Marcus Denker writes: > It is amazing how much better this feels now that Traits can define state, > too… (compared to before where it was just methods). > > > https://github.com/khinsen/SingletonTrait/blob/master/SingletonTrait/SingletonTrait.trait.st > > I would even want to have (and u

Re: [Pharo-users] Traits for class methods?

2019-02-13 Thread Herby Vojčík
On 13. 2. 2019 14:54, Cyril Ferlicot wrote: On Wed, Feb 13, 2019 at 2:40 PM Hilaire wrote: I am wondering. Does it not make responsabilities less clear, shareed in class hierarchy and traits hierarchy, now both in term of behavior but also state? Hi, In general I do not choose between inhe

Re: [Pharo-users] Traits for class methods?

2019-02-13 Thread Cyril Ferlicot
On Wed, Feb 13, 2019 at 2:40 PM Hilaire wrote: > > I am wondering. Does it not make responsabilities less clear, shareed in > class hierarchy and traits hierarchy, now both in term of behavior but > also state? > Hi, In general I do not choose between inheritance and composition based on what th

Re: [Pharo-users] Traits for class methods?

2019-02-13 Thread Hilaire
I am wondering. Does it not make responsabilities less clear, shareed in class hierarchy and traits hierarchy, now both in term of behavior but also state? Hilaire Le 13/02/2019 à 13:02, Marcus Denker a écrit : > It is amazing how much better this feels now that Traits can define state, > too… (

Re: [Pharo-users] Multiple NeoJSON mappings for the same domain object

2019-02-13 Thread Esteban Maringolo
Yes, there is a lot going on. We're still missing a "featured stack" (at least one) that integrates all the parts of a "common" application need. "Necessity is the mother of invention" :) Regards, Esteban A. Maringolo El mié., 13 feb. 2019 a las 5:33, Sven Van Caekenberghe () escribió: > > Wow

Re: [Pharo-users] Multiple NeoJSON mappings for the same domain object

2019-02-13 Thread Esteban Maringolo
Not in a hurry at all, I'm defining this part, so I can explore different alternatives. I'll explore the OpenAPI approach with JSONSchema as well. Regards, ps: What I liked about Stargate is that it manages other aspects of an API such as CORS, HATEOAS [1] and resource versioning, but JSON-Hype

Re: [Pharo-users] Traits for class methods?

2019-02-13 Thread Marcus Denker
> On 13 Feb 2019, at 12:22, Konrad Hinsen wrote: > > On 11/02/2019 17:18, Cyril Ferlicot wrote: > >> A quick question: is it possible to use traits to define class methods? >>> For example, could the popular singleton pattern consisting of the >>> three class methods #uniqueInstance, #new, an

Re: [Pharo-users] Traits for class methods?

2019-02-13 Thread Konrad Hinsen
On 11/02/2019 17:18, Cyril Ferlicot wrote: A quick question: is it possible to use traits to define class methods? For example, could the popular singleton pattern consisting of the three class methods #uniqueInstance, #new, and #reset plus the instance variable uniqueInstance be packaged as a

Re: [Pharo-users] Running test

2019-02-13 Thread Hilaire
You mean the same libgit plugin error? Hilaire Le 13/02/2019 à 03:38, Sean P. DeNigris a écrit : > HilaireFernandes wrote >> I could try to fetch one from PharoLuncher on Mac OSX > I just dl-ed the new Launcher on Mojave and it seems that I had to > temporarily disable Gatekeeper via command line

Re: [Pharo-users] Multiple NeoJSON mappings for the same domain object

2019-02-13 Thread Sven Van Caekenberghe
Wow, first time I heard about https://github.com/ba-st/Stargate - seems like a great project. So much is happening in and around Pharo, it is really impossible to follow everything. > On 13 Feb 2019, at 02:58, Esteban Maringolo wrote: > > Meanwhile I found another approach to solve this in th