Re: [Pharo-users] [ANN] Pharo wiki , is here

2017-08-25 Thread Offray Vladimir Luna Cárdenas
So, we're going to have Markdown for the wiki and probably for
documentation (via GitBooks)..., which is not surprising considering the
vast amount of support such documentation format has and the extensions
for a complete documentation toolchain and features. As I said, I think
that is an important syntax and we should put Scholarly/Pandoc Markdown
in the radar for documentation support in Pharo. Is what I'm doing with
Grafoscopio and now that Pillar support is again taking momentum, the
infrastructure there (parsers, highlighters, editors) could be extended
to support Pandoc's Markdown.

I'll keep you posted.

Cheers,

Offray


On 24/08/17 17:59, Dimitris Chloupis wrote:
>
>
> On Thu, Aug 24, 2017 at 11:32 PM Stephane Ducasse
> > wrote:
>
> You have Netstyle/Workflow too.
>
>
> done
>
> "Why are you using markup documents to create the wiki when you could
> use Github wiki itself?
>
> For portability?"
>
> good question. Yes for flexibility , another reason however is that
> Github wiki is a separate repo and I did not want that because in the
> very back of my head I am considering the option of creating software
> to allow access to wiki from inside Pharo and I wanted to be all
> (content and code) in the same repo. Its a very low priority for now. 
>
> Also Github wiki is basically the same as I am doing with some extra
> format (table of contents) , in my case I dont care because Github
> allows me to define HTML templates that will format the wiki webpage
> and make it look a a lot more polished that pharo wiki looks like.
> Generally there are some cool stuff you can do with Markdown and
> Github , plus the fact that markdown can embed HTML etc. 
>
> There is also the option of Gitbook which has some nice features for
> generating polished and well structured documentation. 
>
> So I like to keep my options open. For now I am focusing 100% on content. 



Re: [Pharo-users] Morphic renderer for Pillar?

2017-08-25 Thread Cyril Ferlicot D.
Le 25/08/2017 à 11:04, H. Hirzel a écrit :
> Hello Stephane
> 
> On 8/24/17, Stephane Ducasse  wrote:
> [...]
>>
>> This is good that there is Section 7 this in the doc. [1] We started to
>> build a simple Morphic renderer for Pillar.
>> We should continue. If someone wants to have fun. This would be nice
>> to have see it coming to live.
> 
> I am interested in this. Where is the code?
> 
> BTW if other people want to do a Pillar renderer for Bloc I have no
> problem with that.
> :-;
> [...]
> 
> Regards
> --Hannes
> 
> 
> [1] 
> https://ci.inria.fr/pharo-contribution/job/EnterprisePharoBook/lastSuccessfulBuild/artifact/book-result/PillarChap/Pillar.html
> 

Hi,

Back in 2015 there was Kasper Østerbye who did a Pillar-TextRenderer

There is a screen slide 21:
http://esug.org/data/ESUG2015/4%20thursday/1600-1630%20Pilar/Pillar.pdf

Here is the thread:
http://forum.world.st/Class-comments-rendered-in-Nautilus-through-Pillar-td4819726.html

-- 
Cyril Ferlicot
https://ferlicot.fr

http://www.synectique.eu
2 rue Jacques Prévert 01,
59650 Villeneuve d'ascq France



signature.asc
Description: OpenPGP digital signature


Re: [Pharo-users] Morphic renderer for Pillar?

2017-08-25 Thread Tudor Girba
Hi,

Just for information: Pillar already ships with a live editor with syntax 
highlighting that I built a couple of years ago.

And there are two inspector presentations available:
- If you inspect a class, you will get a Pillar comment presentation with 
syntax highlighting
- If you inspect a .pillar file, you will get a Pillar editor with syntax 
highlighting

Cheers,
Doru


> On Aug 26, 2017, at 12:15 AM, Cyril Ferlicot D.  
> wrote:
> 
> Le 25/08/2017 à 11:04, H. Hirzel a écrit :
>> Hello Stephane
>> 
>> On 8/24/17, Stephane Ducasse  wrote:
>> [...]
>>> 
>>> This is good that there is Section 7 this in the doc. [1] We started to
>>> build a simple Morphic renderer for Pillar.
>>> We should continue. If someone wants to have fun. This would be nice
>>> to have see it coming to live.
>> 
>> I am interested in this. Where is the code?
>> 
>> BTW if other people want to do a Pillar renderer for Bloc I have no
>> problem with that.
>> :-;
>> [...]
>> 
>> Regards
>> --Hannes
>> 
>> 
>> [1] 
>> https://ci.inria.fr/pharo-contribution/job/EnterprisePharoBook/lastSuccessfulBuild/artifact/book-result/PillarChap/Pillar.html
>> 
> 
> Hi,
> 
> Back in 2015 there was Kasper Østerbye who did a Pillar-TextRenderer
> 
> There is a screen slide 21:
> http://esug.org/data/ESUG2015/4%20thursday/1600-1630%20Pilar/Pillar.pdf
> 
> Here is the thread:
> http://forum.world.st/Class-comments-rendered-in-Nautilus-through-Pillar-td4819726.html
> 
> -- 
> Cyril Ferlicot
> https://ferlicot.fr
> 
> http://www.synectique.eu
> 2 rue Jacques Prévert 01,
> 59650 Villeneuve d'ascq France
> 

--
www.tudorgirba.com
www.feenk.com

"Not knowing how to do something is not an argument for how it cannot be done."




Re: [Pharo-users] SmartTest - ESUG 2017 - Trailer

2017-08-25 Thread Offray Vladimir Luna Cárdenas
+1


On 24/08/17 11:49, Dimitris Chloupis wrote:
> lol by far the most funny pharo teaser I have watched and the tool
> looks extra useful , well done :) 
>
> On Thu, Aug 24, 2017 at 6:33 PM Benoit Verhaeghe
> > wrote:
>
> Hi everyone,
>
> I'm glad to present you the trailer of SmartTest for ESUG
> https://www.youtube.com/watch?v=jAvfdN2z5-s
>
> Benoît Verhaeghe
>



Re: [Pharo-users] Morphic renderer for Pillar?

2017-08-25 Thread Peter Uhnák
>
> > Please note the embedded picture.
>

Only now I've realized that it is an embedded view and not just an opened
moose panel, looking forward to this!

Peter


Re: [Pharo-users] Call for Spanish/ Portuguese and more subtitles for the PharoMooc

2017-08-25 Thread Offray Vladimir Luna Cárdenas
Hi,

For video translation, I think that the best tool out there is Amara. I
have added a Pharo MOOC video myself at [1] and we made the translation
of the Grafoscopio video[2] in really short time, without any previous
experience. I really recommend this tool for the Pharo MOOC videos.

[1]
http://amara.org/en/videos/04UWGMwnrdXz/info/rmod-pharo-mooclilleinriafrc019-videos-redo-dsl-hd_720p_4mbsm4v/
[2]
http://amara.org/en/videos/JrgitFsOApFN/info/httpssecuencia2001ogv/?tab=video

Cheers,

Offray

On 25/08/17 04:15, Stephane Ducasse wrote:
> Hi guys
>
> The Pharo is a wonderful vehicule to promote Pharo and we need your
> help to translate the subtitles to different languages.
>
> This year we will have english voices paid by Inria (thanks) but we
> cannot do everything and we need your help.
>
> https://github.com/SquareBracketAssociates/PharoMooc/tree/master/Subtitles
>
>
> Stef
>
>




Re: [Pharo-users] Morphic renderer for Pillar?

2017-08-25 Thread H. Hirzel
The package contains two approaches to render a Pillar document object
to Morphic.

1.   PRVisitor subclass: #PRMorphWriter
2.   PRDocumentWriter subclass: #PRMorphWriter2

The class comment for PRDocumentWriter says

I'm the superclass of all classes supposed to output a pier document
to a text file. I have a canvas to which the subclasses can write to
using dedicated brushes. I have a configuration which specifies some
details about how to write text (e.g., end of line convention).


Class PRRenderer has examples for both approaches

PRRenderer example"1"
PRRenderer example3   "2 -- using PRMorphWriter2"
"(example2 is not working)"

I assume to use

  PRDocumentWriter subclass: #PRMorphWriter2

is the way forward and PRMorphWriter can be removed.

--Hannes

On 8/25/17, Stephane Ducasse  wrote:
> Feel free to enhance it.
> It was fun to hack the visitor and to flesh the renderer on the fly.
>
> On Fri, Aug 25, 2017 at 3:48 PM, H. Hirzel  wrote:
>> Stephane,
>>
>> Thank you.
>> The rendering seems to be very useful as is.
>>
>> The screen shot shows what you get if you execute
>>
>> PRMorphInterface new openWithSpec.
>>
>>
>> I will read the code in detail.
>>
>> --Hannes
>
>



Re: [Pharo-users] [ANN] Pharo wiki , is here

2017-08-25 Thread H. Hirzel
On 8/25/17, Dimitris Chloupis  wrote:
> On Thu, Aug 24, 2017 at 11:32 PM Stephane Ducasse 
> wrote:
>
>> You have Netstyle/Workflow too.
>>
>
> done
>
> "Why are you using markup documents to create the wiki when you could
> use Github wiki itself?
>
> For portability?"
>
> good question. Yes for flexibility , another reason however is that Github
> wiki is a separate repo and I did not want that because in the very back of
> my head I am considering the option of creating software to allow access to
> wiki from inside Pharo and I wanted to be all (content and code) in the
> same repo. Its a very low priority for now.
>
> Also Github wiki is basically the same as I am doing with some extra format
> (table of contents) , in my case I dont care because Github allows me to
> define HTML templates that will format the wiki webpage and make it look a
> a lot more polished that pharo wiki looks like. Generally there are some
> cool stuff you can do with Markdown and Github , plus the fact that
> markdown can embed HTML etc.
+1
> There is also the option of Gitbook which has some nice features for
> generating polished and well structured documentation.
+1
> So I like to keep my options open. For now I am focusing 100% on content.
+10



[Pharo-users] Tutorial: Building and deploying your first web app with Pharo (Zinc HTTP Components)

2017-08-25 Thread H. Hirzel
Hello

There is a tutorial
Building and deploying your first web app with Pharo

at
zn.stfx.eu/zn/index.html

It is for Pharo 2 and 3.

Does it still work in  Pharo 6?

Regards
Hannes



Re: [Pharo-users] Zn classes documentation in Pharo 6? ZnClient and ZnServer tutorials?

2017-08-25 Thread H. Hirzel
On 8/25/17, Sven Van Caekenberghe  wrote:
> Hannes,
>
> Zinc HTTP Components started in 2010 and has been part of Pharo since
> version 1.3. Like Pharo it evolves (no longer on a fundamental level, but
> certainly on features and details). Over the years lots of documentation has
> been written, not all of it is still maintained.
>
> I would say the Enterprise Pharo book chapters (Web App, Client, Server) are
> the best place to start if you are new this subject.

Sven,

thank you for the confirmation that these are most relevant
documentation entry points for Zinc components to use for web
programming.

Zinc HTTP: The Client Side [1]
Zinc HTTP: The Server Side [3]

--Hannes

>
> But for the latest details/features the source code (comments) is the most
> up to date reference. Every feature that I add, every bug that I fix has a
> unit test to cover it that also serves as a living example. Class usages and
> method senders are your friend. I comment all classes and all public
> methods.
>
> Sven
>
>> On 25 Aug 2017, at 11:28, H. Hirzel  wrote:
>>
>> Hello
>>
>> Zn classes are included in Pharo 6. I did not find a link to the main
>> documentation in the help system.
>>
>> Is
>> http://zn.stfx.eu/zn/index.html
>>
>> still the main document?
>>
>> The class comment of ZnClient includes an example. I am looking for
>> have some more examples / explanations how to use
>>
>>ZnClient
>>
>> ?
>>
>> Is this the chapter in the EnterprisePharoBook [1] the main
>> documentation?
>>
>>
>> As for the ZnServer, is [2] or [3] more relevant?
>>
>> Summarized: What is the main reference to the documenation of
>>
>>ZnClient and ZnServer?
>>
>> Thank you in advance
>>
>> Hannes
>>
>> [1]
>> https://ci.inria.fr/pharo-contribution/job/EnterprisePharoBook/lastSuccessfulBuild/artifact/book-result/Zinc-HTTP-Client/Zinc-HTTP-Client.html
>>
>> [2] http://zn.stfx.eu/zn/build-and-deploy-1st-webapp/
>> [3]
>> https://ci.inria.fr/pharo-contribution/job/EnterprisePharoBook/lastSuccessfulBuild/artifact/book-result/Zinc-HTTP-Server/Zinc-HTTP-Server.html
>>
>
>
>



[Pharo-users] Zn classes documentation in Pharo 6? ZnClient and ZnServer tutorials?

2017-08-25 Thread H. Hirzel
Hello

Zn classes are included in Pharo 6. I did not find a link to the main
documentation in the help system.

Is
 http://zn.stfx.eu/zn/index.html

still the main document?

The class comment of ZnClient includes an example. I am looking for
have some more examples / explanations how to use

ZnClient

?

Is this the chapter in the EnterprisePharoBook [1] the main documentation?


As for the ZnServer, is [2] or [3] more relevant?

Summarized: What is the main reference to the documenation of

ZnClient and ZnServer?

Thank you in advance

Hannes

[1] 
https://ci.inria.fr/pharo-contribution/job/EnterprisePharoBook/lastSuccessfulBuild/artifact/book-result/Zinc-HTTP-Client/Zinc-HTTP-Client.html

[2] http://zn.stfx.eu/zn/build-and-deploy-1st-webapp/
[3] 
https://ci.inria.fr/pharo-contribution/job/EnterprisePharoBook/lastSuccessfulBuild/artifact/book-result/Zinc-HTTP-Server/Zinc-HTTP-Server.html



Re: [Pharo-users] Tutorial: Building and deploying your first web app with Pharo (Zinc HTTP Components)

2017-08-25 Thread Sven Van Caekenberghe

> On 25 Aug 2017, at 11:35, H. Hirzel  wrote:
> 
> Hello
> 
> There is a tutorial
>Building and deploying your first web app with Pharo
> 
> at
>zn.stfx.eu/zn/index.html
> 
> It is for Pharo 2 and 3.
> 
> Does it still work in  Pharo 6?

Yes, but this document is more recent: 

https://ci.inria.fr/pharo-contribution/job/EnterprisePharoBook/lastSuccessfulBuild/artifact/book-result/WebApp/WebApp.html

ZnImageExampleDelegate is even part of the standard Zn distribution.

> Regards
> Hannes
> 




[Pharo-users] Morphic renderer for Pillar?

2017-08-25 Thread H. Hirzel
Hello Stephane

On 8/24/17, Stephane Ducasse  wrote:
[...]
>
> This is good that there is Section 7 this in the doc. [1] We started to
> build a simple Morphic renderer for Pillar.
> We should continue. If someone wants to have fun. This would be nice
> to have see it coming to live.

I am interested in this. Where is the code?

BTW if other people want to do a Pillar renderer for Bloc I have no
problem with that.
:-;
[...]

Regards
--Hannes


[1] 
https://ci.inria.fr/pharo-contribution/job/EnterprisePharoBook/lastSuccessfulBuild/artifact/book-result/PillarChap/Pillar.html



[Pharo-users] Call for Spanish/ Portuguese and more subtitles for the PharoMooc

2017-08-25 Thread Stephane Ducasse
Hi guys

The Pharo is a wonderful vehicule to promote Pharo and we need your
help to translate the subtitles to different languages.

This year we will have english voices paid by Inria (thanks) but we
cannot do everything and we need your help.

https://github.com/SquareBracketAssociates/PharoMooc/tree/master/Subtitles


Stef



Re: [Pharo-users] Zn classes documentation in Pharo 6? ZnClient and ZnServer tutorials?

2017-08-25 Thread Sven Van Caekenberghe
Hannes,

Zinc HTTP Components started in 2010 and has been part of Pharo since version 
1.3. Like Pharo it evolves (no longer on a fundamental level, but certainly on 
features and details). Over the years lots of documentation has been written, 
not all of it is still maintained.

I would say the Enterprise Pharo book chapters (Web App, Client, Server) are 
the best place to start if you are new this subject.

But for the latest details/features the source code (comments) is the most up 
to date reference. Every feature that I add, every bug that I fix has a unit 
test to cover it that also serves as a living example. Class usages and method 
senders are your friend. I comment all classes and all public methods.

Sven 

> On 25 Aug 2017, at 11:28, H. Hirzel  wrote:
> 
> Hello
> 
> Zn classes are included in Pharo 6. I did not find a link to the main
> documentation in the help system.
> 
> Is
> http://zn.stfx.eu/zn/index.html
> 
> still the main document?
> 
> The class comment of ZnClient includes an example. I am looking for
> have some more examples / explanations how to use
> 
>ZnClient
> 
> ?
> 
> Is this the chapter in the EnterprisePharoBook [1] the main documentation?
> 
> 
> As for the ZnServer, is [2] or [3] more relevant?
> 
> Summarized: What is the main reference to the documenation of
> 
>ZnClient and ZnServer?
> 
> Thank you in advance
> 
> Hannes
> 
> [1] 
> https://ci.inria.fr/pharo-contribution/job/EnterprisePharoBook/lastSuccessfulBuild/artifact/book-result/Zinc-HTTP-Client/Zinc-HTTP-Client.html
> 
> [2] http://zn.stfx.eu/zn/build-and-deploy-1st-webapp/
> [3] 
> https://ci.inria.fr/pharo-contribution/job/EnterprisePharoBook/lastSuccessfulBuild/artifact/book-result/Zinc-HTTP-Server/Zinc-HTTP-Server.html
> 




Re: [Pharo-users] SmartTest - ESUG 2017 - Trailer

2017-08-25 Thread Alexandre Bergel
Hi Benoit,

I am not really sure how to use SmartTest. I have enabled all the options in 
the setting browser, but when I code, it somehow get stuck:


Any idea? Updating critiques…

Alexandre
-- 
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.



> On Aug 24, 2017, at 12:32 PM, Benoit Verhaeghe  
> wrote:
> 
> Hi everyone,
> 
> I'm glad to present you the trailer of SmartTest for ESUG
> https://www.youtube.com/watch?v=jAvfdN2z5-s
> 
> Benoît Verhaeghe



Re: [Pharo-users] Minimizing an Application

2017-08-25 Thread Craig Latta

Hi--

> > > ...10mbs which is the size pharo image can be reduced to is
> > > nothing for todays TBs hard drives and GBs flash drives and
> > > online storage. Unless you do an embedded app and 10 mbs are huge
> > > for your limited storage.
> >
> > Or you want to minimize initial startup time, including the time it
> > takes to transmit the entire system over the net.
>
> ...transmitting the entire image would be necessary only in the case
> you want to install it remotely and that remote location has no
> immediate access to the installation.

 Yes, that's what I meant by "initial startup".


-C

--
Craig Latta
Black Page Digital
Amsterdam :: San Francisco
cr...@blackpagedigital.com
voice through 2017-09-12:
+ 1 510 833 5799 (SMS ok)
+31  20 893 2796 (no SMS)




[Pharo-users] [DesktopManager][Question] How do I jump to a particular desktop?

2017-08-25 Thread H. Hirzel
Hello

I have loaded your DesktopManager package into Pharo 6/6.1. It is
useful as always!

A remark:

If I open a new desktop the desktop is white and not black (New Pharo
'dark' theme). I have to choose the theme manually through the
'Settings' dialog, searching for 'theme' and then reconfirming that I
want the 'dark' theme.


A question:

I Squeak I can jump to a particular 'desktop' (actually 'Project'
there ) with some code [1] in a workspace (playground) like

  (Project named: 'Pillar') enter

Is there a similar construction with the DesktopManager?

To jump to another desktop with a code snipped is useful as the number
of Desktops increases. Currently I have 14 and it may increase up to
50.

This also helps to create buttons to jump to a particular desktop.

Thank you for the answer in advance

Hannes Hirzel


[1] http://wiki.squeak.org/squeak/1013



Re: [Pharo-users] [DesktopManager][Question] How do I jump to a particular desktop?

2017-08-25 Thread H. Hirzel
P.S. I just realized that the 'Spotter' opens a desktop if I search for it.

So with some specific naming I can quickly switch desktops this way as well.

On 8/25/17, H. Hirzel  wrote:
> Hello
>
> I have loaded your DesktopManager package into Pharo 6/6.1. It is
> useful as always!
>
> A remark:
>
> If I open a new desktop the desktop is white and not black (New Pharo
> 'dark' theme). I have to choose the theme manually through the
> 'Settings' dialog, searching for 'theme' and then reconfirming that I
> want the 'dark' theme.
>
>
> A question:
>
> I Squeak I can jump to a particular 'desktop' (actually 'Project'
> there ) with some code [1] in a workspace (playground) like
>
>   (Project named: 'Pillar') enter
>
> Is there a similar construction with the DesktopManager?
>
> To jump to another desktop with a code snipped is useful as the number
> of Desktops increases. Currently I have 14 and it may increase up to
> 50.
>
> This also helps to create buttons to jump to a particular desktop.
>
> Thank you for the answer in advance
>
> Hannes Hirzel
>
>
> [1] http://wiki.squeak.org/squeak/1013
>



Re: [Pharo-users] Morphic renderer for Pillar?

2017-08-25 Thread H. Hirzel
I assume it is a Pillar-Exporter ...

On 8/25/17, H. Hirzel  wrote:
> Hello Stephane
>
> On 8/24/17, Stephane Ducasse  wrote:
> [...]
>>
>> This is good that there is Section 7 this in the doc. [1] We started to
>> build a simple Morphic renderer for Pillar.
>> We should continue. If someone wants to have fun. This would be nice
>> to have see it coming to live.
>
> I am interested in this. Where is the code?
>
> BTW if other people want to do a Pillar renderer for Bloc I have no
> problem with that.
> :-;
> [...]
>
> Regards
> --Hannes
>
>
> [1]
> https://ci.inria.fr/pharo-contribution/job/EnterprisePharoBook/lastSuccessfulBuild/artifact/book-result/PillarChap/Pillar.html
>


Re: [Pharo-users] Morphic renderer for Pillar?

2017-08-25 Thread Stephane Ducasse
Hannes

in the repo
Pillar-Renderer-StephaneDucasse.7

It was a couple of hours hacking but it shows how to do it.

Stef




On Fri, Aug 25, 2017 at 1:57 PM, H. Hirzel  wrote:
> BTW I am looking for a **renderer** only. Not an editor at the moment.
>
> On 8/25/17, H. Hirzel  wrote:
>> Thanks, Doru for the update on a Pillar editor with support for the
>> new Bloc framework.
>> It looks fine and I am aware of this effort.
>>
>> But as I wrote in spite of the Bloc efforts I am interested to see
>> what has been done in terms of a Morphic renderer for Pillar.
>>
>> I imagine what has been done so far might be sufficient for my
>> purposes and I can use it right now and not only in Pharo.
>>
>> --Hannes
>>
>> On 8/25/17, Tudor Girba  wrote:
>>> Hi,
>>>
>>> As mentioned in an announcement about 10 days ago, we are building a
>>> Pillar
>>> editor with inline viewing abilities in Bloc. Here is how it looked like.
>>> Please note the embedded picture. We continued working on it since then
>>> and
>>> we will probably announce the next version this weekend:
>>>
>>>
>>>
 On Aug 25, 2017, at 11:04 AM, H. Hirzel  wrote:

 Hello Stephane

 On 8/24/17, Stephane Ducasse  wrote:
 [...]
>
> This is good that there is Section 7 this in the doc. [1] We started to
> build a simple Morphic renderer for Pillar.
> We should continue. If someone wants to have fun. This would be nice
> to have see it coming to live.

 I am interested in this. Where is the code?

 BTW if other people want to do a Pillar renderer for Bloc I have no
 problem with that.
 :-;
 [...]

 Regards
 --Hannes


 [1]
 https://ci.inria.fr/pharo-contribution/job/EnterprisePharoBook/lastSuccessfulBuild/artifact/book-result/PillarChap/Pillar.html

>>>
>>> --
>>> www.tudorgirba.com
>>> www.feenk.com
>>>
>>> "We cannot reach the flow of things unless we let go."
>>>
>>>
>>>
>>>
>>>
>>
>



Re: [Pharo-users] Morphic renderer for Pillar?

2017-08-25 Thread Stephane Ducasse
Ideally we should add the pillar element to the associated morphic to
manage back link from the renderer to the pillar tree.
But this is to be done.

On Fri, Aug 25, 2017 at 2:10 PM, Stephane Ducasse
 wrote:
> Hannes
>
> in the repo
> Pillar-Renderer-StephaneDucasse.7
>
> It was a couple of hours hacking but it shows how to do it.
>
> Stef
>
>
>
>
> On Fri, Aug 25, 2017 at 1:57 PM, H. Hirzel  wrote:
>> BTW I am looking for a **renderer** only. Not an editor at the moment.
>>
>> On 8/25/17, H. Hirzel  wrote:
>>> Thanks, Doru for the update on a Pillar editor with support for the
>>> new Bloc framework.
>>> It looks fine and I am aware of this effort.
>>>
>>> But as I wrote in spite of the Bloc efforts I am interested to see
>>> what has been done in terms of a Morphic renderer for Pillar.
>>>
>>> I imagine what has been done so far might be sufficient for my
>>> purposes and I can use it right now and not only in Pharo.
>>>
>>> --Hannes
>>>
>>> On 8/25/17, Tudor Girba  wrote:
 Hi,

 As mentioned in an announcement about 10 days ago, we are building a
 Pillar
 editor with inline viewing abilities in Bloc. Here is how it looked like.
 Please note the embedded picture. We continued working on it since then
 and
 we will probably announce the next version this weekend:



> On Aug 25, 2017, at 11:04 AM, H. Hirzel  wrote:
>
> Hello Stephane
>
> On 8/24/17, Stephane Ducasse  wrote:
> [...]
>>
>> This is good that there is Section 7 this in the doc. [1] We started to
>> build a simple Morphic renderer for Pillar.
>> We should continue. If someone wants to have fun. This would be nice
>> to have see it coming to live.
>
> I am interested in this. Where is the code?
>
> BTW if other people want to do a Pillar renderer for Bloc I have no
> problem with that.
> :-;
> [...]
>
> Regards
> --Hannes
>
>
> [1]
> https://ci.inria.fr/pharo-contribution/job/EnterprisePharoBook/lastSuccessfulBuild/artifact/book-result/PillarChap/Pillar.html
>

 --
 www.tudorgirba.com
 www.feenk.com

 "We cannot reach the flow of things unless we let go."





>>>
>>



Re: [Pharo-users] Morphic renderer for Pillar?

2017-08-25 Thread H. Hirzel
Thanks, Doru for the update on a Pillar editor with support for the
new Bloc framework.
It looks fine and I am aware of this effort.

But as I wrote in spite of the Bloc efforts I am interested to see
what has been done in terms of a Morphic renderer for Pillar.

I imagine what has been done so far might be sufficient for my
purposes and I can use it right now and not only in Pharo.

--Hannes

On 8/25/17, Tudor Girba  wrote:
> Hi,
>
> As mentioned in an announcement about 10 days ago, we are building a Pillar
> editor with inline viewing abilities in Bloc. Here is how it looked like.
> Please note the embedded picture. We continued working on it since then and
> we will probably announce the next version this weekend:
>
>
>
>> On Aug 25, 2017, at 11:04 AM, H. Hirzel  wrote:
>>
>> Hello Stephane
>>
>> On 8/24/17, Stephane Ducasse  wrote:
>> [...]
>>>
>>> This is good that there is Section 7 this in the doc. [1] We started to
>>> build a simple Morphic renderer for Pillar.
>>> We should continue. If someone wants to have fun. This would be nice
>>> to have see it coming to live.
>>
>> I am interested in this. Where is the code?
>>
>> BTW if other people want to do a Pillar renderer for Bloc I have no
>> problem with that.
>> :-;
>> [...]
>>
>> Regards
>> --Hannes
>>
>>
>> [1]
>> https://ci.inria.fr/pharo-contribution/job/EnterprisePharoBook/lastSuccessfulBuild/artifact/book-result/PillarChap/Pillar.html
>>
>
> --
> www.tudorgirba.com
> www.feenk.com
>
> "We cannot reach the flow of things unless we let go."
>
>
>
>
>



Re: [Pharo-users] Minimizing an Application

2017-08-25 Thread Dimitris Chloupis
I still dont know what opening has to do with transmitting, even when you
do it remotely , a socket / websocket connection should be all you need.
For me transmitting the entire image would be necessary only in the case
you want to install it remotely and that remote location has no immediate
access to the installation.

On Fri, Aug 25, 2017 at 7:14 AM Ben Coman  wrote:

> I understand that to mean effectively that you are "opening" the image
> across the net - so eventually you need to whole image transmitted, but you
> don't have to wait for the whole thing before you start running it.
> cheers -ben
>
>
> On Fri, Aug 25, 2017 at 2:00 AM, Dimitris Chloupis 
> wrote:
>
>> Indeed that can be a barrier  but why you would want to transmit an
>> entire image instead of portion of it using something like fuel files or
>> other binary formats ? It would dramatically reduce the size of data you
>> transmit.
>>
>> On Thu, Aug 24, 2017 at 8:10 PM Craig Latta 
>> wrote:
>>
>>>
>>> > ...10mbs which is the size pharo image can be reduced to is nothing
>>> > for todays TBs hard drives and GBs flash drives and online storage.
>>> > Unless you do an embedded app and 10 mbs are huge for your limited
>>> > storage.
>>>
>>>  Or you want to minimize initial startup time, including the time it
>>> takes to transmit the entire system over the net.
>>>
>>>
>>> -C
>>>
>>> --
>>> Craig Latta
>>> Black Page Digital
>>> Amsterdam :: San Francisco
>>> cr...@blackpagedigital.com
>>> voice through 2017-09-12:
>>> + 1 510 833 5799 <(510)%20833-5799> (SMS ok)
>>> +31  20 893 2796 <+31%2020%20893%202796> (no SMS)
>>>
>>>
>>>
>


Re: [Pharo-users] Where do I find a Pillar syntax summary?

2017-08-25 Thread H. Hirzel
At the moment my interest is to have a description of all the Pillar
syntax features Pharo 5 and 6 supports.

a) in an example document
b) as a list

As for Pillar syntax versions:

I can imagine that there have been changes in the past. I just don't know.
And there might be changes in the future. So a version indication is
helpful even if it just says that Pharo 6 supports the same Pillar
version as it was in Pharo x (x = 2,3,4,5 ?).

On 8/24/17, Stephane Ducasse  wrote:
> Good suggestion.
> Now I have no time for pillar per se. Now if you do it I will add it
> to pillar without hesitation.
> Tomorrow we will
>use bintray for all the projects to save the pdf (booklet, books).
>migrate the mooc to the makefile generator developed by luc.
>make sure that it works for Pillar 50 and 60.
>migrate other pillar projects to use the same.
>
> BTW we do not really want to have multiple version of the syntax.
> For example Pillar 50 and 60 are the same from a syntax point of view.
>
> On Thu, Aug 24, 2017 at 11:24 AM, H. Hirzel 
> wrote:
>> Alistair,
>>
>> Thank you for the link to the Pillar syntax summary
>>
>>  http://pillarhub.pharocloud.com/hub/pillarhub/pillarcheatsheet
>>
>> and the confirmation that the constructs there work in Pharo 6 & 7 for
>> basic cases. This is fine for me at the moment.
>>
>>
>> Stephan D
>> Thanks for being ready to check the full feature support in Pillar.
>>
>> A suggestion:
>> A new style sheet could come as well together with a test document
>> (with version indication included) for the Pillar parser.
>>
>> Then it is straightforward to determine if a particular Pillar
>> installation supports a particular Pillar markup version.
>>
>> The Pillar-Tests-PetitPillar package tests individual features but not
>> all in one go. If we have a test case which tests all features in one
>> go it has a triple function:
>> 1) It is a syntax summary of all features.
>> 2) It serves as a living documentation.
>> 3) It helps to determine if a particular pillar installation in an
>> image supports a particular Pillar version.
>>
>> --Hannes
>>
>> On 8/23/17, Stephane Ducasse  wrote:
>>> +Handling all the cases: summing a die/die handle with a die/die
>>> handle
>>> .>file://figures/DieDoubleDispatchFull.pdf|width=70|label=figDieDoubleDispatchFull+
>>>
>>> See Figure *@figDieDoubleDispatchFull* for internal ref is missing.
>>>
>>> Two Column is missing. I do not know it works in Latex.
>>>
>>> I will try to create one a new style sheet.
>>>
>>>
>>> On Wed, Aug 23, 2017 at 9:46 PM, Alistair Grant 
>>> wrote:
 On Wed, Aug 23, 2017 at 09:11:47PM +0200, H. Hirzel wrote:
> Thanks, it is useful.
> Date is 24 June 2014.
> Not sure if it is the latest version for what I have now in Pharo 6.
>
> --Hannes

 True, but it only covers the basic text mark-up and I don't think that
 has changed recently.  Anyway, I haven't found anything wrong with it
 in
 Pharo 6 & 7 (admittedly, with only basic pillar usage).

 Cheers,
 Alistair


> On 8/23/17, Alistair Grant  wrote:
> > How about:
> >
> > http://pillarhub.pharocloud.com/hub/pillarhub/pillarcheatsheet
> >
> > Cheers,
> > Alistair

>>>
>>>
>
>



Re: [Pharo-users] [Pillar] Installed the Pillar document preparation system into 6.1, how do I start using it?

2017-08-25 Thread Norbert Hartl

> Am 24.08.2017 um 22:34 schrieb Stephane Ducasse :
> 
> In Pharo 60 (and not in Pharo 50) I extracted the command line logic
> into a specific object so that we do not have to be bound to use the
> command line. You can have a look in the CLI package.
> 
> This is good that there is Section 7 this in the doc. We started to
> build a simple Morphic renderer for Pillar.
> We should continue. If someone wants to have fun. This would be nice
> to have see it coming to live.
> 
A morphic renderer? Wouldn't it be fun to do one for bloc? I think we should 
slowly collect some tools that use bloc in order to get the tension making it 
the "default" thingie.

> On my todo: I also want to use mustache inside Pharo and not
> generating files on the disk.
> 
That should be doable by deleting some code.

Norbert

> Stef
> 
> On Fri, Aug 18, 2017 at 10:08 PM, H. Hirzel  wrote:
>> Exactly.
>> 
>> Section 7 of
>> https://ci.inria.fr/pharo-contribution/job/EnterprisePharoBook/lastSuccessfulBuild/artifact/book-result/PillarChap/Pillar.html
>> 
>> has an example
>> 
>> 
>>| wiki |
>>wiki := '!My Document'.
>>PRPillarParser parse: wiki
>> 
>> 
>> Or
>> 
>>PRPillarParser parse: (FileSystem workingDirectory / 'foo.pillar')
>> readStream
>> 
>> 
>> and then
>> 
>> 
>>PRHTMLWriter write: document
>> 
>> 
>> This put together gives
>> 
>>PRHTMLWriter write: (
>>PRPillarParser parse: (FileSystem workingDirectory / 'welcome.pillar')
>>)
>> 
>> 
>> If I inspect the result of this expression I get the HTML string.
>> 
>> Thank you Cyril. This is what I was looking for.
>> 
>> --Hannes
>> 
>> 
>> 
>> 
>> On 8/18/17, Cyril Ferlicot  wrote:
>>> On ven. 18 août 2017 at 21:43, H. Hirzel  wrote:
>>> 
 Thank you Cyril for the link to the tutorial.
 
 
 https://ci.inria.fr/pharo-contribution/job/EnterprisePharoBook/lastSuccessfulBuild/artifact/book-result/PillarChap/Pillar.html
 
 I see that Pillar is a command line tool. The welcome example taken
 from this tutorial is:
 
Pharo.exe Pillar.image pillar export --to=html
 --outputFile=welcome welcome.pillar
 
 How can I run a command like this from within Pharo in a "playground"
 (former workspace)?
 
 Later on I plan to construct a simple GUI with text boxes for Pillar
 sources and have some buttons executing these commands.
 
 --Hannes
 
 
>>> 
>>> I remember writing a part "Pillar from Pharo" in this doc. I'm not sure it
>>> is still up to date but you can try to check part 7 of the doc I sent.
>>> --
>>> Cyril Ferlicot
>>> https://ferlicot.fr
>>> 
>>> http://www.synectique.eu
>>> 2 rue Jacques Prévert 01,
>>> 59650 Villeneuve d'ascq France
>>> 
>> 



Re: [Pharo-users] SmartTest - ESUG 2017 - Trailer

2017-08-25 Thread Tudor Girba
The bar is getting higher :)

Doru


> On Aug 24, 2017, at 10:18 PM, Stephane Ducasse  
> wrote:
> 
> :)
> Ready for the ESUG innovation award competition.
> 
> 
> On Thu, Aug 24, 2017 at 6:49 PM, Dimitris Chloupis
>  wrote:
>> lol by far the most funny pharo teaser I have watched and the tool looks
>> extra useful , well done :)
>> 
>> On Thu, Aug 24, 2017 at 6:33 PM Benoit Verhaeghe 
>> wrote:
>>> 
>>> Hi everyone,
>>> 
>>> I'm glad to present you the trailer of SmartTest for ESUG
>>> https://www.youtube.com/watch?v=jAvfdN2z5-s
>>> 
>>> Benoît Verhaeghe
> 

--
www.tudorgirba.com
www.feenk.com

"No matter how many recipes we know, we still value a chef."










Re: [Pharo-users] Morphic renderer for Pillar?

2017-08-25 Thread Alexandre Bergel
Gorgeous!

Alexandre 

Sent from my iPad

> On 25-08-2017, at 10:48 a.m., H. Hirzel  wrote:
> 
> Stephane,
> 
> Thank you.
> The rendering seems to be very useful as is.
> 
> The screen shot shows what you get if you execute
> 
>PRMorphInterface new openWithSpec.
> 
> 
> I will read the code in detail.
> 
> --Hannes
> 



Re: [Pharo-users] Morphic renderer for Pillar?

2017-08-25 Thread Stephane Ducasse
Feel free to enhance it.
It was fun to hack the visitor and to flesh the renderer on the fly.

On Fri, Aug 25, 2017 at 3:48 PM, H. Hirzel  wrote:
> Stephane,
>
> Thank you.
> The rendering seems to be very useful as is.
>
> The screen shot shows what you get if you execute
>
> PRMorphInterface new openWithSpec.
>
>
> I will read the code in detail.
>
> --Hannes



Re: [Pharo-users] Minimizing an Application

2017-08-25 Thread Tim Mackinnon
Mariano's PhD was on this - as mentioned it to me a few weeks ago. This was one 
of the reasons for building fuel - to enable this sort of thing on top - and he 
proved it worked.

Dimitrus - the idea is to I have a small core that loads quick and then less 
used elements can be paged in when needed (but maybe that's what you're saying 
too).

I disagree that Pharo desperately needs image assembly tools. It's quite 
specialised - and we have some core tools to work with,  and minimal images to 
start from. 

While I'd love more - finishing off what we already have in play (e.g. Got, 
bloc, Calypso ...) would seem more urgent.

Tim

Sent from my iPhone

> On 25 Aug 2017, at 08:47, Dimitris Chloupis  wrote:
> 
> I still dont know what opening has to do with transmitting, even when you do 
> it remotely , a socket / websocket connection should be all you need. For me 
> transmitting the entire image would be necessary only in the case you want to 
> install it remotely and that remote location has no immediate access to the 
> installation. 
> 
>> On Fri, Aug 25, 2017 at 7:14 AM Ben Coman  wrote:
>> I understand that to mean effectively that you are "opening" the image 
>> across the net - so eventually you need to whole image transmitted, but you 
>> don't have to wait for the whole thing before you start running it.
>> cheers -ben
>> 
>> 
>>> On Fri, Aug 25, 2017 at 2:00 AM, Dimitris Chloupis  
>>> wrote:
>>> Indeed that can be a barrier  but why you would want to transmit an entire 
>>> image instead of portion of it using something like fuel files or other 
>>> binary formats ? It would dramatically reduce the size of data you 
>>> transmit. 
>>> 
 On Thu, Aug 24, 2017 at 8:10 PM Craig Latta  
 wrote:
 
 > ...10mbs which is the size pharo image can be reduced to is nothing
 > for todays TBs hard drives and GBs flash drives and online storage.
 > Unless you do an embedded app and 10 mbs are huge for your limited
 > storage.
 
  Or you want to minimize initial startup time, including the time it
 takes to transmit the entire system over the net.
 
 
 -C
 
 --
 Craig Latta
 Black Page Digital
 Amsterdam :: San Francisco
 cr...@blackpagedigital.com
 voice through 2017-09-12:
 + 1 510 833 5799 (SMS ok)
 +31  20 893 2796 (no SMS)
 
 
>> 


Re: [Pharo-users] Pharo 6.0 and 6.1 64 bit freeze on MacMini

2017-08-25 Thread TedVanGaalen
note btw in the screenshot that that some text in the dialogue boxes are not 
completely drawn, like
“Advanced featur..”, "Cache siz…”, “Glyph contras…”, etc.
this doesn’t change when the column width is increased with the mouse.
TedvG 

> On 25. Aug 2017, at 15:55, Ted F.A.van Gaalen  wrote:
> 
> Hi Ben,
> Did the following 
> - restoring Pharo.app/Contents/MacOS/Plugins/libFT2Plugin.dylib (by renaming 
> its extension back to .dylib)
> - started Pharo
> -setting use Free type ON
> -setting Update fonts at start ON
> 
>it then immediately starts loading fonts, (which I thought might be a good 
> idea
>  because perhaps fonts were not completely loaded in the image, 
> but that didn’t make any difference) 
> 
> -saved and quit
> -fired up Pharo again.
> 
> didn’t help. Same problems occur
> 
> then:  (as you have asked) 
> 
> - started Pharo again
> -setting use Free type OFF
> -setting Update fonts at start OFF
> -saved and quit
> -fired up Pharo again.
> 
> didn’t help either
> 
> I have no idea what the cause might be,
> but if you have other suggestions to test
> I be glad to help. (if not a thousand attempts :o) 
> 
> in the mean time I use 5 until a next release comes out 7 ? that works ok.
> 
> kind regards
> TedvG 
> 
> 
> 
> 
>> On 25. Aug 2017, at 06:07, Ben Coman [via Smalltalk] 
>> > > wrote:
>> 
>> What happens if you untick "Use FreeType" in System > Settings?
>> 
>> cheers -ben
>> 
>> 
>> On Thu, Aug 24, 2017 at 10:06 PM, TedVanGaalen <[hidden email] 
>> > wrote:
>> yes, after full screen -> normal window -> minimise -> reshow it did. 
>> (not in any particular order, tried al those before as well)
>> 
>> TedvG
>> 
>> 
>>> On 24. Aug 2017, at 15:46, EstebanLM [via Smalltalk] <[hidden email] 
>>> > wrote:
>>> 
>>> and image still freezing?
>>> 
>>> Esteban
>>> 
 On 24 Aug 2017, at 15:28, TedVanGaalen <>>> target="_top" rel="nofollow" link="external" class="">[hidden email]> 
 wrote:
 
 Hi Esteban, 
 unfortunately that doesn’t make any difference.
 What I did: 
 extension temporarily renamed to …..wasAdylib
 Started Pharo app by clikcing on it (gets the downloaded  maiden image)
 then:
 “FT2Error:Freetype2 primitive failed [error -1][can’t get error string]” 
 
 
>> 
>> 
>> 
>> If you reply to this email, your message will be added to the discussion 
>> below:
>> http://forum.world.st/Pharo-6-0-and-6-1-64-bit-freeze-on-MacMini-tp4957969p4963983.html
>>  
>> 
>> To unsubscribe from Pharo 6.0 and 6.1 64 bit freeze on MacMini, click here 
>> .
>> NAML 
>> 





--
View this message in context: 
http://forum.world.st/Pharo-6-0-and-6-1-64-bit-freeze-on-MacMini-tp4957969p4964088.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.

Re: [Pharo-users] [DesktopManager][Question] How do I jump to a particular desktop?

2017-08-25 Thread Torsten Bergmann
Hi Hannes,

Code is on http://smalltalkhub.com/#!/~TorstenBergmann/DesktopManager
which points to this article:  
https://medium.com/@astares/multiple-desktops-for-pharo-5cbc46f3179f
which should explain the details and that you can access the desktops using:

  Desktop manager desktops

You can also click "CTRL+D" folowed again by another "CTRL+D" (DesktopManager 
-> Desktops") to have a custom spotter
just for showing/switching the desktops.

There is also 

CTRL + D followed by CTRL + A — “Desktop Add”
CTRL + D followed by CTRL + N — “Desktop Next”
CTRL + D followed by CTRL + P — “Desktop Previous”

The only downside is that the global shortcut handler catches the "CTRL+D" for 
DesktopManager but also
eats the same key event from the Playground which means the "do it" (which is 
also CTRL+D" is not 
working in a Playground anymore when DesktopManager is installed.

Have not yet found a suitable solution for this. Contributions/fixes/ideas to 
solve this are very
welcome.

Thx
T.

> Gesendet: Freitag, 25. August 2017 um 14:56 Uhr
> Von: "H. Hirzel" 
> An: asta...@gmx.de
> Cc: "Any question about pharo is welcome" 
> Betreff: Re: [DesktopManager][Question] How do I jump to a particular desktop?
>
> P.S. I just realized that the 'Spotter' opens a desktop if I search for it.
> 
> So with some specific naming I can quickly switch desktops this way as well.
> 
> On 8/25/17, H. Hirzel  wrote:
> > Hello
> >
> > I have loaded your DesktopManager package into Pharo 6/6.1. It is
> > useful as always!
> >
> > A remark:
> >
> > If I open a new desktop the desktop is white and not black (New Pharo
> > 'dark' theme). I have to choose the theme manually through the
> > 'Settings' dialog, searching for 'theme' and then reconfirming that I
> > want the 'dark' theme.
> >
> >
> > A question:
> >
> > I Squeak I can jump to a particular 'desktop' (actually 'Project'
> > there ) with some code [1] in a workspace (playground) like
> >
> >   (Project named: 'Pillar') enter
> >
> > Is there a similar construction with the DesktopManager?
> >
> > To jump to another desktop with a code snipped is useful as the number
> > of Desktops increases. Currently I have 14 and it may increase up to
> > 50.
> >
> > This also helps to create buttons to jump to a particular desktop.
> >
> > Thank you for the answer in advance
> >
> > Hannes Hirzel
> >
> >
> > [1] http://wiki.squeak.org/squeak/1013
> >
>



Re: [Pharo-users] Loading and saving packages to filetree repos

2017-08-25 Thread Peter Uhnák
Apart from the things I mentioned to you on discord (fileout through
FileWriter, etc)... another idea came into my mind that could be possibly
interesting.

Every time a thing (Class, Method, ...) is created/changed/deleted, an
event is announced in the system that you can watch for. (e.g. Nautilus
uses this so when you add a method in one window, all Nautilus windows are
updated).

And then you do an immediate fileout of the changed item to the disk.

a (hopefully still working) example:

```
ReflectiveWriter compile: 'methodChanged: aMethodAnnouncement
| method dir |
method := aMethodAnnouncement method.
dir := FileLocator temp / ''outside-code'' / method methodClass name.
dir ensureCreateDirectory.
(dir / method selector)
ensureDelete;
writeStreamDo: [ :stream |
"because line endings are #cr-azy by default"
stream wantsLineEndConversion: true.
stream << method sourceCode ]'.
```

I don't know how can Pharo watch for file changes in the system, but the
opposite is also be doable in some manner.

(and of course you could filter to write changes only when the change is in
particular class, or particular package, or whatever).

You would have to implement it yourself (extra time of coding, testing,
debugging, ...), but in principle it should be doable within reasonable
effort.

Peter

On Fri, Aug 25, 2017 at 4:14 PM, Luke Gorrie  wrote:

> On 20 August 2017 at 12:50, stephan  wrote:
>
>> I'm afraid you might do newbies a disservice by adding yet another way of
>> loading and saving combinations of packages.
>
>
> I have been reflecting on this point a bit. I think there are two relevant
> classes of newbies here.
>
> One is people who are learning to be Pharo hackers and joining this
> community. They need to "get with the program" and learn to do things the
> same way as everybody else. So they need to learn Smalltalk, Monticello,
> Metacello, Iceberg, FogBugz, etc.
>
> The other is people who are using a Pharo-based application and want to
> make an extension. For example, imagine a Dr. Geo user who wants to
> contribute support for a new geometric function that they need for their
> work. This person needs to take the shortest path to solving their problem:
> reuse their existing skills (e.g. command-line git) and make use of
> examples (e.g. copy-paste-tweak some existing code.)
>
> I'm concerned about the latter group. I'm building an application that I
> want users to be able to extend, and I am assuming that most of them are
> not aspiring Smalltalk hackers (yet.) So I am wondering how to minimize the
> barriers to entry for people to contribute their first extension.
>
> My model is Emacs. Lots of people use Emacs to edit text files. Many of
> them become power users by copy-paste-tweak from each others' configuration
> files. Only a few take the next step and learn Lisp e.g. to understand what
> "lambda" actually means. Everybody manages to participate and share.
>
> So, coming back to point, this is why I imagine now is to have a simple
> "Save all..." item in the World menu that saves all of the
> relevant-to-this-application packages back into a directory on the local
> disk (which will be a Git checkout that can be committed, pushed, and Pull
> Requested.) Then I don't need to force people to learn Metacello, etc, just
> to become "power users" of the application.
>
> Maybe I am still on the wrong track anyway? Maybe others have been down
> this specific trail before, too?
>
>
>


Re: [Pharo-users] Pharo 6.0 and 6.1 64 bit freeze on MacMini

2017-08-25 Thread TedVanGaalen
Hi Ben,
Did the following 
- restoring Pharo.app/Contents/MacOS/Plugins/libFT2Plugin.dylib (by renaming 
its extension back to .dylib)
- started Pharo
-setting use Free type ON
-setting Update fonts at start ON

   it then immediately starts loading fonts, (which I thought might be a good 
idea
 because perhaps fonts were not completely loaded in the image, 
but that didn’t make any difference) 

-saved and quit
-fired up Pharo again.

didn’t help. Same problems occur

then:  (as you have asked) 

- started Pharo again
-setting use Free type OFF
-setting Update fonts at start OFF
-saved and quit
-fired up Pharo again.

didn’t help either

I have no idea what the cause might be,
but if you have other suggestions to test
I be glad to help. (if not a thousand attempts :o) 

in the mean time I use 5 until a next release comes out 7 ? that works ok.

kind regards
TedvG 




> On 25. Aug 2017, at 06:07, Ben Coman [via Smalltalk] 
>  wrote:
> 
> What happens if you untick "Use FreeType" in System > Settings?
> 
> cheers -ben
> 
> 
> On Thu, Aug 24, 2017 at 10:06 PM, TedVanGaalen <[hidden email] 
> > wrote:
> yes, after full screen -> normal window -> minimise -> reshow it did. 
> (not in any particular order, tried al those before as well)
> 
> TedvG
> 
> 
>> On 24. Aug 2017, at 15:46, EstebanLM [via Smalltalk] <[hidden email] 
>> > wrote:
>> 
>> and image still freezing?
>> 
>> Esteban
>> 
>>> On 24 Aug 2017, at 15:28, TedVanGaalen <>> href="x-msg://3/user/SendEmail.jtp?type=nodenode=4963878i=0" 
>>> target="_top" rel="nofollow" link="external" class="">[hidden email]> wrote:
>>> 
>>> Hi Esteban, 
>>> unfortunately that doesn’t make any difference.
>>> What I did: 
>>> extension temporarily renamed to …..wasAdylib
>>> Started Pharo app by clikcing on it (gets the downloaded  maiden image)
>>> then:
>>> “FT2Error:Freetype2 primitive failed [error -1][can’t get error string]” 
>>> 
>>> 
> 
> 
> 
> If you reply to this email, your message will be added to the discussion 
> below:
> http://forum.world.st/Pharo-6-0-and-6-1-64-bit-freeze-on-MacMini-tp4957969p4963983.html
>  
> 
> To unsubscribe from Pharo 6.0 and 6.1 64 bit freeze on MacMini, click here 
> .
> NAML 
> 


Screen Shot 2017-08-25 at 15.33.49.png (96K) 





--
View this message in context: 
http://forum.world.st/Pharo-6-0-and-6-1-64-bit-freeze-on-MacMini-tp4957969p4964080.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.

Re: [Pharo-users] Pharo 6.0 and 6.1 64 bit freeze on MacMini

2017-08-25 Thread Tim Mackinnon
I don't think it's just on Mac Mini - my MacBook Pro late 13" 2016 retina will 
show similar symptoms if I try and resize the window to full screen (not the 
maximise button, but try and drag the bottom corner of the world to the last 
5-10 pixels at the bottom of the screen).

I think Ted noticed similar in that it looks frozen but it's actually the 
screen not redrawing as you can fiddle to get it back (can't recall what I did 
- maybe drag a window on top?)

Tim

Sent from my iPhone



Sent from my iPhone
> On 25 Aug 2017, at 05:55, john pfersich  wrote:
> 
> I don't know if it matters, but on my Retina 5K, 27 inch, Late 2015 iMac, AMD 
>  Radeon R9 M395 wirh 2048 MB running MacOS 10.12.6 I don't have a problem 
> resizing or maximizing Pharo 6.1.
> 
>> On Mon, Jul 31, 2017 at 6:28 AM, Ted F.A.van Gaalen  wrote:
>> 
>> 
>> 
>> Hi, I reverted to 5.0 because Pharo 6.0 and 6.1 64 bit hangs on 
>> my Mac Mini with UDH 4K screen (may that has to do with?)
>> with its maiden image (at first start after download
>> when:  I resize or go to full screen. Maybe VM problem?
>> my mac Mini metrics:
>> Hardware Overview:
>> 
>>   Model Name:Mac mini
>>   Model Identifier:  Macmini6,2
>>   Processor Name:Intel Core i7
>>   Processor Speed:   2,6 GHz
>>   Number of Processors:  1
>>   Total Number of Cores: 4
>>   L2 Cache (per Core):   256 KB
>>   L3 Cache:  6 MB
>>   Memory:4 GB
>>   Boot ROM Version:  MM61.0106.B1F
>>   SMC Version (system):  2.8f0
>> 
>> maybe this problem was already reported, but could find it. 
>> 
>> 
>> Kind Regards
>> TedvG
> 


Re: [Pharo-users] Pharo 6.0 and 6.1 64 bit freeze on MacMini

2017-08-25 Thread TedVanGaalen
Hi John,
… thanks. another wild, wild guess:
it could then perhaps be, (if Pharo uses Open GL) that my graphics
card has Open GL incompatibility?  or that Pharo 6.1 uses Open GL
calls not implemented on an  Intel HD Graphics 4000  chip as in my mac mini?

kind regards
TedvG



> On 25. Aug 2017, at 06:56, John Pfersich [via Smalltalk] 
>  wrote:
> 
> I don't know if it matters, but on my Retina 5K, 27 inch, Late 2015 iMac, AMD 
>  Radeon R9 M395 wirh 2048 MB running MacOS 10.12.6 I don't have a problem 
> resizing or maximizing Pharo 6.1.
> 
> On Mon, Jul 31, 2017 at 6:28 AM, Ted F.A.van Gaalen <[hidden email] 
> > wrote:
> 
> 
> 
> Hi, I reverted to 5.0 because Pharo 6.0 and 6.1 64 bit hangs on 
> my Mac Mini with UDH 4K screen (may that has to do with?)
> with its maiden image (at first start after download
> when:  I resize or go to full screen. Maybe VM problem?
> my mac Mini metrics:
> Hardware Overview:
> 
>   Model Name: Mac mini
>   Model Identifier:   Macmini6,2
>   Processor Name: Intel Core i7
>   Processor Speed:2,6 GHz
>   Number of Processors:   1
>   Total Number of Cores:  4
>   L2 Cache (per Core):256 KB
>   L3 Cache:   6 MB
>   Memory: 4 GB
>   Boot ROM Version:   MM61.0106.B1F
>   SMC Version (system):   2.8f0
> 
> maybe this problem was already reported, but could find it. 
> 
> 
> Kind Regards
> TedvG
>  
>
> 
> 
> 
> 
> If you reply to this email, your message will be added to the discussion 
> below:
> http://forum.world.st/Pharo-6-0-and-6-1-64-bit-freeze-on-MacMini-tp4957969p4963988.html
>  
> 
> To unsubscribe from Pharo 6.0 and 6.1 64 bit freeze on MacMini, click here 
> .
> NAML 
> 




--
View this message in context: 
http://forum.world.st/Pharo-6-0-and-6-1-64-bit-freeze-on-MacMini-tp4957969p4964083.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.

Re: [Pharo-users] Loading and saving packages to filetree repos

2017-08-25 Thread Luke Gorrie
On 20 August 2017 at 12:50, stephan  wrote:

> I'm afraid you might do newbies a disservice by adding yet another way of
> loading and saving combinations of packages.


I have been reflecting on this point a bit. I think there are two relevant
classes of newbies here.

One is people who are learning to be Pharo hackers and joining this
community. They need to "get with the program" and learn to do things the
same way as everybody else. So they need to learn Smalltalk, Monticello,
Metacello, Iceberg, FogBugz, etc.

The other is people who are using a Pharo-based application and want to
make an extension. For example, imagine a Dr. Geo user who wants to
contribute support for a new geometric function that they need for their
work. This person needs to take the shortest path to solving their problem:
reuse their existing skills (e.g. command-line git) and make use of
examples (e.g. copy-paste-tweak some existing code.)

I'm concerned about the latter group. I'm building an application that I
want users to be able to extend, and I am assuming that most of them are
not aspiring Smalltalk hackers (yet.) So I am wondering how to minimize the
barriers to entry for people to contribute their first extension.

My model is Emacs. Lots of people use Emacs to edit text files. Many of
them become power users by copy-paste-tweak from each others' configuration
files. Only a few take the next step and learn Lisp e.g. to understand what
"lambda" actually means. Everybody manages to participate and share.

So, coming back to point, this is why I imagine now is to have a simple
"Save all..." item in the World menu that saves all of the
relevant-to-this-application packages back into a directory on the local
disk (which will be a Git checkout that can be committed, pushed, and Pull
Requested.) Then I don't need to force people to learn Metacello, etc, just
to become "power users" of the application.

Maybe I am still on the wrong track anyway? Maybe others have been down
this specific trail before, too?


[Pharo-users] [Ann][Pillar] Travis -> Bintray for PDFs

2017-08-25 Thread Stephane Ducasse
 Hi

with Damien Pollet, we went over all the booklets and some of the
Pharo books currently written in Pillar and made sure that each time
you commit

- a travis job is run
- latex is produced as well as pdf
- the pdf is stored on bintray
- the release versions are stored on the github repo (I should verify)

So now you can just do a PR and you get a super nice PDF.

Have a look at Glorp or Voyage for example

- https://github.com/SquareBracketAssociates/Booklet-Glorp
- https://github.com/SquareBracketAssociates/Booklet-Voyage

You can access the bintray files from the squarebracketassociates
lovely binTray account :)

https://bintray.com/squarebracketassociates/wip/download_file?file_path=voyage-wip.pdf


I'm writing a doc of the process so that other people can do it for
their private projects.


Stef



Re: [Pharo-users] [DesktopManager][Question] How do I jump to a particular desktop?

2017-08-25 Thread H. Hirzel
Hello Torsten

Thank you for the links to the DeskTopManager documentation.

I know can use playgrounds with expressions like

 (Desktop manager desktops detect: [ :dt |  dt name = 'Pillar
Morphic Renderer'])  useAsDesktop.

and

 (Desktop manager desktops detect: [ :dt |  dt name =
'PetitParser'])  useAsDesktop.


to quickly move to different desktops.

In my intallation I added a utility method so that I can do

Desktop manager switchToDesktopNamed: 'TeaLight'



Kind regards
Hannes


[1] DeskTopManager>>switchToDesktopNamed:

switchToDesktopNamed: aString   

 (Desktop manager desktops detect: [ :dt |  dt name = aString])  
useAsDesktop.

On 8/25/17, Torsten Bergmann  wrote:
> Hi Hannes,
>
> Code is on http://smalltalkhub.com/#!/~TorstenBergmann/DesktopManager
> which points to this article:
> https://medium.com/@astares/multiple-desktops-for-pharo-5cbc46f3179f
> which should explain the details and that you can access the desktops
> using:
>
>   Desktop manager desktops
>
> You can also click "CTRL+D" folowed again by another "CTRL+D"
> (DesktopManager -> Desktops") to have a custom spotter
> just for showing/switching the desktops.
>
> There is also
>
> CTRL + D followed by CTRL + A — “Desktop Add”
> CTRL + D followed by CTRL + N — “Desktop Next”
> CTRL + D followed by CTRL + P — “Desktop Previous”
>
> The only downside is that the global shortcut handler catches the "CTRL+D"
> for DesktopManager but also
> eats the same key event from the Playground which means the "do it" (which
> is also CTRL+D" is not
> working in a Playground anymore when DesktopManager is installed.
>
> Have not yet found a suitable solution for this. Contributions/fixes/ideas
> to solve this are very
> welcome.
>
> Thx
> T.
>
>> Gesendet: Freitag, 25. August 2017 um 14:56 Uhr
>> Von: "H. Hirzel" 
>> An: asta...@gmx.de
>> Cc: "Any question about pharo is welcome" 
>> Betreff: Re: [DesktopManager][Question] How do I jump to a particular
>> desktop?
>>
>> P.S. I just realized that the 'Spotter' opens a desktop if I search for
>> it.
>>
>> So with some specific naming I can quickly switch desktops this way as
>> well.
>>
>> On 8/25/17, H. Hirzel  wrote:
>> > Hello
>> >
>> > I have loaded your DesktopManager package into Pharo 6/6.1. It is
>> > useful as always!
>> >
>> > A remark:
>> >
>> > If I open a new desktop the desktop is white and not black (New Pharo
>> > 'dark' theme). I have to choose the theme manually through the
>> > 'Settings' dialog, searching for 'theme' and then reconfirming that I
>> > want the 'dark' theme.
>> >
>> >
>> > A question:
>> >
>> > I Squeak I can jump to a particular 'desktop' (actually 'Project'
>> > there ) with some code [1] in a workspace (playground) like
>> >
>> >   (Project named: 'Pillar') enter
>> >
>> > Is there a similar construction with the DesktopManager?
>> >
>> > To jump to another desktop with a code snipped is useful as the number
>> > of Desktops increases. Currently I have 14 and it may increase up to
>> > 50.
>> >
>> > This also helps to create buttons to jump to a particular desktop.
>> >
>> > Thank you for the answer in advance
>> >
>> > Hannes Hirzel
>> >
>> >
>> > [1] http://wiki.squeak.org/squeak/1013
>> >
>>
>



Re: [Pharo-users] [Pillar] Installed the Pillar document preparation system into 6.1, how do I start using it?

2017-08-25 Thread Tudor Girba
On Aug 25, 2017, at 8:53 AM, Norbert Hartl  wrote:
> 
> 
>> Am 24.08.2017 um 22:34 schrieb Stephane Ducasse :
>> 
>> In Pharo 60 (and not in Pharo 50) I extracted the command line logic
>> into a specific object so that we do not have to be bound to use the
>> command line. You can have a look in the CLI package.
>> 
>> This is good that there is Section 7 this in the doc. We started to
>> build a simple Morphic renderer for Pillar.
>> We should continue. If someone wants to have fun. This would be nice
>> to have see it coming to live.
>> 
> A morphic renderer? Wouldn't it be fun to do one for bloc? I think we should 
> slowly collect some tools that use bloc in order to get the tension making it 
> the "default" thingie.

On its way :)

Doru


>> On my todo: I also want to use mustache inside Pharo and not
>> generating files on the disk.
>> 
> That should be doable by deleting some code.
> 
> Norbert
> 
>> Stef
>> 
>> On Fri, Aug 18, 2017 at 10:08 PM, H. Hirzel  wrote:
>>> Exactly.
>>> 
>>> Section 7 of
>>> https://ci.inria.fr/pharo-contribution/job/EnterprisePharoBook/lastSuccessfulBuild/artifact/book-result/PillarChap/Pillar.html
>>> 
>>> has an example
>>> 
>>> 
>>>   | wiki |
>>>   wiki := '!My Document'.
>>>   PRPillarParser parse: wiki
>>> 
>>> 
>>> Or
>>> 
>>>   PRPillarParser parse: (FileSystem workingDirectory / 'foo.pillar')
>>> readStream
>>> 
>>> 
>>> and then
>>> 
>>> 
>>>   PRHTMLWriter write: document
>>> 
>>> 
>>> This put together gives
>>> 
>>>   PRHTMLWriter write: (
>>>   PRPillarParser parse: (FileSystem workingDirectory / 'welcome.pillar')
>>>   )
>>> 
>>> 
>>> If I inspect the result of this expression I get the HTML string.
>>> 
>>> Thank you Cyril. This is what I was looking for.
>>> 
>>> --Hannes
>>> 
>>> 
>>> 
>>> 
>>> On 8/18/17, Cyril Ferlicot  wrote:
 On ven. 18 août 2017 at 21:43, H. Hirzel  wrote:
 
> Thank you Cyril for the link to the tutorial.
> 
> 
> https://ci.inria.fr/pharo-contribution/job/EnterprisePharoBook/lastSuccessfulBuild/artifact/book-result/PillarChap/Pillar.html
> 
> I see that Pillar is a command line tool. The welcome example taken
> from this tutorial is:
> 
>   Pharo.exe Pillar.image pillar export --to=html
> --outputFile=welcome welcome.pillar
> 
> How can I run a command like this from within Pharo in a "playground"
> (former workspace)?
> 
> Later on I plan to construct a simple GUI with text boxes for Pillar
> sources and have some buttons executing these commands.
> 
> --Hannes
> 
> 
 
 I remember writing a part "Pillar from Pharo" in this doc. I'm not sure it
 is still up to date but you can try to check part 7 of the doc I sent.
 --
 Cyril Ferlicot
 https://ferlicot.fr
 
 http://www.synectique.eu
 2 rue Jacques Prévert 01,
 59650 Villeneuve d'ascq France
 
>>> 
> 

--
www.tudorgirba.com
www.feenk.com

"Problem solving efficiency grows with the abstractness level of problem 
understanding."







Re: [Pharo-users] [Pharo-dev] [Ann][Pillar] Travis -> Bintray for PDFs

2017-08-25 Thread Serge Stinckwich
This is great Stef !
I'm waiting for the documentation to update all my projects with the new
process.


On Fri, Aug 25, 2017 at 4:42 PM, Stephane Ducasse 
wrote:

>  Hi
>
> with Damien Pollet, we went over all the booklets and some of the
> Pharo books currently written in Pillar and made sure that each time
> you commit
>
> - a travis job is run
> - latex is produced as well as pdf
> - the pdf is stored on bintray
> - the release versions are stored on the github repo (I should verify)
>
> So now you can just do a PR and you get a super nice PDF.
>
> Have a look at Glorp or Voyage for example
>
> - https://github.com/SquareBracketAssociates/Booklet-Glorp
> - https://github.com/SquareBracketAssociates/Booklet-Voyage
>
> You can access the bintray files from the squarebracketassociates
> lovely binTray account :)
>
> https://bintray.com/squarebracketassociates/wip/download_file?file_path=
> voyage-wip.pdf
>
>
> I'm writing a doc of the process so that other people can do it for
> their private projects.
>
>
> Stef
>
>


-- 
Serge Stinckwich
UCN & UMI UMMISCO 209 (IRD/UPMC)
Every DSL ends up being Smalltalk
http://www.doesnotunderstand.org/


Re: [Pharo-users] Minimizing an Application

2017-08-25 Thread Stephane Ducasse
It is always easier to start than to finish something. :)
For the small core we are getting there as Guillermo work showed it to us.
70 is bootstrap from source. Do you believe it? It is real and tangible. People
can do it on their own machine. And this is just the start.

Now we have our roadmap it is available and we will work on that roadmap.
We know where we go and why we go there :).

Stef

On Fri, Aug 25, 2017 at 1:44 PM, Tim Mackinnon  wrote:
> Mariano's PhD was on this - as mentioned it to me a few weeks ago. This was
> one of the reasons for building fuel - to enable this sort of thing on top -
> and he proved it worked.
>
> Dimitrus - the idea is to I have a small core that loads quick and then less
> used elements can be paged in when needed (but maybe that's what you're
> saying too).
>
> I disagree that Pharo desperately needs image assembly tools. It's quite
> specialised - and we have some core tools to work with,  and minimal images
> to start from.
>
> While I'd love more - finishing off what we already have in play (e.g. Got,
> bloc, Calypso ...) would seem more urgent.
>
> Tim
>
> Sent from my iPhone
>
> On 25 Aug 2017, at 08:47, Dimitris Chloupis  wrote:
>
> I still dont know what opening has to do with transmitting, even when you do
> it remotely , a socket / websocket connection should be all you need. For me
> transmitting the entire image would be necessary only in the case you want
> to install it remotely and that remote location has no immediate access to
> the installation.
>
> On Fri, Aug 25, 2017 at 7:14 AM Ben Coman  wrote:
>>
>> I understand that to mean effectively that you are "opening" the image
>> across the net - so eventually you need to whole image transmitted, but you
>> don't have to wait for the whole thing before you start running it.
>> cheers -ben
>>
>>
>> On Fri, Aug 25, 2017 at 2:00 AM, Dimitris Chloupis 
>> wrote:
>>>
>>> Indeed that can be a barrier  but why you would want to transmit an
>>> entire image instead of portion of it using something like fuel files or
>>> other binary formats ? It would dramatically reduce the size of data you
>>> transmit.
>>>
>>> On Thu, Aug 24, 2017 at 8:10 PM Craig Latta 
>>> wrote:


 > ...10mbs which is the size pharo image can be reduced to is nothing
 > for todays TBs hard drives and GBs flash drives and online storage.
 > Unless you do an embedded app and 10 mbs are huge for your limited
 > storage.

  Or you want to minimize initial startup time, including the time it
 takes to transmit the entire system over the net.


 -C

 --
 Craig Latta
 Black Page Digital
 Amsterdam :: San Francisco
 cr...@blackpagedigital.com
 voice through 2017-09-12:
 + 1 510 833 5799 (SMS ok)
 +31  20 893 2796 (no SMS)


>>
>