Pharo-dev
By thread
pharo-dev@lists.pharo.org
By month
Messages by month
- ----- 2026 -----
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2025 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
January 2016
- 75 participants
- 1435 messages
Re: [Pharo-dev] Pharo50 spur works on CentOS?
by Esteban Lorenzano
> On 11 Jan 2016, at 19:06, Sven Van Caekenberghe <sven(a)stfx.eu> wrote:
>
> Is it not ./pharo Pharo.image eval --no-quit 'ZnServer startDefaultOn: 8080'
>
> ?
>
> I.e. the --no-quit AFTER the eval.
yes, is like that :)
>
> http://zn.stfx.eu/zn/build-and-deploy-1st-webapp/#runningarealcloudserver
>
>> On 11 Jan 2016, at 18:46, Blondeau Vincent <vincent.blondeau(a)worldline.com> wrote:
>>
>> The .sources are in the vm folder.
>>
>> And, it is working, but without the âno-quit option and this kind of code :
>> [ZnServer startOn: 8080] fork. (Delay forSeconds: 20) wait
>>
>> The âno-quit option seems to have a bad influenceâ¦
>>
>> Can you tell me which packages you installed?
>>
>> Thanks
>>
>> Vincent
>>
>>
>> De : Pharo-dev [mailto:pharo-dev-bounces@lists.pharo.org] De la part de Mariano Martinez Peck
>> Envoyé : lundi 11 janvier 2016 18:27
>> Ã : Pharo Development List
>> Objet : Re: [Pharo-dev] Pharo50 spur works on CentOS?
>>
>> It does work for me in CentOS.
>> Are you sure .sources file is in the correct place?
>>
>> On Mon, Jan 11, 2016 at 1:55 PM, Blondeau Vincent <vincent.blondeau(a)worldline.com> wrote:
>> Thanks for your answer.
>>
>> However, it seems that the server does not start with:
>> ./pharo -vm-display-null -vm-sound-null Pharo.image --no-quit eval "ZnServer startOn: 8080."
>> Nothing in the terminal and no open port in "netstat -an"
>>
>> While, this command is writing something in the terminal:
>> ./pharo -vm-display-null -vm-sound-null Pharo.image eval "ZnServer startOn: 8080."
>> a ZnManagingMultiThreadedServer(running 8080)
>>
>> Vincent
>>
>>> -----Message d'origine-----
>>> De : Pharo-dev [mailto:pharo-dev-bounces@lists.pharo.org] De la part de
>>> Sven Van Caekenberghe
>>> Envoyé : lundi 11 janvier 2016 17:03
>>> Ã : Pharo Development List
>>> Objet : Re: [Pharo-dev] Pharo50 spur works on CentOS?
>>>
>>>
>>>> On 11 Jan 2016, at 16:51, Blondeau Vincent
>>> <vincent.blondeau(a)worldline.com> wrote:
>>>>
>>>> Hello,
>>>>
>>>> I just wanted to run a latest Pharo image on a CentOS server to run a Zinc
>>> server.
>>>> So I did:
>>>> curl get.pharo.org/50+vm | bash
>>>>
>>>> ./pharo Pharo.image eval â1+1â evals to 2
>>>>
>>>> But,
>>>> ./pharo Pharo.image --no-quit eval "ZnServer startOn: 8080."
>>>> returns:
>>>> ioLoadModule(/root/Pharo/pharo-vm/libFT2Plugin.so):
>>>> libfreetype.so.6: cannot open shared object file: No such file or directory
>>>>
>>>> So the server is not launchedâ¦
>>>>
>>>> What are the libs that should be installed on the machine? Should I take
>>> another VM?
>>>>
>>>> BTW, why a headless image needs a freetype lib?
>>>
>>> Yeah, that should not be the case:
>>>
>>> http://forum.world.st/Confused-about-libFT2Plugin-tt4842354.html
>>>
>>>> Thanks in advance,
>>>>
>>>> Cheers,
>>>> Vincent Blondeau
>>>>
>>>>
>>
>>
>>
>> Ce message et les pièces jointes sont confidentiels et réservés à l'usage exclusif de ses destinataires. Il peut également être protégé par le secret professionnel. Si vous recevez ce message par erreur, merci d'en avertir immédiatement l'expéditeur et de le détruire. L'intégrité du message ne pouvant être assurée sur Internet, la responsabilité de Worldline ne pourra être recherchée quant au contenu de ce message. Bien que les meilleurs efforts soient faits pour maintenir cette transmission exempte de tout virus, l'expéditeur ne donne aucune garantie à cet égard et sa responsabilité ne saurait être recherchée pour tout dommage résultant d'un virus transmis.
>>
>> This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the Internet, the Worldline liability cannot be triggered for the message content. Although the sender endeavours to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted.
>>
>>
>>
>> --
>> Mariano
>> http://marianopeck.wordpress.com
>>
>>
>> Ce message et les pièces jointes sont confidentiels et réservés à l'usage exclusif de ses destinataires. Il peut également être protégé par le secret professionnel. Si vous recevez ce message par erreur, merci d'en avertir immédiatement l'expéditeur et de le détruire. L'intégrité du message ne pouvant être assurée sur Internet, la responsabilité de Worldline ne pourra être recherchée quant au contenu de ce message. Bien que les meilleurs efforts soient faits pour maintenir cette transmission exempte de tout virus, l'expéditeur ne donne aucune garantie à cet égard et sa responsabilité ne saurait être recherchée pour tout dommage résultant d'un virus transmis.
>>
>> This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the Internet, the Worldline liability cannot be triggered for the message content. Although the sender endeavours to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted.
>
>
Jan. 11, 2016
Re: [Pharo-dev] Right to Left languages and fonts
by Dimitris Chloupis
Moprhic is the official GUI API of Pharo , many morphic elements come with
a font: message that allow you to use custom fonts, I use robotic looking
fonts for my ChronosManager, with custom size that is not affected by pharo
settings. So yes Morphic is very flexible.
On Mon, Jan 11, 2016 at 7:59 PM Sven Van Caekenberghe <sven(a)stfx.eu> wrote:
>
> > On 11 Jan 2016, at 17:18, Jimmie Houchin <jlhouchin(a)gmail.com> wrote:
> >
> > Okay. Thanks for the help.
> >
> > I do not have that particular font. I am on Ubuntu. But it appears that
> the standard Arial does have a version of Hebrew glyphs.
> >
> > It took me a couple of tries to get it to work. I had to close the
> Playground I had open as it remained in the original font. But when I
> inspected the string. The inspector displayed the correct fonts. After I
> changed fonts and opened a new Playground. The new Playground displayed
> Hebrew and Greek correctly. I would presume when I develop the user
> interface I can select whichever Hebrew or Greek font I want to display in
> that UI element?
>
> Any font that contains the necessary glyphs and that is usable in Pharo
> will do.
>
> > It does render them in reverse order. But I would think that I can take
> care of that in my GUI display element. It is challenging to display RTL
> and LTR languages together.
>
> Well I didn't notice the reversal. I just copied some text from Wikipedia.
> It seems that what is actually the first character in a string should be
> displayed last. We have no provision for that it seems. Maybe just
> reversing the string will do, I don't know.
>
> I don't know Hebrew at all, but there seems to be something strange with
> the marks between the main letters too (in the font that I used).
>
> > When I do so in LibreOffice it is a strange experience as to which
> direction the cursor is operating. :)
>
> Editing (which includes cursor movement) is truly challenging, as is
> layout.
>
> > Again thanks.
> >
> > I am encouraged to proceed. :)
>
> Please do.
>
> > Jimmie Houchin
> >
> >
> > On 01/11/2016 09:32 AM, Sven Van Caekenberghe wrote:
> >> Jimmy,
> >>
> >> Use the right font, for example Ariel Unicode MS, and you'll be able to
> display strings in those languages just fine. Processing these strings also
> works just fine.
> >>
> >> [snip image of screenshot with settings browser]
> >>
> >> Now, editing them right-to-left is not possible.
> >>
> >> Sven
> >>
> >>> On 11 Jan 2016, at 15:50, Jimmie Houchin <jlhouchin(a)gmail.com> wrote:
> >>>
> >>> Hello,
> >>>
> >>> I briefly tried to copy/paste, read from file, some Hebrew text. I
> simply get some strange characters.
> >>>
> >>> From a brief search of the archives. I did not find any means of doing
> a right to left language. I also am not sure how to use a Hebrew font. Font
> issues would also apply for when I want to use Greek.
> >>>
> >>> What would be needed to do right to left and use the right Hebrew font?
> >>>
> >>> I believe these issues would also apply to anyone wanting Arabic or
> any other such languages.
> >>>
> >>> The last message I can easily find is in August of 2014. Maybe Pharo
> isn't the right tool for this job at the moment. But I did want to explore
> the potential of it being so.
> >>>
> >>> Thanks for any help.
> >>>
> >>> Jimmie
> >>>
> >>
> >
>
>
>
Jan. 11, 2016
Re: [Pharo-dev] Pharo50 spur works on CentOS?
by Sven Van Caekenberghe
Is it not ./pharo Pharo.image eval --no-quit 'ZnServer startDefaultOn: 8080'
?
I.e. the --no-quit AFTER the eval.
http://zn.stfx.eu/zn/build-and-deploy-1st-webapp/#runningarealcloudserver
> On 11 Jan 2016, at 18:46, Blondeau Vincent <vincent.blondeau(a)worldline.com> wrote:
>
> The .sources are in the vm folder.
>
> And, it is working, but without the âno-quit option and this kind of code :
> [ZnServer startOn: 8080] fork. (Delay forSeconds: 20) wait
>
> The âno-quit option seems to have a bad influenceâ¦
>
> Can you tell me which packages you installed?
>
> Thanks
>
> Vincent
>
>
> De : Pharo-dev [mailto:pharo-dev-bounces@lists.pharo.org] De la part de Mariano Martinez Peck
> Envoyé : lundi 11 janvier 2016 18:27
> Ã : Pharo Development List
> Objet : Re: [Pharo-dev] Pharo50 spur works on CentOS?
>
> It does work for me in CentOS.
> Are you sure .sources file is in the correct place?
>
> On Mon, Jan 11, 2016 at 1:55 PM, Blondeau Vincent <vincent.blondeau(a)worldline.com> wrote:
> Thanks for your answer.
>
> However, it seems that the server does not start with:
> ./pharo -vm-display-null -vm-sound-null Pharo.image --no-quit eval "ZnServer startOn: 8080."
> Nothing in the terminal and no open port in "netstat -an"
>
> While, this command is writing something in the terminal:
> ./pharo -vm-display-null -vm-sound-null Pharo.image eval "ZnServer startOn: 8080."
> a ZnManagingMultiThreadedServer(running 8080)
>
> Vincent
>
> > -----Message d'origine-----
> > De : Pharo-dev [mailto:pharo-dev-bounces@lists.pharo.org] De la part de
> > Sven Van Caekenberghe
> > Envoyé : lundi 11 janvier 2016 17:03
> > Ã : Pharo Development List
> > Objet : Re: [Pharo-dev] Pharo50 spur works on CentOS?
> >
> >
> > > On 11 Jan 2016, at 16:51, Blondeau Vincent
> > <vincent.blondeau(a)worldline.com> wrote:
> > >
> > > Hello,
> > >
> > > I just wanted to run a latest Pharo image on a CentOS server to run a Zinc
> > server.
> > > So I did:
> > > curl get.pharo.org/50+vm | bash
> > >
> > > ./pharo Pharo.image eval â1+1â evals to 2
> > >
> > > But,
> > > ./pharo Pharo.image --no-quit eval "ZnServer startOn: 8080."
> > > returns:
> > > ioLoadModule(/root/Pharo/pharo-vm/libFT2Plugin.so):
> > > libfreetype.so.6: cannot open shared object file: No such file or directory
> > >
> > > So the server is not launchedâ¦
> > >
> > > What are the libs that should be installed on the machine? Should I take
> > another VM?
> > >
> > > BTW, why a headless image needs a freetype lib?
> >
> > Yeah, that should not be the case:
> >
> > http://forum.world.st/Confused-about-libFT2Plugin-tt4842354.html
> >
> > > Thanks in advance,
> > >
> > > Cheers,
> > > Vincent Blondeau
> > >
> > >
>
>
>
> Ce message et les pièces jointes sont confidentiels et réservés à l'usage exclusif de ses destinataires. Il peut également être protégé par le secret professionnel. Si vous recevez ce message par erreur, merci d'en avertir immédiatement l'expéditeur et de le détruire. L'intégrité du message ne pouvant être assurée sur Internet, la responsabilité de Worldline ne pourra être recherchée quant au contenu de ce message. Bien que les meilleurs efforts soient faits pour maintenir cette transmission exempte de tout virus, l'expéditeur ne donne aucune garantie à cet égard et sa responsabilité ne saurait être recherchée pour tout dommage résultant d'un virus transmis.
>
> This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the Internet, the Worldline liability cannot be triggered for the message content. Although the sender endeavours to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted.
>
>
>
> --
> Mariano
> http://marianopeck.wordpress.com
>
>
> Ce message et les pièces jointes sont confidentiels et réservés à l'usage exclusif de ses destinataires. Il peut également être protégé par le secret professionnel. Si vous recevez ce message par erreur, merci d'en avertir immédiatement l'expéditeur et de le détruire. L'intégrité du message ne pouvant être assurée sur Internet, la responsabilité de Worldline ne pourra être recherchée quant au contenu de ce message. Bien que les meilleurs efforts soient faits pour maintenir cette transmission exempte de tout virus, l'expéditeur ne donne aucune garantie à cet égard et sa responsabilité ne saurait être recherchée pour tout dommage résultant d'un virus transmis.
>
> This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the Internet, the Worldline liability cannot be triggered for the message content. Although the sender endeavours to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted.
Jan. 11, 2016
Re: [Pharo-dev] Right to Left languages and fonts
by Sven Van Caekenberghe
> On 11 Jan 2016, at 17:18, Jimmie Houchin <jlhouchin(a)gmail.com> wrote:
>
> Okay. Thanks for the help.
>
> I do not have that particular font. I am on Ubuntu. But it appears that the standard Arial does have a version of Hebrew glyphs.
>
> It took me a couple of tries to get it to work. I had to close the Playground I had open as it remained in the original font. But when I inspected the string. The inspector displayed the correct fonts. After I changed fonts and opened a new Playground. The new Playground displayed Hebrew and Greek correctly. I would presume when I develop the user interface I can select whichever Hebrew or Greek font I want to display in that UI element?
Any font that contains the necessary glyphs and that is usable in Pharo will do.
> It does render them in reverse order. But I would think that I can take care of that in my GUI display element. It is challenging to display RTL and LTR languages together.
Well I didn't notice the reversal. I just copied some text from Wikipedia. It seems that what is actually the first character in a string should be displayed last. We have no provision for that it seems. Maybe just reversing the string will do, I don't know.
I don't know Hebrew at all, but there seems to be something strange with the marks between the main letters too (in the font that I used).
> When I do so in LibreOffice it is a strange experience as to which direction the cursor is operating. :)
Editing (which includes cursor movement) is truly challenging, as is layout.
> Again thanks.
>
> I am encouraged to proceed. :)
Please do.
> Jimmie Houchin
>
>
> On 01/11/2016 09:32 AM, Sven Van Caekenberghe wrote:
>> Jimmy,
>>
>> Use the right font, for example Ariel Unicode MS, and you'll be able to display strings in those languages just fine. Processing these strings also works just fine.
>>
>> [snip image of screenshot with settings browser]
>>
>> Now, editing them right-to-left is not possible.
>>
>> Sven
>>
>>> On 11 Jan 2016, at 15:50, Jimmie Houchin <jlhouchin(a)gmail.com> wrote:
>>>
>>> Hello,
>>>
>>> I briefly tried to copy/paste, read from file, some Hebrew text. I simply get some strange characters.
>>>
>>> From a brief search of the archives. I did not find any means of doing a right to left language. I also am not sure how to use a Hebrew font. Font issues would also apply for when I want to use Greek.
>>>
>>> What would be needed to do right to left and use the right Hebrew font?
>>>
>>> I believe these issues would also apply to anyone wanting Arabic or any other such languages.
>>>
>>> The last message I can easily find is in August of 2014. Maybe Pharo isn't the right tool for this job at the moment. But I did want to explore the potential of it being so.
>>>
>>> Thanks for any help.
>>>
>>> Jimmie
>>>
>>
>
Jan. 11, 2016
Re: [Pharo-dev] Pharo50 spur works on CentOS?
by Blondeau Vincent
The .sources are in the vm folder.
And, it is working, but without the âno-quit option and this kind of code :
[ZnServer startOn: 8080] fork. (Delay forSeconds: 20) wait
The âno-quit option seems to have a bad influenceâ¦
Can you tell me which packages you installed?
Thanks
Vincent
De : Pharo-dev [mailto:pharo-dev-bounces@lists.pharo.org] De la part de Mariano Martinez Peck
Envoyé : lundi 11 janvier 2016 18:27
à : Pharo Development List
Objet : Re: [Pharo-dev] Pharo50 spur works on CentOS?
It does work for me in CentOS.
Are you sure .sources file is in the correct place?
On Mon, Jan 11, 2016 at 1:55 PM, Blondeau Vincent <vincent.blondeau(a)worldline.com<mailto:vincent.blondeau@worldline.com>> wrote:
Thanks for your answer.
However, it seems that the server does not start with:
./pharo -vm-display-null -vm-sound-null Pharo.image --no-quit eval "ZnServer startOn: 8080."
Nothing in the terminal and no open port in "netstat -an"
While, this command is writing something in the terminal:
./pharo -vm-display-null -vm-sound-null Pharo.image eval "ZnServer startOn: 8080."
a ZnManagingMultiThreadedServer(running 8080)
Vincent
> -----Message d'origine-----
> De : Pharo-dev [mailto:pharo-dev-bounces@lists.pharo.org<mailto:pharo-dev-bounces@lists.pharo.org>] De la part de
> Sven Van Caekenberghe
> Envoyé : lundi 11 janvier 2016 17:03
> Ã : Pharo Development List
> Objet : Re: [Pharo-dev] Pharo50 spur works on CentOS?
>
>
> > On 11 Jan 2016, at 16:51, Blondeau Vincent
> <vincent.blondeau(a)worldline.com<mailto:vincent.blondeau@worldline.com>> wrote:
> >
> > Hello,
> >
> > I just wanted to run a latest Pharo image on a CentOS server to run a Zinc
> server.
> > So I did:
> > curl get.pharo.org/50+vm<http://get.pharo.org/50+vm> | bash
> >
> > ./pharo Pharo.image eval â1+1â evals to 2
> >
> > But,
> > ./pharo Pharo.image --no-quit eval "ZnServer startOn: 8080."
> > returns:
> > ioLoadModule(/root/Pharo/pharo-vm/libFT2Plugin.so):
> > libfreetype.so.6: cannot open shared object file: No such file or directory
> >
> > So the server is not launchedâ¦
> >
> > What are the libs that should be installed on the machine? Should I take
> another VM?
> >
> > BTW, why a headless image needs a freetype lib?
>
> Yeah, that should not be the case:
>
> http://forum.world.st/Confused-about-libFT2Plugin-tt4842354.html
>
> > Thanks in advance,
> >
> > Cheers,
> > Vincent Blondeau
> >
> >
Ce message et les pièces jointes sont confidentiels et réservés à l'usage exclusif de ses destinataires. Il peut également être protégé par le secret professionnel. Si vous recevez ce message par erreur, merci d'en avertir immédiatement l'expéditeur et de le détruire. L'intégrité du message ne pouvant être assurée sur Internet, la responsabilité de Worldline ne pourra être recherchée quant au contenu de ce message. Bien que les meilleurs efforts soient faits pour maintenir cette transmission exempte de tout virus, l'expéditeur ne donne aucune garantie à cet égard et sa responsabilité ne saurait être recherchée pour tout dommage résultant d'un virus transmis.
This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the Internet, the Worldline liability cannot be triggered for the message content. Although the sender endeavours to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted.
--
Mariano
http://marianopeck.wordpress.com
________________________________
Ce message et les pièces jointes sont confidentiels et réservés à l'usage exclusif de ses destinataires. Il peut également être protégé par le secret professionnel. Si vous recevez ce message par erreur, merci d'en avertir immédiatement l'expéditeur et de le détruire. L'intégrité du message ne pouvant être assurée sur Internet, la responsabilité de Worldline ne pourra être recherchée quant au contenu de ce message. Bien que les meilleurs efforts soient faits pour maintenir cette transmission exempte de tout virus, l'expéditeur ne donne aucune garantie à cet égard et sa responsabilité ne saurait être recherchée pour tout dommage résultant d'un virus transmis.
This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the Internet, the Worldline liability cannot be triggered for the message content. Although the sender endeavours to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted.
Jan. 11, 2016
Re: [Pharo-dev] Pharo50 spur works on CentOS?
by Mariano Martinez Peck
It does work for me in CentOS.
Are you sure .sources file is in the correct place?
On Mon, Jan 11, 2016 at 1:55 PM, Blondeau Vincent <
vincent.blondeau(a)worldline.com> wrote:
> Thanks for your answer.
>
> However, it seems that the server does not start with:
> ./pharo -vm-display-null -vm-sound-null Pharo.image --no-quit eval
> "ZnServer startOn: 8080."
> Nothing in the terminal and no open port in "netstat -an"
>
> While, this command is writing something in the terminal:
> ./pharo -vm-display-null -vm-sound-null Pharo.image eval "ZnServer
> startOn: 8080."
> a ZnManagingMultiThreadedServer(running 8080)
>
> Vincent
>
> > -----Message d'origine-----
> > De : Pharo-dev [mailto:pharo-dev-bounces@lists.pharo.org] De la part de
> > Sven Van Caekenberghe
> > Envoyé : lundi 11 janvier 2016 17:03
> > Ã : Pharo Development List
> > Objet : Re: [Pharo-dev] Pharo50 spur works on CentOS?
> >
> >
> > > On 11 Jan 2016, at 16:51, Blondeau Vincent
> > <vincent.blondeau(a)worldline.com> wrote:
> > >
> > > Hello,
> > >
> > > I just wanted to run a latest Pharo image on a CentOS server to run a
> Zinc
> > server.
> > > So I did:
> > > curl get.pharo.org/50+vm | bash
> > >
> > > ./pharo Pharo.image eval â1+1â evals to 2
> > >
> > > But,
> > > ./pharo Pharo.image --no-quit eval "ZnServer startOn: 8080."
> > > returns:
> > > ioLoadModule(/root/Pharo/pharo-vm/libFT2Plugin.so):
> > > libfreetype.so.6: cannot open shared object file: No such file or
> directory
> > >
> > > So the server is not launchedâ¦
> > >
> > > What are the libs that should be installed on the machine? Should I
> take
> > another VM?
> > >
> > > BTW, why a headless image needs a freetype lib?
> >
> > Yeah, that should not be the case:
> >
> > http://forum.world.st/Confused-about-libFT2Plugin-tt4842354.html
> >
> > > Thanks in advance,
> > >
> > > Cheers,
> > > Vincent Blondeau
> > >
> > >
>
>
>
> Ce message et les pièces jointes sont confidentiels et réservés à l'usage
> exclusif de ses destinataires. Il peut également être protégé par le secret
> professionnel. Si vous recevez ce message par erreur, merci d'en avertir
> immédiatement l'expéditeur et de le détruire. L'intégrité du message ne
> pouvant être assurée sur Internet, la responsabilité de Worldline ne pourra
> être recherchée quant au contenu de ce message. Bien que les meilleurs
> efforts soient faits pour maintenir cette transmission exempte de tout
> virus, l'expéditeur ne donne aucune garantie à cet égard et sa
> responsabilité ne saurait être recherchée pour tout dommage résultant d'un
> virus transmis.
>
> This e-mail and the documents attached are confidential and intended
> solely for the addressee; it may also be privileged. If you receive this
> e-mail in error, please notify the sender immediately and destroy it. As
> its integrity cannot be secured on the Internet, the Worldline liability
> cannot be triggered for the message content. Although the sender endeavours
> to maintain a computer virus-free network, the sender does not warrant that
> this transmission is virus-free and will not be liable for any damages
> resulting from any virus transmitted.
>
--
Mariano
http://marianopeck.wordpress.com
Jan. 11, 2016
Re: [Pharo-dev] ifError: implementation is bad
by Ben Coman
On Mon, Jan 11, 2016 at 11:52 PM, Guillermo Polito
<guillermopolito(a)gmail.com> wrote:
>
> On 11 ene 2016, at 2:19 p.m., Denis Kudriashov <dionisiydk(a)gmail.com> wrote:
>
>
> 2016-01-10 21:29 GMT+01:00 stepharo <stepharo(a)free.fr>:
>>>
>>> Especially it is commonly used scenario by senders of
>>> #critical:ifError:. But it is different question.
>>> I propose change ifError: to cull error instance.
>>>
>>> What you think? Can be put it in Pharo 5? Such change can touch some
>>> packages
>>
>> So did you fix it?
>
>
> Not yet. I will do this when other my changes on Kernel will be integrated.
> It gives me thoughts that Kernel should be splitter on small packages
>
> +1111^1111111
>
> We should make a list. Some that should be easy:
>
> - Delay should be splitted
I'll do Delay. I'm in the middle of cleaning it bit atm.
https://pharo.fogbugz.com/default.asp?17375
cheers -ben
> - Chronology should be splitted
>
> One more complicated:
>
> - InstructionClient and InstructionStream should be splitted
>
> And then, we should also review the API of basic objects
>
> Object methods size => 385
> Integer methods size => 182
> ...
Jan. 11, 2016
Re: [Pharo-dev] [Ann] ReadWriteLock
by Ben Coman
On Mon, Jan 11, 2016 at 11:37 PM, Denis Kudriashov <dionisiydk(a)gmail.com> wrote:
> I publish version based on new LockOwnership class. It requires slice 17373.
> Now all test are green
Thanks. I look forward to taking a look, but its too late to start
tonight. I'll check tomorrow.
cheers -ben
>
> 2016-01-10 4:55 GMT+01:00 Ben Coman <btc(a)openinworld.com>:
>>
>> On Fri, Jan 8, 2016 at 9:40 PM, Henrik Johansen
>> <henrik.s.johansen(a)veloxit.no> wrote:
>> > Here's an alternative implementation, which, instead of checking for the
>> > new
>> > method name, hooks into the existing unwind machinery to execute the
>> > waitIfCurtailed: argument.
>> > Which removes the special case from Process >> #terminate, but at the
>> > added
>> > cost that in-progress unwinds are executed as if the (suspended)
>> > terminating
>> > thread they started executing on, is still the active process. (Which,
>> > arguably, should be done anyways)
>>
>> It feels a bit fragile playing peeking into "Processor activeProcess
>> suspendingList". Also it doesn't work :) It is not sufficient to
>> test with only two processes. You need three, since it is the third
>> process that wakes up incorrectly.
>>
>> lock := Semaphore forMutualExclusion.
>> waitInFirstCritical := Semaphore new.
>> Transcript clear; show: 'excessSignals=' ,
>> (lock instVarNamed: 'excessSignals') printString.
>> testBlock := [ :n |
>> Transcript crShow: n printString , ' start'.
>> lock critical2: [
>> (n=1) ifTrue: [ waitInFirstCritical wait ].
>> Transcript crShow: n printString, ' done'.
>> ]].
>> proc1 := (testBlock newProcessWith: {1}) priority: 50.
>> proc2 := (testBlock newProcessWith: {2}) priority: 50.
>> proc3 := (testBlock newProcessWith: {3}) priority: 50.
>> proc1 resume.
>> proc2 resume.
>> proc3 resume.
>> "proc2 terminate."
>> waitInFirstCritical signal.
>> Transcript cr; show: 'excessSignals=' ,
>> (lock instVarNamed: 'excessSignals') printString.
>>
>>
>> "proc2 terminate" commented produces the expected result...
>> excessSignals=1
>> 1 start
>> 2 start
>> 3 start
>> 1 done
>> 2 done
>> 3 done
>> excessSignals=1
>>
>> "proc2 terminate" uncommented produces incorrect ordering...
>> excessSignals=1
>> 1 start
>> 2 start
>> 3 start
>> 3 done "<--should occur after 1"
>> 1 done
>> excessSignals=2 "<--should be 1"
>>
>>
>> Now using "lock := CriticalSection new" provided by Eliot (and
>> removing instVarNamed: 'excessSignals' access from the test script)
>> produces correct result...
>> 1 start
>> 2 start
>> 3 start
>> 1 done
>> 3 done
>>
>> cheers -ben
>>
>
Jan. 11, 2016
Re: [Pharo-dev] Pharo50 spur works on CentOS?
by Blondeau Vincent
Thanks for your answer.
However, it seems that the server does not start with:
./pharo -vm-display-null -vm-sound-null Pharo.image --no-quit eval "ZnServer startOn: 8080."
Nothing in the terminal and no open port in "netstat -an"
While, this command is writing something in the terminal:
./pharo -vm-display-null -vm-sound-null Pharo.image eval "ZnServer startOn: 8080."
a ZnManagingMultiThreadedServer(running 8080)
Vincent
> -----Message d'origine-----
> De : Pharo-dev [mailto:pharo-dev-bounces@lists.pharo.org] De la part de
> Sven Van Caekenberghe
> Envoyé : lundi 11 janvier 2016 17:03
> Ã : Pharo Development List
> Objet : Re: [Pharo-dev] Pharo50 spur works on CentOS?
>
>
> > On 11 Jan 2016, at 16:51, Blondeau Vincent
> <vincent.blondeau(a)worldline.com> wrote:
> >
> > Hello,
> >
> > I just wanted to run a latest Pharo image on a CentOS server to run a Zinc
> server.
> > So I did:
> > curl get.pharo.org/50+vm | bash
> >
> > ./pharo Pharo.image eval â1+1â evals to 2
> >
> > But,
> > ./pharo Pharo.image --no-quit eval "ZnServer startOn: 8080."
> > returns:
> > ioLoadModule(/root/Pharo/pharo-vm/libFT2Plugin.so):
> > libfreetype.so.6: cannot open shared object file: No such file or directory
> >
> > So the server is not launchedâ¦
> >
> > What are the libs that should be installed on the machine? Should I take
> another VM?
> >
> > BTW, why a headless image needs a freetype lib?
>
> Yeah, that should not be the case:
>
> http://forum.world.st/Confused-about-libFT2Plugin-tt4842354.html
>
> > Thanks in advance,
> >
> > Cheers,
> > Vincent Blondeau
> >
> >
Ce message et les pièces jointes sont confidentiels et réservés à l'usage exclusif de ses destinataires. Il peut également être protégé par le secret professionnel. Si vous recevez ce message par erreur, merci d'en avertir immédiatement l'expéditeur et de le détruire. L'intégrité du message ne pouvant être assurée sur Internet, la responsabilité de Worldline ne pourra être recherchée quant au contenu de ce message. Bien que les meilleurs efforts soient faits pour maintenir cette transmission exempte de tout virus, l'expéditeur ne donne aucune garantie à cet égard et sa responsabilité ne saurait être recherchée pour tout dommage résultant d'un virus transmis.
This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the Internet, the Worldline liability cannot be triggered for the message content. Although the sender endeavours to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted.
Jan. 11, 2016
Re: [Pharo-dev] Right to Left languages and fonts
by Jimmie Houchin
Okay. Thanks for the help.
I do not have that particular font. I am on Ubuntu. But it appears that
the standard Arial does have a version of Hebrew glyphs.
It took me a couple of tries to get it to work. I had to close the
Playground I had open as it remained in the original font. But when I
inspected the string. The inspector displayed the correct fonts. After I
changed fonts and opened a new Playground. The new Playground displayed
Hebrew and Greek correctly. I would presume when I develop the user
interface I can select whichever Hebrew or Greek font I want to display
in that UI element?
It does render them in reverse order. But I would think that I can take
care of that in my GUI display element. It is challenging to display RTL
and LTR languages together. When I do so in LibreOffice it is a strange
experience as to which direction the cursor is operating. :)
Again thanks.
I am encouraged to proceed. :)
Jimmie Houchin
On 01/11/2016 09:32 AM, Sven Van Caekenberghe wrote:
> Jimmy,
>
> Use the right font, for example Ariel Unicode MS, and you'll be able
> to display strings in those languages just fine. Processing these
> strings also works just fine.
>
> [snip image of screenshot with settings browser]
>
> Now, editing them right-to-left is not possible.
>
> Sven
>
>> On 11 Jan 2016, at 15:50, Jimmie Houchin <jlhouchin(a)gmail.com
>> <mailto:jlhouchin@gmail.com>> wrote:
>>
>> Hello,
>>
>> I briefly tried to copy/paste, read from file, some Hebrew text. I
>> simply get some strange characters.
>>
>> From a brief search of the archives. I did not find any means of
>> doing a right to left language. I also am not sure how to use a
>> Hebrew font. Font issues would also apply for when I want to use Greek.
>>
>> What would be needed to do right to left and use the right Hebrew font?
>>
>> I believe these issues would also apply to anyone wanting Arabic or
>> any other such languages.
>>
>> The last message I can easily find is in August of 2014. Maybe Pharo
>> isn't the right tool for this job at the moment. But I did want to
>> explore the potential of it being so.
>>
>> Thanks for any help.
>>
>> Jimmie
>>
>
Jan. 11, 2016