[Pharo-users] [offtopic] Re: REST client hints

2017-12-05 Thread Ben Coman
btw, SegmentIO seems quite impressive aggregating a huge number of services. How have you found the extra level of indirection in practice? how has your experience been with the sources you've tried? cheers -ben On 6 December 2017 at 06:06, Ben Coman wrote: > Thanks Paul. It'll be good to revie

Re: [Pharo-users] REST client hints

2017-12-05 Thread Ben Coman
Thanks Paul. It'll be good to review some concrete implementations, and nice to see what services other other people find useful. I got a momentary urge the create a Pharo Distribution or catalog entry called something like "SamplRest" with a GUI to explore available REST data sources. Marketing an

Re: [Pharo-users] Commander feedback

2017-12-05 Thread Denis Kudriashov
Hi Juraj. Yes. documentation needs to be improved. I made only pass on it. Now there is new Commander version. The code still in dev branch . The basic idea is same but some names are changed and internally it is based on ClassAnnotation's

Re: [Pharo-users] Calypso question: adding a context menu item

2017-12-05 Thread Denis Kudriashov
Hi Juraj. I repeated your steps and it works for me: In "vars" mode I have "Say Hello" in context menu of selected variable (just before "Show in method browser" item). Maybe you were looking at context menu of class pane? In that case command activator should be defined as: ClyHelloCommand clas

Re: [Pharo-users] PharoThings - Metacello installation broken

2017-12-05 Thread bachitoph
Hi thanks for fast response. Made first fingertips, looks pretty fine. cjb -- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html

Re: [Pharo-users] SignalR

2017-12-05 Thread Hans N Beck
Hi Ben, At the moment I experimenting with different Shiny like techniques in different environments: python - Tornado, Pharo - Teapot and also SignalR - c#. As far as I know, SignalR uses Websockets including a fall-back mechanism and a so called „hub“, which calls JS in the client or do some

[Pharo-users] Commander feedback

2017-12-05 Thread Juraj Kubelka
Hi, I like the idea of the Commander library https://github.com/dionisiydk/Commander I am trying to understand how to use it, but I struggle to understand it as documentation includes quiete complex examples: https://ci.inria.fr/pharo-contribution/vie

Re: [Pharo-users] REST client hints

2017-12-05 Thread Paul DeBruicker
Hi Ben, I've made a few REST Clients http://smalltalkhub.com/#!/~pdebruic/Stripe http://smalltalkhub.com/#!/~pdebruic/Tropo http://smalltalkhub.com/#!/~pdebruic/SegmentIO And the elasticsearch one but its been advanced mostly lately by Sho Yoshida (https://github.com/newapplesho) here https://g

Re: [Pharo-users] Behold Pharo: The Modern Smalltalk

2017-12-05 Thread horrido
I've encountered another issue, this time with the macOS download... After I download the zip file, I unzip the file and move the Pharo application to the Applications folder. Then I have to right-click on the Pharo application and select open (double-clicking prevents me from opening the file at

[Pharo-users] Calypso question: adding a context menu item

2017-12-05 Thread Juraj Kubelka
Hi, To implement a context menu item. I have implemented a new class: -=-=-=- CmdCommand subclass: #ClyHelloCommand instanceVariableNames: '' classVariableNames: '' package: 'Calypso-Extensions’ -=-=-=- with methods: -=-=-=-=- ClyHelloCommand class >> #systemBrowserMenu

Re: [Pharo-users] Fuel transfer from Pharo 1.4 to Pharo 6.1

2017-12-05 Thread Sean P. DeNigris
Andreas Brodbeck-3 wrote > --- Searched for some few usages of SortedCollection and made sure, that > there is no sortBlock but only the default sort behaviour. Can't we have Fuel handle the sort block if it's clean? I feel like we discussed this before but can't recall the conclusion… - Ch

Re: [Pharo-users] SignalR

2017-12-05 Thread Ben Coman
btw, I found a detailed description of SignalR implementation... https://blog.3d-logic.com/2015/03/29/signalr-on-the-wire-an-informal-description-of-the-signalr-protocol/ cheers -ben On 5 December 2017 at 23:36, Ben Coman wrote: > Anyone dealt with SignalR before, can comment on implications for

Re: [Pharo-users] Behold Pharo: The Modern Smalltalk

2017-12-05 Thread Marcus Denker
> On 5 Dec 2017, at 16:36, Sven Van Caekenberghe wrote: > > Hmm, yes, http://files.pharo.org/platform/Pharo6.1-linux.zip seems broken, > duh. > > $ curl get.pharo.org | bash > > works fine though. > > It is not possible to offer a single solution for 'Linux' as there are 100s > of distribu

[Pharo-users] SignalR

2017-12-05 Thread Ben Coman
Anyone dealt with SignalR before, can comment on implications for access from Pharo? Its originally a Microsoft layer on top of Websockets but there also exist Javascript and Python libraries. https://en.wikipedia.org/wiki/SignalR https://www.quora.com/What-is-the-difference-between-web-sockets-a

Re: [Pharo-users] Behold Pharo: The Modern Smalltalk

2017-12-05 Thread Sven Van Caekenberghe
Hmm, yes, http://files.pharo.org/platform/Pharo6.1-linux.zip seems broken, duh. $ curl get.pharo.org | bash works fine though. It is not possible to offer a single solution for 'Linux' as there are 100s of distributions, package managers, and individual preferences and tastes. That is what GNU

Re: [Pharo-users] Behold Pharo: The Modern Smalltalk

2017-12-05 Thread horrido
Then clearly there is something seriously wrong with the Default GNU/Linux download. It does not contain a file called 'pharo-ui'. Moreover, since the Pharo6.1.image file is located in the 'shared' folder, you'd have to CD to 'shared' to execute your command. No mention of this anywhere! How is a

Re: [Pharo-users] Behold Pharo: The Modern Smalltalk

2017-12-05 Thread Cédrick Béler
> On Tue, Dec 5, 2017 at 5:49 AM, horrido wrote: >> Understood. I'm working on a Pharo Quick Start guide. If it passes muster >> with you guys, you may want to link to it, or incorporate its contents into >> the pharo.org website. > > Sure let us know. I’m also very interested as I want to giv

Re: [Pharo-users] REST client hints

2017-12-05 Thread Ben Coman
On 5 December 2017 at 20:44, Sven Van Caekenberghe wrote: > > >> On 5 Dec 2017, at 13:33, Ben Coman wrote: >> >> @esteban, thx, I'll take a look at mastodon. >> >> @peter, I remember playing with the Google API when Richard published >> that. thx for the reminder. >> >> @sven, I started reading

Re: [Pharo-users] REST client hints

2017-12-05 Thread Sven Van Caekenberghe
> On 5 Dec 2017, at 13:33, Ben Coman wrote: > > @esteban, thx, I'll take a look at mastodon. > > @peter, I remember playing with the Google API when Richard published > that. thx for the reminder. > > @sven, I started reading Enterprise Pharo a couple of hours ago. > I don't quite get your s

Re: [Pharo-users] REST client hints

2017-12-05 Thread Miguel Moquillon
There is also the OpenAPI specification dedicated to define a REST API and from which a skeleton of an implementation can be generated. It should be then also possible to generate the skeleton of a client for such an API. Swagger provides tooling to th

Re: [Pharo-users] REST client hints

2017-12-05 Thread Ben Coman
@esteban, thx, I'll take a look at mastodon. @peter, I remember playing with the Google API when Richard published that. thx for the reminder. @sven, I started reading Enterprise Pharo a couple of hours ago. I don't quite get your section references. I presume you don't mean "chapter 11 Persisti

Re: [Pharo-users] Fuel transfer from Pharo 1.4 to Pharo 6.1

2017-12-05 Thread Mariano Martinez Peck
On Tue, Dec 5, 2017 at 6:39 AM, Andreas Brodbeck wrote: > Am 28.11.17 um 13:52 schrieb Mariano Martinez Peck: > > On Tue, Nov 28, 2017 at 9:31 AM, Andreas Brodbeck > wrote: > > > >> Am 28.11.17 um 12:46 schrieb Mariano Martinez Peck: > >>> Hi Andreas, > >>> > >>> Do you know why method contexts

Re: [Pharo-users] REST client hints

2017-12-05 Thread Peter Uhnák
With ZnClient you can also dynamically extend paths (#addPath:), specify parameters (#formAt:put:, #queryAt:put:), provide raw #contents:, etc. But what would be nice is to convert the responses to some domain objects. So e.g. when I query trello for all lists, I would like to get as a result not

Re: [Pharo-users] REST client hints

2017-12-05 Thread Sven Van Caekenberghe
Ben, > On 5 Dec 2017, at 12:15, Ben Coman wrote: > > I'm just about to write my first client interface to a REST service. > In some respects I understand this is as simple as doing GET responses > using Zinc, > but I'm inquiring about tutorials or libraries that might help. Most > of the stuff

Re: [Pharo-users] REST client hints

2017-12-05 Thread Esteban Lorenzano
Hi, > On 5 Dec 2017, at 12:15, Ben Coman wrote: > > I'm just about to write my first client interface to a REST service. > In some respects I understand this is as simple as doing GET responses > using Zinc, yes, is about that. GET/POST/PUT/DELETE all have sense. > but I'm inquiring about t

[Pharo-users] REST client hints

2017-12-05 Thread Ben Coman
I'm just about to write my first client interface to a REST service. In some respects I understand this is as simple as doing GET responses using Zinc, but I'm inquiring about tutorials or libraries that might help. Most of the stuff turned up by searches is about server-side of REST. cheers -ben

Re: [Pharo-users] Fuel transfer from Pharo 1.4 to Pharo 6.1

2017-12-05 Thread Andreas Brodbeck
Am 28.11.17 um 13:52 schrieb Mariano Martinez Peck: > On Tue, Nov 28, 2017 at 9:31 AM, Andreas Brodbeck wrote: > >> Am 28.11.17 um 12:46 schrieb Mariano Martinez Peck: >>> Hi Andreas, >>> >>> Do you know why method contexts are trying to be serialized? Of course, >>> probably because of closures.

Re: [Pharo-users] [Moose-dev] feenk log

2017-12-05 Thread Peter Uhnák
Great work guys! Even though I don't have much time to work with Bloc yet, every time I play with it, I find it really enjoyable. :) Also +1 for draggable elements, another thing to tick of my "must have" list. :) Peter