Re: [Pharo-users] Github pharo-* organizations

2019-02-04 Thread Esteban Lorenzano
Hi, 

Naming the teams “pharo-something” was kind of my idea to improve visibility of 
pharo. This has been followed by others which means we do not know all 
organisations nor all pharo contributions are made under a pharo-something team 
(in fact the less of them).

We have in our TODO a new version of the catalog that will be “GitHub based” to 
group all projects.
To find projects in GitHub, I have some queries: 

Tonel/filetree repositories (in .properties): 
https://github.com/search?q=%22%23format+%3A+%23tonel%22+in%3Afile=Code 

https://github.com/search?q=%22%23format+%3A+%23filetree%22+in%3Afile=Code 


Filetree repositories:
https://github.com/search?q=.filetree+in%3Apath=Code 

(Lots of this ones)

We should build some tooling around this, I’m quite sure is possible to do a 
lot more.

Esteban



> On 5 Feb 2019, at 02:42, Pierce Ng  wrote:
> 
> Hi all,
> 
> Is there a definitive list of all the pharo-* organizations on GH? Like
> pharo-rdbms, pharo-nosql, pharo-vcs, ... Or, a way to query GH to find out?
> 
> Pierce
> 



Re: [Pharo-users] Non-greedy RegEx?

2019-02-04 Thread Thierry Goubier
The Regex engine inside SmaCC allows for non-greedy REs. But it's
integrated as a parser first stage, not as an independent RE engine.

Regards,

Thierry

Le mar. 5 févr. 2019 à 08:34, Esteban Lorenzano  a écrit :
>
> Hi,
>
> Yes, Pharo regex implementation is very naive.
> We will be moving to a PCRE binding to match outside world standards but we 
> have not had the time to work on it :(
>
> Esteban
>
> > On 5 Feb 2019, at 00:27, Manuel Leuenberger  
> > wrote:
> >
> > Hi,
> >
> > I just noticed that the Pharo regexes do not understand non-greedy matches. 
> > A regex engine to be PCRE is kind of essential, not having '.*?' to be a 
> > parseable and working regex is a bummer. Are there any more powerful regex 
> > engines around for Pharo? I could not find any.
> >
> > Cheers,
> > Manuel
> >
> >
>
>



Re: [Pharo-users] Non-greedy RegEx?

2019-02-04 Thread Esteban Lorenzano
Hi,

Yes, Pharo regex implementation is very naive. 
We will be moving to a PCRE binding to match outside world standards but we 
have not had the time to work on it :(

Esteban

> On 5 Feb 2019, at 00:27, Manuel Leuenberger  wrote:
> 
> Hi,
> 
> I just noticed that the Pharo regexes do not understand non-greedy matches. A 
> regex engine to be PCRE is kind of essential, not having '.*?' to be a 
> parseable and working regex is a bummer. Are there any more powerful regex 
> engines around for Pharo? I could not find any.
> 
> Cheers,
> Manuel
> 
> 




Re: [Pharo-users] Learn Pharo - Not Working

2019-02-04 Thread magicspeller
Ben Coman wrote
> On Mon, 4 Feb 2019 at 01:58, magicspeller 

> pharo@

>  wrote:
> 
>> I just discovered the window tabs
>> at the bottom as well, which would have helped if I'd thought to look
>> there.
>>
>> Hope I didn't cause anyone a lot of frustration.
>>
>> In a way, I am glad I posed the question, because I have learned a lot in
>> the ensuing discussion. I'll respond to a couple of the new replies, but
>> thank you, everyone, very, very much.
>>
> 
> How would you feel about stretching that learning to submit a PR
> updating that text to indicate a window will open?

Sorry, Ben, you lost me. What's a PR? Updated what text? Can you please give
me an explanation an idiot (me) can understand?

Thanks,
Keith



--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html



Re: [Pharo-users] Github pharo-* organizations

2019-02-04 Thread Hernán Morales Durand
Hi Pierce,

I am currently writing a command-line tool which queries pharo repositories
using the GitHub API, and based on the repository tag. Maybe not exactly
what you asked for but it's a start. You can find the tool at:
https://github.com/hernanmd/pi

Cheers,

Hernán


El lun., 4 feb. 2019 a las 22:43, Pierce Ng ()
escribió:

> Hi all,
>
> Is there a definitive list of all the pharo-* organizations on GH? Like
> pharo-rdbms, pharo-nosql, pharo-vcs, ... Or, a way to query GH to find out?
>
> Pierce
>
>


Re: [Pharo-users] Github pharo-* organizations

2019-02-04 Thread Esteban Maringolo
+1 to this question

The "Pharoverse" is expanding faster every day.


Esteban A. Maringolo

El lun., 4 feb. 2019 a las 22:43, Pierce Ng () escribió:
>
> Hi all,
>
> Is there a definitive list of all the pharo-* organizations on GH? Like
> pharo-rdbms, pharo-nosql, pharo-vcs, ... Or, a way to query GH to find out?
>
> Pierce
>



[Pharo-users] Github pharo-* organizations

2019-02-04 Thread Pierce Ng
Hi all,

Is there a definitive list of all the pharo-* organizations on GH? Like
pharo-rdbms, pharo-nosql, pharo-vcs, ... Or, a way to query GH to find out?

Pierce



[Pharo-users] Non-greedy RegEx?

2019-02-04 Thread Manuel Leuenberger
Hi,

I just noticed that the Pharo regexes do not understand non-greedy matches. A 
regex engine to be PCRE is kind of essential, not having '.*?' to be a 
parseable and working regex is a bummer. Are there any more powerful regex 
engines around for Pharo? I could not find any.

Cheers,
Manuel




Re: [Pharo-users] Running test

2019-02-04 Thread Hernán Morales Durand
Windows 8.1 is ok

Cheers,

Hernán


El lun., 4 feb. 2019 a las 18:46, Hilaire () escribió:

> Hi,
>
> I need some testing on Mac OS and Windows, Linux should be fine, of a
> new bundle for drgeo.
>
> It is there
> https://www.dropbox.com/s/z2acnw1yi77q4ps/DrGeo.app-19.03a.zip?dl=0
>
> I just need to know if it running or not.
>
> Thanks
>
> Hilaire
>
> --
> Dr. Geo
> http://drgeo.eu
>
>
>
>


[Pharo-users] Running test

2019-02-04 Thread Hilaire
Hi,

I need some testing on Mac OS and Windows, Linux should be fine, of a
new bundle for drgeo.

It is there
https://www.dropbox.com/s/z2acnw1yi77q4ps/DrGeo.app-19.03a.zip?dl=0

I just need to know if it running or not.

Thanks

Hilaire

-- 
Dr. Geo
http://drgeo.eu





Re: [Pharo-users] Slots doc

2019-02-04 Thread webwarrior
Vitor Medina Cruz wrote
> Thanks, I had already read this paper, which got me interested in the
> concept of slots :) . Is it a prototype in Pharo or is ready to use? it
> will become as an official part of it?
> 
> 
> On Sun, Feb 3, 2019 at 10:13 AM Ben Coman 

> btc@

>  wrote:
> 
>>
>>
>> On Sun, 3 Feb 2019 at 17:50, Todd Blanchard via Pharo-users <
>> 

> pharo-users@.pharo

>> wrote:
>>
>>> Seems like an opportunity...I have no idea what the addition of slots
>>> does but I would like to learn.
>>>
>>> On Feb 3, 2019, at 1:33 AM, ducasse 

> stepharo@

>  wrote:
>>>
>>> Hello,
>>>
>>> Where I can find documentation for slots?
>>>
>>> I am trying to access the pharo books site but it is unreachable from my
>>> network right now, I got a connection time out (It works from my 3G
>>> though
>>> (??) ), but if I remember correctly the is no slot description in any
>>> book.
>>>
>>> Regards,
>>> Vitor
>>>
>>>
>>> Hello victor
>>>
>>> There is no documentation about slots that I know. I’m sorry.
>>> Marcus may want to write one in the future.
>>>
>>> Stef
>>>
>>>
>> I believe its an implementation of this paper...
>>
>> https://rmod.inria.fr/archives/papers/Verw11a-OOSPLA11-FlexibleObjectLayouts.pdf
>>
>>
>> cheers -ben
>>

Slots are already part of Pharo and are totally useable.
Some example slots are buggy though.

Explore Slot and subclasses, their class comments and methods.

One thing to note is if you change #emitStore: or #emitValue: methods in
your slot class, you need to trigger change in classes that use it.



--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html



Re: [Pharo-users] Slots doc

2019-02-04 Thread Esteban Lorenzano


> On 4 Feb 2019, at 20:11, Vitor Medina Cruz  wrote:
> 
> Thanks, I had already read this paper, which got me interested in the concept 
> of slots :) . Is it a prototype in Pharo or is ready to use? it will become 
> as an official part of it?

Is ready, is official, is there :)

Esteban

> 
> 
> On Sun, Feb 3, 2019 at 10:13 AM Ben Coman  > wrote:
> 
> 
> On Sun, 3 Feb 2019 at 17:50, Todd Blanchard via Pharo-users 
> mailto:pharo-users@lists.pharo.org>> wrote:
> Seems like an opportunity...I have no idea what the addition of slots does 
> but I would like to learn.
> 
>> On Feb 3, 2019, at 1:33 AM, ducasse > > wrote:
>> 
>>> Hello,
>>> 
>>> Where I can find documentation for slots?
>>> 
>>> I am trying to access the pharo books site but it is unreachable from my
>>> network right now, I got a connection time out (It works from my 3G though
>>> (??) ), but if I remember correctly the is no slot description in any book.
>>> 
>>> Regards,
>>> Vitor
>> 
>> Hello victor 
>> 
>> There is no documentation about slots that I know. I’m sorry. 
>> Marcus may want to write one in the future.
>> 
>> Stef
> 
> 
> I believe its an implementation of this paper...
> https://rmod.inria.fr/archives/papers/Verw11a-OOSPLA11-FlexibleObjectLayouts.pdf
>  
> 
>  
> 
> cheers -ben



Re: [Pharo-users] Slots doc

2019-02-04 Thread Vitor Medina Cruz
Thanks, I had already read this paper, which got me interested in the
concept of slots :) . Is it a prototype in Pharo or is ready to use? it
will become as an official part of it?


On Sun, Feb 3, 2019 at 10:13 AM Ben Coman  wrote:

>
>
> On Sun, 3 Feb 2019 at 17:50, Todd Blanchard via Pharo-users <
> pharo-users@lists.pharo.org> wrote:
>
>> Seems like an opportunity...I have no idea what the addition of slots
>> does but I would like to learn.
>>
>> On Feb 3, 2019, at 1:33 AM, ducasse  wrote:
>>
>> Hello,
>>
>> Where I can find documentation for slots?
>>
>> I am trying to access the pharo books site but it is unreachable from my
>> network right now, I got a connection time out (It works from my 3G though
>> (??) ), but if I remember correctly the is no slot description in any book.
>>
>> Regards,
>> Vitor
>>
>>
>> Hello victor
>>
>> There is no documentation about slots that I know. I’m sorry.
>> Marcus may want to write one in the future.
>>
>> Stef
>>
>>
> I believe its an implementation of this paper...
>
> https://rmod.inria.fr/archives/papers/Verw11a-OOSPLA11-FlexibleObjectLayouts.pdf
>
>
> cheers -ben
>


Re: [Pharo-users] why doesn't this baseline load any package when included in another baseline?

2019-02-04 Thread Paul DeBruicker
There's already an issue on GH. So thats good.  

https://github.com/Metacello/metacello/issues/400



Paul DeBruicker wrote
> Thanks Pierce
> 
> Turns out my problem seems to have been from using a #cacheRepository:
> send
> in the Metacello load instruction.  





--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html



Re: [Pharo-users] Pharo 7 - how to see method author/timestamp n Calypso?

2019-02-04 Thread Esteban Lorenzano



> On 4 Feb 2019, at 16:02, Paul DeBruicker  wrote:
> 
> Hi 
> 
> 
> 
> 
> EstebanLM wrote
>> 
>>> Without
>>> having to do anything by hand when a package is loaded, I mean.   And
>>> also a
>>> way to see that info right next to the code pane without having to click
>>> anything?  Also hopefully senders/implementors count?
>> 
>> Uhm? 
>> I do not understand this… but I think is not related to iceberg but
>> calypso, isn’t?
>> If is calypso, and what you ask is to have the references available (for
>> example in another tab) this is not there but is easy to implement. In
>> fact, I remember an iteration of calypso that had them, and I think the
>> reason while is gone is that It becomes kind of a pain in large images
>> (but now we have real lazy tabs so we could review that decision).
> 
> Yeah you're right.  Calypso.  MY reading of Cyril's response made me think
> it was a calypso/iceberg integration I'd have to do/set-up manually for
> every package rather than something automatically handled when a package is
> loaded into the image.
> 
> 
> In Nautilus there was the AnnotationPanePlugin that showed
> author/timestamp/sender count/implementer count without any intervention on
> my part. See attached from Pharo 6.  Once you turned the
> AnnotationPanePlugin on in any nautilus browser it was on in all the
> browsers you create in the future. Omnibrowser did it automatically IIRC.
> 
> 
> Just wondering if there is something like that already in Pharo 7 or if not
> how to get it in Calypso.

Ah yes, but it was not default nor widely used (in fact, you are the first one 
I understand it was using it).
And no, there is nothing like that in Calypso for the moment (doable, but not 
there)

Esteban

> 
> 
> 
> Paul
> 
> Nautilus_with_annotation_pane.png
>   
> 
> 
> 
> --
> Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
> 




Re: [Pharo-users] Pharo 7 - how to see method author/timestamp n Calypso?

2019-02-04 Thread Paul DeBruicker
Hi 




EstebanLM wrote
> 
>>  Without
>> having to do anything by hand when a package is loaded, I mean.   And
>> also a
>> way to see that info right next to the code pane without having to click
>> anything?  Also hopefully senders/implementors count?
> 
> Uhm? 
> I do not understand this… but I think is not related to iceberg but
> calypso, isn’t?
> If is calypso, and what you ask is to have the references available (for
> example in another tab) this is not there but is easy to implement. In
> fact, I remember an iteration of calypso that had them, and I think the
> reason while is gone is that It becomes kind of a pain in large images
> (but now we have real lazy tabs so we could review that decision).

Yeah you're right.  Calypso.  MY reading of Cyril's response made me think
it was a calypso/iceberg integration I'd have to do/set-up manually for
every package rather than something automatically handled when a package is
loaded into the image.


In Nautilus there was the AnnotationPanePlugin that showed
author/timestamp/sender count/implementer count without any intervention on
my part. See attached from Pharo 6.  Once you turned the
AnnotationPanePlugin on in any nautilus browser it was on in all the
browsers you create in the future. Omnibrowser did it automatically IIRC.


Just wondering if there is something like that already in Pharo 7 or if not
how to get it in Calypso.



Paul

Nautilus_with_annotation_pane.png
  



--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html



Re: [Pharo-users] why doesn't this baseline load any package when included in another baseline?

2019-02-04 Thread Paul DeBruicker
Thanks Pierce

Turns out my problem seems to have been from using a #cacheRepository: send
in the Metacello load instruction.  

e.g. when I do a 

Metacello new
baseline:'MyProject'; 
repository:'/my/path/';
cacheRepository: '/my/cache';
load

Then the packages aren't loaded but if I do a 

Metacello new
baseline:'MyProject'; 
repository:'/my/path/';
load


then everything is loaded.  The cache directory already has the packages in
it, from another load into another image in pharo 6.  So I'll try to learn
what that cacheRepository: send is doing that I don't expect.



thanks for looking into this.


Paul



Pierce Ng-3 wrote
> On Sun, Feb 03, 2019 at 01:41:30PM -0800, PAUL DEBRUICKER wrote:
>> MCHttpRepository
>> location: 'http://www.squeaksource.com/TimeZoneDatabase'
> 
> Hi Paul,
> 
> I see that there is a ConfigurationOfTimeZoneDatabase in the SS repo as
> well. 
> 
>>  spec baseline: 'TimeZoneDatabase'
>>  with: [ spec repository:
>> 'http://www.squeaksource.com/TimeZoneDatabase' ].
> 
> In your BaselineOfYourProject that is citing TimeZoneDatabase as a
> dependency, you could try loading ConfigOfTimeZoneDatabase instead:
> 
> spec project: 'TimeZoneDatabase' with: [ 
>spec 
>  className: 'ConfigurationOfTimeZoneDatabase';
>  version: #stable;
>  repository: 'http://www.squeaksource.com/TimeZoneDatabase' ].
> 
> This is known working in my BaselineOfGlorpSQLite which loads
> ConfigurationOfUDBC
> from STH.
> 
> Pierce





--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html



Re: [Pharo-users] Pharo MOOC 7.0 image

2019-02-04 Thread eftomi
OK, I successfully loaded Seaside, Bootstrap and Magritte into Pharo 7.0.1
(32 and 64 bit) on Win10.

If anybody needs the 'how-to', here's what I did:
- Install stable version of Magritte3 from Catalog Browser (marked as Pharo
7.0 compatible)
- Install stable version of Bootstrap from Catalog Browser (marked as Pharo
7.0 compatible)

Bootstrap project includes Seaside and it takes a couple of minutes to load.
The load order - firstly Magritte3 and then Bootstrap - is important,
otherwise I am getting this error:

Loading 3.5.1 of
ConfigurationOfMagritte3...MetacelloConflictingProjectError: Load Conflict
between existing BaselineOfGrease [baseline] from
github://SeasideSt/Grease:master/repository and ConfigurationOfGrease
release1.2 from
http://smalltalkhub.com/mc/Seaside/MetacelloConfigurations/main

Sometimes, the Bootstrap / Seaside project leads to an error message from
Iceberg saying that the path/file name is too long. 





--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html



Re: [Pharo-users] Slots docs?

2019-02-04 Thread Marcus Denker



> On 1 Feb 2019, at 14:16, Vitor Medina Cruz  wrote:
> 
> Hello,
> 
> Where I can find documentation for slots?
> 

Sadly not… It is on the todo for far too long. I will put it on higher priority 
and hope to have some documentation soon.

Marcus




Re: [Pharo-users] Learn Pharo - Not Working

2019-02-04 Thread Ben Coman
On Mon, 4 Feb 2019 at 01:58, magicspeller  wrote:

> Ben Coman wrote
> > On Sun, 3 Feb 2019 at 19:54, Sven Van Caekenberghe 
>
> > sven@
>
> >  wrote:
> >>
> >> You are on Windows, are there any other Windows users that can confirm
> >> this either way ?
> >>
> >
> > On Win 10 and this works for me in both 32-bit and 64-bit Pharo 7.0.1
> > (build: 146, commit: c48755a)
> > 64-bit VM: 201901051900
> > https://github.com/OpenSmalltalk/opensmalltalk-vm.git Date: Sat Jan 5
> > 20:00:11 2019 CommitHash: 7a3c6b6 Plugins: 201901051900
> >
> > cheers -ben
>
> Thanks, everyone. I think I owe you all an apology. I just tried the 64-bit
> version again and it worked perfectly.
>

If you hare learning and having fun, thats good with me.


>
> The instructions just say, "You can learn Pharo by clicking on the
> following
> expression:". I didn't expect a new window to open; I had just finished a
> different Pharo course in which everything stayed in the same window. You'd
> think I would see a new window opening anyway, but I'm wondering if it
> might
> have been hidden behind the main window.


Its exactly this sort of little niggle that adepts just fly by without
noticing.
Fresh eyes are really important.

I just discovered the window tabs
> at the bottom as well, which would have helped if I'd thought to look
> there.
>
> Hope I didn't cause anyone a lot of frustration.
>
> In a way, I am glad I posed the question, because I have learned a lot in
> the ensuing discussion. I'll respond to a couple of the new replies, but
> thank you, everyone, very, very much.
>

How would you feel about stretching that learning to submit a PR
updating that text to indicate a window will open?

cheers -ben


>
> Warren
>
>
>
>
> --
> Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
>
>