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

2019-02-12 Thread Norbert Hartl
Forgot to add the links https://github.com/zweidenker/JSONSchema https://github.com/zweidenker/OpenAPI Norbert > Am 13.02.2019 um 08:44 schrieb Norbert Hartl : > > If you are not in a hurry you can use JSON schema. That is also an external > mapper which can validate. And the spec is serializ

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

2019-02-12 Thread Norbert Hartl
If you are not in a hurry you can use JSON schema. That is also an external mapper which can validate. And the spec is serializable. You might miss some functionality but I could try to add that if you don‘t do. I would be happy to have more users of the library. If you use it for REST you coul

Re: [Pharo-users] Running test

2019-02-12 Thread Sean P. DeNigris
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 to get around a similar error. - Cheers, Sean -- Sent from: http://forum.world.st/Pharo-Smalltalk

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

2019-02-12 Thread Esteban Maringolo
Meanwhile I found another approach to solve this in the context of a JSON/REST API. E.g. see #addRuleToEncode:to:using: in. https://github.com/ba-st/Stargate/blob/release-candidate/source/Stargate-Examples/PetsRESTfulControllerSpecification.class.st Has a separate mapper for encoding and decoding

Re: [Pharo-users] Calypso documentation? Or understanding menu building

2019-02-12 Thread Tim Mackinnon
Thanks Denis - lots for me to look through there. I’ll also add a PR to add those documentation links to the Calypso readme. Tim > On 12 Feb 2019, at 19:32, Denis Kudriashov wrote: > > Hi Tim > > вт, 12 февр. 2019 г. в 13:42, Tim Mackinnon : > Is there any documentation on Calypso applicati

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

2019-02-12 Thread Esteban Maringolo
Hi all, Sven, :) I'm working on a domain model that will have different JSON representations for the same domain objects, so depending on the context it will return one representation or another. In the past to solve the multiple representations, what I did was to build "helper" methods that adde

[Pharo-users] Its odd you can't have our own git project called MyProject/Pharo!

2019-02-12 Thread Tim Mackinnon
I’m really quite stunned that having worked happily 6 months ago on a project called github://exercism/pharo (a name given to us by the exercism project) - that you can’t load that code into Pharo7 anymore either via iceberg or via metacello. It looks like iceberg ignores any paths leading up

Re: [Pharo-users] [TelePharo] Error in remote playground..

2019-02-12 Thread Denis Kudriashov
I think it would be enough to do on client side 12 февр. 2019 г. 21:23 пользователь "Denis Kudriashov" написал: Checkout dev branch using iceberg 12 февр. 2019 г. 21:10 пользователь "sergio ruiz" написал: I am not sure I follow.. Do you mean grab the source from github using Iceberg? Thanks

Re: [Pharo-users] [TelePharo] Error in remote playground..

2019-02-12 Thread Denis Kudriashov
Checkout dev branch using iceberg 12 февр. 2019 г. 21:10 пользователь "sergio ruiz" написал: I am not sure I follow.. Do you mean grab the source from github using Iceberg? Thanks! On February 12, 2019 at 4:03:25 PM, Denis Kudriashov (dionisi...@gmail.com) wrote: Ah, it needs new release. Tr

Re: [Pharo-users] [TelePharo] Error in remote playground..

2019-02-12 Thread sergio ruiz
I am not sure I follow.. Do you mean grab the source from github using Iceberg? Thanks! On February 12, 2019 at 4:03:25 PM, Denis Kudriashov (dionisi...@gmail.com) wrote: Ah, it needs new release. Try load dev versions of telepharo and seamless from Iceberg peace, sergio photographer, jou

Re: [Pharo-users] [TelePharo] Error in remote playground..

2019-02-12 Thread Denis Kudriashov
Ah, it needs new release. Try load dev versions of telepharo and seamless from Iceberg 12 февр. 2019 г. 20:45 пользователь "sergio ruiz" написал: Hey, all.. I am now able to connect to my remote image, but I am having one more issue. When opening a remote playground and trying to manipulate ob

[Pharo-users] [TelePharo] Error in remote playground..

2019-02-12 Thread sergio ruiz
Hey, all.. I am now able to connect to my remote image, but I am having one more issue. When opening a remote playground and trying to manipulate objects, i am getting: ideas? Thanks! peace, sergio photographer, journalist, visionary Public Key: http://bit.ly/29z9fG0 #BitMessage BM-NBasw

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

2019-02-12 Thread Tudor Girba
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 is a new release of P3, the modern, lean and mean PostgreSQL client for > Pharo. > > https://github.c

Re: [Pharo-users] Loading TelePharo on Pharo 7

2019-02-12 Thread sergio ruiz
Yes! correct.. i just built a new work image from scratch, and it works fine. Connecting to my remote now.. Thanks! On February 12, 2019 at 12:20:50 PM, Denis Kudriashov (dionisi...@gmail.com) wrote: Try it with closed browsers because it loads different version and it will break live instance

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

2019-02-12 Thread Hilaire
Thanks for the update. Took a look at the doc bellow. To my taste, this traits design really add complexity in the code, particularly in responsibility and now the state. While it could be useful in some situation. Le 11/02/2019 à 20:37, Cyril Ferlicot a écrit : > Hi, > > Since Pharo 7, Traits are

Re: [Pharo-users] Running test

2019-02-12 Thread Hilaire
I have been able to test the VM referenced bellow with drgeo image: drgeo starts but the VM suffers this libgit plugin error, as it is the case for the Linux VM. Is there another working VM to look at? I could try to fetch one from PharoLuncher on Mac OSX, but I only have intermittent access to m

Re: [Pharo-users] Calypso documentation? Or understanding menu building

2019-02-12 Thread Denis Kudriashov
Hi Tim вт, 12 февр. 2019 г. в 13:42, Tim Mackinnon : > Is there any documentation on Calypso application contexts? I am trying > to add a menu item to a package tag (the bit underneath a package - which I > often call a sub-package). > Only class comments are available for Calypso. Also there

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

2019-02-12 Thread Esteban Maringolo
Maybe it's just a matter of importing the latest Bootstrap files (v3.3.7) into the the corresponding FileLibrary. Regards, El lun., 11 feb. 2019 a las 18:51, Tomaž Turk () escribió: > I'm sorry, I should be more clear - I copy&pasted the Bootstrap 3.3.7 code > from here

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

2019-02-12 Thread Norbert Hartl
Cool. Makes me wanna use postgres 😉 Norbert > Am 12.02.2019 um 15:22 schrieb Sven Van Caekenberghe : > > Hi, > > There is a new release of P3, the modern, lean and mean PostgreSQL client for > Pharo. > > https://github.com/svenvc/P3 > > Version 1.2 contains the following changes: > > - P3Pr

Re: [Pharo-users] Pharo 7 crashes on OSX when unsuspending laptop?

2019-02-12 Thread Tim Mackinnon
It’s really bad for me - its just crashed again in an image that I loaded up when I reported this, this morning. Again it had been suspended over lunch but my laptop was running another program when it crashed in the background… This is from a zero conf image downloaded on Friday - so its pretty

Re: [Pharo-users] Loading TelePharo on Pharo 7

2019-02-12 Thread sergio ruiz
Thanks, Denis.. Will try this in a minute.. On February 12, 2019 at 3:42:06 AM, Denis Kudriashov (dionisi...@gmail.com) wrote: Following script will load TelePharo without error: Metacello new baseline: 'TelePharo'; repository: 'github://pharo-ide/TelePharo'; onUpgrade: [:ex | ex useIncom

[Pharo-users] [ANN] P3 version 1.2

2019-02-12 Thread Sven Van Caekenberghe
Hi, There is a new release of P3, the modern, lean and mean PostgreSQL client for Pharo. https://github.com/svenvc/P3 Version 1.2 contains the following changes: - P3PreparedStatement is now joined by a polymorphic P3FormattedStatement working client side on text strings - P3PreparedStatement

[Pharo-users] Calypso documentation? Or understanding menu building

2019-02-12 Thread Tim Mackinnon
Is there any documentation on Calypso application contexts? I am trying to add a menu item to a package tag (the bit underneath a package - which I often call a sub-package). I’ve specified: ^CmdContextMenuActivation byItemOf: ClyQueryMenuGroup for: RPackage asCalypsoItemCon

Re: [Pharo-users] Pharo 7 crashes on OSX when unsuspending laptop?

2019-02-12 Thread Cyril Ferlicot
On Tue, Feb 12, 2019 at 1:53 PM Tim Mackinnon wrote: > > Ok- I’ve attached my crash.dmp file to that issue - for others that got it, > was it launched from the terminal? That’s been my use case 2 days in a row, > on a very minimal image - fresh with a small amount of code loaded into it, > and

Re: [Pharo-users] Pharo 7 crashes on OSX when unsuspending laptop?

2019-02-12 Thread Tim Mackinnon
Ok- I’ve attached my crash.dmp file to that issue - for others that got it, was it launched from the terminal? That’s been my use case 2 days in a row, on a very minimal image - fresh with a small amount of code loaded into it, and a tiny bit of playing around before leaving it. Tim > On 12 Fe

Re: [Pharo-users] Pharo 7 crashes on OSX when unsuspending laptop?

2019-02-12 Thread Cyril Ferlicot
Hi, Related issue: https://github.com/pharo-project/pharo/issues/2422 On Tue, Feb 12, 2019 at 12:55 PM Tim Mackinnon wrote: > > I think I read someone else commenting on this, but I can’t find where I read > it - but two days in a row now, I’ve had a fresh Pharo 7 image - downloaded > with zer

Re: [Pharo-users] Pharo 7 crashes on OSX when unsuspending laptop?

2019-02-12 Thread Sven Van Caekenberghe
Me too, but les frequent nowadays > On 12 Feb 2019, at 13:39, Esteban Lorenzano wrote: > > Yes, I have suffered that time to time :( > > Esteban > >> On 12 Feb 2019, at 13:00, Tim Mackinnon wrote: >> >> Interestingly - I went further back in my terminal output and have found the >> crash fr

Re: [Pharo-users] Loading TelePharo on Pharo 7

2019-02-12 Thread Denis Kudriashov
Following script will load TelePharo without error: Metacello new baseline: 'TelePharo'; repository: 'github://pharo-ide/TelePharo'; onUpgrade: [:ex | ex useIncoming]; onConflictUseIncoming; load. пн, 11 февр. 2019 г. в 09:11, Denis Kudriashov : > Hi Serge. > > You need to add option