trying a hot update un smalltalkhub
Hi, Iâm trying to use the power of pharo and do a hot update in smalltalkhub. Of course, it can fail⦠in that case I will need to turn it off and do it in the old way⦠:) Esteban
ok, thank went more or less fine :) now you have: http://smalltalkhub.com/list <http://smalltalkhub.com/list> and http://smalltalkhub.com/list/json <http://smalltalkhub.com/list/json> enjoy :) Esteban
On 17 Mar 2015, at 11:15, Esteban Lorenzano <estebanlm@gmail.com> wrote:
Hi,
Iâm trying to use the power of pharo and do a hot update in smalltalkhub. Of course, it can fail⦠in that case I will need to turn it off and do it in the old way⦠:)
Esteban
On Tue, Mar 17, 2015 at 11:50 AM, Esteban Lorenzano <estebanlm@gmail.com> wrote:
ok, thank went more or less fine :)
now you have:
and
Niiice!!! (now, a description in Json... :-p ) Phil
enjoy :)
Esteban
On 17 Mar 2015, at 11:15, Esteban Lorenzano <estebanlm@gmail.com> wrote:
Hi,
Iâm trying to use the power of pharo and do a hot update in smalltalkhub. Of course, it can fail⦠in that case I will need to turn it off and do it in the old way⦠:)
Esteban
Great work Esteban that JSON may come handy for building a front end of STHub inside Pharo , so the users wont have to open an internet browser to browser and download sthub projects. On Tue, Mar 17, 2015 at 12:50 PM, Esteban Lorenzano <estebanlm@gmail.com> wrote:
ok, thank went more or less fine :)
now you have:
and
http://smalltalkhub.com/list/json
enjoy :)
Esteban
On 17 Mar 2015, at 11:15, Esteban Lorenzano <estebanlm@gmail.com> wrote:
Hi,
Iâm trying to use the power of pharo and do a hot update in smalltalkhub. Of course, it can fail⦠in that case I will need to turn it off and do it in the old way⦠:)
Esteban
Another catalog has been developed. So pay attention not to build too much on it. Now the configuration browser could use this information The other catalog should be able to produce the same and more in fact Le 17/3/15 12:15, kilon alios a écrit :
Great work Esteban that JSON may come handy for building a front end of STHub inside Pharo , so the users wont have to open an internet browser to browser and download sthub projects.
On Tue, Mar 17, 2015 at 12:50 PM, Esteban Lorenzano <estebanlm@gmail.com <mailto:estebanlm@gmail.com>> wrote:
ok, thank went more or less fine :)
now you have:
and
http://smalltalkhub.com/list/json
enjoy :)
Esteban
On 17 Mar 2015, at 11:15, Esteban Lorenzano <estebanlm@gmail.com <mailto:estebanlm@gmail.com>> wrote:
Hi,
Iâm trying to use the power of pharo and do a hot update in smalltalkhub. Of course, it can fail⦠in that case I will need to turn it off and do it in the old way⦠:)
Esteban
Ooops I was talking about the catalog of metacello coming soon :) Le 17/3/15 18:12, stepharo a écrit :
Another catalog has been developed. So pay attention not to build too much on it. Now the configuration browser could use this information The other catalog should be able to produce the same and more in fact
Le 17/3/15 12:15, kilon alios a écrit :
Great work Esteban that JSON may come handy for building a front end of STHub inside Pharo , so the users wont have to open an internet browser to browser and download sthub projects.
On Tue, Mar 17, 2015 at 12:50 PM, Esteban Lorenzano <estebanlm@gmail.com <mailto:estebanlm@gmail.com>> wrote:
ok, thank went more or less fine :)
now you have:
and
http://smalltalkhub.com/list/json
enjoy :)
Esteban
On 17 Mar 2015, at 11:15, Esteban Lorenzano <estebanlm@gmail.com <mailto:estebanlm@gmail.com>> wrote:
Hi,
Iâm trying to use the power of pharo and do a hot update in smalltalkhub. Of course, it can fail⦠in that case I will need to turn it off and do it in the old way⦠:)
Esteban
Very nice. For those who want to parse the result: ZnClient new contentReader: [ :entity | NeoJSONReader fromString: entity contents ]; get: 'http://smalltalkhub.com/list/json'. Or even: ZnClient new contentReader: [ :entity | STON fromString: entity contents ]; get: 'http://smalltalkhub.com/list/json' And it is fast as well: 0.33 seconds for me.
On 17 Mar 2015, at 11:50, Esteban Lorenzano <estebanlm@gmail.com> wrote:
ok, thank went more or less fine :)
now you have:
and
http://smalltalkhub.com/list/json
enjoy :)
Esteban
On 17 Mar 2015, at 11:15, Esteban Lorenzano <estebanlm@gmail.com> wrote:
Hi,
Iâm trying to use the power of pharo and do a hot update in smalltalkhub. Of course, it can fail⦠in that case I will need to turn it off and do it in the old way⦠:)
Esteban
Sven Van Caekenberghe-2 wrote
And it is fast as well: 0.33 seconds for me.
Yes! For me 26ms for the GET and 43ms to parse. ----- Cheers, Sean -- View this message in context: http://forum.world.st/trying-a-hot-update-un-smalltalkhub-tp4812535p4812552.... Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
On 17 Mar 2015, at 12:52, Sean P. DeNigris <sean@clipperadams.com> wrote:
Sven Van Caekenberghe-2 wrote
And it is fast as well: 0.33 seconds for me.
Yes! For me 26ms for the GET and 43ms to parse.
Actually the parsing is way faster: json := ZnClient new get: 'http://smalltalkhub.com/list/json'. [ NeoJSONReader fromString: json ] bench. => '21.895 per second' So, 0.05 seconds to parse ;-)
yes, thatâs because info is cached (and refreshed each 6h) so, each 6h someone will have a slow request :) Esteban
On 17 Mar 2015, at 13:16, Sven Van Caekenberghe <sven@stfx.eu> wrote:
On 17 Mar 2015, at 12:52, Sean P. DeNigris <sean@clipperadams.com> wrote:
Sven Van Caekenberghe-2 wrote
And it is fast as well: 0.33 seconds for me.
Yes! For me 26ms for the GET and 43ms to parse.
Actually the parsing is way faster:
json := ZnClient new get: 'http://smalltalkhub.com/list/json'.
[ NeoJSONReader fromString: json ] bench.
=> '21.895 per second'
So, 0.05 seconds to parse ;-)
participants (6)
-
Esteban Lorenzano -
kilon alios -
phil@highoctane.be -
Sean P. DeNigris -
stepharo -
Sven Van Caekenberghe