Re: [Pharo-users] STON Question

2017-06-14 Thread Sven Van Caekenberghe
STON cannot be used to write partial, manual output because it needs to see the full object graph (like FUEL does). If I would want to use STON for prettier looking config files, I would make an object just for that external representation, converting it where necessary to better internal objec

[Pharo-users] vested interest in PharoJS?

2017-06-14 Thread Siemen Baader
Hi all, Is anyone else interested in PharoJS and making it mature for their own commercial mobile and single page web app (and node.js) development? I think it has a huge potential because it brings the browser runtime and many libraries and online services from the JS world to us Smalltalkers wh

[Pharo-users] I want to get in contact with raphael luque from madrid :)

2017-06-14 Thread Stephane Ducasse
Hi guys. I tried to get in contact with raphael but my emails do not seem to go to destination. Do you have the email of raph/fael luque from madrid? Stef

Re: [Pharo-users] STON Question

2017-06-14 Thread Stephane Ducasse
Thanks Sven. I'm checking the STONWriter path with some tricks. On Wed, Jun 14, 2017 at 11:06 AM, Sven Van Caekenberghe wrote: > STON cannot be used to write partial, manual output because it needs to see > the full object graph (like FUEL does). > > If I would want to use STON for prettier look

[Pharo-users] [ARTICLE] Quick write me a Redis client

2017-06-14 Thread Sven Van Caekenberghe
Hi, I wrote another article in the 'Concerning Pharo' publication: [TITLE] Quick write me a Redis client [SUBTITLE] A beautiful protocol makes implementation easy [URL] https://medium.com/concerning-pharo/quick-write-me-a-redis-client-5fbe4ddfb13d [SOURCECODE] https://github.com/svenvc/SimpleRed

[Pharo-users] Re : Re: STON Question

2017-06-14 Thread Christophe Demarey
+1 It is exactly what i've done with Cargo. Define your own specific object for serialization / deserialization. It is the simplest way to have a human readable conf file (e.g. urls, pathes default serialization is not what you expect) Christophe - Sven Van Caekenberghe a écrit : > STON ca

Re: [Pharo-users] STON Question

2017-06-14 Thread Sven Van Caekenberghe
> On 14 Jun 2017, at 15:01, Christophe Demarey > wrote: > > +1 > It is exactly what i've done with Cargo. Define your own specific object for > serialization / deserialization. It is the simplest way to have a human > readable conf file (e.g. urls, pathes default serialization is not what you

Re: [Pharo-users] STON Question

2017-06-14 Thread Guillermo Polito
that's what is called a DTO Le 14 juin 2017 15:27, "Sven Van Caekenberghe" a écrit : > > > On 14 Jun 2017, at 15:01, Christophe Demarey < > christophe.dema...@inria.fr> wrote: > > > > +1 > > It is exactly what i've done with Cargo. Define your own specific object > for serialization / deserializ

Re: [Pharo-users] vested interest in PharoJS?

2017-06-14 Thread Dimitris Chloupis
from my extremely limited understanding about web dev, Seaside if my memory serves me correctly it integrate JS/ HTML/ CSS . IT has many great features, its mature and well documented. Most likely most existing pharo web dev frameworks do this as well. PharoJS is definitely a very cool idea, but i

Re: [Pharo-users] STON Question

2017-06-14 Thread Guillermo Polito
That's what we call a DTO On Wed, Jun 14, 2017 at 3:01 PM, Christophe Demarey < christophe.dema...@inria.fr> wrote: > +1 > It is exactly what i've done with Cargo. Define your own specific object > for serialization / deserialization. It is the simplest way to have a human > readable conf file (e

Re: [Pharo-users] Porting Transducers to Pharo

2017-06-14 Thread Steffen Märcker
Hi Phil, Tell me how it goes for you. I played a bit with Iceberg in Pharo, managed to check out the repository, and load Transducers-Core. As a bit of a surprise, multiple packages show up in the SystemBrowser; one for each method category, e.g., Transducers-accessing and Transducers-cl

[Pharo-users] Zink geo location data reading

2017-06-14 Thread bachitoph
Hi, I'm playing around with Zink reading the geo location of any IP-address. Evaluating the code below in a playground works fine. But what is the best way to read the entity data of the ZnResponse instance I get back. Have I to parse it, with an self written parser, or is there anything available.

Re: [Pharo-users] Porting Transducers to Pharo

2017-06-14 Thread Damien Pollet
On 14 June 2017 at 17:21, Steffen Märcker wrote: > I played a bit with Iceberg in Pharo, managed to check out the repository, > and load Transducers-Core. As a bit of a surprise, multiple packages show > up in the SystemBrowser; one for each method category, e.g., > Transducers-accessing and Tran

Re: [Pharo-users] I want to get in contact with raphael luque from madrid :)

2017-06-14 Thread Offray Vladimir Luna Cárdenas
Yep. I meet him recently. I'll put try you in contact. Cheers, Offray On 14/06/17 07:11, Stephane Ducasse wrote: > Hi guys. > > I tried to get in contact with raphael but my emails do not seem to go > to destination. > Do you have the email of raph/fael luque from madrid? > > Stef > >

Re: [Pharo-users] Zink geo location data reading

2017-06-14 Thread Sven Van Caekenberghe
Hi, > On 14 Jun 2017, at 17:23, bachitoph wrote: > > Hi, > I'm playing around with Zink reading the geo location of any IP-address. > Evaluating the code below in a playground works fine. But what is the best > way to read the entity data of the ZnResponse instance I get back. Have I to > parse

[Pharo-users] About how to benchmark the lookup speed...

2017-06-14 Thread Steven Costiou
Hi, i'm having trouble doing benchmarks in Pharo, at least i don't understand the results (maybe i'm missing something). I want to compare anonymous subclasses lookup speed with standard pharo classes lookup speed. I have a method m and a method m2 that execute the following code: ^ 100 pri

Re: [Pharo-users] About how to benchmark the lookup speed...

2017-06-14 Thread PBKResearch
Steven The question you need to consider is how much the results vary from one repetition to another. If they are very variable, then the average will still be variable. In the case of your 100 repetitions, for instance, you can work out a confidence interval for the mean quite easily. Find

Re: [Pharo-users] About how to benchmark the lookup speed...

2017-06-14 Thread Steven Costiou
Thanks Peter :) I will make these computations tomorrow at the lab and see what the confidence interval looks like. Steven. Le 2017-06-14 20:03, PBKResearch a écrit : > Steven > > The question you need to consider is how much the results vary from one > repetition to another. If they are

Re: [Pharo-users] About how to benchmark the lookup speed...

2017-06-14 Thread werner kassens
On 06/14/2017 09:12 PM, Steven Costiou wrote: repetitions timesRepeat:[ results add: [100 timesRepeat:[o m]] timeToRun]. Hi Steven, the influence of the garbage collector is in cases like these often somewhat difficult to forecast. i would eventually change the code to: repetitions time

Re: [Pharo-users] Help in thinking about how to save a "program"

2017-06-14 Thread Offray Vladimir Luna Cárdenas
Hi Glenn, I made also the transition for the plain "dead" text-files based mindset to live objects. My approach to bridge these two words was to create Grafoscopio [1], where I can save my scripts and put them inside a broader context/narrative. This environment let's me go from scripting/files to

Re: [Pharo-users] [ARTICLE] Quick write me a Redis client

2017-06-14 Thread Tim Mackinnon
Hi Sven - another nice article. 2 small typos I spotted: 1) requests) from the client to the server are sent as a array of bulk strings Should be requests) from the client to the server are sent as an array of bulk strings 2) to interact with as much services and servers as possible Is better

Re: [Pharo-users] Help in thinking about how to save a "program"

2017-06-14 Thread Glenn Hoetker
H Offray, Thanks for the helpful reply and nice welcome to the Pharo community. Grafoscopio looks wonderful and the Panama Papers application of it, in particular, is really impressive. I look forward to experimenting with it. Best wishes, Glenn p.s. Previously, I had actually Googled my way

Re: [Pharo-users] Help in thinking about how to save a "program"

2017-06-14 Thread Glenn Hoetker
Hi Stephan, Thank you for the helpful info and nice welcome to the Pharo community. I’d not been using Citezen. Since your email, I’ve found the Smalltalkhub site for it and had two quick questions. 1. Is it compatible with Pharo 6? 2. Is there a manual or getting started document you could p

Re: [Pharo-users] [ARTICLE] Quick write me a Redis client

2017-06-14 Thread Sven Van Caekenberghe
> On 15 Jun 2017, at 00:20, Tim Mackinnon wrote: > > Hi Sven - another nice article. > > 2 small typos I spotted: Fixed, thanks ! > 1) requests) from the client to the server are sent as a array of bulk strings > > Should be > > requests) from the client to the server are sent as an array o