[Pharo-project] Squeaksource Mirror Q&A

23 views
Skip to first unread message

Johan Fabry

unread,
Jan 17, 2012, 9:00:07 AM1/17/12
to Pharo-project@lists.gforge.inria.fr open-source Smalltalk
Hi All,

Alex notified me that there were some mails flying around here about the squeaksource mirror. I'm usually not on this mailing list because of its high volume. I'd like to gather some questions that have been raised in the last few days (thanks Nabble!) and give answers / share my thoughts. I'll try to keep it brief.

- How to use the mirror. If you don't know or tend to forget, just point a web browser at http://dsal.cl/squeaksource Everything is explained there. Write the URL on a post-it, add it to your browers favorites or whatever ;-) Just remember http://dsal.cl/squeaksource

- Mirror not complete: It is supposed to be a full mirror of the public packages on Squeaksource. We are using wget to copy everything over. If you know of a project that misses packages, please send me a mail (personally, not to the list is best I guess) and we will try to debug the issue.

- Pharo 1.4 / ObjectAsMethodWrapper issues: The redirect package was written for 1.3, it uses ObjectAsMethodWrapper (i.e. method wrappers). I don't know why ObjectAsMethodWrapper (apparently) is no longer in 1.4 but I would highly recommend including it as it is a very useful package. I thought even the profiler used it. In any case, I welcome any contributions on how to make it work for 1.4

- Friendler configuration / user interface / having it in the core image / ...: I am all for it, but I cannot dedicate the time to this right now. All help is welcome and highly appreciated. I guess that some of you must be much more knowledgeable at preferences settings/user interfaces et al. so what would take you 10 minutes would take me a day ...

I subscribed to the list now BTW so any comments/questions simply hit reply :-)

---> Save our in-boxes! http://emailcharter.org <---

Johan Fabry
jfa...@dcc.uchile.cl - http://dcc.uchile.cl/~jfabry
PLEIAD Lab - Computer Science Department (DCC) - University of Chile


Alexandre Bergel

unread,
Jan 17, 2012, 9:42:11 AM1/17/12
to Pharo-...@lists.gforge.inria.fr

> Friendler configuration / user interface / having it in the core image / ...: I am all for it, but I cannot dedicate the time to this right now. All help is welcome and highly appreciated. I guess that some of you must be much more knowledgeable at preferences settings/user interfaces et al. so what would take you 10 minutes would take me a day ...

We will announce very soon Versionner, a GUI to manage software versions, based on Metacello.
Having a support for the mirror is definitely something valuable we will look into

Alexandre

Gastón Dall' Oglio

unread,
Jan 17, 2012, 4:40:31 PM1/17/12
to Pharo-...@lists.gforge.inria.fr
Hello Johan.


- Pharo 1.4 / ObjectAsMethodWrapper issues: The redirect package was written for 1.3, it uses ObjectAsMethodWrapper (i.e. method wrappers). I don't know why ObjectAsMethodWrapper (apparently) is no longer in 1.4 but I would highly recommend including it as it is a very useful package. I thought even the profiler used it. In any case, I welcome any contributions on how to make it work for 1.4

In Pharo-1.3-13315 (stable) haven't ObjectAsMethodWarapper. Then in 1.3 and 1.4 evaluate this and get mirror working:

Gofer new
url: 'http://dsal.cl/squeaksource/ObjectsAsMethodsWrap';
package: 'ObjectAsMethodWrapper';
url: 'http://dsal.cl/squeaksource/MonticelloRedirect';
package: 'MontiRedirect';
load.


Maybe you can add this to HOW TO USE in http://dsal.cl/squeaksource 

Regards.

Gastón Dall' Oglio

unread,
Jan 17, 2012, 4:45:55 PM1/17/12
to Pharo-...@lists.gforge.inria.fr
mmm, in 1.3 its work, I try with the incorrect 1.3 image....
Sorry for the noise.

2012/1/17 Gastón Dall' Oglio <gaston.d...@gmail.com>

Johan Fabry

unread,
Jan 17, 2012, 8:08:39 PM1/17/12
to Pharo-...@lists.gforge.inria.fr
Hi Gastón,

Thanks for the code, as it serves for 1.4. I will add this to the instructions, marked for 1.4

Yanni Chiu

unread,
Jan 18, 2012, 1:31:04 PM1/18/12
to pharo-...@lists.gforge.inria.fr
On 17/01/12 4:45 PM, Gast�n Dall' Oglio wrote:
> mmm, in 1.3 its work, I try with the incorrect 1.3 image....
> Sorry for the noise.

I tried it in PharoCore-1.3, and found ObjectAsMethodWrapper was missing
there. When I used Pharo-1.3 (non-core), it worked as advertised.


Gastón Dall' Oglio

unread,
Jan 18, 2012, 3:06:53 PM1/18/12
to Pharo-...@lists.gforge.inria.fr
Ohh right, thanks Yanni for the clarification. I was beggining at believe that I 'm crazy, becouse I remembered that some weeks ago I had to load the wrapper in a 1.3 image, and yes, the difference was that it was core :)

2012/1/18 Yanni Chiu <ya...@rogers.com>

Udo Schneider

unread,
Jan 25, 2012, 4:15:26 PM1/25/12
to pharo-...@lists.gforge.inria.fr
All,

building on top of Johan's work I built kind of a squeaksource CDN. This
CDN mirrors squeaksource daily and should provide fast access to all
packages using "nearby" edge location. Before making this public I'd
like to get some feedback on it's speed and reliability - especially if
you are far away (in terms of hops and bandwidth) from the real
squeaksource server.

So if you can spare some time please drop me a mail and I'll send you
further details.

Thanks,

Udo

Stéphane Ducasse

unread,
Jan 25, 2012, 4:19:49 PM1/25/12
to Pharo-...@lists.gforge.inria.fr
thanks a lot Udo.
We really appreciate that.

I was in contact with nicolas about SmalltalkHub. They were trying to see if they could build a complete pharo solution for the back-end.

Stef

Gastón Dall' Oglio

unread,
Jan 25, 2012, 9:00:44 PM1/25/12
to Pharo-...@lists.gforge.inria.fr
Hello.

Maybe you are interesting too in CoralCDN. See:

Regards.


2012/1/25 Stéphane Ducasse <stephane...@inria.fr>

Udo Schneider

unread,
Jan 26, 2012, 10:44:09 AM1/26/12
to pharo-...@lists.gforge.inria.fr
Hi,

I took a look at Coral some time ago. For my personal taste it had two
drawbacks which made me setup this one.
a) The origin server needs to be reachable - if it's not the edge
location can't deliver the content unless cached. This could be
addressed by using coral not against the original SS server but against
Johans mirror. That's the reason why I took the route of mirroring the
SS content to a bucket and feeding the edge servers from this mirror.
b) Speed. At least here (Munich) Coral CDN is even slower than SS directly.

BTW: Simply try this to checkout:

MRManager redirectFrom: 'http://www.squeaksource.com/' to:
'http://squeaksource.cdn.st

Comments appreciated.

CU,

Udo

On 26.01.12 03:00, Gast�n Dall' Oglio wrote:
> Hello.
>
> Maybe you are interesting too in CoralCDN. See:
> http://lists.gforge.inria.fr/pipermail/pharo-project/2011-October/055014.html
>
> Regards.
>
>

> 2012/1/25 St�phane Ducasse
> <stephane...@inria.fr
> <mailto:stephane...@inria.fr>>

> <mailto:jfa...@dcc.uchile.cl> -

Reply all
Reply to author
Forward
0 new messages