Re: [Pharo-users] Dark Mode

2017-08-28 Thread Markus Stumptner

On 28/08/17 06:07, Dimitris Chloupis wrote:



I completely agree - dark mode is great for content that you want to
look cool, but no one consumes. :-)


You assume wrong cause dark themes have been dominating GUIs for over 
3 decades now.
Not really; bright on dark was only dominant in the days of the CRT 
terminal when there were no "themes".  (Even if you could do it as a 
hardware switch, setting, say, a VT220 to black-on-white both looked 
terrible as it was more an uneven gray, and tended to dim  the tube more 
quickly by burning in the background.)


Instead, since full bitmap graphics happened, all screen interfaces back 
to Xerox's prototype office systems, then Lisa/Macintosh, and then 
Windows 2.1 have been using dark type on a white background for text 
work.  Partly this was because of the original office metaphor, but 
partly also because it was shown that it was easier (meaning, less error 
prone) to read.


Here's a study that showed that participants were 26% more accurate in 
reading text that way (note that "contrast reversal" on displays in 
those days meant dark characters on white background):


Bauer, D., & Cavonius, C., R. (1980). Improving the legibility of visual 
display units through contrast reversal.
In E. Grandjean, E. Vigliani (Eds.),  Ergonomic Aspects of Visual 
Display Terminals (pp. 137-142).

London: Taylor & Francis

There were other studies in the 1980s that didn't report lower errors 
but instead faster reading with black on white. Academically, the 
matter's pretty much considered settled - black on white is better for 
most of the population, and that's on screen, not on paper. (You can 
substitute any degree of light or creamy for the white, that's really a 
variation of screen quality.)


The engineering workstations of the late 80s and 90s (Sun etc) used 
black and white as the application default as well, with white on black 
limited to console/shell windows. This was partly for consistency with 
the old style, partly for easy contrast with application windows in a 
multi-window environment.


Pharo was the rare exception of using a white theme. Light themes may 
be popular but white are definitely not. The web is the last fort of 
bright themes, but the web was and still is eons behind when it comes 
to matters of UI.
Most other Smalltalks are dark-on-light by default all the way back to 
Smalltalk-80 out of Xerox PARC.  None of this had anything to do with 
the Web, which came after, but which obviously also profits from the 
same increase in readability.  Rather than behind, Smalltalk was ahead 
and the rest of the world followed.


The dark theme as default in Pharo I personally consider a step back. As 
someone who's been busy for 25+ years defending use of Smalltalk for 
real applications, a return to a primarily developer-cool presentation 
instead of a user-oriented default is IMO not a plus for a language 
branch that was billed as more industry-oriented (which IMO is not 
exactly the same as developer-oriented).  But I also understand the 
desire to attract developers with the look that's currently fashionable.


That said, I wonder if the recent preference for dark among developers 
(not Pharo-specific, but many languages) has to do with the rise of 
widespread code highlighting. I could see how colour highlighting shows 
up better on a dark background than being glared over by a white one.


Markus


[Pharo-users] CodeImporter. 256 literals limit

2017-08-28 Thread Andreas Sunardi
I have written a tool (Pharo5) where user gives an input file to it, where
the content is a smalltalk code, a DSL. I used a subclass of CodeImporter
class to evaluate this input file.

Recently my user used an input file where it hit the 256 literal limit
(total of unique string, number, method name, etc), down in
OpalEncoderForV3PlusClosures >> genPushLiteral:. The number seems to be
hard coded and related to byte code generator, not something I can simply
increase. I wasn't aware of this limitation.

Before I overhaul my tool, I thought I should ask. Is there another
alternative to evaluate a smalltalk file/script? The file is small, 27k,
but the number of unique literals in it is > 256. Is it possible at all,
seeing that the limit is related to byte code generator.

Thank you in advance
--
Andreas Sunardi


Re: [Pharo-users] Code mystery

2017-08-28 Thread Dimitris Chloupis
You are not going crazy that's an ugly method. Probably the author intended
to use dir and the forgot about it and instead hard coded the dir path
inside a class method. A mistake that can happen to anyone.

The method will have to be updated anyway because name is to be removed, so
it won't work.

As always too much code too few people. If you think that's bad embrace
yourself if you try to read Morphic code. Huge suffering for me when I
tried to learn how the task bar works and apparently using it wrong it
freezes the image.

Tons of Pharo code needs a clean but needs also a lot more people.
On Tue, 29 Aug 2017 at 01:52, PBKResearch  wrote:

> Hello All
>
>
>
> Following the discussion on dark mode, I was browsing the code on themes
> (in Moose 6.1 = Pharo 6.0, Latest update: #60486). In Class ThemeIcons, I
> found this method:
>
>
>
> downloadTo: dir
>
>| zipArchive |
>
>
>
>zipArchive := self class destinationPath / (self name,
> '.zip').
>
>zipArchive exists
>
>   ifFalse: [
>
>  ZnClient new
>
> url: self url;
>
> downloadTo:
> zipArchive ].
>
>
>
>^ zipArchive
>
>
>
> The mystery is that the argument dir is not referred to anywhere in the
> code. It probably works, because the only invocation of the method is from
> ThemeIcons>>downloadFromUrl, which sets the argument from self class
> destinationPath, and the code above recreates this as the path to
> zipArchive.
>
>
>
> I thought I understood Smalltalk coding fairly well, but this really
> puzzles me. Why would anyone code like this? Shouldn’t it be picked up by a
> code critic? Or am I going crazy?
>
>
>
> Any help gratefully received
>
>
>
> Peter Kenny
>


[Pharo-users] Code mystery

2017-08-28 Thread PBKResearch
Hello All

 

Following the discussion on dark mode, I was browsing the code on themes (in
Moose 6.1 = Pharo 6.0, Latest update: #60486). In Class ThemeIcons, I found
this method:

 

downloadTo: dir

   | zipArchive |

   

   zipArchive := self class destinationPath / (self name,
'.zip').

   zipArchive exists 

  ifFalse: [ 

 ZnClient new

url: self url;

downloadTo:
zipArchive ].

 

   ^ zipArchive

 

The mystery is that the argument dir is not referred to anywhere in the
code. It probably works, because the only invocation of the method is from
ThemeIcons>>downloadFromUrl, which sets the argument from self class
destinationPath, and the code above recreates this as the path to
zipArchive.

 

I thought I understood Smalltalk coding fairly well, but this really puzzles
me. Why would anyone code like this? Shouldn't it be picked up by a code
critic? Or am I going crazy?

 

Any help gratefully received

 

Peter Kenny



Re: [Pharo-users] How to create a minimal image ?

2017-08-28 Thread Ben Coman
On Mon, Aug 28, 2017 at 9:32 PM, Pavel Krivanek 
wrote:

>
>
> 2017-08-28 13:33 GMT+02:00 Dimitris Chloupis :
>
>> for me Pharo and GUI go hand in hand, I cannot imagine Pharo without GUI.
>> I also despise the command line. Plus once you remove the GUI you kill the
>> very essence of Smalltalk.
>>
>> But if that is what you(you as all people who support this) like and
>> need, that's your choice and I respect that.
>>
>> Even back in the 80s when almost everything was command lines , I was
>> drooling over Amiga's 500 beautiful coloured GUIs. It started my
>> fascination with computer graphics and later 3d graphics and sound.
>>
>> So me and the GUI are very old friends and we go hand in hand :)
>>
>> Of course I understand if we want to go super minimal the GUI has to go
>> together with many other things that make Pharo what it is. But I dont care
>> for such extremes. I just wanted to reduce the fat.
>>
>
> We want Pharo without GUI to have better Pharo with GUI :-)
>

A super-simple-GUI in a minimal image step could later provide Emergency
Tools facilities, so would not be redundant code (I've not been much
successful using the current Emergency Evaluator.)
Perhaps even a REPL like interface.  Editing could be done in an external
editor and pasted into the REPL in this form... .
SomeClass>>#someMethod
self doStuff.

Are Bloc and Brick going to be loadable separately?
How big is Bloc on its own?  Would it (or some core subset of it) form a
good basis for new Emergency Tools, or should they completely separate?
A decision tree might be useful to see the overlap of different design
options here showing the size of each bootstrap step.

cheers -ben


Re: [Pharo-users] constraining dragging movement of Morph Windows

2017-08-28 Thread H. Hirzel
Hello Peter

A hint, but not yet the solution

 World griddingOnOff.

toggles the grid for morphs.


  World setGridSpec.

Allows to set the grid.


   World griddingOn

tells if the grid is on or off

The commands above affect morphs,

Morph new openInWorld


but not the windows (Nautilus, Playground, ..., SystemWindow, ...)


Something else in addition seems to be needed ..

Regards
Hannes

On 8/28/17, Peter Uhnák  wrote:
> Hi,
>
> is it possible to somehow "constraint" the movement of windows (Nautilus,
> Playground, ..., SystemWindow, ...)?
>
> E.g. I want for them to only move (or "snap") only at steps of e.g. 20
> pixels.
>
> So sort of snap-to-20-pixel-grid behavior.
>
> Thanks,
> Peter
>



Re: [Pharo-users] Dark Mode

2017-08-28 Thread p...@highoctane.be
Dark Gmail, Dark Twitter, Wikipedia... etc no problem with Stylish.

https://userstyles.org/styles/browse?search_terms=gmail

Or make your own - here are a few I made.

https://userstyles.org/users/304480

I should do a dark Pharo.org :-)

Phil



On Mon, Aug 28, 2017 at 9:11 PM, Dimitris Chloupis 
wrote:

> Actually what you say makes no sense to me because my monitor is already
> at bare minimum. Its not the intensity, its the contrast. The problem
> obviously is not an exposure of 30 minutes. The mail I am writing now  has
> a white background. But its not a problem because I spent an 1 hour tops
> with email total time. I would like if Gmail had a dark theme but its no
> big deal.  However when one spent more than 8 hours it becomes a problem.
>
> It was the same when I was studying in UK law. I was very used into
> reading english because the vast majority of the coding books I had bought
> and reading since I was 13 years old were in english. It was not a problem
> reading for an hour, but after 5 hours both my eyes and brain were tired.
> Its that extra effort that accumulates hour by hour and the more time you
> spent, the more obvious it becomes. 5 hours reading a book in my mother
> tongue is like night and day.
>
> So  when I was spending a lot of hours working with Pharo the white them
> did became a major problem for me. Its not as if I see a light theme and
> after a few minutes I scream in pain "Oh my eyes are burning" :D
>
>
>
> On Mon, Aug 28, 2017 at 9:55 PM Peter Uhnák  wrote:
>
>> Or you people can just dim your screen instead of staring into a 60W
>> lightbulb... then the theme doesn't matter.
>>
>> On Mon, Aug 28, 2017 at 8:38 PM, Alexandre Bergel <
>> alexandre.ber...@me.com> wrote:
>>
>>> Ups… I think this FIT file format is for something else…
>>>
>>> Alexandre
>>> --
>>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>>> Alexandre Bergel  http://www.bergel.eu
>>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>>
>>>
>>>
>>> On Aug 28, 2017, at 3:36 PM, Alexandre Bergel 
>>> wrote:
>>>
>>> Hi Phil,
>>>
>>> Yes, I wrote a FIT file parser. FIT is used to store “scientific”
>>> images, in particular for astronomy and medicine.
>>> Do you want the code?
>>>
>>> Alexandre
>>> --
>>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>>> Alexandre Bergel  http://www.bergel.eu
>>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>>
>>>
>>>
>>> On Aug 28, 2017, at 9:36 AM, p...@highoctane.be wrote:
>>>
>>> You can eat eggs all you want provided you burn the calories. They are
>>> shock full of amino acids.
>>>
>>> Cholesterol is a precursor of testosterone, so, no cholesterol is going
>>> to put a man in a bad place.
>>>
>>> Eggs and heavy deadlifts and squats. Yay, feel the burn.
>>>
>>> Speaking of which: anyone have a .fit file binding for Pharo?
>>>
>>> See this forum thread for a clue: https://www.thisisant.
>>> com/forum/viewthread/4275
>>>
>>> Roassal + Dataframe on fit files would be a great thing to have.
>>>
>>> Phil
>>>
>>>
>>>
>>>
>>>
>>> On Mon, Aug 28, 2017 at 2:20 PM, Dimitris Chloupis <
>>> kilon.al...@gmail.com> wrote:
>>>
 Nutrition wise, scientists always agreed that eggs contained pretty
 much everything the body needs. Problem was cholesterol which the egg does
 significant rise.

 The fact that did change was that high cholesterol is bad, some doctors
 would argue even deadly for ones health. Problem was that this fact was
 based on a research that was on a very small group of subjects and if I am
 not mistaken it was not even humans it was lab rats.

 The problem none really funded a serious research for this fact and
 when they did they discovered that indeed eggs and other food do raise
 cholesterol significantly but our liver is capable of reducing the
 production of cholesterol to compensate hence its nowhere near as harmful
 as they used to assume.

 Science is flawed mainly because finding small facts is easy and cheap
 but general fact are very complex and very very expensive.

 Like all things, you get what you are paying for. This is why you see
 and hear so many contradictory facts. They are mostly based on simple cheap
 research. Plus "fact" is purely a fantasy, our world is too complex for
 facts as most people define them. There is truth sure, but not as easy to
 consume and explain as we would wish.

 The preference to light and dark themes is not product of bad
 scientific research. I suspect the reasons are too complex for science
 anyway because we are even eons away from explaining the human brain and
 how it works.

 Pharo not only allow you to choose a theme but its theme classes are
 actually very easy to use which is something it inherit from Squeak. It
 took me a day to create my own theme.

 The Dark UI theme class is excellent example 

Re: [Pharo-users] Dark Mode

2017-08-28 Thread p...@highoctane.be
Dimming a LED screen is a bad idea. It flickers because of PWM.

My older Dell CCFL monitor feels better than brand new LED things with
brightness down.

http://www.flatpanelshd.com/focus.php?subaction=showfull=1362457985

Nvidia drivers are indeed a good thing!

Phil


On Mon, Aug 28, 2017 at 8:54 PM, Peter Uhnák  wrote:

> Or you people can just dim your screen instead of staring into a 60W
> lightbulb... then the theme doesn't matter.
>
> On Mon, Aug 28, 2017 at 8:38 PM, Alexandre Bergel  > wrote:
>
>> Ups… I think this FIT file format is for something else…
>>
>> Alexandre
>> --
>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>> Alexandre Bergel  http://www.bergel.eu
>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>
>>
>>
>> On Aug 28, 2017, at 3:36 PM, Alexandre Bergel 
>> wrote:
>>
>> Hi Phil,
>>
>> Yes, I wrote a FIT file parser. FIT is used to store “scientific” images,
>> in particular for astronomy and medicine.
>> Do you want the code?
>>
>> Alexandre
>> --
>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>> Alexandre Bergel  http://www.bergel.eu
>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>
>>
>>
>> On Aug 28, 2017, at 9:36 AM, p...@highoctane.be wrote:
>>
>> You can eat eggs all you want provided you burn the calories. They are
>> shock full of amino acids.
>>
>> Cholesterol is a precursor of testosterone, so, no cholesterol is going
>> to put a man in a bad place.
>>
>> Eggs and heavy deadlifts and squats. Yay, feel the burn.
>>
>> Speaking of which: anyone have a .fit file binding for Pharo?
>>
>> See this forum thread for a clue: https://www.thisisant.co
>> m/forum/viewthread/4275
>>
>> Roassal + Dataframe on fit files would be a great thing to have.
>>
>> Phil
>>
>>
>>
>>
>>
>> On Mon, Aug 28, 2017 at 2:20 PM, Dimitris Chloupis > > wrote:
>>
>>> Nutrition wise, scientists always agreed that eggs contained pretty much
>>> everything the body needs. Problem was cholesterol which the egg does
>>> significant rise.
>>>
>>> The fact that did change was that high cholesterol is bad, some doctors
>>> would argue even deadly for ones health. Problem was that this fact was
>>> based on a research that was on a very small group of subjects and if I am
>>> not mistaken it was not even humans it was lab rats.
>>>
>>> The problem none really funded a serious research for this fact and when
>>> they did they discovered that indeed eggs and other food do raise
>>> cholesterol significantly but our liver is capable of reducing the
>>> production of cholesterol to compensate hence its nowhere near as harmful
>>> as they used to assume.
>>>
>>> Science is flawed mainly because finding small facts is easy and cheap
>>> but general fact are very complex and very very expensive.
>>>
>>> Like all things, you get what you are paying for. This is why you see
>>> and hear so many contradictory facts. They are mostly based on simple cheap
>>> research. Plus "fact" is purely a fantasy, our world is too complex for
>>> facts as most people define them. There is truth sure, but not as easy to
>>> consume and explain as we would wish.
>>>
>>> The preference to light and dark themes is not product of bad scientific
>>> research. I suspect the reasons are too complex for science anyway because
>>> we are even eons away from explaining the human brain and how it works.
>>>
>>> Pharo not only allow you to choose a theme but its theme classes are
>>> actually very easy to use which is something it inherit from Squeak. It
>>> took me a day to create my own theme.
>>>
>>> The Dark UI theme class is excellent example for anyone who wants to
>>> subclass it and create his own light or dark theme because its not that
>>> complex.
>>>
>>> On Mon, Aug 28, 2017 at 2:57 PM Davorin Rusevljan <
>>> davorin.rusevl...@gmail.com> wrote:
>>>
 If I can throw in my 2c, themes are like nutrition facts. When I was a
 kid eggs were the healthiest thing to consume in universe. Then they were a
 root of all evil, and now days are nutrition packed food.

 I have observed similar circles in background color usability. Pharo
 has ability to choose a theme, it has both currently fashionable and older
 ones to choose from. I do not see need for anything else on that front.

 Davorin Rusevljan

>>>
>>
>>
>>
>


Re: [Pharo-users] Dark Mode

2017-08-28 Thread p...@highoctane.be
Alexandre,

Sure, I have swimming files from my Garmin Swim watch and I'd love to graph
them in Roassal/Datatable/Pharo.

Hope we are talking about the same format.

Phil

On Mon, Aug 28, 2017 at 8:36 PM, Alexandre Bergel 
wrote:

> Hi Phil,
>
> Yes, I wrote a FIT file parser. FIT is used to store “scientific” images,
> in particular for astronomy and medicine.
> Do you want the code?
>
> Alexandre
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel  http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>
> On Aug 28, 2017, at 9:36 AM, p...@highoctane.be wrote:
>
> You can eat eggs all you want provided you burn the calories. They are
> shock full of amino acids.
>
> Cholesterol is a precursor of testosterone, so, no cholesterol is going to
> put a man in a bad place.
>
> Eggs and heavy deadlifts and squats. Yay, feel the burn.
>
> Speaking of which: anyone have a .fit file binding for Pharo?
>
> See this forum thread for a clue: https://www.thisisant.
> com/forum/viewthread/4275
>
> Roassal + Dataframe on fit files would be a great thing to have.
>
> Phil
>
>
>
>
>
> On Mon, Aug 28, 2017 at 2:20 PM, Dimitris Chloupis 
> wrote:
>
>> Nutrition wise, scientists always agreed that eggs contained pretty much
>> everything the body needs. Problem was cholesterol which the egg does
>> significant rise.
>>
>> The fact that did change was that high cholesterol is bad, some doctors
>> would argue even deadly for ones health. Problem was that this fact was
>> based on a research that was on a very small group of subjects and if I am
>> not mistaken it was not even humans it was lab rats.
>>
>> The problem none really funded a serious research for this fact and when
>> they did they discovered that indeed eggs and other food do raise
>> cholesterol significantly but our liver is capable of reducing the
>> production of cholesterol to compensate hence its nowhere near as harmful
>> as they used to assume.
>>
>> Science is flawed mainly because finding small facts is easy and cheap
>> but general fact are very complex and very very expensive.
>>
>> Like all things, you get what you are paying for. This is why you see and
>> hear so many contradictory facts. They are mostly based on simple cheap
>> research. Plus "fact" is purely a fantasy, our world is too complex for
>> facts as most people define them. There is truth sure, but not as easy to
>> consume and explain as we would wish.
>>
>> The preference to light and dark themes is not product of bad scientific
>> research. I suspect the reasons are too complex for science anyway because
>> we are even eons away from explaining the human brain and how it works.
>>
>> Pharo not only allow you to choose a theme but its theme classes are
>> actually very easy to use which is something it inherit from Squeak. It
>> took me a day to create my own theme.
>>
>> The Dark UI theme class is excellent example for anyone who wants to
>> subclass it and create his own light or dark theme because its not that
>> complex.
>>
>> On Mon, Aug 28, 2017 at 2:57 PM Davorin Rusevljan <
>> davorin.rusevl...@gmail.com> wrote:
>>
>>> If I can throw in my 2c, themes are like nutrition facts. When I was a
>>> kid eggs were the healthiest thing to consume in universe. Then they were a
>>> root of all evil, and now days are nutrition packed food.
>>>
>>> I have observed similar circles in background color usability. Pharo has
>>> ability to choose a theme, it has both currently fashionable and older ones
>>> to choose from. I do not see need for anything else on that front.
>>>
>>> Davorin Rusevljan
>>>
>>
>
>


Re: [Pharo-users] The Spec UI Framework. first translation to korean finish.

2017-08-28 Thread Stephane Ducasse
Hi Peter

1  We use luatex because of font encoding problems :).

2 We are using texlive 2016

3 Did you try the docker that damien pollet created because it
encapsulates latex
Damien used also memoir for the book template.

4 can you send me a little example of a latex file with korean we can try.

You do not need to know smacc and pillar is like markdown.

BTW two important points


1 Thanks for your trust in Pharo.
2 if you want to translate the Mooc teaser video in Korean, we have
spanish, french, japanese, spanish, ukrainian and portuguese for the
moment.

Stef



Stef


On Mon, Aug 28, 2017 at 6:34 AM, peter yoo  wrote:
> I do not know if it is possible or impossible. because:
>
> 1. failed to compile the SPEC UI Framework. Xetex would have caught the
> error, but I do not know about luatex.
> 2. I am using texlive 2017 with gentoo linux.
> 3. In Korea, when making a book, in most cases it is using an oblivior that
> has developed a memoir.
> 4. In most cases, TeX is used to specify the font in consideration of the
> CJK environment.
>
>
> If you set some basics, I will join you in the future. However, I do not
> know smacc, pillar, etc.



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

2017-08-28 Thread Dimitris Chloupis
well i linked to the job so people can choose the format they like pdf or
html, so i see no need to change it.

On Mon, Aug 28, 2017 at 2:38 PM H. Hirzel  wrote:

> Dimitris
>
> Please add a direct link to the Pillar chapter on the integration server
>
>
> https://ci.inria.fr/pharo-contribution/job/EnterprisePharoBook/lastSuccessfulBuild/artifact/book-result/PillarChap/Pillar.html
>
> The current link on the Pharo books web site is broken and this seems
> to be the main piece of documentation about Pillar.
>
> --Hannes
>
> On 8/26/17, Offray Vladimir Luna Cárdenas  wrote:
> > Thanks for keep me posted about your experiments. I would like to know
> > where the current interface doesn't suit your needs/tastes and how easy
> > was to use/extend the tool. I think that mind mapping problem would be
> > particularly well suited for your GUI approaches.
> >
> > Cheers,
> >
> > Offray
> >
> >
> > On 26/08/17 14:53, Dimitris Chloupis wrote:
> >> mind mapping is an interest of mine too, though i never tried to make
> >> one app for it yet. Ok will see if I will go down the Grafoscopio
> >> route and will keep you posted. I was thinking using it as an in-image
> >> interface for the wiki.
> >>
> >> On Sat, Aug 26, 2017 at 10:15 PM Offray Vladimir Luna Cárdenas
> >> > wrote:
> >>
> >> That would be pretty interesting and yes, it is under MIT.
> >>
> >> On custom GUI's I have thought about a mind mapping interface for
> >> Grafoscopio, for presentations. I would like to stretch the
> >> tree/graph metaphor so it can make what we do with different
> >> metaphors right now on "offimatics" (writing, calculation and
> >> presentation), so this custom metaphors are interesting to me.
> >>
> >> Cheers,
> >>
> >> Offray
> >>
> >>
> >> On 26/08/17 12:28, Dimitris Chloupis wrote:
> >>> How would you feel if I took grafoscopio and made a custom GUI
> >>> for it, mainly for personal usage ? Does it use the MIT license ?
> >>>
> >>> On Sat, Aug 26, 2017 at 6:56 PM Offray Vladimir Luna Cárdenas
> >>> > wrote:
> >>>
> >>> No it can't. Grafoscopio Markdown nodes just plain text boxes
> >>> with Markdown code inside, but I would like to have at least
> >>> syntax hightlighting for it. What Grafoscopio can do is to
> >>> traverse a tree and process node headers as markdown titles,
> >>> footnotes and others to produce a flat Markdown file to be
> >>> processed by Pandoc. Also, thanks to special %metadata nodes
> >>> in the tree, Grafoscopio can control & feedback the Pandoc
> >>> command line options *inside* the notebook, increasing
> >>> reproducibility, just by using plain Pharo dictionaries and
> >>> dynamic arrays. Then, you can use the Notebook menu to export
> >>> as PDF by running such options from the GUI.
> >>>
> >>> Cheers,
> >>>
> >>> Offray
> >>>
> >>>
> >>>
> >>> On 26/08/17 10:31, Dimitris Chloupis wrote:
>  Grafoscopio can display markdown files ?
> 
>  On Sat, Aug 26, 2017 at 5:38 PM Offray Vladimir Luna
>  Cárdenas   > wrote:
> 
>  Dimitris,
> 
>  I understand your practical reasons to have Markdown
>  over Pillar and in fact I have advocated several of
>  them. As I have said, Markdown ubiquity for complete
>  documentation workflows (including complete books) is
>  similar to git ubiquity for code. Despite having other
>  personal preferences in markup and DVCS, I think is
>  strategic to give them support in Pharo, without
>  precluding any work on our own tools (Monticello,
>  Metacello, Pillar, etc.).
> 
>  I'll try to make some experiments with integration of
>  Documenter in Grafoscopio and Markdown. They'll advance
>  slowly, because time constrains now that I'm trying to
>  finish my thesis, but once a week I'll try to show
>  advancements and make questions.
> 
>  Cheers,
> 
>  Offray
> 
> 
>  On 26/08/17 01:55, Dimitris Chloupis wrote:
> > As I said the format is not so important for me, the
> > reason why I chose markdown instead of pillar is
> > because you can edit it using github web interface
> > making it easier. The books will continue to use
> > Pillar, because making a book is obviously a lot more
> > sophisticated than creating a wiki that mainly has web
> >  

Re: [Pharo-users] Dark Mode

2017-08-28 Thread Dimitris Chloupis
Actually what you say makes no sense to me because my monitor is already at
bare minimum. Its not the intensity, its the contrast. The problem
obviously is not an exposure of 30 minutes. The mail I am writing now  has
a white background. But its not a problem because I spent an 1 hour tops
with email total time. I would like if Gmail had a dark theme but its no
big deal.  However when one spent more than 8 hours it becomes a problem.

It was the same when I was studying in UK law. I was very used into reading
english because the vast majority of the coding books I had bought and
reading since I was 13 years old were in english. It was not a problem
reading for an hour, but after 5 hours both my eyes and brain were tired.
Its that extra effort that accumulates hour by hour and the more time you
spent, the more obvious it becomes. 5 hours reading a book in my mother
tongue is like night and day.

So  when I was spending a lot of hours working with Pharo the white them
did became a major problem for me. Its not as if I see a light theme and
after a few minutes I scream in pain "Oh my eyes are burning" :D



On Mon, Aug 28, 2017 at 9:55 PM Peter Uhnák  wrote:

> Or you people can just dim your screen instead of staring into a 60W
> lightbulb... then the theme doesn't matter.
>
> On Mon, Aug 28, 2017 at 8:38 PM, Alexandre Bergel  > wrote:
>
>> Ups… I think this FIT file format is for something else…
>>
>> Alexandre
>> --
>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>> Alexandre Bergel  http://www.bergel.eu
>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>
>>
>>
>> On Aug 28, 2017, at 3:36 PM, Alexandre Bergel 
>> wrote:
>>
>> Hi Phil,
>>
>> Yes, I wrote a FIT file parser. FIT is used to store “scientific” images,
>> in particular for astronomy and medicine.
>> Do you want the code?
>>
>> Alexandre
>> --
>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>> Alexandre Bergel  http://www.bergel.eu
>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>
>>
>>
>> On Aug 28, 2017, at 9:36 AM, p...@highoctane.be wrote:
>>
>> You can eat eggs all you want provided you burn the calories. They are
>> shock full of amino acids.
>>
>> Cholesterol is a precursor of testosterone, so, no cholesterol is going
>> to put a man in a bad place.
>>
>> Eggs and heavy deadlifts and squats. Yay, feel the burn.
>>
>> Speaking of which: anyone have a .fit file binding for Pharo?
>>
>> See this forum thread for a clue:
>> https://www.thisisant.com/forum/viewthread/4275
>>
>> Roassal + Dataframe on fit files would be a great thing to have.
>>
>> Phil
>>
>>
>>
>>
>>
>> On Mon, Aug 28, 2017 at 2:20 PM, Dimitris Chloupis > > wrote:
>>
>>> Nutrition wise, scientists always agreed that eggs contained pretty much
>>> everything the body needs. Problem was cholesterol which the egg does
>>> significant rise.
>>>
>>> The fact that did change was that high cholesterol is bad, some doctors
>>> would argue even deadly for ones health. Problem was that this fact was
>>> based on a research that was on a very small group of subjects and if I am
>>> not mistaken it was not even humans it was lab rats.
>>>
>>> The problem none really funded a serious research for this fact and when
>>> they did they discovered that indeed eggs and other food do raise
>>> cholesterol significantly but our liver is capable of reducing the
>>> production of cholesterol to compensate hence its nowhere near as harmful
>>> as they used to assume.
>>>
>>> Science is flawed mainly because finding small facts is easy and cheap
>>> but general fact are very complex and very very expensive.
>>>
>>> Like all things, you get what you are paying for. This is why you see
>>> and hear so many contradictory facts. They are mostly based on simple cheap
>>> research. Plus "fact" is purely a fantasy, our world is too complex for
>>> facts as most people define them. There is truth sure, but not as easy to
>>> consume and explain as we would wish.
>>>
>>> The preference to light and dark themes is not product of bad scientific
>>> research. I suspect the reasons are too complex for science anyway because
>>> we are even eons away from explaining the human brain and how it works.
>>>
>>> Pharo not only allow you to choose a theme but its theme classes are
>>> actually very easy to use which is something it inherit from Squeak. It
>>> took me a day to create my own theme.
>>>
>>> The Dark UI theme class is excellent example for anyone who wants to
>>> subclass it and create his own light or dark theme because its not that
>>> complex.
>>>
>>> On Mon, Aug 28, 2017 at 2:57 PM Davorin Rusevljan <
>>> davorin.rusevl...@gmail.com> wrote:
>>>
 If I can throw in my 2c, themes are like nutrition facts. When I was a
 kid eggs were the healthiest thing to consume in universe. Then they were a
 root of all evil, and now days are nutrition packed food.

 I have observed 

Re: [Pharo-users] Dark Mode

2017-08-28 Thread Peter Uhnák
Or you people can just dim your screen instead of staring into a 60W
lightbulb... then the theme doesn't matter.

On Mon, Aug 28, 2017 at 8:38 PM, Alexandre Bergel 
wrote:

> Ups… I think this FIT file format is for something else…
>
> Alexandre
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel  http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>
> On Aug 28, 2017, at 3:36 PM, Alexandre Bergel 
> wrote:
>
> Hi Phil,
>
> Yes, I wrote a FIT file parser. FIT is used to store “scientific” images,
> in particular for astronomy and medicine.
> Do you want the code?
>
> Alexandre
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel  http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>
> On Aug 28, 2017, at 9:36 AM, p...@highoctane.be wrote:
>
> You can eat eggs all you want provided you burn the calories. They are
> shock full of amino acids.
>
> Cholesterol is a precursor of testosterone, so, no cholesterol is going to
> put a man in a bad place.
>
> Eggs and heavy deadlifts and squats. Yay, feel the burn.
>
> Speaking of which: anyone have a .fit file binding for Pharo?
>
> See this forum thread for a clue: https://www.thisisant.
> com/forum/viewthread/4275
>
> Roassal + Dataframe on fit files would be a great thing to have.
>
> Phil
>
>
>
>
>
> On Mon, Aug 28, 2017 at 2:20 PM, Dimitris Chloupis 
> wrote:
>
>> Nutrition wise, scientists always agreed that eggs contained pretty much
>> everything the body needs. Problem was cholesterol which the egg does
>> significant rise.
>>
>> The fact that did change was that high cholesterol is bad, some doctors
>> would argue even deadly for ones health. Problem was that this fact was
>> based on a research that was on a very small group of subjects and if I am
>> not mistaken it was not even humans it was lab rats.
>>
>> The problem none really funded a serious research for this fact and when
>> they did they discovered that indeed eggs and other food do raise
>> cholesterol significantly but our liver is capable of reducing the
>> production of cholesterol to compensate hence its nowhere near as harmful
>> as they used to assume.
>>
>> Science is flawed mainly because finding small facts is easy and cheap
>> but general fact are very complex and very very expensive.
>>
>> Like all things, you get what you are paying for. This is why you see and
>> hear so many contradictory facts. They are mostly based on simple cheap
>> research. Plus "fact" is purely a fantasy, our world is too complex for
>> facts as most people define them. There is truth sure, but not as easy to
>> consume and explain as we would wish.
>>
>> The preference to light and dark themes is not product of bad scientific
>> research. I suspect the reasons are too complex for science anyway because
>> we are even eons away from explaining the human brain and how it works.
>>
>> Pharo not only allow you to choose a theme but its theme classes are
>> actually very easy to use which is something it inherit from Squeak. It
>> took me a day to create my own theme.
>>
>> The Dark UI theme class is excellent example for anyone who wants to
>> subclass it and create his own light or dark theme because its not that
>> complex.
>>
>> On Mon, Aug 28, 2017 at 2:57 PM Davorin Rusevljan <
>> davorin.rusevl...@gmail.com> wrote:
>>
>>> If I can throw in my 2c, themes are like nutrition facts. When I was a
>>> kid eggs were the healthiest thing to consume in universe. Then they were a
>>> root of all evil, and now days are nutrition packed food.
>>>
>>> I have observed similar circles in background color usability. Pharo has
>>> ability to choose a theme, it has both currently fashionable and older ones
>>> to choose from. I do not see need for anything else on that front.
>>>
>>> Davorin Rusevljan
>>>
>>
>
>
>


[Pharo-users] constraining dragging movement of Morph Windows

2017-08-28 Thread Peter Uhnák
Hi,

is it possible to somehow "constraint" the movement of windows (Nautilus,
Playground, ..., SystemWindow, ...)?

E.g. I want for them to only move (or "snap") only at steps of e.g. 20
pixels.

So sort of snap-to-20-pixel-grid behavior.

Thanks,
Peter


Re: [Pharo-users] Dark Mode

2017-08-28 Thread Alexandre Bergel
Ups… I think this FIT file format is for something else…

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



> On Aug 28, 2017, at 3:36 PM, Alexandre Bergel  wrote:
> 
> Hi Phil,
> 
> Yes, I wrote a FIT file parser. FIT is used to store “scientific” images, in 
> particular for astronomy and medicine.
> Do you want the code?
> 
> Alexandre
> -- 
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel  http://www.bergel.eu 
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
> 
> 
> 
>> On Aug 28, 2017, at 9:36 AM, p...@highoctane.be  
>> wrote:
>> 
>> You can eat eggs all you want provided you burn the calories. They are shock 
>> full of amino acids.
>> 
>> Cholesterol is a precursor of testosterone, so, no cholesterol is going to 
>> put a man in a bad place.
>> 
>> Eggs and heavy deadlifts and squats. Yay, feel the burn.
>> 
>> Speaking of which: anyone have a .fit file binding for Pharo?
>> 
>> See this forum thread for a clue: 
>> https://www.thisisant.com/forum/viewthread/4275 
>> 
>> 
>> Roassal + Dataframe on fit files would be a great thing to have.
>> 
>> Phil
>> 
>> 
>> 
>> 
>> 
>> On Mon, Aug 28, 2017 at 2:20 PM, Dimitris Chloupis > > wrote:
>> Nutrition wise, scientists always agreed that eggs contained pretty much 
>> everything the body needs. Problem was cholesterol which the egg does 
>> significant rise. 
>> 
>> The fact that did change was that high cholesterol is bad, some doctors 
>> would argue even deadly for ones health. Problem was that this fact was 
>> based on a research that was on a very small group of subjects and if I am 
>> not mistaken it was not even humans it was lab rats. 
>> 
>> The problem none really funded a serious research for this fact and when 
>> they did they discovered that indeed eggs and other food do raise 
>> cholesterol significantly but our liver is capable of reducing the 
>> production of cholesterol to compensate hence its nowhere near as harmful as 
>> they used to assume. 
>> 
>> Science is flawed mainly because finding small facts is easy and cheap but 
>> general fact are very complex and very very expensive. 
>> 
>> Like all things, you get what you are paying for. This is why you see and 
>> hear so many contradictory facts. They are mostly based on simple cheap 
>> research. Plus "fact" is purely a fantasy, our world is too complex for 
>> facts as most people define them. There is truth sure, but not as easy to 
>> consume and explain as we would wish. 
>> 
>> The preference to light and dark themes is not product of bad scientific 
>> research. I suspect the reasons are too complex for science anyway because 
>> we are even eons away from explaining the human brain and how it works. 
>> 
>> Pharo not only allow you to choose a theme but its theme classes are 
>> actually very easy to use which is something it inherit from Squeak. It took 
>> me a day to create my own theme. 
>> 
>> The Dark UI theme class is excellent example for anyone who wants to 
>> subclass it and create his own light or dark theme because its not that 
>> complex. 
>> 
>> On Mon, Aug 28, 2017 at 2:57 PM Davorin Rusevljan 
>> > wrote:
>> If I can throw in my 2c, themes are like nutrition facts. When I was a kid 
>> eggs were the healthiest thing to consume in universe. Then they were a root 
>> of all evil, and now days are nutrition packed food. 
>> 
>> I have observed similar circles in background color usability. Pharo has 
>> ability to choose a theme, it has both currently fashionable and older ones 
>> to choose from. I do not see need for anything else on that front.
>> 
>> Davorin Rusevljan
>> 
> 



Re: [Pharo-users] Dark Mode

2017-08-28 Thread Alexandre Bergel
Hi Phil,

Yes, I wrote a FIT file parser. FIT is used to store “scientific” images, in 
particular for astronomy and medicine.
Do you want the code?

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



> On Aug 28, 2017, at 9:36 AM, p...@highoctane.be wrote:
> 
> You can eat eggs all you want provided you burn the calories. They are shock 
> full of amino acids.
> 
> Cholesterol is a precursor of testosterone, so, no cholesterol is going to 
> put a man in a bad place.
> 
> Eggs and heavy deadlifts and squats. Yay, feel the burn.
> 
> Speaking of which: anyone have a .fit file binding for Pharo?
> 
> See this forum thread for a clue: 
> https://www.thisisant.com/forum/viewthread/4275 
> 
> 
> Roassal + Dataframe on fit files would be a great thing to have.
> 
> Phil
> 
> 
> 
> 
> 
> On Mon, Aug 28, 2017 at 2:20 PM, Dimitris Chloupis  > wrote:
> Nutrition wise, scientists always agreed that eggs contained pretty much 
> everything the body needs. Problem was cholesterol which the egg does 
> significant rise. 
> 
> The fact that did change was that high cholesterol is bad, some doctors would 
> argue even deadly for ones health. Problem was that this fact was based on a 
> research that was on a very small group of subjects and if I am not mistaken 
> it was not even humans it was lab rats. 
> 
> The problem none really funded a serious research for this fact and when they 
> did they discovered that indeed eggs and other food do raise cholesterol 
> significantly but our liver is capable of reducing the production of 
> cholesterol to compensate hence its nowhere near as harmful as they used to 
> assume. 
> 
> Science is flawed mainly because finding small facts is easy and cheap but 
> general fact are very complex and very very expensive. 
> 
> Like all things, you get what you are paying for. This is why you see and 
> hear so many contradictory facts. They are mostly based on simple cheap 
> research. Plus "fact" is purely a fantasy, our world is too complex for facts 
> as most people define them. There is truth sure, but not as easy to consume 
> and explain as we would wish. 
> 
> The preference to light and dark themes is not product of bad scientific 
> research. I suspect the reasons are too complex for science anyway because we 
> are even eons away from explaining the human brain and how it works. 
> 
> Pharo not only allow you to choose a theme but its theme classes are actually 
> very easy to use which is something it inherit from Squeak. It took me a day 
> to create my own theme. 
> 
> The Dark UI theme class is excellent example for anyone who wants to subclass 
> it and create his own light or dark theme because its not that complex. 
> 
> On Mon, Aug 28, 2017 at 2:57 PM Davorin Rusevljan 
> > wrote:
> If I can throw in my 2c, themes are like nutrition facts. When I was a kid 
> eggs were the healthiest thing to consume in universe. Then they were a root 
> of all evil, and now days are nutrition packed food. 
> 
> I have observed similar circles in background color usability. Pharo has 
> ability to choose a theme, it has both currently fashionable and older ones 
> to choose from. I do not see need for anything else on that front.
> 
> Davorin Rusevljan
> 



Re: [Pharo-users] Metalinks UI... ?

2017-08-28 Thread Steven Costiou
Thank you :) 

I will look into that :) 

Steven. 

Le 2017-08-28 20:15, Peter Uhnák a écrit :

> Maybe this? https://github.com/peteruhnak/metalinks-toolkit 
> It also enables/adds the browser icons. 
> 
> However, the toolkit was more towards preserving the metalinks when a method 
> changed... anyway, it is document. 
> 
> In metalink-wrapper branch there are also two undocumented classes 
> simplifying a bit the usage of metalinks, but I forgot to merge it and 
> document it... so. :) 
> 
> Peter 
> 
> On Mon, Aug 28, 2017 at 7:48 PM, Steven Costiou  
> wrote:
> 
> Yes there are the suggestions, but they provide already configured metalinks. 
> I am much more looking for a ui - even very basic - which allows to configure 
> a metalink options (target node, metaobject, selector, etc.). 
> 
> How can i enable the browser iconswe can see in your images for my own 
> metalinks ? 
> 
> Steven.
> 
> Le 2017-08-28 19:04, Peter Uhnák a écrit : 
> Maybe in Nautilus browser? 
> 
> When you right-click on a piece of code, in suggestions you see couple of 
> options to add metalinks that do some particular things. 
> 
> and then you have a ui for it 
> 
> You can also enable something similar for when you have your own metalink 
> attached to a particular AST node. 
> 
> Peter 
> 
> On Mon, Aug 28, 2017 at 4:28 PM, Steven Costiou  
> wrote:
> 
> Hi, 
> 
> i think somebody told me (i do not remember who) that an other somebody 
> (whose name i don't remember either) made a very basic UI for metalink 
> creation or management. Would somebody know of such project and where to find 
> it ? 
> 
> Thanks, 
> 
> Steven.

  

Re: [Pharo-users] Metalinks UI... ?

2017-08-28 Thread Peter Uhnák
>
>
> It also enables/adds the browser icons.
>

They are mentioned at the end of the readme, and placed under the "Utility"
tag (of MetaLinks-Toolkit package) when installed, so you could copy the
impl.

Peter


Re: [Pharo-users] Metalinks UI... ?

2017-08-28 Thread Peter Uhnák
Maybe this? https://github.com/peteruhnak/metalinks-toolkit
It also enables/adds the browser icons.

However, the toolkit was more towards preserving the metalinks when a
method changed... anyway, it is document.

In metalink-wrapper branch there are also two undocumented classes
simplifying a bit the usage of metalinks, but I forgot to merge it and
document it... so. :)

Peter

On Mon, Aug 28, 2017 at 7:48 PM, Steven Costiou 
wrote:

> Yes there are the suggestions, but they provide already configured
> metalinks. I am much more looking for a ui - even very basic - which allows
> to configure a metalink options (target node, metaobject, selector, etc.).
>
> How can i enable the browser iconswe can see in your images for my own
> metalinks ?
>
>
>
> Steven.
>
> Le 2017-08-28 19:04, Peter Uhnák a écrit :
>
> Maybe in Nautilus browser?
>
> When you right-click on a piece of code, in suggestions you see couple of
> options to add metalinks that do some particular things.
>
> [image: Inline image 1]
>
> and then you have a ui for it
> [image: Inline image 1]
>
> You can also enable something similar for when you have your own metalink
> attached to a particular AST node.
>
> Peter
>
>
> On Mon, Aug 28, 2017 at 4:28 PM, Steven Costiou 
> wrote:
>
>> Hi,
>>
>> i think somebody told me (i do not remember who) that an other somebody
>> (whose name i don't remember either) made a very basic UI for metalink
>> creation or management. Would somebody know of such project and where to
>> find it ?
>>
>>
>>
>> Thanks,
>>
>> Steven.
>>
>


Re: [Pharo-users] Dark Mode

2017-08-28 Thread Richard Sargent
On the history of screens and light versus dark...
[The TL;DR answer is "technological limitations of the era."]

Way back, in the days when Smalltalk was but a gleam in its fathers' eyes,
we had CRT technology. You know, magnetic coils sweeping a beam of electrons
across a phosphor coated glass surface to make the phosphor glow and present
images to people on the other side of the glass. There were two common forms
of this device: computer terminals and televisions. There wasn't a lot of
difference between the two.

Back in those days, the electron beam hitting the phosphor typically caused
a lot of "blooming" in terms of how much illumination occurred. In other
words, when writing green text on black, the pixels of phosphor glowed
brighter and spread out a bit into the surrounding black. Inverse video
text, on the other hand, showed a green or white background with black text
(the absence of electrons hitting the phosphor). The bloom from the
background squeezed in to the letter space and made letters much harder to
read.

Back in the 60s and 70s, computer screens tended to support 80x24 (or 25)
lines of text. 80 because that was the width of a Hollerith punched card, of
course. Graphics? Almost unheard of. There were efforts like Sketchpad
[Sutherland, and probably et al.]. Graphics didn't make much of an
appearance until the mid-70s with the early personal computers, most notably
the Apple II. The earlier Radio Shack TRS-80 was purely character oriented,
and the Exidy Sorcerer was character oriented but allowed one to
programmatically define the glyphs used for the character set (which allowed
a limited form of graphics).

Those early PCs utilized existing screen technology for their displays. By
"existing", I mean televisions. The RF (radio frequency) conversion and the
sloppy/low resolution of TVs at that time still left one with a greatly
limited display capability.

The first IBM PCs came with a CGA resolution video adapter. You can look up
the details. It was limited, to say the least.

About this time, the market for specialized monitors took off and the use of
TVs as monitors started to dwindle. Coincident with this, the computer
graphics market took off and the specialized monitors / resolution race
began.

With higher and higher resolution and better electronics, the phosphor bloom
effect was correspondingly reduced. And of course, with solid state
displays, the bloom effect disappeared entirely. (It's hard to have that
bloom when there is no phosphor and no electron beam sweeping over it.)


Coincident with the introduction of bitmapped graphics (the Smalltalk
machines, things like the envisioned Dynabook, and so on) created the
opportunity to have displays that mimicked the way we worked outside the
computer world. i.e. dark text on white paper.



--
View this message in context: 
http://forum.world.st/Dark-Mode-tp4964409p4965170.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.



Re: [Pharo-users] Metalinks UI... ?

2017-08-28 Thread Steven Costiou
Yes there are the suggestions, but they provide already configured
metalinks. I am much more looking for a ui - even very basic - which
allows to configure a metalink options (target node, metaobject,
selector, etc.). 

How can i enable the browser iconswe can see in your images for my own
metalinks ? 

Steven. 

Le 2017-08-28 19:04, Peter Uhnák a écrit :

> Maybe in Nautilus browser? 
> 
> When you right-click on a piece of code, in suggestions you see couple of 
> options to add metalinks that do some particular things. 
> 
> and then you have a ui for it 
> 
> You can also enable something similar for when you have your own metalink 
> attached to a particular AST node. 
> 
> Peter 
> 
> On Mon, Aug 28, 2017 at 4:28 PM, Steven Costiou  
> wrote:
> 
>> Hi, 
>> 
>> i think somebody told me (i do not remember who) that an other somebody 
>> (whose name i don't remember either) made a very basic UI for metalink 
>> creation or management. Would somebody know of such project and where to 
>> find it ? 
>> 
>> Thanks, 
>> 
>> Steven.
 

Re: [Pharo-users] How do I get at the Morphic halos in Pharo 6.0?

2017-08-28 Thread H. Hirzel
On 8/28/17, Sean P. DeNigris  wrote:
> Tim Mackinnon wrote
>> On OSX, you hold the Shift and Alt keys and then click on something.
>
> There is also `Morph cycleHalosBothDirections: true.` to re-enable
> non-Shift
> (i.e. bidirectional) cycling a la Squeak
>

Nice! Many thanks!

--Hannes

> -
> Cheers,
> Sean
> --
> View this message in context:
> http://forum.world.st/How-do-I-get-at-the-Morphic-halos-in-Pharo-6-0-tp4964959p4965163.html
> Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
>
>


Re: [Pharo-users] [Pillar] How do I include a picture which I get from aMorph imageFrom?

2017-08-28 Thread H. Hirzel
The answer (second option by writing the image to disk) is

| myMorph myForm myPillarSource myPillarDOM |

myMorph := AlignmentMorph newRow
   addMorph: (EllipseMorph new color: Color red);
   addMorph: (EllipseMorph new color: Color yellow);
   addMorph: (EllipseMorph new color: Color green);
   openInWorld.

myForm := myMorph imageForm.
myMorph delete.

PNGReadWriter
putForm: myForm
onFileNamed: 'myImage.png'.



myPillarSource := '

!The title
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do
eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad
minim veniam, quis nostrud exercitation ullamco laboris nisi ut
aliquip ex ea commodo consequat. Duis aute irure dolor in
reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla
pariatur.

+The caption of my image>file://myImage.png|label=myLabel+

Excepteur sint occaecat cupidatat non proident, sunt in culpa qui
officia deserunt mollit anim id est laborum.
'.


myPillarDOM :=   PRPillarParser parse: myPillarSource.


(PRHTMLWriter write: myPillarDOM) contents inspect





HH.


On 8/28/17, H. Hirzel  wrote:
> Hello
>
> Is it possible to include a in-image picture in Pillar which I get by
> evaluating
>
> myMorph imageForm?
>
> Or do I need to write the instance of Form I get by evaluating the
> expression above first as a PNG file to disk and get it from there.
>
>
> PNGReadWriter
>   putForm: myMorph imageForm
>   onFileNamed: aString
>
> If yes what is the default directory where does Pillar expects pictures --
>
>
> The Pillar cheat sheet [1] and the Pillar chapter in the Pharo
> enterprise book no 3 [2] have an example
>
> +Caption>file://image.png|width=50|label=label+
>
>
> Regards
>
> Hannes
>
>
>
> [1]
> http://pillarhub.pharocloud.com/hub/pillarhub/pillarcheatsheet
>
> [2] Section 3.8 of
> https://ci.inria.fr/pharo-contribution/job/EnterprisePharoBook/lastSuccessfulBuild/artifact/book-result/PillarChap/Pillar.html
>



Re: [Pharo-users] How do I get at the Morphic halos in Pharo 6.0?

2017-08-28 Thread Sean P. DeNigris
Tim Mackinnon wrote
> On OSX, you hold the Shift and Alt keys and then click on something.

There is also `Morph cycleHalosBothDirections: true.` to re-enable non-Shift
(i.e. bidirectional) cycling a la Squeak 



-
Cheers,
Sean
--
View this message in context: 
http://forum.world.st/How-do-I-get-at-the-Morphic-halos-in-Pharo-6-0-tp4964959p4965163.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.



[Pharo-users] Udo, an issue with the stable version - Re: Validate password with PBKDF2

2017-08-28 Thread Francis via Pharo-users
--- Begin Message ---
Hi Udo,

I've just downloaded your PBKDF2, but unfortunateley loading the stable
version
(Smalltalk at: #ConfigurationOfPBKDF2) project stableVersion load

makes the SHA256 class disappear.



So I reverted to a previous image and I loaded another version:
((Smalltalk at: #ConfigurationOfPBKDF2) project version: '0.0.5' ) load.

I think there is something weird in the stable version.
Cheers
Francis



--
View this message in context: 
http://forum.world.st/Validate-password-with-PBKDF2-tp4952973p4965143.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.

--- End Message ---


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

2017-08-28 Thread Dimitris Chloupis
You can use Pharo to make iOS apps .

Is it a good idea ?

Don't know but the author of Dr Geo can jump in here and advise you. he is
the one that released Dr Geo for iOS. I think it's Android that is a bit
more problematic.

Your freeze is indeed weird but when it comes to MacOS , it seems I am the
weird. The website advises that in Sierra Pharo 6.1 cannot work outside the
Application folder, it works for me.

I agree that hunting bugs , especially lower level requires a level
masochism :D

The easiest solution is to make sure the bug is outside Pharo. Maybe it's a
driver , MacOS is prone to these kind of problems. My first Mac was
crashing all my graphics orientated apps for 2 weeks after I bought it .
After second week Apple updated the GOU drivers I experienced crashes of
two or three per year. So do a thorough search if you have not done already
, there is always a smarter guy with a work around.

I am actually in the process of making a commercial Python app and wonder
whether I should put Pharo into the mix.

It's very tempting.




On Mon, 28 Aug 2017 at 17:14, TedVanGaalen  wrote:

> Hi Stephane, Ben
>
> In the Smalltalk world, you could value me as a relatively "simple"
> application developer  as a first attempt after a long time, I am trying to
> make
> a dentist's app with Pharo Smalltalk.
> (The intend is to use Smalltalk (Pharo) with Seaside and Postgress whenever
> possible,
> because today, Smalltalk is fast enough for most applications)
>
> At deeper levels, like working or even adequately understanding the inner
> workings of VMs
> I virtually have no knowledge. This is not my terrain. Although this might
> be interesting too,
>  it would cost me weeks to get into that, before being able to do things
> like debugging VM's...
>
> So also due to time constraints , I'd have to refrain from that, sorry,
> also because I am currently working on a new version of my app RavelNotes.
> This is in Swift ( i can live with that) btw, because Smalltalk is not
> available
> for making  native apps for iOS iPad. Would be an extremely daunting task
> to link all iOS libs etc into Smalltalk...
>
>
>
> cheers TedvG
>
>
>
>
>
>
> --
> View this message in context:
> http://forum.world.st/Pharo-6-0-and-6-1-64-bit-freeze-on-MacMini-tp4957969p4964995.html
> Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
>
>


Re: [Pharo-users] How to create a minimal image ?

2017-08-28 Thread Dimitris Chloupis
.

>
> We want Pharo without GUI to have better Pharo with GUI :-)
>
> -- Pavel
>

+1.000.000

>
I am a huge fan of the bootstrap project and of course it goes far beyond
the GUI. For me it's No1 in my list of my favorite new features for Pharo.

I am pretty sure it will also eliminate a ton of spaghetti code and make
the image far easier to understand.

>


[Pharo-users] Metalinks UI... ?

2017-08-28 Thread Steven Costiou
Hi, 

i think somebody told me (i do not remember who) that an other somebody
(whose name i don't remember either) made a very basic UI for metalink
creation or management. Would somebody know of such project and where to
find it ? 

Thanks, 

Steven. 

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

2017-08-28 Thread TedVanGaalen
Hi Stephane, Ben

In the Smalltalk world, you could value me as a relatively "simple"
application developer  as a first attempt after a long time, I am trying to
make 
a dentist's app with Pharo Smalltalk.  
(The intend is to use Smalltalk (Pharo) with Seaside and Postgress whenever
possible,
because today, Smalltalk is fast enough for most applications)

At deeper levels, like working or even adequately understanding the inner
workings of VMs
I virtually have no knowledge. This is not my terrain. Although this might
be interesting too,
 it would cost me weeks to get into that, before being able to do things
like debugging VM's...
 
So also due to time constraints , I'd have to refrain from that, sorry, 
also because I am currently working on a new version of my app RavelNotes. 
This is in Swift ( i can live with that) btw, because Smalltalk is not
available 
for making  native apps for iOS iPad. Would be an extremely daunting task 
to link all iOS libs etc into Smalltalk... 



cheers TedvG






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



Re: [Pharo-users] How to create a minimal image ?

2017-08-28 Thread Pavel Krivanek
2017-08-28 13:33 GMT+02:00 Dimitris Chloupis :

> for me Pharo and GUI go hand in hand, I cannot imagine Pharo without GUI.
> I also despise the command line. Plus once you remove the GUI you kill the
> very essence of Smalltalk.
>
> But if that is what you(you as all people who support this) like and need,
> that's your choice and I respect that.
>
> Even back in the 80s when almost everything was command lines , I was
> drooling over Amiga's 500 beautiful coloured GUIs. It started my
> fascination with computer graphics and later 3d graphics and sound.
>
> So me and the GUI are very old friends and we go hand in hand :)
>
> Of course I understand if we want to go super minimal the GUI has to go
> together with many other things that make Pharo what it is. But I dont care
> for such extremes. I just wanted to reduce the fat.
>

We want Pharo without GUI to have better Pharo with GUI :-)

-- Pavel


>
> On Mon, Aug 28, 2017 at 2:24 PM Pavel Krivanek 
> wrote:
>
>> What do you expect from such minimal image? Because we can produce
>> several intermediate steps on the way to the standard full Pharo image
>> (BaselineOfMorphicCore, BaselineOfMorphic, BaselineOfUI,
>> BaselineOfBasicTools...)
>>
>> -- Pavel
>>
>> 2017-08-28 13:17 GMT+02:00 Dimitris Chloupis :
>>
>>> oh , then its not what I am thinking as minimal image. Pity, oh well , I
>>> will wait for bootstrap to mature then :)
>>>
>>> On Mon, Aug 28, 2017 at 2:09 PM Pavel Krivanek 
>>> wrote:
>>>
 The minimal image is headless image without any GUI. It is useless to
 try to open it this way.

 -- Pavel

 2017-08-28 13:03 GMT+02:00 Dimitris Chloupis :

> hmm does not work for me, it open the icon of pharo on macos sierra
> dock and it stays there doing nothing
> right clicking on it and choosing quit does nothing, so I am have to
> use force quit to make it close
>
> I have downloaded pharo 6.1 from the website, default download, 32
> bit, minimal 32 bit image. I drag and drop image on top of pharo.
>
> On Mon, Aug 28, 2017 at 10:29 AM Pavel Krivanek <
> pavel.kriva...@gmail.com> wrote:
>
>> 2017-08-26 19:31 GMT+02:00 Dimitris Chloupis :
>>
>>> I remember that the website used to link to a minimal image download
>>> but it does not seem there is one anymore
>>>
>>> Is still minimal image maintained ?
>>>
>>
>> yes, as part of the bootstrap process
>>
>>
>>> Are there ways to make a image minimal ?
>>>
>>
>> it is created in bootstrap/scripts/build.sh under
>> name Pharo7.0-metacello-* and saved on files.pharo.org as
>> http://files.pharo.org/image/70/latest-minimal-32.zip or
>> http://files.pharo.org/image/70/latest-minimal-64.zip
>>
>> So you do not need to do it by yourself.
>>
>> -- Pavel
>>
>

>>


Re: [Pharo-users] How to create a minimal image ?

2017-08-28 Thread Thierry Goubier
2017-08-28 14:41 GMT+02:00 Pavel Krivanek :

> It is not that simple. The baseline expects that you will have a pharo
> repository clone in a folder named 'pharo-core' in your working directory.
> Then you need data  like files or icons.
>
> set -e
> wget http://files.pharo.org/sources/PharoV60.sources
> unzip pharo-core/resources/fonts/BitmapDejaVuSans.fuel -d .
> mkdir icon-packs
> cd icon-packs
> wget http://github.com/pharo-project/pharo-icon-packs/archive/idea11.zip
> cd ..
> pharo Pharo7.0-metacello-32bit-82ecd43.image --no-default-preferences
> eval --save "Metacello new baseline: 'UI';repository:
> 'filetree://pharo-core/src'; load"
>

Thanks.


>
> Unfortunatelly the resultant image is not usable - it immediately falls
> into the emergency evaluator - because of the dependencies on translation
> and fast table. We need to provide some care to it again because it is not
> generated regularly -> it gets quickly broken.
>

Understood. I think it may have an overall huge benefit by making the
system far more modular once done. But maybe, for it to work effectively,
one needs to have a usable minimal image with the GUI and very simple core
tools.

Regards,

Thierry


>
> -- Pavel
>
>
> 2017-08-28 13:47 GMT+02:00 Thierry Goubier :
>
>> Hi Pavel,
>>
>> what would be the expression for building such an intermediate image out
>> of the minimal image? This?
>>
>> Metacello new
>>   baseline: 'BasicTools';
>>   repository: 'github://pharo-project/pharo:master/src';
>>   load
>>
>> Regards,
>>
>> Thierry
>>
>>
>> 2017-08-28 13:24 GMT+02:00 Pavel Krivanek :
>>
>>> What do you expect from such minimal image? Because we can produce
>>> several intermediate steps on the way to the standard full Pharo image
>>> (BaselineOfMorphicCore, BaselineOfMorphic, BaselineOfUI,
>>> BaselineOfBasicTools...)
>>>
>>> -- Pavel
>>>
>>> 2017-08-28 13:17 GMT+02:00 Dimitris Chloupis :
>>>
 oh , then its not what I am thinking as minimal image. Pity, oh well ,
 I will wait for bootstrap to mature then :)

 On Mon, Aug 28, 2017 at 2:09 PM Pavel Krivanek <
 pavel.kriva...@gmail.com> wrote:

> The minimal image is headless image without any GUI. It is useless to
> try to open it this way.
>
> -- Pavel
>
> 2017-08-28 13:03 GMT+02:00 Dimitris Chloupis :
>
>> hmm does not work for me, it open the icon of pharo on macos sierra
>> dock and it stays there doing nothing
>> right clicking on it and choosing quit does nothing, so I am have to
>> use force quit to make it close
>>
>> I have downloaded pharo 6.1 from the website, default download, 32
>> bit, minimal 32 bit image. I drag and drop image on top of pharo.
>>
>> On Mon, Aug 28, 2017 at 10:29 AM Pavel Krivanek <
>> pavel.kriva...@gmail.com> wrote:
>>
>>> 2017-08-26 19:31 GMT+02:00 Dimitris Chloupis 
>>> :
>>>
 I remember that the website used to link to a minimal image
 download but it does not seem there is one anymore

 Is still minimal image maintained ?

>>>
>>> yes, as part of the bootstrap process
>>>
>>>
 Are there ways to make a image minimal ?

>>>
>>> it is created in bootstrap/scripts/build.sh under
>>> name Pharo7.0-metacello-* and saved on files.pharo.org as
>>> http://files.pharo.org/image/70/latest-minimal-32.zip or
>>> http://files.pharo.org/image/70/latest-minimal-64.zip
>>>
>>> So you do not need to do it by yourself.
>>>
>>> -- Pavel
>>>
>>
>
>>>
>>
>


Re: [Pharo-users] How to create a minimal image ?

2017-08-28 Thread Pavel Krivanek
2017-08-28 13:43 GMT+02:00 Hernán Morales Durand :

> Hi Pavel,
>
> Can you show how to produce an image without the following packages?
>
> Tests
> Spotter
> Glamour/GT
> Metacello
> AST/Refactoring
>

Sorry, I cannot. We are still not in the state where is possible to
configure our image this way. The graph of the package dependencies is
still too complex.

-- Pavel



>
> Cheers,
>
> Hernán
>
>
> 2017-08-28 8:24 GMT-03:00 Pavel Krivanek :
> > What do you expect from such minimal image? Because we can produce
> several
> > intermediate steps on the way to the standard full Pharo image
> > (BaselineOfMorphicCore, BaselineOfMorphic, BaselineOfUI,
> > BaselineOfBasicTools...)
> >
> > -- Pavel
> >
> > 2017-08-28 13:17 GMT+02:00 Dimitris Chloupis :
> >>
> >> oh , then its not what I am thinking as minimal image. Pity, oh well , I
> >> will wait for bootstrap to mature then :)
> >>
> >> On Mon, Aug 28, 2017 at 2:09 PM Pavel Krivanek <
> pavel.kriva...@gmail.com>
> >> wrote:
> >>>
> >>> The minimal image is headless image without any GUI. It is useless to
> try
> >>> to open it this way.
> >>>
> >>> -- Pavel
> >>>
> >>> 2017-08-28 13:03 GMT+02:00 Dimitris Chloupis :
> 
>  hmm does not work for me, it open the icon of pharo on macos sierra
> dock
>  and it stays there doing nothing
>  right clicking on it and choosing quit does nothing, so I am have to
> use
>  force quit to make it close
> 
>  I have downloaded pharo 6.1 from the website, default download, 32
> bit,
>  minimal 32 bit image. I drag and drop image on top of pharo.
> 
>  On Mon, Aug 28, 2017 at 10:29 AM Pavel Krivanek
>   wrote:
> >
> > 2017-08-26 19:31 GMT+02:00 Dimitris Chloupis  >:
> >>
> >> I remember that the website used to link to a minimal image download
> >> but it does not seem there is one anymore
> >>
> >> Is still minimal image maintained ?
> >
> >
> > yes, as part of the bootstrap process
> >
> >>
> >> Are there ways to make a image minimal ?
> >
> >
> > it is created in bootstrap/scripts/build.sh under name
> > Pharo7.0-metacello-* and saved on files.pharo.org as
> > http://files.pharo.org/image/70/latest-minimal-32.zip or
> > http://files.pharo.org/image/70/latest-minimal-64.zip
> >
> > So you do not need to do it by yourself.
> >
> > -- Pavel
> >>>
> >>>
> >
>
>


Re: [Pharo-users] How to create a minimal image ?

2017-08-28 Thread Pavel Krivanek
It is not that simple. The baseline expects that you will have a pharo
repository clone in a folder named 'pharo-core' in your working directory.
Then you need data  like files or icons.

set -e
wget http://files.pharo.org/sources/PharoV60.sources
unzip pharo-core/resources/fonts/BitmapDejaVuSans.fuel -d .
mkdir icon-packs
cd icon-packs
wget http://github.com/pharo-project/pharo-icon-packs/archive/idea11.zip
cd ..
pharo Pharo7.0-metacello-32bit-82ecd43.image --no-default-preferences eval
--save "Metacello new baseline: 'UI';repository:
'filetree://pharo-core/src'; load"

Unfortunatelly the resultant image is not usable - it immediately falls
into the emergency evaluator - because of the dependencies on translation
and fast table. We need to provide some care to it again because it is not
generated regularly -> it gets quickly broken.

-- Pavel


2017-08-28 13:47 GMT+02:00 Thierry Goubier :

> Hi Pavel,
>
> what would be the expression for building such an intermediate image out
> of the minimal image? This?
>
> Metacello new
>   baseline: 'BasicTools';
>   repository: 'github://pharo-project/pharo:master/src';
>   load
>
> Regards,
>
> Thierry
>
>
> 2017-08-28 13:24 GMT+02:00 Pavel Krivanek :
>
>> What do you expect from such minimal image? Because we can produce
>> several intermediate steps on the way to the standard full Pharo image
>> (BaselineOfMorphicCore, BaselineOfMorphic, BaselineOfUI,
>> BaselineOfBasicTools...)
>>
>> -- Pavel
>>
>> 2017-08-28 13:17 GMT+02:00 Dimitris Chloupis :
>>
>>> oh , then its not what I am thinking as minimal image. Pity, oh well , I
>>> will wait for bootstrap to mature then :)
>>>
>>> On Mon, Aug 28, 2017 at 2:09 PM Pavel Krivanek 
>>> wrote:
>>>
 The minimal image is headless image without any GUI. It is useless to
 try to open it this way.

 -- Pavel

 2017-08-28 13:03 GMT+02:00 Dimitris Chloupis :

> hmm does not work for me, it open the icon of pharo on macos sierra
> dock and it stays there doing nothing
> right clicking on it and choosing quit does nothing, so I am have to
> use force quit to make it close
>
> I have downloaded pharo 6.1 from the website, default download, 32
> bit, minimal 32 bit image. I drag and drop image on top of pharo.
>
> On Mon, Aug 28, 2017 at 10:29 AM Pavel Krivanek <
> pavel.kriva...@gmail.com> wrote:
>
>> 2017-08-26 19:31 GMT+02:00 Dimitris Chloupis :
>>
>>> I remember that the website used to link to a minimal image download
>>> but it does not seem there is one anymore
>>>
>>> Is still minimal image maintained ?
>>>
>>
>> yes, as part of the bootstrap process
>>
>>
>>> Are there ways to make a image minimal ?
>>>
>>
>> it is created in bootstrap/scripts/build.sh under
>> name Pharo7.0-metacello-* and saved on files.pharo.org as
>> http://files.pharo.org/image/70/latest-minimal-32.zip or
>> http://files.pharo.org/image/70/latest-minimal-64.zip
>>
>> So you do not need to do it by yourself.
>>
>> -- Pavel
>>
>

>>
>


Re: [Pharo-users] Dark Mode

2017-08-28 Thread Esteban A. Maringolo
I think it not only a matter of user preference, but also environment
lighting conditions.
In bright environments, as with natural light, I prefer to use the
light theme. At night or with artificial light dark theme fits better.

Regards,


Esteban A. Maringolo


2017-08-28 9:30 GMT-03:00 Tim Mackinnon :
>
> I found the place to adjust this - but I need to debug it as it seems my
> change also effects the colour used to highlight selected text (which is
> weird).
>
> If you modify the following method (possibly in a subclass), I found this
> helped - but haven’t figured out why text highlight colour would be impacted
> by this change?
>
> configureWindowBorderFor: aWindow
> "Made window borders a bit thcker and slightly lighter to its easier to
> distinguish
> overlapping windows"
> | aStyle |
> aStyle :=
> SimpleBorder new
> color: self borderColor lighter lighter lighter;
> width: 2.
> aWindow borderStyle: aStyle.
>
>
> Tim
>
> On 28 Aug 2017, at 01:08, PBKResearch  wrote:
>
> Dimitris
>
>
>
> Update – there is a sort of bug in the screenshot, which I have caused. I
> opened the page with my usual light theme, then changed themes. This updated
> the colour of the background, but not the text in the foreground. If I open
> the same playground display with the dark theme, the text is white and shows
> up OK. But I still don’t like it.
>
>
>
> Peter Kenny
>
>
>
> From: Pharo-users [mailto:pharo-users-boun...@lists.pharo.org] On Behalf Of
> PBKResearch
> Sent: 27 August 2017 23:48
> To: 'Any question about pharo is welcome' 
> Subject: Re: [Pharo-users] Dark Mode
>
>
>
> Dimitris
>
>
>
> Screenshot attached. Look particularly at the text in the right-hand page of
> the playground. Also the control buttons of the playground window – the
> buttons go black when the window gets focus. I opened the ‘About’ window so
> you can see which version I have – not yet Pharo 6.1, but not very out of
> date.
>
>
>
> Peter Kenny
>
>
>
> From: Pharo-users [mailto:pharo-users-boun...@lists.pharo.org] On Behalf Of
> Dimitris Chloupis
> Sent: 27 August 2017 23:10
> To: Any question about pharo is welcome 
> Subject: Re: [Pharo-users] Dark Mode
>
>
>
> Also most don't know this but light themes of Pharo were in part hard coded.
> Esteban in order to create the dark theme which is based on the most popular
> dark theme ( if my memory serves correctly) , Darcula , he had to remove all
> this nasty code. He essentially made it possible for Pharo to have themes
> without worrying about hard coded colors. So if you ever want to make the
> light theme even lighter you have the dark theme to thank for making it
> easier for you.
>
> Quite an irony , would not agree ?
>
> If the doctors say your eye sight is great , he knows what he is talking
> about.
>
> Black foreground against dark grey background sound like a bug. Care to
> share a screenshot ?
>
> On Mon, 28 Aug 2017 at 00:51, PBKResearch  wrote:
>
> I agree with Dimitris - it is all a matter of preference - not all eyes are
> the same. For myself, I find the default dark theme in Pharo very
> uncomfortable. On my system, some elements have a black foreground on a dark
> grey background, which is almost impossible to see. This is always true of
> the maximise/minimise/close buttons, but sometimes also of text fields in a
> playground. Whenever I download a new image, I immediately switch to the
> Watery theme, with light background and nice coloured buttons on the
> windows.
>
> Of course, my eyes may not be typical. I am now aged 84, and I have had
> cataract operations on both eyes. My sight is actually quite good - my
> optometrist confirms that I am legal to drive without spectacles - but my
> adverse reaction to dark mode is strong and immediate.
>
> Just my 2p worth
>
> Peter Kenny
>
> -Original Message-
> From: Pharo-users [mailto:pharo-users-boun...@lists.pharo.org] On Behalf Of
> stephan
> Sent: 27 August 2017 21:46
> To: pharo-users@lists.pharo.org
> Subject: Re: [Pharo-users] Dark Mode
>
> On 27-08-17 22:37, Dimitris Chloupis wrote:
>> White or dark is a matter of preference. But the matter of preference
>> is also a matter of biology . Not all eyes are same.
>
> The research is pretty clear: a large majority of developers does better
> with light themes. I have been sufficiently clear on the choice to make
> Pharo6 theme dark default
>
> Stephan
>



Re: [Pharo-users] Dark Mode

2017-08-28 Thread p...@highoctane.be
You can eat eggs all you want provided you burn the calories. They are
shock full of amino acids.

Cholesterol is a precursor of testosterone, so, no cholesterol is going to
put a man in a bad place.

Eggs and heavy deadlifts and squats. Yay, feel the burn.

Speaking of which: anyone have a .fit file binding for Pharo?

See this forum thread for a clue:
https://www.thisisant.com/forum/viewthread/4275

Roassal + Dataframe on fit files would be a great thing to have.

Phil





On Mon, Aug 28, 2017 at 2:20 PM, Dimitris Chloupis 
wrote:

> Nutrition wise, scientists always agreed that eggs contained pretty much
> everything the body needs. Problem was cholesterol which the egg does
> significant rise.
>
> The fact that did change was that high cholesterol is bad, some doctors
> would argue even deadly for ones health. Problem was that this fact was
> based on a research that was on a very small group of subjects and if I am
> not mistaken it was not even humans it was lab rats.
>
> The problem none really funded a serious research for this fact and when
> they did they discovered that indeed eggs and other food do raise
> cholesterol significantly but our liver is capable of reducing the
> production of cholesterol to compensate hence its nowhere near as harmful
> as they used to assume.
>
> Science is flawed mainly because finding small facts is easy and cheap but
> general fact are very complex and very very expensive.
>
> Like all things, you get what you are paying for. This is why you see and
> hear so many contradictory facts. They are mostly based on simple cheap
> research. Plus "fact" is purely a fantasy, our world is too complex for
> facts as most people define them. There is truth sure, but not as easy to
> consume and explain as we would wish.
>
> The preference to light and dark themes is not product of bad scientific
> research. I suspect the reasons are too complex for science anyway because
> we are even eons away from explaining the human brain and how it works.
>
> Pharo not only allow you to choose a theme but its theme classes are
> actually very easy to use which is something it inherit from Squeak. It
> took me a day to create my own theme.
>
> The Dark UI theme class is excellent example for anyone who wants to
> subclass it and create his own light or dark theme because its not that
> complex.
>
> On Mon, Aug 28, 2017 at 2:57 PM Davorin Rusevljan <
> davorin.rusevl...@gmail.com> wrote:
>
>> If I can throw in my 2c, themes are like nutrition facts. When I was a
>> kid eggs were the healthiest thing to consume in universe. Then they were a
>> root of all evil, and now days are nutrition packed food.
>>
>> I have observed similar circles in background color usability. Pharo has
>> ability to choose a theme, it has both currently fashionable and older ones
>> to choose from. I do not see need for anything else on that front.
>>
>> Davorin Rusevljan
>>
>


Re: [Pharo-users] Dark Mode

2017-08-28 Thread Tim Mackinnon

I found the place to adjust this - but I need to debug it as it seems my change 
also effects the colour used to highlight selected text (which is weird).

If you modify the following method (possibly in a subclass), I found this 
helped - but haven’t figured out why text highlight colour would be impacted by 
this change?

configureWindowBorderFor: aWindow
"Made window borders a bit thcker and slightly lighter to its easier to 
distinguish 
overlapping windows"

| aStyle |

aStyle := 
SimpleBorder new 
color: self borderColor lighter lighter lighter;
width: 2.

aWindow borderStyle: aStyle.


Tim

On 28 Aug 2017, at 01:08, PBKResearch > wrote:

> Dimitris
>  
> Update – there is a sort of bug in the screenshot, which I have caused. I 
> opened the page with my usual light theme, then changed themes. This updated 
> the colour of the background, but not the text in the foreground. If I open 
> the same playground display with the dark theme, the text is white and shows 
> up OK. But I still don’t like it.
>  
> Peter Kenny
>  
> From: Pharo-users [mailto:pharo-users-boun...@lists.pharo.org 
> ] On Behalf Of PBKResearch
> Sent: 27 August 2017 23:48
> To: 'Any question about pharo is welcome'  >
> Subject: Re: [Pharo-users] Dark Mode
>  
> Dimitris
>  
> Screenshot attached. Look particularly at the text in the right-hand page of 
> the playground. Also the control buttons of the playground window – the 
> buttons go black when the window gets focus. I opened the ‘About’ window so 
> you can see which version I have – not yet Pharo 6.1, but not very out of 
> date.
>  
> Peter Kenny
>  
> From: Pharo-users [mailto:pharo-users-boun...@lists.pharo.org 
> ] On Behalf Of Dimitris Chloupis
> Sent: 27 August 2017 23:10
> To: Any question about pharo is welcome  >
> Subject: Re: [Pharo-users] Dark Mode
>  
> Also most don't know this but light themes of Pharo were in part hard coded. 
> Esteban in order to create the dark theme which is based on the most popular 
> dark theme ( if my memory serves correctly) , Darcula , he had to remove all 
> this nasty code. He essentially made it possible for Pharo to have themes 
> without worrying about hard coded colors. So if you ever want to make the 
> light theme even lighter you have the dark theme to thank for making it 
> easier for you. 
> 
> Quite an irony , would not agree ?
> 
> If the doctors say your eye sight is great , he knows what he is talking 
> about. 
> 
> Black foreground against dark grey background sound like a bug. Care to share 
> a screenshot ?
> On Mon, 28 Aug 2017 at 00:51, PBKResearch  > wrote:
> I agree with Dimitris - it is all a matter of preference - not all eyes are 
> the same. For myself, I find the default dark theme in Pharo very 
> uncomfortable. On my system, some elements have a black foreground on a dark 
> grey background, which is almost impossible to see. This is always true of 
> the maximise/minimise/close buttons, but sometimes also of text fields in a 
> playground. Whenever I download a new image, I immediately switch to the 
> Watery theme, with light background and nice coloured buttons on the windows.
> 
> Of course, my eyes may not be typical. I am now aged 84, and I have had 
> cataract operations on both eyes. My sight is actually quite good - my 
> optometrist confirms that I am legal to drive without spectacles - but my 
> adverse reaction to dark mode is strong and immediate.
> 
> Just my 2p worth
> 
> Peter Kenny
> 
> -Original Message-
> From: Pharo-users [mailto:pharo-users-boun...@lists.pharo.org 
> ] On Behalf Of stephan
> Sent: 27 August 2017 21:46
> To: pharo-users@lists.pharo.org 
> Subject: Re: [Pharo-users] Dark Mode
> 
> On 27-08-17 22:37, Dimitris Chloupis wrote:
> > White or dark is a matter of preference. But the matter of preference
> > is also a matter of biology . Not all eyes are same.
> 
> The research is pretty clear: a large majority of developers does better with 
> light themes. I have been sufficiently clear on the choice to make
> Pharo6 theme dark default
> 
> Stephan
> 


Re: [Pharo-users] Dark Mode

2017-08-28 Thread Dimitris Chloupis
Nutrition wise, scientists always agreed that eggs contained pretty much
everything the body needs. Problem was cholesterol which the egg does
significant rise.

The fact that did change was that high cholesterol is bad, some doctors
would argue even deadly for ones health. Problem was that this fact was
based on a research that was on a very small group of subjects and if I am
not mistaken it was not even humans it was lab rats.

The problem none really funded a serious research for this fact and when
they did they discovered that indeed eggs and other food do raise
cholesterol significantly but our liver is capable of reducing the
production of cholesterol to compensate hence its nowhere near as harmful
as they used to assume.

Science is flawed mainly because finding small facts is easy and cheap but
general fact are very complex and very very expensive.

Like all things, you get what you are paying for. This is why you see and
hear so many contradictory facts. They are mostly based on simple cheap
research. Plus "fact" is purely a fantasy, our world is too complex for
facts as most people define them. There is truth sure, but not as easy to
consume and explain as we would wish.

The preference to light and dark themes is not product of bad scientific
research. I suspect the reasons are too complex for science anyway because
we are even eons away from explaining the human brain and how it works.

Pharo not only allow you to choose a theme but its theme classes are
actually very easy to use which is something it inherit from Squeak. It
took me a day to create my own theme.

The Dark UI theme class is excellent example for anyone who wants to
subclass it and create his own light or dark theme because its not that
complex.

On Mon, Aug 28, 2017 at 2:57 PM Davorin Rusevljan <
davorin.rusevl...@gmail.com> wrote:

> If I can throw in my 2c, themes are like nutrition facts. When I was a kid
> eggs were the healthiest thing to consume in universe. Then they were a
> root of all evil, and now days are nutrition packed food.
>
> I have observed similar circles in background color usability. Pharo has
> ability to choose a theme, it has both currently fashionable and older ones
> to choose from. I do not see need for anything else on that front.
>
> Davorin Rusevljan
>


Re: [Pharo-users] How do I get at the Morphic halos in Pharo 6.0?

2017-08-28 Thread Tim Mackinnon
On OSX, you hold the Shift and Alt keys and then click on something. I think on 
windows its probably Shift+Alt or Shift+Ctrl. 

The in-image help explains this under - Pharo Environment Help - Keyboard 
Shortcuts - Visual Exploration.


Tim

> On 28 Aug 2017, at 13:33, H. Hirzel  wrote:
> 
> On 8/28/17, p...@highoctane.be  wrote:
> 
> 
>> 
>> Dark theme : can code for hours without any trouble.
>> 
>> At the office I am at now 90% of coders are using dark themes.
>> 
>> Indeed the windows buttons are annoying, I have my own little hack to make
>> them better.
>> When a control bugs you, bring a halo and try to reverse the form, usually
>> makes things readable.
>> 
>> Phil
> 
> Phil,
> 
> I was not aware that it is still possible to get Morphic halos in Pharo 6.0?
> 
> How do I get at them?
> 
> Regards
> Hannes
> 




Re: [Pharo-users] Dark Mode

2017-08-28 Thread H. Hirzel
On 8/28/17, Davorin Rusevljan  wrote:
> If I can throw in my 2c, themes are like nutrition facts. When I was a kid
> eggs were the healthiest thing to consume in universe. Then they were a
> root of all evil, and now days are nutrition packed food.

In the meantime eggs are fine again, I think :-)

> I have observed similar circles in background color usability. Pharo has
> ability to choose a theme, it has both currently fashionable and older ones
> to choose from. I do not see need for anything else on that front.
>
> Davorin Rusevljan
>



Re: [Pharo-users] Dark Mode

2017-08-28 Thread Davorin Rusevljan
If I can throw in my 2c, themes are like nutrition facts. When I was a kid
eggs were the healthiest thing to consume in universe. Then they were a
root of all evil, and now days are nutrition packed food.

I have observed similar circles in background color usability. Pharo has
ability to choose a theme, it has both currently fashionable and older ones
to choose from. I do not see need for anything else on that front.

Davorin Rusevljan


[Pharo-users] [Pillar] How do I include a picture which I get from aMorph imageFrom?

2017-08-28 Thread H. Hirzel
Hello

Is it possible to include a in-image picture in Pillar which I get by evaluating

myMorph imageForm?

Or do I need to write the instance of Form I get by evaluating the
expression above first as a PNG file to disk and get it from there.


PNGReadWriter
putForm: myMorph imageForm
onFileNamed: aString

If yes what is the default directory where does Pillar expects pictures --


The Pillar cheat sheet [1] and the Pillar chapter in the Pharo
enterprise book no 3 [2] have an example

+Caption>file://image.png|width=50|label=label+


Regards

Hannes



[1]
http://pillarhub.pharocloud.com/hub/pillarhub/pillarcheatsheet

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



Re: [Pharo-users] Dark Mode

2017-08-28 Thread p...@highoctane.be
On Mon, Aug 28, 2017 at 1:28 PM, Dimitris Chloupis 
wrote:

> I am no authority on dark theme because I am using my blue theme full time
> and I have addressed any colour issues I had.
>
> Retina detachment, wow that is serious ! I hope you doing better :(
>

Yeah, after that, not much can really stress me out that much.

And 2 x 27 inch monitors help. Pharo is great because I can make it be the
way I want it to code in it.



>
> Well I have myopia in both eyes, my left is 6 degrees which is pretty
> high. We myopics suppose to not see very well in the dark but my visual
> perception is great in dark environments even in almost complete darkness.
>
> Its weird because as I young boy I was non stop out in the sun and I live
> in Greece, here the Sun is very bright, yet it always hurt my eyes. Not
> much as knife pain, but more like feeling pressure on the eye. Of course I
> am not the only Greek in love with his sun glasses during summer.
>
> My eye doctor said it was because of my eyes being light color compared to
> the usual dark coloured eyes Greeks have. But I think the reason most
> likely is more mysterious :D
>
>
Ah ah, 1/2 italian with green eyes here. I feel you. I am running with
shades.

Phil


> On Mon, Aug 28, 2017 at 2:05 PM p...@highoctane.be 
> wrote:
>
>> On Mon, Aug 28, 2017 at 12:10 AM, Dimitris Chloupis <
>> kilon.al...@gmail.com> wrote:
>>
>>> Also most don't know this but light themes of Pharo were in part hard
>>> coded. Esteban in order to create the dark theme which is based on the most
>>> popular dark theme ( if my memory serves correctly) , Darcula , he had to
>>> remove all this nasty code. He essentially made it possible for Pharo to
>>> have themes without worrying about hard coded colors. So if you ever want
>>> to make the light theme even lighter you have the dark theme to thank for
>>> making it easier for you.
>>>
>>> Quite an irony , would not agree ?
>>>
>>> If the doctors say your eye sight is great , he knows what he is talking
>>> about.
>>>
>>> Black foreground against dark grey background sound like a bug. Care to
>>> share a screenshot ?
>>> On Mon, 28 Aug 2017 at 00:51, PBKResearch 
>>> wrote:
>>>
 I agree with Dimitris - it is all a matter of preference - not all eyes
 are the same. For myself, I find the default dark theme in Pharo very
 uncomfortable. On my system, some elements have a black foreground on a
 dark grey background, which is almost impossible to see. This is always
 true of the maximise/minimise/close buttons, but sometimes also of text
 fields in a playground. Whenever I download a new image, I immediately
 switch to the Watery theme, with light background and nice coloured buttons
 on the windows.

 Of course, my eyes may not be typical. I am now aged 84, and I have had
 cataract operations on both eyes. My sight is actually quite good - my
 optometrist confirms that I am legal to drive without spectacles - but my
 adverse reaction to dark mode is strong and immediate.

>>>
>> Eye issues as well. Retinal detachment in both, and cataract on the right
>> one. Loads of floaters.
>>
>> Light mode kills them.
>>
>> Dark theme : can code for hours without any trouble.
>>
>> At the office I am at now 90% of coders are using dark themes.
>>
>> Indeed the windows buttons are annoying, I have my own little hack to
>> make them better.
>> When a control bugs you, bring a halo and try to reverse the form,
>> usually makes things readable.
>>
>> Phil
>>
>>
>>>
 Just my 2p worth

 Peter Kenny

 -Original Message-
 From: Pharo-users [mailto:pharo-users-boun...@lists.pharo.org] On
 Behalf Of stephan
 Sent: 27 August 2017 21:46
 To: pharo-users@lists.pharo.org
 Subject: Re: [Pharo-users] Dark Mode

 On 27-08-17 22:37, Dimitris Chloupis wrote:
 > White or dark is a matter of preference. But the matter of preference
 > is also a matter of biology . Not all eyes are same.

 The research is pretty clear: a large majority of developers does
 better with light themes. I have been sufficiently clear on the choice to
 make
 Pharo6 theme dark default

 Stephan






Re: [Pharo-users] How to create a minimal image ?

2017-08-28 Thread Thierry Goubier
Hi Pavel,

what would be the expression for building such an intermediate image out of
the minimal image? This?

Metacello new
  baseline: 'BasicTools';
  repository: 'github://pharo-project/pharo:master/src';
  load

Regards,

Thierry

2017-08-28 13:24 GMT+02:00 Pavel Krivanek :

> What do you expect from such minimal image? Because we can produce several
> intermediate steps on the way to the standard full Pharo image
> (BaselineOfMorphicCore, BaselineOfMorphic, BaselineOfUI,
> BaselineOfBasicTools...)
>
> -- Pavel
>
> 2017-08-28 13:17 GMT+02:00 Dimitris Chloupis :
>
>> oh , then its not what I am thinking as minimal image. Pity, oh well , I
>> will wait for bootstrap to mature then :)
>>
>> On Mon, Aug 28, 2017 at 2:09 PM Pavel Krivanek 
>> wrote:
>>
>>> The minimal image is headless image without any GUI. It is useless to
>>> try to open it this way.
>>>
>>> -- Pavel
>>>
>>> 2017-08-28 13:03 GMT+02:00 Dimitris Chloupis :
>>>
 hmm does not work for me, it open the icon of pharo on macos sierra
 dock and it stays there doing nothing
 right clicking on it and choosing quit does nothing, so I am have to
 use force quit to make it close

 I have downloaded pharo 6.1 from the website, default download, 32 bit,
 minimal 32 bit image. I drag and drop image on top of pharo.

 On Mon, Aug 28, 2017 at 10:29 AM Pavel Krivanek <
 pavel.kriva...@gmail.com> wrote:

> 2017-08-26 19:31 GMT+02:00 Dimitris Chloupis :
>
>> I remember that the website used to link to a minimal image download
>> but it does not seem there is one anymore
>>
>> Is still minimal image maintained ?
>>
>
> yes, as part of the bootstrap process
>
>
>> Are there ways to make a image minimal ?
>>
>
> it is created in bootstrap/scripts/build.sh under
> name Pharo7.0-metacello-* and saved on files.pharo.org as
> http://files.pharo.org/image/70/latest-minimal-32.zip or
> http://files.pharo.org/image/70/latest-minimal-64.zip
>
> So you do not need to do it by yourself.
>
> -- Pavel
>

>>>
>


Re: [Pharo-users] How to create a minimal image ?

2017-08-28 Thread Hernán Morales Durand
Hi Pavel,

Can you show how to produce an image without the following packages?

Tests
Spotter
Glamour/GT
Metacello
AST/Refactoring

Cheers,

Hernán


2017-08-28 8:24 GMT-03:00 Pavel Krivanek :
> What do you expect from such minimal image? Because we can produce several
> intermediate steps on the way to the standard full Pharo image
> (BaselineOfMorphicCore, BaselineOfMorphic, BaselineOfUI,
> BaselineOfBasicTools...)
>
> -- Pavel
>
> 2017-08-28 13:17 GMT+02:00 Dimitris Chloupis :
>>
>> oh , then its not what I am thinking as minimal image. Pity, oh well , I
>> will wait for bootstrap to mature then :)
>>
>> On Mon, Aug 28, 2017 at 2:09 PM Pavel Krivanek 
>> wrote:
>>>
>>> The minimal image is headless image without any GUI. It is useless to try
>>> to open it this way.
>>>
>>> -- Pavel
>>>
>>> 2017-08-28 13:03 GMT+02:00 Dimitris Chloupis :

 hmm does not work for me, it open the icon of pharo on macos sierra dock
 and it stays there doing nothing
 right clicking on it and choosing quit does nothing, so I am have to use
 force quit to make it close

 I have downloaded pharo 6.1 from the website, default download, 32 bit,
 minimal 32 bit image. I drag and drop image on top of pharo.

 On Mon, Aug 28, 2017 at 10:29 AM Pavel Krivanek
  wrote:
>
> 2017-08-26 19:31 GMT+02:00 Dimitris Chloupis :
>>
>> I remember that the website used to link to a minimal image download
>> but it does not seem there is one anymore
>>
>> Is still minimal image maintained ?
>
>
> yes, as part of the bootstrap process
>
>>
>> Are there ways to make a image minimal ?
>
>
> it is created in bootstrap/scripts/build.sh under name
> Pharo7.0-metacello-* and saved on files.pharo.org as
> http://files.pharo.org/image/70/latest-minimal-32.zip or
> http://files.pharo.org/image/70/latest-minimal-64.zip
>
> So you do not need to do it by yourself.
>
> -- Pavel
>>>
>>>
>



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

2017-08-28 Thread H. Hirzel
Dimitris

Please add a direct link to the Pillar chapter on the integration server

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

The current link on the Pharo books web site is broken and this seems
to be the main piece of documentation about Pillar.

--Hannes

On 8/26/17, Offray Vladimir Luna Cárdenas  wrote:
> Thanks for keep me posted about your experiments. I would like to know
> where the current interface doesn't suit your needs/tastes and how easy
> was to use/extend the tool. I think that mind mapping problem would be
> particularly well suited for your GUI approaches.
>
> Cheers,
>
> Offray
>
>
> On 26/08/17 14:53, Dimitris Chloupis wrote:
>> mind mapping is an interest of mine too, though i never tried to make
>> one app for it yet. Ok will see if I will go down the Grafoscopio
>> route and will keep you posted. I was thinking using it as an in-image
>> interface for the wiki.
>>
>> On Sat, Aug 26, 2017 at 10:15 PM Offray Vladimir Luna Cárdenas
>> > wrote:
>>
>> That would be pretty interesting and yes, it is under MIT.
>>
>> On custom GUI's I have thought about a mind mapping interface for
>> Grafoscopio, for presentations. I would like to stretch the
>> tree/graph metaphor so it can make what we do with different
>> metaphors right now on "offimatics" (writing, calculation and
>> presentation), so this custom metaphors are interesting to me.
>>
>> Cheers,
>>
>> Offray
>>
>>
>> On 26/08/17 12:28, Dimitris Chloupis wrote:
>>> How would you feel if I took grafoscopio and made a custom GUI
>>> for it, mainly for personal usage ? Does it use the MIT license ?
>>>
>>> On Sat, Aug 26, 2017 at 6:56 PM Offray Vladimir Luna Cárdenas
>>> > wrote:
>>>
>>> No it can't. Grafoscopio Markdown nodes just plain text boxes
>>> with Markdown code inside, but I would like to have at least
>>> syntax hightlighting for it. What Grafoscopio can do is to
>>> traverse a tree and process node headers as markdown titles,
>>> footnotes and others to produce a flat Markdown file to be
>>> processed by Pandoc. Also, thanks to special %metadata nodes
>>> in the tree, Grafoscopio can control & feedback the Pandoc
>>> command line options *inside* the notebook, increasing
>>> reproducibility, just by using plain Pharo dictionaries and
>>> dynamic arrays. Then, you can use the Notebook menu to export
>>> as PDF by running such options from the GUI.
>>>
>>> Cheers,
>>>
>>> Offray
>>>
>>>
>>>
>>> On 26/08/17 10:31, Dimitris Chloupis wrote:
 Grafoscopio can display markdown files ?

 On Sat, Aug 26, 2017 at 5:38 PM Offray Vladimir Luna
 Cárdenas > wrote:

 Dimitris,

 I understand your practical reasons to have Markdown
 over Pillar and in fact I have advocated several of
 them. As I have said, Markdown ubiquity for complete
 documentation workflows (including complete books) is
 similar to git ubiquity for code. Despite having other
 personal preferences in markup and DVCS, I think is
 strategic to give them support in Pharo, without
 precluding any work on our own tools (Monticello,
 Metacello, Pillar, etc.).

 I'll try to make some experiments with integration of
 Documenter in Grafoscopio and Markdown. They'll advance
 slowly, because time constrains now that I'm trying to
 finish my thesis, but once a week I'll try to show
 advancements and make questions.

 Cheers,

 Offray


 On 26/08/17 01:55, Dimitris Chloupis wrote:
> As I said the format is not so important for me, the
> reason why I chose markdown instead of pillar is
> because you can edit it using github web interface
> making it easier. The books will continue to use
> Pillar, because making a book is obviously a lot more
> sophisticated than creating a wiki that mainly has web
> links to various internet locations. Pillar already can
> export to markdown , latex, html and through latex it
> can also export to pdf.
>
> After Stef requested it, I moved the wiki inside the
> pharo git repository here
>
> https://github.com/pharo-project/pharo
>
> I also 

Re: [Pharo-users] How to create a minimal image ?

2017-08-28 Thread Dimitris Chloupis
for me Pharo and GUI go hand in hand, I cannot imagine Pharo without GUI. I
also despise the command line. Plus once you remove the GUI you kill the
very essence of Smalltalk.

But if that is what you(you as all people who support this) like and need,
that's your choice and I respect that.

Even back in the 80s when almost everything was command lines , I was
drooling over Amiga's 500 beautiful coloured GUIs. It started my
fascination with computer graphics and later 3d graphics and sound.

So me and the GUI are very old friends and we go hand in hand :)

Of course I understand if we want to go super minimal the GUI has to go
together with many other things that make Pharo what it is. But I dont care
for such extremes. I just wanted to reduce the fat.

On Mon, Aug 28, 2017 at 2:24 PM Pavel Krivanek 
wrote:

> What do you expect from such minimal image? Because we can produce several
> intermediate steps on the way to the standard full Pharo image
> (BaselineOfMorphicCore, BaselineOfMorphic, BaselineOfUI,
> BaselineOfBasicTools...)
>
> -- Pavel
>
> 2017-08-28 13:17 GMT+02:00 Dimitris Chloupis :
>
>> oh , then its not what I am thinking as minimal image. Pity, oh well , I
>> will wait for bootstrap to mature then :)
>>
>> On Mon, Aug 28, 2017 at 2:09 PM Pavel Krivanek 
>> wrote:
>>
>>> The minimal image is headless image without any GUI. It is useless to
>>> try to open it this way.
>>>
>>> -- Pavel
>>>
>>> 2017-08-28 13:03 GMT+02:00 Dimitris Chloupis :
>>>
 hmm does not work for me, it open the icon of pharo on macos sierra
 dock and it stays there doing nothing
 right clicking on it and choosing quit does nothing, so I am have to
 use force quit to make it close

 I have downloaded pharo 6.1 from the website, default download, 32 bit,
 minimal 32 bit image. I drag and drop image on top of pharo.

 On Mon, Aug 28, 2017 at 10:29 AM Pavel Krivanek <
 pavel.kriva...@gmail.com> wrote:

> 2017-08-26 19:31 GMT+02:00 Dimitris Chloupis :
>
>> I remember that the website used to link to a minimal image download
>> but it does not seem there is one anymore
>>
>> Is still minimal image maintained ?
>>
>
> yes, as part of the bootstrap process
>
>
>> Are there ways to make a image minimal ?
>>
>
> it is created in bootstrap/scripts/build.sh under
> name Pharo7.0-metacello-* and saved on files.pharo.org as
> http://files.pharo.org/image/70/latest-minimal-32.zip or
> http://files.pharo.org/image/70/latest-minimal-64.zip
>
> So you do not need to do it by yourself.
>
> -- Pavel
>

>>>
>


[Pharo-users] How do I get at the Morphic halos in Pharo 6.0?

2017-08-28 Thread H. Hirzel
On 8/28/17, p...@highoctane.be  wrote:


>
> Dark theme : can code for hours without any trouble.
>
> At the office I am at now 90% of coders are using dark themes.
>
> Indeed the windows buttons are annoying, I have my own little hack to make
> them better.
> When a control bugs you, bring a halo and try to reverse the form, usually
> makes things readable.
>
> Phil

Phil,

I was not aware that it is still possible to get Morphic halos in Pharo 6.0?

How do I get at them?

Regards
Hannes



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

2017-08-28 Thread H. Hirzel
Found the Pillar chapter of the Pharo enterprise book ("A web
perspective") by following the link on the wiki

https://github.com/pharo-project/pharo/blob/master/wiki/contents/projects.md#pharo-projects-on-smalltalkhub

then

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

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

So the information is somewhat hidden but available and only the link
from the Pharo books website is broken.


On 8/28/17, H. Hirzel  wrote:
> P.S. Important Pillar links I have collected last week
>
> https://github.com/pharo-project/pharo/blob/master/wiki/contents/projects.md#pharo-projects-on-smalltalkhub
>
> Includes this one
> http://pillarhub.pharocloud.com/hub/pillarhub/pillarcheatsheet
> Alistair writes it is fine in Pharo 6 for what he is using it for.
>
> In particular I am interested in adding pictures which are within the
> Pharo image.
>
> On 8/28/17, H. Hirzel  wrote:
>> Stephane
>>
>> I went to the Pharo book web site,
>>
>> Enterprise Pharo - a web perspective
>> Enterprise Pharo is the third volume of the series.
>>
>> This link
>>
>> http://files.pharo.org/books/enterprise-pharo/
>>
>> and clicked on 'Pillar'
>>
>> and for
>>
>> https://ci.inria.fr/pharo-contribution/job/EnterprisePharoBook/lastSuccessfulBuild/artifact/book-result/Pillar/Pillar.html
>>
>> got HTTP ERROR 404
>>
>> I think you are currently updating the book and that there are also PDFs.
>>
>> How can I get at a recent version? Integration server? Where?
>>
>> --Hannes
>>
>>
>>
>> On 8/26/17, Stephane Ducasse  wrote:
>>> the most up to date description is in the web perspective book and not
>>> much changed since then.
>>> We are picky when it is about the changing the syntax so it nearly did
>>> not change.
>>>
>>> Stef
>>>
>>> On Fri, Aug 25, 2017 at 10:55 AM, H. Hirzel 
>>> wrote:
 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, 

Re: [Pharo-users] Dark Mode

2017-08-28 Thread Dimitris Chloupis
I am no authority on dark theme because I am using my blue theme full time
and I have addressed any colour issues I had.

Retina detachment, wow that is serious ! I hope you doing better :(

Well I have myopia in both eyes, my left is 6 degrees which is pretty high.
We myopics suppose to not see very well in the dark but my visual
perception is great in dark environments even in almost complete darkness.

Its weird because as I young boy I was non stop out in the sun and I live
in Greece, here the Sun is very bright, yet it always hurt my eyes. Not
much as knife pain, but more like feeling pressure on the eye. Of course I
am not the only Greek in love with his sun glasses during summer.

My eye doctor said it was because of my eyes being light color compared to
the usual dark coloured eyes Greeks have. But I think the reason most
likely is more mysterious :D

On Mon, Aug 28, 2017 at 2:05 PM p...@highoctane.be 
wrote:

> On Mon, Aug 28, 2017 at 12:10 AM, Dimitris Chloupis  > wrote:
>
>> Also most don't know this but light themes of Pharo were in part hard
>> coded. Esteban in order to create the dark theme which is based on the most
>> popular dark theme ( if my memory serves correctly) , Darcula , he had to
>> remove all this nasty code. He essentially made it possible for Pharo to
>> have themes without worrying about hard coded colors. So if you ever want
>> to make the light theme even lighter you have the dark theme to thank for
>> making it easier for you.
>>
>> Quite an irony , would not agree ?
>>
>> If the doctors say your eye sight is great , he knows what he is talking
>> about.
>>
>> Black foreground against dark grey background sound like a bug. Care to
>> share a screenshot ?
>> On Mon, 28 Aug 2017 at 00:51, PBKResearch 
>> wrote:
>>
>>> I agree with Dimitris - it is all a matter of preference - not all eyes
>>> are the same. For myself, I find the default dark theme in Pharo very
>>> uncomfortable. On my system, some elements have a black foreground on a
>>> dark grey background, which is almost impossible to see. This is always
>>> true of the maximise/minimise/close buttons, but sometimes also of text
>>> fields in a playground. Whenever I download a new image, I immediately
>>> switch to the Watery theme, with light background and nice coloured buttons
>>> on the windows.
>>>
>>> Of course, my eyes may not be typical. I am now aged 84, and I have had
>>> cataract operations on both eyes. My sight is actually quite good - my
>>> optometrist confirms that I am legal to drive without spectacles - but my
>>> adverse reaction to dark mode is strong and immediate.
>>>
>>
> Eye issues as well. Retinal detachment in both, and cataract on the right
> one. Loads of floaters.
>
> Light mode kills them.
>
> Dark theme : can code for hours without any trouble.
>
> At the office I am at now 90% of coders are using dark themes.
>
> Indeed the windows buttons are annoying, I have my own little hack to make
> them better.
> When a control bugs you, bring a halo and try to reverse the form, usually
> makes things readable.
>
> Phil
>
>
>>
>>> Just my 2p worth
>>>
>>> Peter Kenny
>>>
>>> -Original Message-
>>> From: Pharo-users [mailto:pharo-users-boun...@lists.pharo.org] On
>>> Behalf Of stephan
>>> Sent: 27 August 2017 21:46
>>> To: pharo-users@lists.pharo.org
>>> Subject: Re: [Pharo-users] Dark Mode
>>>
>>> On 27-08-17 22:37, Dimitris Chloupis wrote:
>>> > White or dark is a matter of preference. But the matter of preference
>>> > is also a matter of biology . Not all eyes are same.
>>>
>>> The research is pretty clear: a large majority of developers does better
>>> with light themes. I have been sufficiently clear on the choice to make
>>> Pharo6 theme dark default
>>>
>>> Stephan
>>>
>>>
>>>
>>>


Re: [Pharo-users] How to create a minimal image ?

2017-08-28 Thread Pavel Krivanek
What do you expect from such minimal image? Because we can produce several
intermediate steps on the way to the standard full Pharo image
(BaselineOfMorphicCore, BaselineOfMorphic, BaselineOfUI,
BaselineOfBasicTools...)

-- Pavel

2017-08-28 13:17 GMT+02:00 Dimitris Chloupis :

> oh , then its not what I am thinking as minimal image. Pity, oh well , I
> will wait for bootstrap to mature then :)
>
> On Mon, Aug 28, 2017 at 2:09 PM Pavel Krivanek 
> wrote:
>
>> The minimal image is headless image without any GUI. It is useless to try
>> to open it this way.
>>
>> -- Pavel
>>
>> 2017-08-28 13:03 GMT+02:00 Dimitris Chloupis :
>>
>>> hmm does not work for me, it open the icon of pharo on macos sierra dock
>>> and it stays there doing nothing
>>> right clicking on it and choosing quit does nothing, so I am have to use
>>> force quit to make it close
>>>
>>> I have downloaded pharo 6.1 from the website, default download, 32 bit,
>>> minimal 32 bit image. I drag and drop image on top of pharo.
>>>
>>> On Mon, Aug 28, 2017 at 10:29 AM Pavel Krivanek <
>>> pavel.kriva...@gmail.com> wrote:
>>>
 2017-08-26 19:31 GMT+02:00 Dimitris Chloupis :

> I remember that the website used to link to a minimal image download
> but it does not seem there is one anymore
>
> Is still minimal image maintained ?
>

 yes, as part of the bootstrap process


> Are there ways to make a image minimal ?
>

 it is created in bootstrap/scripts/build.sh under
 name Pharo7.0-metacello-* and saved on files.pharo.org as
 http://files.pharo.org/image/70/latest-minimal-32.zip or
 http://files.pharo.org/image/70/latest-minimal-64.zip

 So you do not need to do it by yourself.

 -- Pavel

>>>
>>


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

2017-08-28 Thread H. Hirzel
P.S. Important Pillar links I have collected last week

https://github.com/pharo-project/pharo/blob/master/wiki/contents/projects.md#pharo-projects-on-smalltalkhub

Includes this one
http://pillarhub.pharocloud.com/hub/pillarhub/pillarcheatsheet
Alistair writes it is fine in Pharo 6 for what he is using it for.

In particular I am interested in adding pictures which are within the
Pharo image.

On 8/28/17, H. Hirzel  wrote:
> Stephane
>
> I went to the Pharo book web site,
>
> Enterprise Pharo - a web perspective
> Enterprise Pharo is the third volume of the series.
>
> This link
>
> http://files.pharo.org/books/enterprise-pharo/
>
> and clicked on 'Pillar'
>
> and for
>
> https://ci.inria.fr/pharo-contribution/job/EnterprisePharoBook/lastSuccessfulBuild/artifact/book-result/Pillar/Pillar.html
>
> got HTTP ERROR 404
>
> I think you are currently updating the book and that there are also PDFs.
>
> How can I get at a recent version? Integration server? Where?
>
> --Hannes
>
>
>
> On 8/26/17, Stephane Ducasse  wrote:
>> the most up to date description is in the web perspective book and not
>> much changed since then.
>> We are picky when it is about the changing the syntax so it nearly did
>> not change.
>>
>> Stef
>>
>> On Fri, Aug 25, 2017 at 10:55 AM, H. Hirzel 
>> wrote:
>>> 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:
 >
 > 

Re: [Pharo-users] Dark Mode

2017-08-28 Thread Dimitris Chloupis
Yeah this is a known bug at least to me when I test my blue theme. I think
however that it was fixed to an extend. Anyway closing and opening the
window will update the colors so its not a serious bug. Once the theme is
changed you should experience no issues.

On Mon, Aug 28, 2017 at 2:09 AM PBKResearch  wrote:

> Dimitris
>
>
>
> Update – there is a sort of bug in the screenshot, which I have caused. I
> opened the page with my usual light theme, then changed themes. This
> updated the colour of the background, but not the text in the foreground.
> If I open the same playground display with the dark theme, the text is
> white and shows up OK. But I still don’t like it.
>
>
>
> Peter Kenny
>
>
>
> *From:* Pharo-users [mailto:pharo-users-boun...@lists.pharo.org] *On
> Behalf Of *PBKResearch
> *Sent:* 27 August 2017 23:48
>
>
> *To:* 'Any question about pharo is welcome' 
> *Subject:* Re: [Pharo-users] Dark Mode
>
>
>
> Dimitris
>
>
>
> Screenshot attached. Look particularly at the text in the right-hand page
> of the playground. Also the control buttons of the playground window – the
> buttons go black when the window gets focus. I opened the ‘About’ window so
> you can see which version I have – not yet Pharo 6.1, but not very out of
> date.
>
>
>
> Peter Kenny
>
>
>
> *From:* Pharo-users [mailto:pharo-users-boun...@lists.pharo.org
> ] *On Behalf Of *Dimitris Chloupis
> *Sent:* 27 August 2017 23:10
> *To:* Any question about pharo is welcome 
> *Subject:* Re: [Pharo-users] Dark Mode
>
>
>
> Also most don't know this but light themes of Pharo were in part hard
> coded. Esteban in order to create the dark theme which is based on the most
> popular dark theme ( if my memory serves correctly) , Darcula , he had to
> remove all this nasty code. He essentially made it possible for Pharo to
> have themes without worrying about hard coded colors. So if you ever want
> to make the light theme even lighter you have the dark theme to thank for
> making it easier for you.
>
> Quite an irony , would not agree ?
>
> If the doctors say your eye sight is great , he knows what he is talking
> about.
>
> Black foreground against dark grey background sound like a bug. Care to
> share a screenshot ?
>
> On Mon, 28 Aug 2017 at 00:51, PBKResearch  wrote:
>
> I agree with Dimitris - it is all a matter of preference - not all eyes
> are the same. For myself, I find the default dark theme in Pharo very
> uncomfortable. On my system, some elements have a black foreground on a
> dark grey background, which is almost impossible to see. This is always
> true of the maximise/minimise/close buttons, but sometimes also of text
> fields in a playground. Whenever I download a new image, I immediately
> switch to the Watery theme, with light background and nice coloured buttons
> on the windows.
>
> Of course, my eyes may not be typical. I am now aged 84, and I have had
> cataract operations on both eyes. My sight is actually quite good - my
> optometrist confirms that I am legal to drive without spectacles - but my
> adverse reaction to dark mode is strong and immediate.
>
> Just my 2p worth
>
> Peter Kenny
>
> -Original Message-
> From: Pharo-users [mailto:pharo-users-boun...@lists.pharo.org] On Behalf
> Of stephan
> Sent: 27 August 2017 21:46
> To: pharo-users@lists.pharo.org
> Subject: Re: [Pharo-users] Dark Mode
>
> On 27-08-17 22:37, Dimitris Chloupis wrote:
> > White or dark is a matter of preference. But the matter of preference
> > is also a matter of biology . Not all eyes are same.
>
> The research is pretty clear: a large majority of developers does better
> with light themes. I have been sufficiently clear on the choice to make
> Pharo6 theme dark default
>
> Stephan
>
>


Re: [Pharo-users] How to create a minimal image ?

2017-08-28 Thread Dimitris Chloupis
oh , then its not what I am thinking as minimal image. Pity, oh well , I
will wait for bootstrap to mature then :)

On Mon, Aug 28, 2017 at 2:09 PM Pavel Krivanek 
wrote:

> The minimal image is headless image without any GUI. It is useless to try
> to open it this way.
>
> -- Pavel
>
> 2017-08-28 13:03 GMT+02:00 Dimitris Chloupis :
>
>> hmm does not work for me, it open the icon of pharo on macos sierra dock
>> and it stays there doing nothing
>> right clicking on it and choosing quit does nothing, so I am have to use
>> force quit to make it close
>>
>> I have downloaded pharo 6.1 from the website, default download, 32 bit,
>> minimal 32 bit image. I drag and drop image on top of pharo.
>>
>> On Mon, Aug 28, 2017 at 10:29 AM Pavel Krivanek 
>> wrote:
>>
>>> 2017-08-26 19:31 GMT+02:00 Dimitris Chloupis :
>>>
 I remember that the website used to link to a minimal image download
 but it does not seem there is one anymore

 Is still minimal image maintained ?

>>>
>>> yes, as part of the bootstrap process
>>>
>>>
 Are there ways to make a image minimal ?

>>>
>>> it is created in bootstrap/scripts/build.sh under
>>> name Pharo7.0-metacello-* and saved on files.pharo.org as
>>> http://files.pharo.org/image/70/latest-minimal-32.zip or
>>> http://files.pharo.org/image/70/latest-minimal-64.zip
>>>
>>> So you do not need to do it by yourself.
>>>
>>> -- Pavel
>>>
>>
>


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

2017-08-28 Thread H. Hirzel
Stephane

I went to the Pharo book web site,

Enterprise Pharo - a web perspective
Enterprise Pharo is the third volume of the series.

This link

http://files.pharo.org/books/enterprise-pharo/

and clicked on 'Pillar'

and for

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

got HTTP ERROR 404

I think you are currently updating the book and that there are also PDFs.

How can I get at a recent version? Integration server? Where?

--Hannes



On 8/26/17, Stephane Ducasse  wrote:
> the most up to date description is in the web perspective book and not
> much changed since then.
> We are picky when it is about the changing the syntax so it nearly did
> not change.
>
> Stef
>
> On Fri, Aug 25, 2017 at 10:55 AM, H. Hirzel 
> wrote:
>> 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] How to create a minimal image ?

2017-08-28 Thread Pavel Krivanek
The minimal image is headless image without any GUI. It is useless to try
to open it this way.

-- Pavel

2017-08-28 13:03 GMT+02:00 Dimitris Chloupis :

> hmm does not work for me, it open the icon of pharo on macos sierra dock
> and it stays there doing nothing
> right clicking on it and choosing quit does nothing, so I am have to use
> force quit to make it close
>
> I have downloaded pharo 6.1 from the website, default download, 32 bit,
> minimal 32 bit image. I drag and drop image on top of pharo.
>
> On Mon, Aug 28, 2017 at 10:29 AM Pavel Krivanek 
> wrote:
>
>> 2017-08-26 19:31 GMT+02:00 Dimitris Chloupis :
>>
>>> I remember that the website used to link to a minimal image download but
>>> it does not seem there is one anymore
>>>
>>> Is still minimal image maintained ?
>>>
>>
>> yes, as part of the bootstrap process
>>
>>
>>> Are there ways to make a image minimal ?
>>>
>>
>> it is created in bootstrap/scripts/build.sh under
>> name Pharo7.0-metacello-* and saved on files.pharo.org as
>> http://files.pharo.org/image/70/latest-minimal-32.zip or
>> http://files.pharo.org/image/70/latest-minimal-64.zip
>>
>> So you do not need to do it by yourself.
>>
>> -- Pavel
>>
>


Re: [Pharo-users] Dark Mode

2017-08-28 Thread p...@highoctane.be
On Mon, Aug 28, 2017 at 12:10 AM, Dimitris Chloupis 
wrote:

> Also most don't know this but light themes of Pharo were in part hard
> coded. Esteban in order to create the dark theme which is based on the most
> popular dark theme ( if my memory serves correctly) , Darcula , he had to
> remove all this nasty code. He essentially made it possible for Pharo to
> have themes without worrying about hard coded colors. So if you ever want
> to make the light theme even lighter you have the dark theme to thank for
> making it easier for you.
>
> Quite an irony , would not agree ?
>
> If the doctors say your eye sight is great , he knows what he is talking
> about.
>
> Black foreground against dark grey background sound like a bug. Care to
> share a screenshot ?
> On Mon, 28 Aug 2017 at 00:51, PBKResearch  wrote:
>
>> I agree with Dimitris - it is all a matter of preference - not all eyes
>> are the same. For myself, I find the default dark theme in Pharo very
>> uncomfortable. On my system, some elements have a black foreground on a
>> dark grey background, which is almost impossible to see. This is always
>> true of the maximise/minimise/close buttons, but sometimes also of text
>> fields in a playground. Whenever I download a new image, I immediately
>> switch to the Watery theme, with light background and nice coloured buttons
>> on the windows.
>>
>> Of course, my eyes may not be typical. I am now aged 84, and I have had
>> cataract operations on both eyes. My sight is actually quite good - my
>> optometrist confirms that I am legal to drive without spectacles - but my
>> adverse reaction to dark mode is strong and immediate.
>>
>
Eye issues as well. Retinal detachment in both, and cataract on the right
one. Loads of floaters.

Light mode kills them.

Dark theme : can code for hours without any trouble.

At the office I am at now 90% of coders are using dark themes.

Indeed the windows buttons are annoying, I have my own little hack to make
them better.
When a control bugs you, bring a halo and try to reverse the form, usually
makes things readable.

Phil


>
>> Just my 2p worth
>>
>> Peter Kenny
>>
>> -Original Message-
>> From: Pharo-users [mailto:pharo-users-boun...@lists.pharo.org] On Behalf
>> Of stephan
>> Sent: 27 August 2017 21:46
>> To: pharo-users@lists.pharo.org
>> Subject: Re: [Pharo-users] Dark Mode
>>
>> On 27-08-17 22:37, Dimitris Chloupis wrote:
>> > White or dark is a matter of preference. But the matter of preference
>> > is also a matter of biology . Not all eyes are same.
>>
>> The research is pretty clear: a large majority of developers does better
>> with light themes. I have been sufficiently clear on the choice to make
>> Pharo6 theme dark default
>>
>> Stephan
>>
>>
>>
>>


Re: [Pharo-users] How to create a minimal image ?

2017-08-28 Thread Dimitris Chloupis
hmm does not work for me, it open the icon of pharo on macos sierra dock
and it stays there doing nothing
right clicking on it and choosing quit does nothing, so I am have to use
force quit to make it close

I have downloaded pharo 6.1 from the website, default download, 32 bit,
minimal 32 bit image. I drag and drop image on top of pharo.

On Mon, Aug 28, 2017 at 10:29 AM Pavel Krivanek 
wrote:

> 2017-08-26 19:31 GMT+02:00 Dimitris Chloupis :
>
>> I remember that the website used to link to a minimal image download but
>> it does not seem there is one anymore
>>
>> Is still minimal image maintained ?
>>
>
> yes, as part of the bootstrap process
>
>
>> Are there ways to make a image minimal ?
>>
>
> it is created in bootstrap/scripts/build.sh under
> name Pharo7.0-metacello-* and saved on files.pharo.org as
> http://files.pharo.org/image/70/latest-minimal-32.zip or
> http://files.pharo.org/image/70/latest-minimal-64.zip
>
> So you do not need to do it by yourself.
>
> -- Pavel
>


[Pharo-users] Pharo Group for System Browser

2017-08-28 Thread Trussardi Dario Romano
Ciao,

i work with Pharo 4.0 and with the relative  System Browser.

My goal is to define a group where i add all definition:

Package ( CMD n-e-p )
Class ( CMD n-e-c )
Protocol ( CMD n--e-t ? )
Method (  CMD n-e-m )

 relative to a specific problematic ( when i development - management 
it ).

Into Pharo 4.0 this command works with some problem ( they do not 
always work as you expect )

I do some test with the Pharo 6.1 and seems that the group handle only 
the Package reference add.

Anyone can give me directions about it?

How i can 'group' some reference ( Package - Class - Method ) into the 
System Browser to have control 

to all the method relative a specific problematic ?

 I forget something?

Thanks,

Dario


Re: [Pharo-users] [ann] moldable editor - with expandable elements

2017-08-28 Thread Thierry Goubier
Hi Stephan,

2017-08-28 10:50 GMT+02:00 stephan :

> On 26-08-17 18:38, Thierry Goubier wrote:
>
> For me, it has the same effect: the editor isn't in a single place
>> anymore. You may consider it doesn't matter; IMHO it does matter (and it
>> makes for me the Newspeak editor slightly less efficient; the same that the
>> Smalltalk system browser seemed more effective than the Self in-place
>> method edit, for having used both).
>>
>
> A concrete problem with the Newspeak editor/browser is the invisibility of
> multiple open edits when editing a large class. There might be changes
> scrolled away. What it misses is an efficient way of looking only at the
> open edits. That could be achieved by having a view collapsing all
> non-edited code.


Would a class-level save work? One could trigger the collapse there as well.

Thierry



>
>
> Stephan
>
>
>


Re: [Pharo-users] [ann] moldable editor - with expandable elements

2017-08-28 Thread stephan

On 26-08-17 18:38, Thierry Goubier wrote:

For me, it has the same effect: the editor isn't in a single place 
anymore. You may consider it doesn't matter; IMHO it does matter (and it 
makes for me the Newspeak editor slightly less efficient; the same that 
the Smalltalk system browser seemed more effective than the Self 
in-place method edit, for having used both).


A concrete problem with the Newspeak editor/browser is the invisibility 
of multiple open edits when editing a large class. There might be 
changes scrolled away. What it misses is an efficient way of looking 
only at the open edits. That could be achieved by having a view 
collapsing all non-edited code.


Stephan




Re: [Pharo-users] [ann] moldable editor - with expandable elements

2017-08-28 Thread Thierry Goubier
2017-08-28 9:15 GMT+02:00 Tudor Girba :

> Hi,
>
> > On Aug 27, 2017, at 7:13 PM, Thierry Goubier 
> wrote:
> >
> > Hi Doru,
> >
> > thanks for the explanation...
> >
> > I'll end up with three questions:
> >
> > - What makes Bloc different compared to the InterViews and Amulet
> toolkits? And Unidraw?
>
> Bloc is a low level GUI framework. The widgets and the interaction model
> for building complete applications belongs to a layer above it. This is
> what Brick is supposed to be. We are right now at the level of building
> widgets and did not yet decide on the concrete the interaction model. That
> is why to make it useful, we use the editor embedded inside a Morphic-based
> interface.
>

What do you mean by the interaction model? Because, even at low-level, Bloc
has already chosen a interaction model (probably a thread per window
dispatching events to components arranged in a tree model by bounding boxes
+ a focus for input, and propagation of damage events upstream).

Do you means something like MVC or PAC-Amodeus?


>
> I did not know Amulet, but Interviews and Unidraw I read about more than a
> decade ago and even then I did not manage to get my hands on a working
> copy. Unidraw is a high level component-based engine for building
> applications that bares more similarities with something like Glamour.
> Nevertheless, I never saw Unidraw in practice and from the documentation
> that is available it is hard to distinguish the details, and details matter
> a lot.
>

The InterViews code (and UniDraw) is easy to find; it has been maintained
for open source system under the name ivTools. In it, iDraw is a fine
example of UniDraw, and it's GUI (the way it shows scrolling without
scrollbars is typical of the visualisation community). Another example is
TkInetd.

Something that is not usually built in ivTools, but which I think is an
absolute must study item for anybody doing GUI toolkits, is Doc. The source
is available, probably in the InterViews 3.0 source distribution. Doc is
also described in the book Design Pattern.


>
> So, perhaps the most important difference is that Bloc works now in Pharo.
> This does not mean that it is the best possible framework, only that it is
> the best we could do. We are confident it is quite good, but it remains to
> be seen whether it will be enough to be practical.
>

I agree about that: works in Pharo. I expect it to be good, on the level of
those toolkits from the 90's, which means probably as good as anything
commercially available today, and perfectly suited to Pharo needs.


>
>
> > - Will some of your workflows enables exploration of parallel,
> non-deterministic programs?
>
> This is certainly an area of interest, although not an easy one. We
> already used logging that collected signals from multiple processes and
> explored them inside GT Inspector, but certainly more is needed.


>
> > - Will we be able to have non-linear execution paths and explorations
> through examples and documentation?
>
> I am not sure what you mean by execution paths, but when it comes to
> exploration, this is exactly one of the things we are after: there are
> multiple contexts one might want to “consume" code in and most of these are
> unforeseen. For example, showing a method inside a piece of documentation
> provides an entry point that invites a kind of navigation that is
> orthogonal to the default code structure. The whole idea behind humane
> assessment is that we should craft tools to match the current context of
> interest and this implies new angles of exploration, and this is what GT
> offers. Last year at ESUG I provided some examples of such exploration
> paths:
> https://youtu.be/XWOOJa3kEa0?list=PLqvTNJtc942Cs9Qo4ikCGrUNtAw93Q0JA


Well, the question arise because I think one of the thing you seems to be
targeting for documentation is iPython, and iPython is sequential (the flow
of statements through the document) and well suited to its purpose. And the
GTExamples pragmas looks like a poor man's graph of dependents examples.

At the same time, I see the GT concrete realisation as working often with a
single object; that is a single GT inspector showing two panes on a screen
(or a playground, which means a single object and a script).

So I wonder if that restriction is significant.


> But, I am not sure I actually addressed your question.
>

I'm not sure I know what I am looking for exactly myself. So that make that
question difficult to answer?

I'm starting to piece around what I would need for this, one item at a
time. It's not important however; it does not has enough research value,
just that it could be interesting.

Regards,

Thierry


>
> Cheers,
> Doru
>
> > Regards,
> >
> > Thierry
> >
> > 2017-08-27 13:37 GMT+02:00 Tudor Girba :
> > Hi Thierry,
> >
> > Indeed, you noticed correctly that we stayed away from the code browser.
> >
> > We found several years ago that Morphic  was too 

Re: [Pharo-users] [Pillar] How do I open the Pillar editor in Pharo 6?

2017-08-28 Thread Norbert Hartl

> Am 26.08.2017 um 12:56 schrieb Tudor Girba :
> 
> In an image having Pillar, inspect a Pillar file. Something like this:
> 
> ‘path/to/file.pillar' asFileReference
> 
I downloaded a 6.1 image, loaded pillar from catalog and inspected

'foo.pillar' asFileReference

and I get



Looks like there are additional steps needed.

Norbert

> Cheers,
> Doru
> 
> 
>> On Aug 26, 2017, at 9:56 AM, H. Hirzel  wrote:
>> 
>> Hello Doru
>> 
>> On 8/26/17, Tudor Girba  wrote:
>>> Hi,
>>> 
>>> Just for information: Pillar already ships with a live editor with syntax
>>> highlighting that I built a couple of years ago.
>> 
>> Thank you for this information, Doru.
>> 
>> Earlier this week I was looking for a "Pillar tool" in Pharo 6 and was
>> told, that there is none.
>> I did not find a link in the help system nor a menu entry in the world menu.
>> 
>> How do I get at this live editor?
>> 
>>> 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
>>> 
>> 
>> 
>> Regards
>> Hannes
> 
> --
> www.tudorgirba.com
> www.feenk.com
> 
> "Quality cannot be an afterthought."



Re: [Pharo-users] How to create a minimal image ?

2017-08-28 Thread Pavel Krivanek
2017-08-26 19:31 GMT+02:00 Dimitris Chloupis :

> I remember that the website used to link to a minimal image download but
> it does not seem there is one anymore
>
> Is still minimal image maintained ?
>

yes, as part of the bootstrap process


> Are there ways to make a image minimal ?
>

it is created in bootstrap/scripts/build.sh under name Pharo7.0-metacello-*
and saved on files.pharo.org as
http://files.pharo.org/image/70/latest-minimal-32.zip or
http://files.pharo.org/image/70/latest-minimal-64.zip

So you do not need to do it by yourself.

-- Pavel


Re: [Pharo-users] [ann] moldable editor - with expandable elements

2017-08-28 Thread Tudor Girba
Hi,

> On Aug 27, 2017, at 7:13 PM, Thierry Goubier  
> wrote:
> 
> Hi Doru,
> 
> thanks for the explanation...
> 
> I'll end up with three questions:
> 
> - What makes Bloc different compared to the InterViews and Amulet toolkits? 
> And Unidraw?

Bloc is a low level GUI framework. The widgets and the interaction model for 
building complete applications belongs to a layer above it. This is what Brick 
is supposed to be. We are right now at the level of building widgets and did 
not yet decide on the concrete the interaction model. That is why to make it 
useful, we use the editor embedded inside a Morphic-based interface.

I did not know Amulet, but Interviews and Unidraw I read about more than a 
decade ago and even then I did not manage to get my hands on a working copy. 
Unidraw is a high level component-based engine for building applications that 
bares more similarities with something like Glamour. Nevertheless, I never saw 
Unidraw in practice and from the documentation that is available it is hard to 
distinguish the details, and details matter a lot.

So, perhaps the most important difference is that Bloc works now in Pharo. This 
does not mean that it is the best possible framework, only that it is the best 
we could do. We are confident it is quite good, but it remains to be seen 
whether it will be enough to be practical.


> - Will some of your workflows enables exploration of parallel, 
> non-deterministic programs?

This is certainly an area of interest, although not an easy one. We already 
used logging that collected signals from multiple processes and explored them 
inside GT Inspector, but certainly more is needed.


> - Will we be able to have non-linear execution paths and explorations through 
> examples and documentation?

I am not sure what you mean by execution paths, but when it comes to 
exploration, this is exactly one of the things we are after: there are multiple 
contexts one might want to “consume" code in and most of these are unforeseen. 
For example, showing a method inside a piece of documentation provides an entry 
point that invites a kind of navigation that is orthogonal to the default code 
structure. The whole idea behind humane assessment is that we should craft 
tools to match the current context of interest and this implies new angles of 
exploration, and this is what GT offers. Last year at ESUG I provided some 
examples of such exploration paths:
https://youtu.be/XWOOJa3kEa0?list=PLqvTNJtc942Cs9Qo4ikCGrUNtAw93Q0JA

But, I am not sure I actually addressed your question.

Cheers,
Doru

> Regards,
> 
> Thierry
> 
> 2017-08-27 13:37 GMT+02:00 Tudor Girba :
> Hi Thierry,
> 
> Indeed, you noticed correctly that we stayed away from the code browser.
> 
> We found several years ago that Morphic  was too limiting. During the Spotter 
> implementation we found ourselves having to construct a mini-Morphic in order 
> to do what we wanted to do. With text we had several prototypes for a 
> different kind of editing experience, but we hit a wall. The interface from 
> the GTInspector is the most rudimentary solution we could put in place, and 
> it is there mostly as a placeholder to get over the bridge.
> 
> This is why we joined the Bloc project and we focused all our tool 
> development effort on it. The goal is to be able to build interfaces that do 
> not yet exist and that enable workflows that are radically different. We 
> showed can do that once we have an infrastructure, and we will continue to do 
> it until we have a full development experience.
> 
> We did not start from the experience of writing code explicitly. That is 
> because the IDE should encompass all activities including the way we 
> understand a system, and we think that focusing on reading is to be left for 
> the previous century. So, we started from the inspector and debugger and we 
> are making our way towards the writing part.
> 
> Writing code is certainly of deep interest to us. However, the system browser 
> is the least interesting of the places where we want to write code. That is 
> because we want to code against live objects, not against dead text. The main 
> use case the system browser is good for is to organize code and to find a 
> starting place for getting to a living object. For the rest of the use cases, 
> there are other solutions that are better. For example, even with the current 
> Playground, we have people spending more time in there than in the code 
> browser. That says something given that the Playground is quite bare at the 
> moment.
> 
> We do not think in terms of tools, but the overall workflows we want to 
> support. It’s not a race against features, but a reimagining of what an 
> experience can be like. For example, let’s take documentation: right now, 
> both producing and consuming documentation happens mostly outside of the 
> environment. So, the I in the IDE is failing in this respect. We want to make 
>