[Pharo-users] Changing method definition at runtime

2016-07-22 Thread Eric Velten de Melo
Hello, One thing I try to do often is changing the behaviour of a method dynamically at runtime. The current way I do this is by having a block as an instance variable and having the method call this block, but I find this approach a bit cumbersome. Is there some other way or is this the recommend

Re: [Pharo-users] [ANN] JSONWebToken

2016-07-22 Thread Norbert Hartl
Hey Johan, didn't find it when starting my own. Mine is between 2 and 3 years old. Maybe parallel development ;) Mine is pretty basic and uses only SHA256. I implemented for internal use and just released as sven was asking. Norbert > Am 22.07.2016 um 19:20 schrieb Johan Brichau : > > Hey No

Re: [Pharo-users] System Browser "Implementors of..." drill down?

2016-07-22 Thread Hernán Morales Durand
Yes, I know you like GTSpotter. But as difficult as you may find, me (and others possibly) didn't find GTSpotter so cool, or even an usable tool, so we don't feel the love you feel. Why? Well, there was too many discussions about this tool in the mailing list. On the other side, I would be *REALL

Re: [Pharo-users] [ANN] JSONWebToken

2016-07-22 Thread Sven Van Caekenberghe
> On 22 Jul 2016, at 19:20, Johan Brichau wrote: > > Hey Norbert, > > Also see here: http://smalltalkhub.com/#!/~JohanBrichau/Json-WebToken > > ;) And now we have not one but two implementations ? I would guess Johan's version is more Seaside oriented, or not ? > Are you using cryptography

Re: [Pharo-users] [ANN] JSONWebToken

2016-07-22 Thread Johan Brichau
Hey Norbert, Also see here: http://smalltalkhub.com/#!/~JohanBrichau/Json-WebToken ;) Are you using cryptography package? Cheers, Johan > On 22 Jul 2016, at 10:17, Norbert Hartl wrote: > > Hi, > > thanks to the inquiry of Sven I published an implementation of JSONWebToken > to smalltalkhub

Re: [Pharo-users] [ANN] Pillar 4.0.0

2016-07-22 Thread Offray Vladimir Luna Cárdenas
Hi, On 22/07/16 08:41, Thibault ARLOING wrote: Features * Check phase to check syntax * EPub exporter for e-books (use pillar archetypes for this) * Semantic links to Youtube and Wikipedia * Citations for LaTeX * Structures (see Pillar documentation) * Footnotes for HTML, Markdown,

[Pharo-users] data driven web apps - reactivity - how to do that in Pharo/Zn ?

2016-07-22 Thread Cédrick Béler
Hi all, I would like to have a reactive approach in a web client, i.e. when the data changes in the server or the client the change is propagated… I liked this when trying meteor and DDP (its data driven protocol). I now use Zinc with templates using mustache. It’s quite straightforward.Now I’

[Pharo-users] [ANN] Pillar 4.0.0

2016-07-22 Thread Thibault ARLOING
Hello, I'm happy to announce the latest release of Pillar. This release has been possible because of the hard work of Damien Cassou, Cyril Ferlicot, Yann Dubois, Thibault Arloing and Lukas Komarek. What did it bring and what are the largest changes ? * Huge cleaning of code and Dependenc

Re: [Pharo-users] [Pharo-dev] [ANN] JSONWebToken

2016-07-22 Thread Andy Burnett
I am really interested in this work on JWT. We've been using it quite a lot. For instance we use JWT to link an application written in PHP to a Firebase backend. Works beautifully. The thing that I am still trying to wrap my head around, is whether there is a – standard – way of using the clai

Re: [Pharo-users] Displaying text in OpenGL

2016-07-22 Thread Dimitris Chloupis
This the approach that Cairo uses to work with OpenGL. Cairo is doing very good job at rendering fonts. Athens wraps Cairo, so maybe if you use Athens with a modern wrapper of OpenGL for Pharo this will save all the trouble of doing it from scratch. But I have not tested this in practice so I offer

Re: [Pharo-users] System Browser "Implementors of..." drill down?

2016-07-22 Thread Dimitris Chloupis
Looks we two have a difficult time disagreeing with each other cause we think alike. Yes it's very hard to put everything in a single tool. The window hell problem is something I have a lot issues with. Windowing systems are notorious for wasting screen estate which why I prefer custom GUIs . A bi

Re: [Pharo-users] System Browser "Implementors of..." drill down?

2016-07-22 Thread Ben Coman
On Fri, Jul 22, 2016 at 2:47 PM, Dimitris Chloupis wrote: > Learn to use GTSpotter , will make your experience 10 times easier and > faster. Agreed for 90% of what I do, but its RealHard(TM) for a single tool to provide a magic 100% coverage of use cases. The other 10% of the time I find the "Im

[Pharo-users] Displaying text in OpenGL

2016-07-22 Thread Thibault Raffaillac
Hello, As in title, I would like to display text in OpenGL, the "right" way (https://en.wikibooks.org/wiki/OpenGL_Programming/Modern_OpenGL_Tutorial_Text_Rendering_01). Basically, there is one texture acting as cache for all glyphs actually displayed on screen, and we render one quad per glyph,

Re: [Pharo-users] An Implementation of JSON Web Tokens

2016-07-22 Thread andrew glynn
Thanks for this Norbert. It works great with Teapot microservices that are associated with specific JQuery widget instances. I can insert the token into the widget's callback to the pot so that only that widget instance can use that particular service. The way our web app works is that it ge

Re: [Pharo-users] [Pharo-dev] [ANN] JSONWebToken

2016-07-22 Thread Norbert Hartl
> Am 22.07.2016 um 11:47 schrieb Holger Freyther : > > >> On 22 Jul 2016, at 16:17, Norbert Hartl wrote: >> > > > Hi! > >> Taking the assumption of having 20 service images, every image would need to >> get back to A in order to check authorization information. The more services >> images

Re: [Pharo-users] System Browser "Implementors of..." drill down?

2016-07-22 Thread Dimitris Chloupis
Choosing a programming language is too Nonetheless GTSpotter make the navigation easier, mainly because it works hand in hand with System Browser . So you dont have to choose one or the other, rather find the workflow that fits your needs. Of course that will depend on the specifics of the situati

Re: [Pharo-users] [ANN] JSONWebToken

2016-07-22 Thread Holger Freyther
> On 22 Jul 2016, at 16:17, Norbert Hartl wrote: > Hi! > Taking the assumption of having 20 service images, every image would need to > get back to A in order to check authorization information. The more services > images you have the more load it will put on A. In a JWT use case scenario

[Pharo-users] [ANN] JSONWebToken

2016-07-22 Thread Norbert Hartl
Hi, thanks to the inquiry of Sven I published an implementation of JSONWebToken to smalltalkhub. It is available at http://smalltalkhub.com/#!/~NorbertHartl/JSONWebToken For those who don't know JSONWebToken or short JWT pronounced "jot"

Re: [Pharo-users] System Browser "Implementors of..." drill down?

2016-07-22 Thread Markus Stumptner
I agree - the keyboard shortcuts will work for the initiated, but are not a replacement for the obvious menu entries that even experienced Smalltalkers from other versions will be missing in Pharo. I think it is important to keep the entry barriers low in terms of not hiding useful functionali

Re: [Pharo-users] An Implementation of JSON Web Tokens

2016-07-22 Thread Norbert Hartl
Hi Sean, > Am 21.07.2016 um 18:00 schrieb Sean Glazier : > > Hi, > > Thank you so much. did you use it in a seaside widget as well? if so could I > see it? If this is a dumb question please forgive me. I will also see if I > need additional code and will update it as well as corresponding test

Re: [Pharo-users] System Browser "Implementors of..." drill down?

2016-07-22 Thread Hernán Morales Durand
2016-07-22 3:47 GMT-03:00 Dimitris Chloupis : > Learn to use GTSpotter , will make your experience 10 times easier and > faster. > And of course, that is completely subjective :) Hernán

Re: [Pharo-users] System Browser "Implementors of..." drill down?

2016-07-22 Thread Hernán Morales Durand
This was actually implemented in older versions of Pharo (or Squeak), the browser also included very handy buttons in the middle to save precious clicks. The right thing to do is to replace the "..." non-sense with the selected method selector, and to offer another menu item which displays all met