Re: [Pharo-users] [Pharo-dev] [ANN] file dialog replacement experiment

2016-07-17 Thread Nicolas Passerini
On Sun, Jul 17, 2016 at 4:25 PM, Peter Uhnák  wrote:

> I wonder… does Pharo support such workflow that it would pull the code
> from github? I.e. the development would continue on GitHub and Pharo would
> just pull the updates.
>
>
It is not ready for production, but I am working on that.


Re: [Pharo-users] Image not starting

2016-07-17 Thread Nicolai Hess
Hi Valentin, Ithink you can not print to stdout during shutdown and restart.
It will end in a Loop of writing to stdout, throwing an exceptions because
it can not write and trying to log the error on stdout, throwing an error...

Am 17.07.2016 18:36 schrieb "Valentin Ryckewaert" <
valentin.ryckewa...@gmail.com>:

> i will do it tomorrow.
>
> 2016-07-17 17:23 GMT+02:00 stepharo :
>
>> did you try to solution proposed?
>>
>> Stef
>>
>> Le 17/7/16 à 16:22, Valentin Ryckewaert a écrit :
>>
>> Hello Stef,
>>
>> no i'm still on it :(
>> I'm going to test every code I modified
>>
>> Valentin
>>
>> 2016-07-17 15:23 GMT+02:00 stepharo :
>>
>>> HI valentin
>>>
>>>
>>> did you solve your problem?
>>>
>>>
>>> Stef
>>>
>>> Le 12/7/16 à 15:33, Valentin Ryckewaert a écrit :
>>>
>>> Hello everyone,
>>>
>>> I'm currently working on the project file policy and I'm having a
>>> problem that I don't understand
>>>
>>> I import my code, configure my image as readOnly (Pharo won't try to
>>> write on changesFiles,source,image), set the folder of the image in
>>> readonly and try to open the image again and it's not possible, I don't get
>>> any stacktrace so it's hard to understand the problem.
>>>
>>> PS : If we set back the folder in write mode, it's possible again to
>>> open the image again.
>>>
>>> Here is the code to reproduce the bug, could someone give me a clue
>>> please?
>>>
>>> sudo rm -r testPharo
>>> mkdir testPharo
>>> cd testPharo
>>>
>>> echo "Metacello new
>>> smalltalkhubUser: 'Uryon' project: 'Coral';
>>> configuration: 'Coral';
>>> version: #development;
>>> onConflictUseIncoming;
>>> load.
>>> SmalltalkImage configureSystemAsReadonlyAndQuit:true
>>> " >> load.st
>>>
>>> mkdir coral
>>> cd coral
>>> curl get.pharo.org/alpha | bash
>>> curl get.pharo.org/vm60 | bash
>>> pharo-vm/pharo Pharo.image ../load.st
>>> cd ..
>>> chmod -R -w coral
>>> coral/pharo-vm/pharo coral/Pharo.image
>>>
>>>
>>>
>>
>>
>


Re: [Pharo-users] Dynamic visualzation and analysis of tweets

2016-07-17 Thread stepharo

Super.

Use larger fonts.

I think that videos should have a title and a closing sequence with 
credits.


Stef


Le 17/7/16 à 18:00, Arturo Zambrano a écrit :
We will improve the tool and the video to present the idea elsewhere, 
and show the logos, of course.


On Sun, Jul 17, 2016 at 5:32 AM, Ben Coman > wrote:


Looks cool. Perhaps the end of the video could show some logos & links
for:  Roassal and Pharo.
cheers -ben

On Sat, Jul 16, 2016 at 5:59 AM, Arturo Zambrano
> wrote:
> Hi All,
>  please check this>
>
> https://youtu.be/VL14jTDvRaY
>
> this is Agustin Meriles's work for his master thesis.  We want
to share this
> with the community and a big *thank you* for your support...
specially the
> Roassal team.
>
> Now the hard time of writing the text comes for Agustin :)
>
> Cheers,
>
> Arturo
>






Re: [Pharo-users] iCal Chronos for Pharo 5 => OSProcess

2016-07-17 Thread Paul DeBruicker
Cédrick Béler wrote
> Hi Paul, 
> 
> Thanks for the update, it solves most of the issues.
> 
> I have 2 errors left because of Chronos missing epoch method in TimeOfDay 
> TimeOfDay class >> epoch  
>   "{TimeOfDay epoch}"
>   ^AnsiStandardCalendarClock epoch
> 
> => Is it correct or this method comes form another package ?

That seems fine.   I did not install Chronos for the fixes I uploaded.  The
epoch should just return Jan 1 1901 00:00:00.0   in whatever "Time"
class you're using


Cédrick Béler wrote
> Now (with epoch implemented), there are 3 failures and 2 errors left
> `
> 
> - For the 3 failures (the 2 export ones seems to be expected as it is said
> in the test "This test may FAIL because of Dictionary ordering »):
> 
> #testWeekDays is because of a recurrence rule printing.
> the expected string is : 'FREQ=MONTHLY;BYDAY=MO,2TU’
> and we get: 'FREQ=MONTHLY;BYDAY=2TU,MO'
> 
> The byday rule does not preserve chronologic order (the collection is a
> Set). Is it necessary ?

I don't know the spec (http://www.ietf.org/rfc/rfc2445.txt) to know whether
the ordering is necessary.  I would guess not as that rule means repeat
every monday and every other tuesday.   





Cédrick Béler wrote
> - The 2 errors are related to timezone.
> For instance with this message: "The resource that defines the ruleset for
> the VariableOffsetTimezone identified by 'Pacific/Wallis' is not
> accessible. »
> This is probably because of OSProcess not being installed.
> Do you have any idea where I have to look to try to use OSSubprocess
> instead ?

Chronos uses its own time zone rules that are derived from the Olson time
zone database.  You only need OSProcess if you want to generate the time
zone rules from Olson files.  You likely just need to put the time-zones
directory from this repo  https://github.com/pdebruic/ChronosTimeZones next
to your image so Chronos can find its time zone rules in its normal way.  



Cédrick Béler wrote
> 
> Cheers (it’s enough anyway now so that I can use iCal and Chronos),
> 
> Cédrik
> 
> 
> 
> 
> 
>> Le 15 juil. 2016 à 22:09, Paul DeBruicker 

> pdebruic@

>  a écrit :
>> 
>> Hi Cédrick,
>> 
>> I uploaded a new version of the iCal-Core package and iCal-Tests package
>> that should fix most of the issues shown below.  I didn't realize I wiped
>> out the #resetAlarms method and also some others with overrides.  
>> 
>> 
>> 
>> Hope this gets you on your way
>> 
>> 
>> Paul
>> 
>> 
>> 
>> --
>> View this message in context:
>> http://forum.world.st/iCal-Chronos-for-Pharo-5-OSProcess-tp4906567p4906748.html
>> Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
>> 
> 
> 
> 
> PastedGraphic-7.png (40K)
> http://forum.world.st/attachment/4906821/0/PastedGraphic-7.png;





--
View this message in context: 
http://forum.world.st/iCal-Chronos-for-Pharo-5-OSProcess-tp4906567p4906836.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.



Re: [Pharo-users] [ANN] Metacello support for GitFileTree metadata-less mode

2016-07-17 Thread Cyril Ferlicot D.
Le 14/07/2016 à 21:49, Dale Henrichs a écrit :
> Depending on the version of Pharo you are using, at some point in time,
> I expect this new release of Metacello to be available in the standard
> download. Until then, to install the latest version of Metacello into
> Pharo execute the following in a workspace:
> 
>   Metacello new
> baseline: 'Metacello';
> repository: 'github://dalehenrich/metacello-work:master/repository';
> get.
>   Metacello new
> baseline: 'Metacello';
> repository: 'github://dalehenrich/metacello-work:master/repository';
> onConflict: [:ex | ex allow];
> load
> 

Hi Dale,

When I try to upgrade Metacello in the latest Pharo 6 I get an error
"receiver  of withSqueakLineEnding is nil"

See: http://puu.sh/q3zet/310f6d3086.png

-- 
Cyril Ferlicot

http://www.synectique.eu

165 Avenue Bretagne
Lille 59000 France



signature.asc
Description: OpenPGP digital signature


Re: [Pharo-users] Image not starting

2016-07-17 Thread Valentin Ryckewaert
i will do it tomorrow.

2016-07-17 17:23 GMT+02:00 stepharo :

> did you try to solution proposed?
>
> Stef
>
> Le 17/7/16 à 16:22, Valentin Ryckewaert a écrit :
>
> Hello Stef,
>
> no i'm still on it :(
> I'm going to test every code I modified
>
> Valentin
>
> 2016-07-17 15:23 GMT+02:00 stepharo :
>
>> HI valentin
>>
>>
>> did you solve your problem?
>>
>>
>> Stef
>>
>> Le 12/7/16 à 15:33, Valentin Ryckewaert a écrit :
>>
>> Hello everyone,
>>
>> I'm currently working on the project file policy and I'm having a problem
>> that I don't understand
>>
>> I import my code, configure my image as readOnly (Pharo won't try to
>> write on changesFiles,source,image), set the folder of the image in
>> readonly and try to open the image again and it's not possible, I don't get
>> any stacktrace so it's hard to understand the problem.
>>
>> PS : If we set back the folder in write mode, it's possible again to open
>> the image again.
>>
>> Here is the code to reproduce the bug, could someone give me a clue
>> please?
>>
>> sudo rm -r testPharo
>> mkdir testPharo
>> cd testPharo
>>
>> echo "Metacello new
>> smalltalkhubUser: 'Uryon' project: 'Coral';
>> configuration: 'Coral';
>> version: #development;
>> onConflictUseIncoming;
>> load.
>> SmalltalkImage configureSystemAsReadonlyAndQuit:true
>> " >> load.st
>>
>> mkdir coral
>> cd coral
>> curl get.pharo.org/alpha | bash
>> curl get.pharo.org/vm60 | bash
>> pharo-vm/pharo Pharo.image ../load.st
>> cd ..
>> chmod -R -w coral
>> coral/pharo-vm/pharo coral/Pharo.image
>>
>>
>>
>
>


Re: [Pharo-users] Dynamic visualzation and analysis of tweets

2016-07-17 Thread Arturo Zambrano
We will improve the tool and the video to present the idea elsewhere, and
show the logos, of course.

On Sun, Jul 17, 2016 at 5:32 AM, Ben Coman  wrote:

> Looks cool. Perhaps the end of the video could show some logos & links
> for:  Roassal and Pharo.
> cheers -ben
>
> On Sat, Jul 16, 2016 at 5:59 AM, Arturo Zambrano
>  wrote:
> > Hi All,
> >  please check this>
> >
> > https://youtu.be/VL14jTDvRaY
> >
> > this is Agustin Meriles's work for his master thesis.  We want to share
> this
> > with the community and a big *thank you* for your support... specially
> the
> > Roassal team.
> >
> > Now the hard time of writing the text comes for Agustin :)
> >
> > Cheers,
> >
> > Arturo
> >
>
>


Re: [Pharo-users] Image not starting

2016-07-17 Thread stepharo

did you try to solution proposed?

Stef


Le 17/7/16 à 16:22, Valentin Ryckewaert a écrit :

Hello Stef,

no i'm still on it :(
I'm going to test every code I modified

Valentin

2016-07-17 15:23 GMT+02:00 stepharo >:


HI valentin


did you solve your problem?


Stef


Le 12/7/16 à 15:33, Valentin Ryckewaert a écrit :

Hello everyone,

I'm currently working on the project file policy and I'm having a
problem that I don't understand

I import my code, configure my image as readOnly (Pharo won't try
to write on changesFiles,source,image), set the folder of the
image in readonly and try to open the image again and it's not
possible, I don't get any stacktrace so it's hard to understand
the problem.

PS : If we set back the folder in write mode, it's possible again
to open the image again.

Here is the code to reproduce the bug, could someone give me a
clue please?

sudo rm -r testPharo
mkdir testPharo
cd testPharo

echo "Metacello new
smalltalkhubUser: 'Uryon' project: 'Coral';
configuration: 'Coral';
version: #development;
onConflictUseIncoming;
load.
SmalltalkImage configureSystemAsReadonlyAndQuit:true
" >> load.st 

mkdir coral
cd coral
curl get.pharo.org/alpha  | bash
curl get.pharo.org/vm60  | bash
pharo-vm/pharo Pharo.image ../load.st 
cd ..
chmod -R -w coral
coral/pharo-vm/pharo coral/Pharo.image








Re: [Pharo-users] iCal Chronos for Pharo 5 => OSProcess

2016-07-17 Thread Cédrick Béler
Hi Paul, 

Thanks for the update, it solves most of the issues.

I have 2 errors left because of Chronos missing epoch method in TimeOfDay 
TimeOfDay class >> epoch
"{TimeOfDay epoch}"
^AnsiStandardCalendarClock epoch

=> Is it correct or this method comes form another package ?



Now (with epoch implemented), there are 3 failures and 2 errors left
`

- For the 3 failures (the 2 export ones seems to be expected as it is said in 
the test "This test may FAIL because of Dictionary ordering »):

#testWeekDays is because of a recurrence rule printing.
the expected string is : 'FREQ=MONTHLY;BYDAY=MO,2TU’
and we get: 'FREQ=MONTHLY;BYDAY=2TU,MO'

The byday rule does not preserve chronologic order (the collection is a Set). 
Is it necessary ?


- The 2 errors are related to timezone.
For instance with this message: "The resource that defines the ruleset for the 
VariableOffsetTimezone identified by 'Pacific/Wallis' is not accessible. »
This is probably because of OSProcess not being installed.
Do you have any idea where I have to look to try to use OSSubprocess instead ?



Cheers (it’s enough anyway now so that I can use iCal and Chronos),

Cédrik





> Le 15 juil. 2016 à 22:09, Paul DeBruicker  a écrit :
> 
> Hi Cédrick,
> 
> I uploaded a new version of the iCal-Core package and iCal-Tests package
> that should fix most of the issues shown below.  I didn't realize I wiped
> out the #resetAlarms method and also some others with overrides.  
> 
> 
> 
> Hope this gets you on your way
> 
> 
> Paul
> 
> 
> 
> --
> View this message in context: 
> http://forum.world.st/iCal-Chronos-for-Pharo-5-OSProcess-tp4906567p4906748.html
> Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
> 



Re: [Pharo-users] [Pharo-dev] [ANN] file dialog replacement experiment

2016-07-17 Thread Peter Uhnák
On Sat, Jul 16, 2016 at 11:04 PM, Johan Fabry  wrote:

>
> This is excellent !!!
>
> We should change the default file browser to be this one !
>

I wonder… does Pharo support such workflow that it would pull the code from
github? I.e. the development would continue on GitHub and Pharo would just
pull the updates.

I believe there are some upstream projects already (GT mostly), but those
are on smalltalkhub, and from what I've heard it's a major PITA.

Peter


Re: [Pharo-users] Image not starting

2016-07-17 Thread Valentin Ryckewaert
Hello Stef,

no i'm still on it :(
I'm going to test every code I modified

Valentin

2016-07-17 15:23 GMT+02:00 stepharo :

> HI valentin
>
>
> did you solve your problem?
>
>
> Stef
>
> Le 12/7/16 à 15:33, Valentin Ryckewaert a écrit :
>
> Hello everyone,
>
> I'm currently working on the project file policy and I'm having a problem
> that I don't understand
>
> I import my code, configure my image as readOnly (Pharo won't try to write
> on changesFiles,source,image), set the folder of the image in readonly
> and try to open the image again and it's not possible, I don't get any
> stacktrace so it's hard to understand the problem.
>
> PS : If we set back the folder in write mode, it's possible again to open
> the image again.
>
> Here is the code to reproduce the bug, could someone give me a clue please?
>
> sudo rm -r testPharo
> mkdir testPharo
> cd testPharo
>
> echo "Metacello new
> smalltalkhubUser: 'Uryon' project: 'Coral';
> configuration: 'Coral';
> version: #development;
> onConflictUseIncoming;
> load.
> SmalltalkImage configureSystemAsReadonlyAndQuit:true
> " >> load.st
>
> mkdir coral
> cd coral
> curl get.pharo.org/alpha | bash
> curl get.pharo.org/vm60 | bash
> pharo-vm/pharo Pharo.image ../load.st
> cd ..
> chmod -R -w coral
> coral/pharo-vm/pharo coral/Pharo.image
>
>
>


Re: [Pharo-users] Image not starting

2016-07-17 Thread stepharo

HI valentin


did you solve your problem?


Stef


Le 12/7/16 à 15:33, Valentin Ryckewaert a écrit :

Hello everyone,

I'm currently working on the project file policy and I'm having a 
problem that I don't understand


I import my code, configure my image as readOnly (Pharo won't try to 
write on changesFiles,source,image), set the folder of the image 
in readonly and try to open the image again and it's not possible, I 
don't get any stacktrace so it's hard to understand the problem.


PS : If we set back the folder in write mode, it's possible again to 
open the image again.


Here is the code to reproduce the bug, could someone give me a clue 
please?


sudo rm -r testPharo
mkdir testPharo
cd testPharo

echo "Metacello new
smalltalkhubUser: 'Uryon' project: 'Coral';
configuration: 'Coral';
version: #development;
onConflictUseIncoming;
load.
SmalltalkImage configureSystemAsReadonlyAndQuit:true
" >> load.st 

mkdir coral
cd coral
curl get.pharo.org/alpha  | bash
curl get.pharo.org/vm60  | bash
pharo-vm/pharo Pharo.image ../load.st 
cd ..
chmod -R -w coral
coral/pharo-vm/pharo coral/Pharo.image





Re: [Pharo-users] Dynamic visualzation and analysis of tweets

2016-07-17 Thread Ben Coman
Looks cool. Perhaps the end of the video could show some logos & links
for:  Roassal and Pharo.
cheers -ben

On Sat, Jul 16, 2016 at 5:59 AM, Arturo Zambrano
 wrote:
> Hi All,
>  please check this>
>
> https://youtu.be/VL14jTDvRaY
>
> this is Agustin Meriles's work for his master thesis.  We want to share this
> with the community and a big *thank you* for your support... specially the
> Roassal team.
>
> Now the hard time of writing the text comes for Agustin :)
>
> Cheers,
>
> Arturo
>



Re: [Pharo-users] Best way to distribut a pharo application to end users ...

2016-07-17 Thread stepharo

Hello Patrick,

A quick answer before going to the sea :)

Have a look at the PharoLauncher. It shows how to deploy an app on 
multiple platforms.


Basically you can ship a VM and a prepared image with your packages loaded.

Stef


Le 17/7/16 à 07:33, anonyme a écrit :

Hi,

About the best way to distribut a pharo application I understand with 
documentation about Pharo there is a Moticello packages way but the 
end user need to install Pharo at first...


I was looking for a way like standard windows application with an 
install procedure with/or building a simple 32/64 bit binary 
executable or building a java application... Could you tell me if this 
is possible ?


Thank you for your help.

Patrick