Re: [Pharo-users] [Moose-dev] Re: Re: Plotting genome scale values with Roassal

2018-10-03 Thread Hernán Morales Durand
This is weird, could you check:

http://lists.pharo.org/pipermail/pharo-users_lists.pharo.org/2018-October/040771.html

Hernán

El mié., 3 oct. 2018 a las 22:41, Alexandre Bergel
() escribió:
>
> I am lost. What are the questions? I do not see them in the mailing list.
>
> Alexandre
>
> > On Oct 3, 2018, at 11:11 AM, Hernán Morales Durand 
> >  wrote:
> >
> > Hi Alex,
> >
> > Thanks. Please note there are two questions related to Roassal :)
> > I have isolated the script so you don't need to load BioSmalltalk
> >
> > Maybe someone can check or give a hint?
> >
> > El mar., 2 oct. 2018 a las 22:31, Alexandre Bergel
> > () escribió:
> >>
> >> Pretty cool!
> >>
> >> Alexandre
> >>
> >>> On Oct 2, 2018, at 2:21 AM, Hernán Morales Durand 
> >>>  wrote:
> >>>
> >>> 
> >>
> >> ___
> >> Moose-dev mailing list
> >> moose-...@list.inf.unibe.ch
> >> https://www.list.inf.unibe.ch/listinfo/moose-dev
> >
>
> ___
> Moose-dev mailing list
> moose-...@list.inf.unibe.ch
> https://www.list.inf.unibe.ch/listinfo/moose-dev



Re: [Pharo-users] Set programatically the selection for a fastTreeTable

2018-10-03 Thread Arturo Zambrano
Thanks Andrei!

 I tried:

 browser transmit
to: #Example port: #selection;
transformed: [ Abort ].

using also #strongSelection and #rawSelection,but I missed #
fromOutsideEntityPort   :)


So, I have two additional questions: When #selection: and #strongSelection:
can be used ?

Also, what is the difference among selection strongSelection and
rawSelection  ports ? I saw some transmission example
using #strongSelection port, and some discussion in the mailing list where
#rawSelection port is mentioned.

Thanks



On Wed, Oct 3, 2018 at 5:31 PM Andrei Chis 
wrote:

> Hi Arturo,
>
> Normally what you want should be achieved with a transmission:
>
>  browser transmit
> fromOutsideEntityPort;
> to: #Example port: #selection;
> transformed: #first.
>
> Just I see that doesn't work as expected with #fastTreeTable.
>
> The closest thing that looks similar to what you want is:
>
> | browser |
> browser := GLMTabulator new.
> browser row: #Example.
> browser transmit
> to: #Example;
> andShow: [ :a |
> a table
>   column: 'Class Name' evaluated:[:clazz| clazz name];
>   children:[:clazz| clazz subclasses];
>   shouldRootsExpand: true ].
> browser transmit
> fromOutsideEntityPort;
> to: #Example port: #selection;
> transformed: [ Abort ].
> browser openOn: {Object}.
>
> Cheers,
> Andrei
>
>
>
> On Wed, Oct 3, 2018 at 9:53 PM Arturo Zambrano 
> wrote:
>
>> Hi all,
>>  I'm trying to do what subject says. I tried something like that
>> (in the example I'm trying to get Abort class selected)
>> :
>> | browser |
>> browser := GLMTabulator new.
>> browser row: #Example.
>> browser transmit
>> to: #Example;
>> andShow: [ :a | a fastTreeTable
>> column: 'Class Name' evaluated:[:clazz| clazz name];
>> children:[:clazz| clazz subclasses];
>> allExpanded;
>> "this has no effect" strongSelection:Abort;
>> "this has no effect" selection: Abort
>> browser openOn: {Object}
>>
>>  Could you please point me what I'm missing?
>>
>>   TIA
>> Arturo
>>
>>
>>
>>


Re: [Pharo-users] [Moose-dev] Re: Plotting genome scale values with Roassal

2018-10-03 Thread Alexandre Bergel via Pharo-users
--- Begin Message ---
I am lost. What are the questions? I do not see them in the mailing list.

Alexandre

> On Oct 3, 2018, at 11:11 AM, Hernán Morales Durand  
> wrote:
> 
> Hi Alex,
> 
> Thanks. Please note there are two questions related to Roassal :)
> I have isolated the script so you don't need to load BioSmalltalk
> 
> Maybe someone can check or give a hint?
> 
> El mar., 2 oct. 2018 a las 22:31, Alexandre Bergel
> () escribió:
>> 
>> Pretty cool!
>> 
>> Alexandre
>> 
>>> On Oct 2, 2018, at 2:21 AM, Hernán Morales Durand 
>>>  wrote:
>>> 
>>> 
>> 
>> ___
>> Moose-dev mailing list
>> moose-...@list.inf.unibe.ch
>> https://www.list.inf.unibe.ch/listinfo/moose-dev
> 


--- End Message ---


Re: [Pharo-users] Iceberg - better control of project name?

2018-10-03 Thread Ben Coman
>
> On Wed, 3 Oct 2018 at 16:18, Guillermo Polito 
> wrote:
>


>
>
On 2 Oct 2018, at 12:30, Ben Coman  wrote:
>
> On Mon, 1 Oct 2018 at 23:16, Sean P. DeNigris 
> wrote:
>
>> Tim Mackinnon wrote
>> > either by showing {owner}/{project}
>>
>> What about when there are multiple remotes?
>>
>
> +1 to what you imply here, that the owner/remote should not be auto-coded
> into the project name.
> Remotes are well handled within Iceberg.
> The user though could add the owner as free text into a custom project
> name i.e. "owner-project"
>
> cheers -ben
>
>

> On Tue, Oct 2, 2018 at 6:54 PM Ben Coman  wrote:
>
>>
>>
>> On Tue, 2 Oct 2018 at 15:52, Guillermo Polito 
>> wrote:
>>
>>>  - Maybe, for old projects that don't have a name, we could initialize a
>>> project's name as it's repository name?
>>>
>>
>> In any case, I'd expect the project name within Iceberg to match the name
>> of the working directory on disk.
>>
>
> Yes
>
>
>> Possibly even the project renamed within Iceberg should rename the disk
>> working directory.
>>
>
> I am afraid of this ^^. This could be a natural and simple mechanism to
> explain, but take into account that you can have in iceberg different
> repositories from different places in your disk.
> Then this means you will not be able to rename your project if you have a
> directory with the required name in the same place.
>

I get your point, and Sean's also.  Probably over-constraining it to force
the Pharo-name and disk-name to be the same.
It would help if the disk working directory is easily discoverable, like
showing in a hover popup.
Menu items like "Open Folder Here" or "Open Shell Here" would help workflow.

cheers -ben


Re: [Pharo-users] Set programatically the selection for a fastTreeTable

2018-10-03 Thread Andrei Chis
Hi Arturo,

Normally what you want should be achieved with a transmission:

 browser transmit
fromOutsideEntityPort;
to: #Example port: #selection;
transformed: #first.

Just I see that doesn't work as expected with #fastTreeTable.

The closest thing that looks similar to what you want is:

| browser |
browser := GLMTabulator new.
browser row: #Example.
browser transmit
to: #Example;
andShow: [ :a |
a table
  column: 'Class Name' evaluated:[:clazz| clazz name];
  children:[:clazz| clazz subclasses];
  shouldRootsExpand: true ].
browser transmit
fromOutsideEntityPort;
to: #Example port: #selection;
transformed: [ Abort ].
browser openOn: {Object}.

Cheers,
Andrei



On Wed, Oct 3, 2018 at 9:53 PM Arturo Zambrano 
wrote:

> Hi all,
>  I'm trying to do what subject says. I tried something like that
> (in the example I'm trying to get Abort class selected)
> :
> | browser |
> browser := GLMTabulator new.
> browser row: #Example.
> browser transmit
> to: #Example;
> andShow: [ :a | a fastTreeTable
> column: 'Class Name' evaluated:[:clazz| clazz name];
> children:[:clazz| clazz subclasses];
> allExpanded;
> "this has no effect" strongSelection:Abort;
> "this has no effect" selection: Abort
> browser openOn: {Object}
>
>  Could you please point me what I'm missing?
>
>   TIA
> Arturo
>
>
>
>


[Pharo-users] Set programatically the selection for a fastTreeTable

2018-10-03 Thread Arturo Zambrano
Hi all,
 I'm trying to do what subject says. I tried something like that
(in the example I'm trying to get Abort class selected)
:
| browser |
browser := GLMTabulator new.
browser row: #Example.
browser transmit
to: #Example;
andShow: [ :a | a fastTreeTable
column: 'Class Name' evaluated:[:clazz| clazz name];
children:[:clazz| clazz subclasses];
allExpanded;
"this has no effect" strongSelection:Abort;
"this has no effect" selection: Abort
browser openOn: {Object}

 Could you please point me what I'm missing?

  TIA
Arturo


[Pharo-users] Loading and saving Matlab .mat files

2018-10-03 Thread Casimiro de Almeida Barreto

Good evening all,

Is there any class dealing with Matlab files??? I'm porting a python 
simulation program that reads and writes from/to .mat files (using scipy 
loadmat and savemat) and such class would be extremely interesting.


Best regards,


Casimiro Barreto


PS: didn't post success case because I'm awaiting clearance 
(authorization) to do so. Private projects suck... but pay the bills :D






Re: [Pharo-users] Metacello load baselines/configurations only

2018-10-03 Thread Dale Henrichs

Use the Metacello `get` command:

    Metacello new
        repository: '...';
        get

Just the baseline (or Configuration) will be loaded.

Dale

On 10/02/2018 11:34 PM, Peter Uhnak wrote:

Hi,

is there a way to instruct Metacello to only install 
BaselineOfs/ConfigurationOfs instead of the entire project? For the 
purposes of analyzing dependencies.


Thanks,
Peter





[Pharo-users] CORMAS vidéo

2018-10-03 Thread Serge Stinckwich
A really funny video done for CORMAS guys after ESUG 2018 conference: 

https://youtu.be/dh9Eseu69fM

Re: [Pharo-users] GTDocument how to

2018-10-03 Thread Hilaire
Ok got it. What I need is a bit different to what is GTDocumenter.

Thanks for the help.

Hilaire


Le 02/10/2018 à 19:56, Juraj Kubelka via Pharo-users a écrit :
> You are right, we cannot have real Morph widget inside of Bloc element.

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





[Pharo-users] Text editor + morph

2018-10-03 Thread Hilaire
Hi,

In Pharo, do we have a text editor where it is possible to embed
arbitrary Morph object?

Thanks

Hilaire

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





Re: [Pharo-users] [Moose-dev] Re: Plotting genome scale values with Roassal

2018-10-03 Thread Hernán Morales Durand
Hi Alex,

Thanks. Please note there are two questions related to Roassal :)
I have isolated the script so you don't need to load BioSmalltalk

Maybe someone can check or give a hint?

El mar., 2 oct. 2018 a las 22:31, Alexandre Bergel
() escribió:
>
> Pretty cool!
>
> Alexandre
>
> > On Oct 2, 2018, at 2:21 AM, Hernán Morales Durand 
> >  wrote:
> >
> > 
>
> ___
> Moose-dev mailing list
> moose-...@list.inf.unibe.ch
> https://www.list.inf.unibe.ch/listinfo/moose-dev



[Pharo-users] OpenAPI

2018-10-03 Thread hamdi gabsi
Hi all,
I just started with OpenAPI, I'am looking for some  tutoriels, documents or
exemples that can help me to understand this standard.
I am wondering if  there is a catalog of services  that are described with
OpenAPI?

Thanks for helping.
Hamdi


Re: [Pharo-users] Iceberg - better control of project name?

2018-10-03 Thread Guillermo Polito
On Tue, Oct 2, 2018 at 6:54 PM Ben Coman  wrote:

>
>
> On Tue, 2 Oct 2018 at 15:52, Guillermo Polito 
> wrote:
>
>>  - Maybe, for old projects that don't have a name, we could initialize a
>> project's name as it's repository name?
>>
>
> In any case, I'd expect the project name within Iceberg to match the name
> of the working directory on disk.
>

Yes


> Possibly even the project renamed within Iceberg should rename the disk
> working directory.
>

I am afraid of this ^^. This could be a natural and simple mechanism to
explain, but take into account that you can have in iceberg different
repositories from different places in your disk.
Then this means you will not be able to rename your project if you have a
directory with the required name in the same place.


> (btw, I don't know if "project name" is the best term, but I can't think
> of a better one.)
>
> cheers -ben
>
>
>>
>> On Tue, Oct 2, 2018 at 5:07 AM Tim Mackinnon  wrote:
>>
>>> Sounds like the user override is what we are after - I guess we need to
>>> make a pr ... sadly my laptop has died so it’s not going to be me for a
>>> little while until I can find an Apple store on my travels.
>>>
>>> Tim
>>>
>>> Sent from my iPhone
>>>
>>> On 2 Oct 2018, at 12:30, Ben Coman  wrote:
>>>
>>>
>>>
>>> On Mon, 1 Oct 2018 at 23:16, Sean P. DeNigris 
>>> wrote:
>>>
 Tim Mackinnon wrote
 > either by showing {owner}/{project}

 What about when there are multiple remotes?

>>>
>>> +1 to what you imply here, that the owner/remote should not be
>>> auto-coded into the project name.
>>> Remote are well handled within Iceberg.
>>> The user though could add the owner as free text into a custom project
>>> name i.e. "owner-project"
>>>
>>> cheers -ben
>>>
>>>
>>>
>>
>> --
>>
>>
>>
>> Guille Polito
>>
>> Research Engineer
>>
>> Centre de Recherche en Informatique, Signal et Automatique de Lille
>>
>> CRIStAL - UMR 9189
>>
>> French National Center for Scientific Research - *http://www.cnrs.fr
>> *
>>
>>
>> *Web:* *http://guillep.github.io* 
>>
>> *Phone: *+33 06 52 70 66 13
>>
>

-- 



Guille Polito

Research Engineer

Centre de Recherche en Informatique, Signal et Automatique de Lille

CRIStAL - UMR 9189

French National Center for Scientific Research - *http://www.cnrs.fr
*


*Web:* *http://guillep.github.io* 

*Phone: *+33 06 52 70 66 13


Re: [Pharo-users] Metacello load baselines/configurations only

2018-10-03 Thread Guillermo Polito
On Wed, Oct 3, 2018 at 9:28 AM Norbert Hartl  wrote:

>
>
> > Am 03.10.2018 um 08:34 schrieb Peter Uhnak :
> >
> > Hi,
> >
> > is there a way to instruct Metacello to only install
> BaselineOfs/ConfigurationOfs instead of the entire project? For the
> purposes of analyzing dependencies.
> >
> Isn‘t this the case if you use fetch instead if load?
>

Yeh, but I don't think fetch is recursive...
You have also #record that will return a list of things to load.


>
> Norbert
>
> > Thanks,
> > Peter
>
>
>

-- 



Guille Polito

Research Engineer

Centre de Recherche en Informatique, Signal et Automatique de Lille

CRIStAL - UMR 9189

French National Center for Scientific Research - *http://www.cnrs.fr
*


*Web:* *http://guillep.github.io* 

*Phone: *+33 06 52 70 66 13


Re: [Pharo-users] Metacello load baselines/configurations only

2018-10-03 Thread Norbert Hartl



> Am 03.10.2018 um 08:34 schrieb Peter Uhnak :
> 
> Hi,
> 
> is there a way to instruct Metacello to only install 
> BaselineOfs/ConfigurationOfs instead of the entire project? For the purposes 
> of analyzing dependencies.
> 
Isn‘t this the case if you use fetch instead if load?

Norbert

> Thanks,
> Peter