Re: [Pharo-users] [ANN] PI

2018-02-20 Thread Hernán Morales Durand
Hi John,

2018-02-21 2:10 GMT-03:00 john pfersich :
> I tried it, this time with
>
> pi install OSProcess OSProcess-Examples
>

I tried looking at
http://smalltalkhub.com/mc/JohnPfersich/OSProcess-Examples but there
is no Configuration of OSProcess-Examples.

PI only works at Configuration level and not with individual packages.
It could be implemented of course but didn't had time to check if
there is a command line handler for installing a package.

> in case there was something wrong with BioSmalltalk
>
> but I got the same result.
>
> log is at
> https://objectnets-0001.ams3.digitaloceanspaces.com/test2.log
>

The command line handler I used was wrong, it was missing the
"install=" parameter but somehow it worked with other configurations.
Now I fixed and by default only installs stable versions.

If you want to install development versions this is not done yet. I
saw pip uses --pre for pre-release versions, like development
versions.

$ pip install --pre SomePackage

but it seems in this mode you should know the specific version to
pass: SomePackage>=3.1 (a Python user could confirm?)
I'm not convinced, is not fun to track development package versions if
you have to install dozens of packages. Also one could want to install
the development versions of everything, or bleeding edge, etc.

Definitely needs more testing!
Thank you for your feedback.

Cheers,

Hernán

> On Tue, Feb 20, 2018 at 8:39 PM, john pfersich  wrote:
>>
>> I tried running
>>
>> pi install BioSmalltalk
>>
>> again and it failed.
>>
>> log is at
>> https://objectnets-0001.ams3.digitaloceanspaces.com/biost2.log
>>
>> On Tue, Feb 20, 2018 at 2:56 PM, Hernán Morales Durand
>>  wrote:
>>>
>>> Hi Esteban
>>>
>>> 2018-02-19 10:51 GMT-03:00 Esteban Lorenzano :
>>> > hi,
>>> > this is also a good moment to remember all that you have the command
>>> > “get” in Pharo.
>>> >
>>> > ./pharo Pharo.image get Seaside3
>>> >
>>> > will install into the image the Seaside3 configuration from the
>>> > catalog.
>>> >
>>>
>>> Please note that this is different from command line handlers.
>>>
>>> The idea is to have a very simple and small CLI tool (10 KB script
>>> now) for Pharo like:
>>>
>>> pip install SomePackage
>>> apt-get install SomePackage
>>> yum install SomePackage
>>> brew install SomePackage
>>> gem install SomePackage
>>> npm install SomePackage
>>> etc
>>>
>>> and support packages transparently in Catalog, SmalltalkHub or GitHub.
>>>
>>> Actually PI tries to install first from Catalog and if failed to find
>>> the package, then install from SmalltalkHub. Installing a package from
>>> GitHub could be possible if an annotated/tagged script is included
>>> inside the README.md page, what do you think?
>>>
>>> We could work together to get a better connection with command line
>>> handlers.
>>>
>>> Cheers,
>>>
>>> Hernán
>>>
>>>
>>> > cheers!
>>> > Esteban
>>> >
>>> >> On 19 Feb 2018, at 13:44, Esteban A. Maringolo 
>>> >> wrote:
>>> >>
>>> >> Hi Hernan,
>>> >>
>>> >> It's not clear to me where the install happens. In the first available
>>> >> image file at the same working directory where you executed the pi
>>> >> command?
>>> >>
>>> >> Also, I'd make it case-insensitive, and only complain if there is an
>>> >> ambiguity in some name (which I think there isn't).
>>> >>
>>> >> Thanks again!
>>> >>
>>> >> Esteban A. Maringolo
>>> >>
>>> >>
>>> >> 2018-02-18 17:12 GMT-03:00 Hernán Morales Durand
>>> >> :
>>> >>> Thanks, please let me know issues or ideas for enhacements.
>>> >>>
>>> >>> I just uploaded a new version adding a search packages feature,
>>> >>> supporting both GitHub and SmalltalkHub repositories.
>>> >>>
>>> >>> Cheers,
>>> >>>
>>> >>> Hernán
>>> >>>
>>> >>>
>>> >>> 2018-02-18 5:12 GMT-03:00 john pfersich :
>>>  Congrats! Looks really useful. Can’t wait to try it out.
>>> 
>>>  Sent from my iPhone
>>>  Encrypted email at jgpfers...@protonmail.com
>>> 
>>> > On Feb 17, 2018, at 23:23, Hernán Morales Durand
>>> >  wrote:
>>> >
>>> > Hi,
>>> >
>>> > PI is a MIT-pip-like command line program for Pharo Smalltalk. PI
>>> > stands for Pharo Install. It is written in bash and tested
>>> > successfully under MSYS and GNU/Linux.
>>> >
>>> > Look for details in the GitHub repository:
>>> >
>>> > https://github.com/hernanmd/pi
>>> >
>>> > Try and play around, if you found any bugs or want to integrate new
>>> > feature, feel free to submit PR.
>>> >
>>> > Cheers,
>>> >
>>> > Hernán
>>> >
>>> 
>>> >>>
>>> >>
>>> >
>>> >
>>>
>>
>



Re: [Pharo-users] [ANN] PI

2018-02-20 Thread john pfersich
I tried it, this time with

pi install OSProcess OSProcess-Examples

in case there was something wrong with BioSmalltalk

but I got the same result.

log is at
https://objectnets-0001.ams3.digitaloceanspaces.com/test2.log

On Tue, Feb 20, 2018 at 8:39 PM, john pfersich  wrote:

> I tried running
>
> pi install BioSmalltalk
>
> again and it failed.
>
> log is at
> https://objectnets-0001.ams3.digitaloceanspaces.com/biost2.log
>
> On Tue, Feb 20, 2018 at 2:56 PM, Hernán Morales Durand <
> hernan.mora...@gmail.com> wrote:
>
>> Hi Esteban
>>
>> 2018-02-19 10:51 GMT-03:00 Esteban Lorenzano :
>> > hi,
>> > this is also a good moment to remember all that you have the command
>> “get” in Pharo.
>> >
>> > ./pharo Pharo.image get Seaside3
>> >
>> > will install into the image the Seaside3 configuration from the catalog.
>> >
>>
>> Please note that this is different from command line handlers.
>>
>> The idea is to have a very simple and small CLI tool (10 KB script
>> now) for Pharo like:
>>
>> pip install SomePackage
>> apt-get install SomePackage
>> yum install SomePackage
>> brew install SomePackage
>> gem install SomePackage
>> npm install SomePackage
>> etc
>>
>> and support packages transparently in Catalog, SmalltalkHub or GitHub.
>>
>> Actually PI tries to install first from Catalog and if failed to find
>> the package, then install from SmalltalkHub. Installing a package from
>> GitHub could be possible if an annotated/tagged script is included
>> inside the README.md page, what do you think?
>>
>> We could work together to get a better connection with command line
>> handlers.
>>
>> Cheers,
>>
>> Hernán
>>
>>
>> > cheers!
>> > Esteban
>> >
>> >> On 19 Feb 2018, at 13:44, Esteban A. Maringolo 
>> wrote:
>> >>
>> >> Hi Hernan,
>> >>
>> >> It's not clear to me where the install happens. In the first available
>> >> image file at the same working directory where you executed the pi
>> >> command?
>> >>
>> >> Also, I'd make it case-insensitive, and only complain if there is an
>> >> ambiguity in some name (which I think there isn't).
>> >>
>> >> Thanks again!
>> >>
>> >> Esteban A. Maringolo
>> >>
>> >>
>> >> 2018-02-18 17:12 GMT-03:00 Hernán Morales Durand <
>> hernan.mora...@gmail.com>:
>> >>> Thanks, please let me know issues or ideas for enhacements.
>> >>>
>> >>> I just uploaded a new version adding a search packages feature,
>> >>> supporting both GitHub and SmalltalkHub repositories.
>> >>>
>> >>> Cheers,
>> >>>
>> >>> Hernán
>> >>>
>> >>>
>> >>> 2018-02-18 5:12 GMT-03:00 john pfersich :
>>  Congrats! Looks really useful. Can’t wait to try it out.
>> 
>>  Sent from my iPhone
>>  Encrypted email at jgpfers...@protonmail.com
>> 
>> > On Feb 17, 2018, at 23:23, Hernán Morales Durand <
>> hernan.mora...@gmail.com> wrote:
>> >
>> > Hi,
>> >
>> > PI is a MIT-pip-like command line program for Pharo Smalltalk. PI
>> > stands for Pharo Install. It is written in bash and tested
>> > successfully under MSYS and GNU/Linux.
>> >
>> > Look for details in the GitHub repository:
>> >
>> > https://github.com/hernanmd/pi
>> >
>> > Try and play around, if you found any bugs or want to integrate new
>> > feature, feel free to submit PR.
>> >
>> > Cheers,
>> >
>> > Hernán
>> >
>> 
>> >>>
>> >>
>> >
>> >
>>
>>
>


Re: [Pharo-users] [ANN] PI

2018-02-20 Thread john pfersich
I tried running

pi install BioSmalltalk

again and it failed.

log is at
https://objectnets-0001.ams3.digitaloceanspaces.com/biost2.log

On Tue, Feb 20, 2018 at 2:56 PM, Hernán Morales Durand <
hernan.mora...@gmail.com> wrote:

> Hi Esteban
>
> 2018-02-19 10:51 GMT-03:00 Esteban Lorenzano :
> > hi,
> > this is also a good moment to remember all that you have the command
> “get” in Pharo.
> >
> > ./pharo Pharo.image get Seaside3
> >
> > will install into the image the Seaside3 configuration from the catalog.
> >
>
> Please note that this is different from command line handlers.
>
> The idea is to have a very simple and small CLI tool (10 KB script
> now) for Pharo like:
>
> pip install SomePackage
> apt-get install SomePackage
> yum install SomePackage
> brew install SomePackage
> gem install SomePackage
> npm install SomePackage
> etc
>
> and support packages transparently in Catalog, SmalltalkHub or GitHub.
>
> Actually PI tries to install first from Catalog and if failed to find
> the package, then install from SmalltalkHub. Installing a package from
> GitHub could be possible if an annotated/tagged script is included
> inside the README.md page, what do you think?
>
> We could work together to get a better connection with command line
> handlers.
>
> Cheers,
>
> Hernán
>
>
> > cheers!
> > Esteban
> >
> >> On 19 Feb 2018, at 13:44, Esteban A. Maringolo 
> wrote:
> >>
> >> Hi Hernan,
> >>
> >> It's not clear to me where the install happens. In the first available
> >> image file at the same working directory where you executed the pi
> >> command?
> >>
> >> Also, I'd make it case-insensitive, and only complain if there is an
> >> ambiguity in some name (which I think there isn't).
> >>
> >> Thanks again!
> >>
> >> Esteban A. Maringolo
> >>
> >>
> >> 2018-02-18 17:12 GMT-03:00 Hernán Morales Durand <
> hernan.mora...@gmail.com>:
> >>> Thanks, please let me know issues or ideas for enhacements.
> >>>
> >>> I just uploaded a new version adding a search packages feature,
> >>> supporting both GitHub and SmalltalkHub repositories.
> >>>
> >>> Cheers,
> >>>
> >>> Hernán
> >>>
> >>>
> >>> 2018-02-18 5:12 GMT-03:00 john pfersich :
>  Congrats! Looks really useful. Can’t wait to try it out.
> 
>  Sent from my iPhone
>  Encrypted email at jgpfers...@protonmail.com
> 
> > On Feb 17, 2018, at 23:23, Hernán Morales Durand <
> hernan.mora...@gmail.com> wrote:
> >
> > Hi,
> >
> > PI is a MIT-pip-like command line program for Pharo Smalltalk. PI
> > stands for Pharo Install. It is written in bash and tested
> > successfully under MSYS and GNU/Linux.
> >
> > Look for details in the GitHub repository:
> >
> > https://github.com/hernanmd/pi
> >
> > Try and play around, if you found any bugs or want to integrate new
> > feature, feel free to submit PR.
> >
> > Cheers,
> >
> > Hernán
> >
> 
> >>>
> >>
> >
> >
>
>


Re: [Pharo-users] Roassal to ODG

2018-02-20 Thread Alexandre Bergel
How do you want to generate the flow? You can create a view and add callback to 
add boxes and arrow.
Is this what you mean?

Alexandre


> On Feb 13, 2018, at 12:09 PM, Arturo Zambrano  
> wrote:
> 
> 
> 
> On Tue, Feb 13, 2018 at 7:27 AM, Alexandre Bergel  
> wrote:
> > So I want to re post my question:
> >  "What is  the best option to generate an editable flow chart from Pharo 
> > (Roassal)?”
> 
> There are none as far as I know. However, this is something that can be done 
> (rather easily I would say).
> 
> Thanks, any direction?
> 
>  
> 
> Alexandre
> 




Re: [Pharo-users] Roassal : Playing with the contrast

2018-02-20 Thread Alexandre Bergel
Hi!

What do you mean with contrasts? You mean the colors?
Currently, there is no way to automatically assign colors to a visualization, 
although you can use a color palette (look at the class RTPalette).

Cheers,
Alexandre


> On Feb 20, 2018, at 7:01 AM, abdelghani ALIDRA via Pharo-users 
>  wrote:
> 
> 
> From: abdelghani ALIDRA 
> Subject: Roassal : Playing with the contrast
> Date: February 20, 2018 at 7:01:20 AM GMT-3
> To: "pharo-users@lists.pharo.org" 
> Reply-To: abdelghani ALIDRA 
> 
> 
> Hi,
> 
> I am wondering if there is a way to play with the contrast of Roassal 
> visualisations.
> If so, please tell me how :)
> 
> Thank you in advance
> Abdelghani
> 
> 
> 




Re: [Pharo-users] [ANN] PI

2018-02-20 Thread Hernán Morales Durand
Hi Esteban

2018-02-19 10:51 GMT-03:00 Esteban Lorenzano :
> hi,
> this is also a good moment to remember all that you have the command “get” in 
> Pharo.
>
> ./pharo Pharo.image get Seaside3
>
> will install into the image the Seaside3 configuration from the catalog.
>

Please note that this is different from command line handlers.

The idea is to have a very simple and small CLI tool (10 KB script
now) for Pharo like:

pip install SomePackage
apt-get install SomePackage
yum install SomePackage
brew install SomePackage
gem install SomePackage
npm install SomePackage
etc

and support packages transparently in Catalog, SmalltalkHub or GitHub.

Actually PI tries to install first from Catalog and if failed to find
the package, then install from SmalltalkHub. Installing a package from
GitHub could be possible if an annotated/tagged script is included
inside the README.md page, what do you think?

We could work together to get a better connection with command line handlers.

Cheers,

Hernán


> cheers!
> Esteban
>
>> On 19 Feb 2018, at 13:44, Esteban A. Maringolo  wrote:
>>
>> Hi Hernan,
>>
>> It's not clear to me where the install happens. In the first available
>> image file at the same working directory where you executed the pi
>> command?
>>
>> Also, I'd make it case-insensitive, and only complain if there is an
>> ambiguity in some name (which I think there isn't).
>>
>> Thanks again!
>>
>> Esteban A. Maringolo
>>
>>
>> 2018-02-18 17:12 GMT-03:00 Hernán Morales Durand :
>>> Thanks, please let me know issues or ideas for enhacements.
>>>
>>> I just uploaded a new version adding a search packages feature,
>>> supporting both GitHub and SmalltalkHub repositories.
>>>
>>> Cheers,
>>>
>>> Hernán
>>>
>>>
>>> 2018-02-18 5:12 GMT-03:00 john pfersich :
 Congrats! Looks really useful. Can’t wait to try it out.

 Sent from my iPhone
 Encrypted email at jgpfers...@protonmail.com

> On Feb 17, 2018, at 23:23, Hernán Morales Durand 
>  wrote:
>
> Hi,
>
> PI is a MIT-pip-like command line program for Pharo Smalltalk. PI
> stands for Pharo Install. It is written in bash and tested
> successfully under MSYS and GNU/Linux.
>
> Look for details in the GitHub repository:
>
> https://github.com/hernanmd/pi
>
> Try and play around, if you found any bugs or want to integrate new
> feature, feel free to submit PR.
>
> Cheers,
>
> Hernán
>

>>>
>>
>
>



Re: [Pharo-users] TechTalk Feb18: Recording is online

2018-02-20 Thread Marcus Denker
I added links to the video on all these pages:

http://pharo.org/contribute-report-bug
http://pharo.org/contribute-propose-fix
http://pharo.org/review-fix
https://github.com/pharo-project/pharo/wiki/Contribute-a-fix-to-Pharo

> On 16 Feb 2018, at 10:33, Marcus Denker  wrote:
> 
> Hi,
> 
> The Video of yesterday's TechTalk is online!
> 
> Topic:  Contributing to Pharo 7, We Show:
> 
> - How to submit issue tracker entries to the Pharo Issue Tracker
> - How to do a Pull Request if you want to do a fix or enhancment
> - How to review and comment other peoples fixes.
> 
> Recoding Youtube: https://www.youtube.com/watch?v=VW7XrFjnbyw
> 
> The slides are minimal but contain all links:
> 
> - SlideShare: 
> https://www.slideshare.net/MarcusDenker/pharotechtalk-contributing-to-pharo
> - PDF: http://files.pharo.org/media/techtalk/2018-TechTalk-Contribute.pdf
> 
> 
> The TechTalk has been added to the archvie, too:
> 
>   https://pharo.org/TechTalk
>   
>   
> Next Talks 2018:
> 
>   March 29: Report 2017 Pharo Consortium and Association. 
>   April 12:   Pillar. 
>   May 17: TBA.
>   June 14 TBA.
>   
> You can subscribe and download calendar entries here: 
> https://association.pharo.org/events




Re: [Pharo-users] Seaside and Ajax/JQuery

2018-02-20 Thread Herbert Vojčík



Dominique Dartois wrote:


2018-02-19 22:02 GMT+01:00 Cyril Ferlicot D. >:

Le 19/02/2018 ?? 21:56, Dominique Dartois a ??crit :
 > Hello All.
 > I try to use Ajax/JQuery to update a value in a HTML table by
clicking
 > on the table heading.
 > The new value (the update) is not written in the tabledata I
associated
 > an id with, but before the table.
 >
 > The code :
 >
 > renderContentOn: html
 >
 > html table: [
 >
 > html tableHead: [
 >
 > html tableRow: [
 >
 > html tableHeading: [ html anchor url: 'javascript:void(0)'; onClick:
 >
 > ((html jQuery: #changeMe) load html: 'BBB'); with: 'Update'].
 >
 > ]
 >
 > ].
 >
 > html tableBody: [
 >
 > html span id: #changeMe; with: [html tableData: [html render:
'AAA']].
 >
 > ]
 >
 > ]
 >
 >
 > The debugger in Firefox displays clearly that the "span id:
#changeMe"
 > is not written at the correct place in the generated javascript.
 >
 > Images int??gr??es 1
 >
 > What am I doing wrong?
 > Regards
 > --
 > Dominique

Hi,

This is possibly because in HTML5 a table element can only contains:
- tr
- th
- td
- caption
- col
- colgroup
- thead
- tbody
- tfoot

It should not contains span to be valid. Maybe your browser make this
change to make the HTML valid.

--
Cyril Ferlicot
https://ferlicot.fr


Thank you so much Cyril.

The right code is :
html tableData id: #changeMe ; with: [html render: 'AAA'].


Why not simply

  html tableData id: #changeMe; with: 'AAA'.

?


and not :
html span id: #changeMe; with: [html tableData: [html render: 'AAA']].

Thanks again Regards


--
Dominique




[Pharo-users] Roassal : Playing with the contrast

2018-02-20 Thread abdelghani ALIDRA via Pharo-users
--- Begin Message ---
Hi,
I am wondering if there is a way to play with the contrast of Roassal 
visualisations.
If so, please tell me how :)
Thank you in advanceAbdelghani
--- End Message ---


[Pharo-users] [JOB][Research] 3 Year Starting Research Positions

2018-02-20 Thread Marcus Denker
Inria opended a call for starting researchers. This is a three year contract.

REQUIREMENTS

- Have a French doctorate or an equivalent international degree
- From 2 to 8 years of experience in research (after the thesis)
- No age or nationality conditions.
- Deadline: April 3rd, 2018

Before writing their research program, the applicants are strongly encouraged 
to contact the teams 
or project(s)-teams leaders concerned by their applications. More information 
on the official website:
https://www.inria.fr/en/institute/recruitment/offers/starting-research-positions/presentation

MISSION

Join one of our two lines of research: Tools for Software Maintenance or New 
Programming 
Language Constructs for Software Evolution.

THE REGION

Lille is strategically located in Northern Europe with train connections to 
Paris (1h), London (1h30)
and Brussels (30 min.) The Nord Pas de Calais region is a dynamic area in both 
industry and research
for computer science with companies that are european leaders in their branch. 
Lille, the capital of
northern France is an attractive metropolis of over 1 million inhabitants. Cost 
of living in Lille is lower 
than that of very big cities such as Paris and London.

THE TEAM

RMoD is an Inria research project team. It consists of 5 permant researchers 
(Inria CR and DR, as 
well as University Assistant Professors) and Engineers, postdocs and students 
(Master and PhD). 
RMoD is an international team with more than 20 members from six countries.

LINKS:

RMoD: http://rmod.lille.inria.fr
INRIA Lille: http://www.inria.fr/lille/
INRIA in General: http://www.inria.fr
Lille: 
http://en.wikipedia.org/wiki/Lille
http://wikitravel.org/en/Lille

Please contact the head of the research team: stephane.duca...@inria.fr or one 
of the following group members: nicolas.anque...@inria.fr, 
marcus.den...@inria.fr

Permanent Link: https://rmod.inria.fr/web/blog/2018-02-19