[Pharo-users] Base58/Base58Check encoder package

2018-03-09 Thread Esteban A. Maringolo
I created a small utility class `Base58Encoder` that allows you to
encode/decode ByteArrays to/from Base58 and Base58Check.

For more information:
https://github.com/eMaringolo/pharo-base58

Regards,

Esteban A. Maringolo



Re: [Pharo-users] [ANN] Cruiser: A Pharo app packager

2018-03-09 Thread Vincent.Blondeau
Hi Hans!

I got the same issue. But, I warn you that it is not made to be used under 
Pharo6.1. Some features for readonly images are not backported, e.g., you will 
not be able to get rid of the source files because of the UFFI. I advise you to 
deactivate the Readonly feature group if you want to use it.
It is a filetree format repository, so you can load it with:

Metacello new
  baseline: 'Cruiser';
  repository: 'github://vincentblondeau/cruiser:master/src';
  load.

Then proceed normally, expect that some files will not be deleted in the 
packaged application and that the readonly image is not available.

But all the other features seems to work fine! Tell me if they do not

Thanks!

Cheers,
Vincent

From: Baveco, Hans [mailto:hans.bav...@wur.nl]
Sent: Friday, March 9, 2018 1:31
To: Blondeau, Vincent ; 
pharo-users@lists.pharo.org
Subject: RE: [Pharo-users] [ANN] Cruiser: A Pharo app packager

Very nice and useful! I would like to try it on an application I have in a 6.1 
image. Should that be possible? How to install the package, without using 
iceberg?

I tried to install it with

Metacello new
baseline: 'Cruiser';
repository: 'github://VincentBlondeau/Cruiser';
load

but that did not work,

thanks, Hans

From: vincent.blond...@lamresearch.com 
[mailto:vincent.blond...@lamresearch.com]
Sent: donderdag 8 maart 2018 20:29
To: pharo-...@lists.pharo.org; 
pharo-users@lists.pharo.org
Cc: 
chris.thorgrims...@lamresearch.com
Subject: [Pharo-users] [ANN] Cruiser: A Pharo app packager

Hi Pharoers!

I pleased to announce you the first release of Cruiser: a tool to package your 
Pharo applications. The idea is to quickly convert an application from a 
development environment to a production one. A production environment means:
-  No writing on the disk
-  No access to the source code (by the shortcuts, debugger,...)
-  No error displaying on the interface
-  The only thing accessible is the user application

I let you discover it on: 
https://github.com/VincentBlondeau/Cruiser

Do not hesitate to ask me questions or contribute to improve it!

Cheers,

Vincent Blondeau
Software Engineer, Software and Controls | Global Product Group
Desk +1 510.572.7499

Lam Research Corporation
4650 Cushing Pkwy, Fremont, CA 94538 USA | www.lamresearch.com
Connect with Lam Research: 
Facebook
 | 
Twitter
 | 
LinkedIn


NOTICE: This e-mail transmission may contain confidential information. If you 
are not the intended recipient, or a person responsible for delivering it to 
the intended recipient, you are hereby notified that any disclosure, copying, 
distribution or use of any of the information contained in or attached to this 
message is STRICTLY PROHIBITED. If you have received this transmission in 
error, please immediately notify the sender and destroy the original 
transmission and its attachments without reading them or saving them to disk. 
Thank you.


Re: [Pharo-users] Roassal to ODG

2018-03-09 Thread Arturo Zambrano
Yes, SVG can be generated from Roassal.
Thanks for the grouping idea, that would fit my need.

I will take a look at it, maybe grouping can be added to Roassal svg export.



On Fri, Mar 9, 2018 at 12:05 PM, Offray Vladimir Luna Cárdenas <
offray.l...@mutabit.com> wrote:

> I wonder if there is any way to save SVG from Roassal, so some parts of
> them can be grouped, as when you group and ungroup parts of a SVG image
> from Inkscape and similar tools.
>
> Cheers,
>
> Offray
>
> On 08/03/18 21:04, Arturo Zambrano wrote:
>
> I apologize for my late reply...
>
>
> On Tue, Feb 20, 2018 at 10:20 PM, Alexandre Bergel <
> alexandre.ber...@me.com> wrote:
>
>> 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?
>>
>
> I already generated the graph in a roassal view. My intention is to export
> it in a "visio-like" format, that can be opened by some free (as in beer)
> tool.
> That´s was I thought first in ODG. But it could be anything editable. SVG
> is not so good, as every single vector is independent, so edition could be
> a nightmare.
>
>
>
>
>
>
>>
>> Alexandre
>>
>>
>> > On Feb 13, 2018, at 12:09 PM, Arturo Zambrano <
>> arturo.zambr...@gmail.com> wrote:
>> >
>> >
>> >
>> > On Tue, Feb 13, 2018 at 7:27 AM, Alexandre Bergel <
>> alexandre.ber...@me.com> 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
>> >
>>
>>
>>
>
>


[Pharo-users] GitLab CI Build Matrices (Workaround)

2018-03-09 Thread Sean P. DeNigris
In case anyone finds it helpful, I found what seems to be the closest thing
to matrix builds that can be done in GitLab CI.

Here is a relevant excerpt [1]:
```YAML
.p61: 
  variables:
SMALLTALK_IMAGE: "Pharo-6.1"

.p70: 
  variables:
SMALLTALK_IMAGE: "Pharo-7.0"

stages:
  - build

.build_template: 
  stage: build
  script:
- source scripts/build.sh "$SMALLTALK_IMAGE"
  artifacts:
when: on_failure
paths:
- ./*.fuel # Can't start with * (see
https://gitlab.com/gitlab-org/gitlab-runner/issues/2086)

pharo61_build:
  <<: *pharo61
  <<: *build

pharo70_build:
  <<: *pharo70
  <<: *build
```

1. Full file at
https://gitlab.com/SeanDeNigris/gitlab-smalltalk-ci/blob/master/.gitlab-ci-template.yml



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



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

2018-03-09 Thread Alidra Abdelghani via Pharo-users
--- Begin Message ---
Thanks Alex.
I just changed Color red and Color bleu with TrachelShape color slightlyDarker.

It works perfect :)
Thanks again.
Abdelghani
> On 01 Mar 2018, at 21:53, Alexandre Bergel  wrote:
> 
> v := RTView new.
> 
> fiveCircles := RTEllipse new size: [ :e | 40 atRandom + 5 ]; elementsOn: (1 
> to: 5).
> fiveBoxes := RTBox new size: [ :e | 40 atRandom + 5 ]; elementsOn: (1 to: 5).
> 
> v addAll: fiveCircles; addAll: fiveBoxes.
> 
> v elements do: [ :element | element translateTo: (200 atRandom @ 200 
> atRandom) ].
> 
> v addMenu: 'Red' callback: [ v canvas shapes do: [ :aTrachelShape | 
> aTrachelShape color: Color red ]. v canvas signalUpdate ].
> 
> v addMenu: 'Blue' callback: [ v canvas shapes do: [ :aTrachelShape | 
> aTrachelShape color: Color blue ]. v canvas signalUpdate ].
> v



--- End Message ---


Re: [Pharo-users] cancel changes in Nautilus broken on 6.1?

2018-03-09 Thread Siemen Baader
On Fri, Mar 9, 2018 at 8:02 AM, Ben Coman  wrote:

> thx for looking into this.  half way there ;)
> do you have the Pharo build numbers that match these Nautilus versions?
>

I don't. PharoLauncher didn't work for me, when I try to launch an image I
get an exception "MessageNotUnderstood: MacProcess>>waitForCommand:". So I
just downloaded images from get.pharo.org and then used Monticello to
identify the Nautilus packages versions and bisected in a 6.0 image until I
found the version that introduced the bug. Do you need the build numbers? I
suppose I can get the builds from
https://ci.inria.fr/pharo/ ?

cheers,
Siemen


>
> cheers -ben
>
> On 9 March 2018 at 14:30, Siemen Baader  wrote:
>
>> The regression happens between Nautilus-TheIntegrator1352.mcz and
>> Nautilus-TheIntegrator1351.mcz. Pharo 6.0 uses
>> Nautilus-TheIntegrator1366.mcz
>>
>> I'll look more to find the actual code that breaks.
>>
>> -- Siemen
>>
>>
>>
>>
>> On Mon, Feb 12, 2018 at 6:57 PM, Siemen Baader 
>> wrote:
>>
>>> Hi Stef,
>>>
>>> On Sat, Feb 10, 2018 at 6:22 PM, Stephane Ducasse <
>>> stepharo.s...@gmail.com> wrote:
>>>
 Hi Siemen

 I use often cmd-L too and may be we got a regression.

>>>
>>> I'm pretty sure I started doing it after I saw you do it in the MOOC ;)
>>>
>>> And indeed I have the same behavior in Pharo 70.
 Can you try to see how to address it?

>>>
>>> Yes, I can try to look into it. I don't have any clear idea where to
>>> start other than browsing Nautilus code and perhaps uses of
>>> NautilusChanged, but perhaps it is not that hard to find.
>>>
>>> -- Siemen
>>>

 Stef

 On Fri, Feb 9, 2018 at 8:37 PM, Siemen Baader 
 wrote:
 > Hi all,
 >
 > I downloaded Pharo 6.1 for OSX and whenever I revert changes in
 Nautilus
 > with CMD-L, the content is reverted and the orange dirty marker
 triangle
 > disappears. But when I switch to a different method, Nautilus shows
 the
 > 'Content has been modified. What do you want to do?' dialog, as it
 only
 > should when content is actually different.
 >
 > I use this all the time, I can't imagine I'm the only one, but I
 couldn't
 > find the problem mentioned anywhere. Does anyone else have it? What
 to do?
 >
 > -- Siemen


>>>
>>
>


Re: [Pharo-users] Roassal to ODG

2018-03-09 Thread Offray Vladimir Luna Cárdenas
I wonder if there is any way to save SVG from Roassal, so some parts of
them can be grouped, as when you group and ungroup parts of a SVG image
from Inkscape and similar tools.

Cheers,

Offray


On 08/03/18 21:04, Arturo Zambrano wrote:
> I apologize for my late reply...
>
>
> On Tue, Feb 20, 2018 at 10:20 PM, Alexandre Bergel
> > wrote:
>
> 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?
>
>
> I already generated the graph in a roassal view. My intention is to
> export it in a "visio-like" format, that can be opened by some free
> (as in beer) tool.
> That´s was I thought first in ODG. But it could be anything editable.
> SVG is not so good, as every single vector is independent, so edition
> could be a nightmare.
>
>
>
>
>  
>
>
> 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] [ANN] Cruiser: A Pharo app packager

2018-03-09 Thread Baveco, Hans
Very nice and useful! I would like to try it on an application I have in a 6.1 
image. Should that be possible? How to install the package, without using 
iceberg?

I tried to install it with

Metacello new
baseline: 'Cruiser';
repository: 'github://VincentBlondeau/Cruiser';
load

but that did not work,

thanks, Hans

From: vincent.blond...@lamresearch.com [mailto:vincent.blond...@lamresearch.com]
Sent: donderdag 8 maart 2018 20:29
To: pharo-...@lists.pharo.org; pharo-users@lists.pharo.org
Cc: chris.thorgrims...@lamresearch.com
Subject: [Pharo-users] [ANN] Cruiser: A Pharo app packager

Hi Pharoers!

I pleased to announce you the first release of Cruiser: a tool to package your 
Pharo applications. The idea is to quickly convert an application from a 
development environment to a production one. A production environment means:
-  No writing on the disk
-  No access to the source code (by the shortcuts, debugger,...)
-  No error displaying on the interface
-  The only thing accessible is the user application

I let you discover it on: https://github.com/VincentBlondeau/Cruiser

Do not hesitate to ask me questions or contribute to improve it!

Cheers,

Vincent Blondeau
Software Engineer, Software and Controls | Global Product Group
Desk +1 510.572.7499

Lam Research Corporation
4650 Cushing Pkwy, Fremont, CA 94538 USA | www.lamresearch.com
Connect with Lam Research: 
Facebook | 
Twitter | 
LinkedIn


NOTICE: This e-mail transmission may contain confidential information. If you 
are not the intended recipient, or a person responsible for delivering it to 
the intended recipient, you are hereby notified that any disclosure, copying, 
distribution or use of any of the information contained in or attached to this 
message is STRICTLY PROHIBITED. If you have received this transmission in 
error, please immediately notify the sender and destroy the original 
transmission and its attachments without reading them or saving them to disk. 
Thank you.


Re: [Pharo-users] [ANN] Cruiser: A Pharo app packager

2018-03-09 Thread Julien
Really nice.

I’ll definitely try it.

Thanks!

Julien

---
Julien Delplanque
Doctorant à l’Université de Lille 1
http://juliendelplanque.be/phd.html
Equipe Rmod, Inria
Bâtiment B 40, Avenue Halley 59650 Villeneuve d'Ascq
Numéro de téléphone: +333 59 35 86 40

> Le 8 mars 2018 à 20:29,  
>  a écrit :
> 
> Hi Pharoers!
>  
> I pleased to announce you the first release of Cruiser: a tool to package 
> your Pharo applications. The idea is to quickly convert an application from a 
> development environment to a production one. A production environment means:
> No writing on the disk
> No access to the source code (by the shortcuts, debugger,...)
> No error displaying on the interface
> The only thing accessible is the user application
>  
> I let you discover it on: https://github.com/VincentBlondeau/Cruiser 
> 
>  
> 
>  
> Do not hesitate to ask me questions or contribute to improve it!
>  
> Cheers,
>  
> Vincent Blondeau 
> Software Engineer, Software and Controls | Global Product Group 
> Desk +1 510.572.7499
> 
> Lam Research Corporation
> 4650 Cushing Pkwy, Fremont, CA 94538 USA | www.lamresearch.com 
> 
> Connect with Lam Research: Facebook 
>  | Twitter 
>  | LinkedIn 
> 
> 
>  
> NOTICE: This e-mail transmission may contain confidential information. If you 
> are not the intended recipient, or a person responsible for delivering it to 
> the intended recipient, you are hereby notified that any disclosure, copying, 
> distribution or use of any of the information contained in or attached to 
> this message is STRICTLY PROHIBITED. If you have received this transmission 
> in error, please immediately notify the sender and destroy the original 
> transmission and its attachments without reading them or saving them to disk. 
> Thank you.