Re: [Pharo-users] Sending byte array in a JSON format

2017-04-27 Thread Sven Van Caekenberghe
> On 26 Apr 2017, at 17:21, Peter Uhnak wrote: > > Maybe the content is not properly stored in the JSON on github' side? But you > can use base64 in `accept:` to make it work. > > json := STONJSON fromString: (ZnClient new > url: 'https://api.github.com/gists/5503544'; >

Re: [Pharo-users] Sending byte array in a JSON format

2017-04-27 Thread Sven Van Caekenberghe
> On 26 Apr 2017, at 17:25, Peter Uhnak wrote: > > It is also possible that ZnEasy is doing some encoding transformations that > breaks it; after all, you are retrieving binary data as text data, so > encoding should be applied on it. JSON is text, using a specific encoding indeed. Since the

Re: [Pharo-users] Sending byte array in a JSON format

2017-04-27 Thread Juraj Kubelka
Hi, That’s great! Thank you a lot for the information :-) Juraj > On Apr 27, 2017, at 09:52, Sven Van Caekenberghe wrote: > > >> On 26 Apr 2017, at 17:21, Peter Uhnak wrote: >> >> Maybe the content is not properly stored in the JSON on github' side? But >> you can use base64 in `accept:` t

Re: [Pharo-users] Sending byte array in a JSON format

2017-04-27 Thread Sven Van Caekenberghe
> On 27 Apr 2017, at 14:57, Juraj Kubelka wrote: > > Hi, > > That’s great! Thank you a lot for the information :-) Well, it is Peter who came up with the alternative request. All credit to him. > Juraj > >> On Apr 27, 2017, at 09:52, Sven Van Caekenberghe wrote: >> >> >>> On 26 Apr 2017,

Re: [Pharo-users] [Ann] Pharo Sprint App to improve coordination during Pharo Sprints

2017-04-27 Thread Luc Fabresse
Nice Juraj! ;-) #Luc 2017-04-24 20:51 GMT+02:00 K K Subbu : > On Monday 24 April 2017 08:00 PM, Juraj Kubelka wrote: > >> >> Please, can you send me a screenshot? Or submit the screenshot >> here https://github.com/JurajKubelka/PharoSprint/issues/new >> > > Done. I think the error appears becaus

Re: [Pharo-users] Neural Networks in Pharo

2017-04-27 Thread Oleks
Hello, I have finally added a configuration to the NeuralNetwork project. Now you can use this Metacello script to load it into your Pharo image: Metacello new repository: 'http://smalltalkhub.com/mc/Oleks/NeuralNetwork/main'; configuration: 'MLNeuralNetwork'; version: #development; load.

[Pharo-users] MOOC offline download

2017-04-27 Thread Ben Coman
I was just chatting with someone with limited Internet who was looking to odownload the mooc files [1] for use offline. Does such exist? [1] http://files.pharo.org/mooc cheers -ben

[Pharo-users] IMPORTANT: iceberg home changed

2017-04-27 Thread Esteban Lorenzano
As part of our work for release, I changed the home of Iceberg into his own place: https://github.com/pharo-vcs/iceberg So, now to install you will need: Metacello new baseline: 'Iceberg'; repository: 'github://pharo-vcs/iceberg:dev-0.4'; load. I also uploaded a Configuration to the *ca

Re: [Pharo-users] MOOC offline download

2017-04-27 Thread Peter Uhnak
Everything is also on github so you can clone it locally https://github.com/SquareBracketAssociates/PharoMooc On Thu, Apr 27, 2017 at 11:50:22PM +0800, Ben Coman wrote: > I was just chatting with someone with limited Internet who was looking to > odownload the mooc files [1] for use offline. Doe

Re: [Pharo-users] [Ann] Pharo Sprint App to improve coordination during Pharo Sprints

2017-04-27 Thread Juraj Kubelka
Hi, Marcus and I have updated the contribute page: http://pharo.org/contribute-events And I have just released Pharo Sprint App version 0.2.0: http://bit.ly/PharoSprintApp (Discord sprint channel includes the link) To run it,

[Pharo-users] Spec Adapter Advice

2017-04-27 Thread Rob Rothwell
Hello, I have recently been lucky enough to get the Cocoa portion of Mars working on Pharo 5.0. While there are some issues, it has a wonderful set of examples that allowed me create new Cocoa classes and delegate methods and see a straightforward path to learning how to use Coco widgets from Pha

Re: [Pharo-users] Spec Adapter Advice

2017-04-27 Thread Peter Uhnak
Hi Rob, I guess the best resource at the moment is to just look at existing adapters. But here are some thoughts to get you started: (Spec) ComposableModel has as its widget (Spec) Adapter Adapter has as its widget the actual visual component, which currently means Morphic. The simplest examp

Re: [Pharo-users] Spec Adapter Advice

2017-04-27 Thread Rob Rothwell
Hi Peter, Thank you very much for that overview! It looks like even just creating a window with no other widgets is sort of "hard-wired" to Morphic through ComposableModel>>defaultWindowModelClass, so maybe just overriding that and trying to create a Cocoa window model and adapter is the place to

Re: [Pharo-users] Spec Adapter Advice

2017-04-27 Thread Ben Coman
Hi Dennis, On Fri, Apr 28, 2017 at 7:09 AM, Rob Rothwell wrote: > Hi Peter, > > Thank you very much for that overview! > > It looks like even just creating a window with no other widgets is sort of > "hard-wired" to Morphic through ComposableModel>>defaultWindowModelClass, > so maybe just overri