Pharo-users
By thread
pharo-users@lists.pharo.org
By month
Messages by month
- ----- 2026 -----
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2025 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- 7 participants
- 50354 messages
Re: [Pharo-users] [ann] moldable editor - with expandable elements
by Tudor Girba
> On Aug 29, 2017, at 12:52 PM, Denis Kudriashov <dionisiydk(a)gmail.com> wrote:
>
> The code works fine in Pharo 7.0. I just tried the following:
> 1. wget -O- get.pharo.org/alpha+vm | bash
>
> Ah, sorry. I always forgot update.
No problem. I am happy that it works :).
Doru
>
> 2.
> Iceberg enableMetacelloIntegration: true.
> Metacello new
> baseline: 'GToolkit';
> repository: 'github://feenkcom/gtoolkit/src';
> load
> 3.
> './pharo-local/iceberg/feenkcom/gtoolkit/doc/mondrian/index.pillar' asFileReference
> Cheers,
> Doru
>
> 2017-08-29 11:32 GMT+02:00 Tudor Girba <tudor(a)tudorgirba.com>:
> Hi Denis,
>
> Thanks for the feedback!
>
> As I mentioned, this is a pre-alpha :). Our main focus was on exploring that the design works in breadth. There are indeed, detailed issues that do not work yet, and there are edge cases for navigation and insertion/deletion that are still open issues.
>
> In Bloc we intentionally have not focused on error catching yet. So, right now when there is an error during layout or rendering, Bloc can get in a funny state. You can reset Bloc with:
> BlUniverse reset
>
> The code works fine in Pharo 7.0. I just tried the following:
>
> 1. wget -O- get.pharo.org/alpha+vm | bash
> 2.
> Iceberg enableMetacelloIntegration: true.
> Metacello new
> baseline: 'GToolkit';
> repository: 'github://feenkcom/gtoolkit/src';
> load
> 3.
> './pharo-local/iceberg/feenkcom/gtoolkit/doc/mondrian/index.pillar' asFileReference
>
> Cheers,
> Doru
>
>
>
> > On Aug 29, 2017, at 11:04 AM, Denis Kudriashov <dionisiydk(a)gmail.com> wrote:
> >
> > Hi
> >
> > I have bad feedback. I guess work is still in progress.
> >
> > So basic cursor navigation is still not working fine:
> > - sometimes cmd+arrow up is not working and cursor disappears.
> > - scrolling feels slow and not smooth.
> > After attempt to edit text (just press key) I got assertion failures about some layout problems. And after reopening inspector the bloc pillar tab was empty.
> >
> > When you are expecting stable version?
> > Should it works better in "native" Bloc window (without morphic)? And how to open example this way?
> >
> > Also it not loads well in Pharo 7 and not working there.
> > My feedback from Pharo 6 on MacOS
> >
> > 2017-08-26 1:03 GMT+02:00 Tudor Girba <tudor(a)tudorgirba.com>:
> > Hi,
> >
> > We are really pleased to announce another major advancement in the development of the moldable editor, and most of it was enabled because of one new feature: expandable elements. We think this will impact significantly our day to day interactions.
> >
> > To exemplify what we mean, we will make use of two more alpha projects that we did not announce yet: GT Documenter (a set of documentation tools based on Pillar and GT Examples) and GT Mondrian (the graph visualization engine), both of which are being implemented in Bloc.
> >
> > Please take a look at the following pictures showing the documentation Pillar file that ships together with GT Mondrian. What stands out are the two embedded pictures. These are actually not pictures, but visualizations rendered live during the viewing of the document out of a referenced GT Example.
> >
> > <pillar-mondrian-examples.png>
> >
> > Now, GT Examples are likely also new for most people. We introduced them a couple of years ago based on the original idea of Markus Gaelli. These are a kind of tests that return an object and that can be built out of other examples. The nice thing is that they are always executable and testable. So, of course, if you see the resulting object, you can also see the code that created it, and if you see the code, you can even execute it live, right in place (notice the preview of the second snippet).
> >
> > <pillar-mondrian-expanded-preview.png>
> >
> > Perhaps the most controversial part of GT Examples is that they offer a mechanism to define static dependencies via pragmas. Please, letâs leave this debate to another occasion, but please also notice that tools can use that static information to unfold the code of the referenced method (notice the nested code editors).
> >
> > A side note: if you look closer at the list with three items at the top of the Tutorial section, you will notice numbering next to #. That is actually syntax highlighting and so is the mechanism that embeds the expandable elements. Itâs really cool.
> >
> > Taking step back, when we introduced the editor a few weeks ago, we called it moldable because we said we can make it take different shapes easily. GT Documenter with everything you see in the above screenshots has currently ~500 lines of code, and all this while still having an editor that is highly scalable.
> >
> > We think that Bloc and Brick will change dramatically face of Pharo and now we can start to get a glimpse of what is possible. For example, the use case presented above is more than a technical tool, and we think this will change both the way we write documentation and the way we consume it.
> >
> > All these will be presented at ESUG both during presentations and at the Innovation Awards competition. In the meantime, those that want to play with it can execute the following in both Pharo 6.1 and Pharo 7.0:
> >
> > Iceberg enableMetacelloIntegration: true.
> > Metacello new
> > baseline: 'GToolkit';
> > repository: 'github://feenkcom/gtoolkit/src';
> > load.
> >
> > And then inspect:
> > './pharo-local/iceberg/feenkcom/gtoolkit/doc/mondrian/index.pillar' asFileReference
> >
> > Cheers,
> > The feenk team
> >
> > --
> > www.tudorgirba.com
> > www.feenk.com
> >
> > "Innovation comes in the least expected form.
> > That is, if it is expected, it already happened."
> >
> >
>
> --
> www.tudorgirba.com
> www.feenk.com
>
> "Obvious things are difficult to teach."
>
>
>
>
>
>
--
www.tudorgirba.com
www.feenk.com
"If you interrupt the barber while he is cutting your hair,
you will end up with a messy haircut."
Aug. 29, 2017
Re: [Pharo-users] [ann] moldable editor - with expandable elements
by Denis Kudriashov
>
> The code works fine in Pharo 7.0. I just tried the following:
> 1. wget -O- get.pharo.org/alpha+vm | bash
>
Ah, sorry. I always forgot update.
> 2.
> Iceberg enableMetacelloIntegration: true.
> Metacello new
> baseline: 'GToolkit';
> repository: 'github://feenkcom/gtoolkit/src';
> load
> 3.
> './pharo-local/iceberg/feenkcom/gtoolkit/doc/mondrian/index.pillar'
> asFileReference
> Cheers,
> Doru
2017-08-29 11:32 GMT+02:00 Tudor Girba <tudor(a)tudorgirba.com>:
> Hi Denis,
>
> Thanks for the feedback!
>
> As I mentioned, this is a pre-alpha :). Our main focus was on exploring
> that the design works in breadth. There are indeed, detailed issues that do
> not work yet, and there are edge cases for navigation and
> insertion/deletion that are still open issues.
>
> In Bloc we intentionally have not focused on error catching yet. So, right
> now when there is an error during layout or rendering, Bloc can get in a
> funny state. You can reset Bloc with:
> BlUniverse reset
>
> The code works fine in Pharo 7.0. I just tried the following:
>
> 1. wget -O- get.pharo.org/alpha+vm | bash
> 2.
> Iceberg enableMetacelloIntegration: true.
> Metacello new
> baseline: 'GToolkit';
> repository: 'github://feenkcom/gtoolkit/src';
> load
> 3.
> './pharo-local/iceberg/feenkcom/gtoolkit/doc/mondrian/index.pillar'
> asFileReference
>
> Cheers,
> Doru
>
>
>
> > On Aug 29, 2017, at 11:04 AM, Denis Kudriashov <dionisiydk(a)gmail.com>
> wrote:
> >
> > Hi
> >
> > I have bad feedback. I guess work is still in progress.
> >
> > So basic cursor navigation is still not working fine:
> > - sometimes cmd+arrow up is not working and cursor disappears.
> > - scrolling feels slow and not smooth.
> > After attempt to edit text (just press key) I got assertion failures
> about some layout problems. And after reopening inspector the bloc pillar
> tab was empty.
> >
> > When you are expecting stable version?
> > Should it works better in "native" Bloc window (without morphic)? And
> how to open example this way?
> >
> > Also it not loads well in Pharo 7 and not working there.
> > My feedback from Pharo 6 on MacOS
> >
> > 2017-08-26 1:03 GMT+02:00 Tudor Girba <tudor(a)tudorgirba.com>:
> > Hi,
> >
> > We are really pleased to announce another major advancement in the
> development of the moldable editor, and most of it was enabled because of
> one new feature: expandable elements. We think this will impact
> significantly our day to day interactions.
> >
> > To exemplify what we mean, we will make use of two more alpha projects
> that we did not announce yet: GT Documenter (a set of documentation tools
> based on Pillar and GT Examples) and GT Mondrian (the graph visualization
> engine), both of which are being implemented in Bloc.
> >
> > Please take a look at the following pictures showing the documentation
> Pillar file that ships together with GT Mondrian. What stands out are the
> two embedded pictures. These are actually not pictures, but visualizations
> rendered live during the viewing of the document out of a referenced GT
> Example.
> >
> > <pillar-mondrian-examples.png>
> >
> > Now, GT Examples are likely also new for most people. We introduced them
> a couple of years ago based on the original idea of Markus Gaelli. These
> are a kind of tests that return an object and that can be built out of
> other examples. The nice thing is that they are always executable and
> testable. So, of course, if you see the resulting object, you can also see
> the code that created it, and if you see the code, you can even execute it
> live, right in place (notice the preview of the second snippet).
> >
> > <pillar-mondrian-expanded-preview.png>
> >
> > Perhaps the most controversial part of GT Examples is that they offer a
> mechanism to define static dependencies via pragmas. Please, letâs leave
> this debate to another occasion, but please also notice that tools can use
> that static information to unfold the code of the referenced method (notice
> the nested code editors).
> >
> > A side note: if you look closer at the list with three items at the top
> of the Tutorial section, you will notice numbering next to #. That is
> actually syntax highlighting and so is the mechanism that embeds the
> expandable elements. Itâs really cool.
> >
> > Taking step back, when we introduced the editor a few weeks ago, we
> called it moldable because we said we can make it take different shapes
> easily. GT Documenter with everything you see in the above screenshots has
> currently ~500 lines of code, and all this while still having an editor
> that is highly scalable.
> >
> > We think that Bloc and Brick will change dramatically face of Pharo and
> now we can start to get a glimpse of what is possible. For example, the use
> case presented above is more than a technical tool, and we think this will
> change both the way we write documentation and the way we consume it.
> >
> > All these will be presented at ESUG both during presentations and at the
> Innovation Awards competition. In the meantime, those that want to play
> with it can execute the following in both Pharo 6.1 and Pharo 7.0:
> >
> > Iceberg enableMetacelloIntegration: true.
> > Metacello new
> > baseline: 'GToolkit';
> > repository: 'github://feenkcom/gtoolkit/src';
> > load.
> >
> > And then inspect:
> > './pharo-local/iceberg/feenkcom/gtoolkit/doc/mondrian/index.pillar'
> asFileReference
> >
> > Cheers,
> > The feenk team
> >
> > --
> > www.tudorgirba.com
> > www.feenk.com
> >
> > "Innovation comes in the least expected form.
> > That is, if it is expected, it already happened."
> >
> >
>
> --
> www.tudorgirba.com
> www.feenk.com
>
> "Obvious things are difficult to teach."
>
>
>
>
>
>
Aug. 29, 2017
Re: [Pharo-users] [ann] moldable editor - with expandable elements
by Tudor Girba
Hi Denis,
Thanks for the feedback!
As I mentioned, this is a pre-alpha :). Our main focus was on exploring that the design works in breadth. There are indeed, detailed issues that do not work yet, and there are edge cases for navigation and insertion/deletion that are still open issues.
In Bloc we intentionally have not focused on error catching yet. So, right now when there is an error during layout or rendering, Bloc can get in a funny state. You can reset Bloc with:
BlUniverse reset
The code works fine in Pharo 7.0. I just tried the following:
1. wget -O- get.pharo.org/alpha+vm | bash
2.
Iceberg enableMetacelloIntegration: true.
Metacello new
baseline: 'GToolkit';
repository: 'github://feenkcom/gtoolkit/src';
load
3.
'./pharo-local/iceberg/feenkcom/gtoolkit/doc/mondrian/index.pillar' asFileReference
Cheers,
Doru
> On Aug 29, 2017, at 11:04 AM, Denis Kudriashov <dionisiydk(a)gmail.com> wrote:
>
> Hi
>
> I have bad feedback. I guess work is still in progress.
>
> So basic cursor navigation is still not working fine:
> - sometimes cmd+arrow up is not working and cursor disappears.
> - scrolling feels slow and not smooth.
> After attempt to edit text (just press key) I got assertion failures about some layout problems. And after reopening inspector the bloc pillar tab was empty.
>
> When you are expecting stable version?
> Should it works better in "native" Bloc window (without morphic)? And how to open example this way?
>
> Also it not loads well in Pharo 7 and not working there.
> My feedback from Pharo 6 on MacOS
>
> 2017-08-26 1:03 GMT+02:00 Tudor Girba <tudor(a)tudorgirba.com>:
> Hi,
>
> We are really pleased to announce another major advancement in the development of the moldable editor, and most of it was enabled because of one new feature: expandable elements. We think this will impact significantly our day to day interactions.
>
> To exemplify what we mean, we will make use of two more alpha projects that we did not announce yet: GT Documenter (a set of documentation tools based on Pillar and GT Examples) and GT Mondrian (the graph visualization engine), both of which are being implemented in Bloc.
>
> Please take a look at the following pictures showing the documentation Pillar file that ships together with GT Mondrian. What stands out are the two embedded pictures. These are actually not pictures, but visualizations rendered live during the viewing of the document out of a referenced GT Example.
>
> <pillar-mondrian-examples.png>
>
> Now, GT Examples are likely also new for most people. We introduced them a couple of years ago based on the original idea of Markus Gaelli. These are a kind of tests that return an object and that can be built out of other examples. The nice thing is that they are always executable and testable. So, of course, if you see the resulting object, you can also see the code that created it, and if you see the code, you can even execute it live, right in place (notice the preview of the second snippet).
>
> <pillar-mondrian-expanded-preview.png>
>
> Perhaps the most controversial part of GT Examples is that they offer a mechanism to define static dependencies via pragmas. Please, letâs leave this debate to another occasion, but please also notice that tools can use that static information to unfold the code of the referenced method (notice the nested code editors).
>
> A side note: if you look closer at the list with three items at the top of the Tutorial section, you will notice numbering next to #. That is actually syntax highlighting and so is the mechanism that embeds the expandable elements. Itâs really cool.
>
> Taking step back, when we introduced the editor a few weeks ago, we called it moldable because we said we can make it take different shapes easily. GT Documenter with everything you see in the above screenshots has currently ~500 lines of code, and all this while still having an editor that is highly scalable.
>
> We think that Bloc and Brick will change dramatically face of Pharo and now we can start to get a glimpse of what is possible. For example, the use case presented above is more than a technical tool, and we think this will change both the way we write documentation and the way we consume it.
>
> All these will be presented at ESUG both during presentations and at the Innovation Awards competition. In the meantime, those that want to play with it can execute the following in both Pharo 6.1 and Pharo 7.0:
>
> Iceberg enableMetacelloIntegration: true.
> Metacello new
> baseline: 'GToolkit';
> repository: 'github://feenkcom/gtoolkit/src';
> load.
>
> And then inspect:
> './pharo-local/iceberg/feenkcom/gtoolkit/doc/mondrian/index.pillar' asFileReference
>
> Cheers,
> The feenk team
>
> --
> www.tudorgirba.com
> www.feenk.com
>
> "Innovation comes in the least expected form.
> That is, if it is expected, it already happened."
>
>
--
www.tudorgirba.com
www.feenk.com
"Obvious things are difficult to teach."
Aug. 29, 2017
Re: [Pharo-users] [ann] moldable editor - with expandable elements
by Denis Kudriashov
Hi
I have bad feedback. I guess work is still in progress.
So basic cursor navigation is still not working fine:
- sometimes cmd+arrow up is not working and cursor disappears.
- scrolling feels slow and not smooth.
After attempt to edit text (just press key) I got assertion failures about
some layout problems. And after reopening inspector the bloc pillar tab was
empty.
When you are expecting stable version?
Should it works better in "native" Bloc window (without morphic)? And how
to open example this way?
Also it not loads well in Pharo 7 and not working there.
My feedback from Pharo 6 on MacOS
2017-08-26 1:03 GMT+02:00 Tudor Girba <tudor(a)tudorgirba.com>:
> Hi,
>
> We are really pleased to announce another major advancement in the
> development of the moldable editor, and most of it was enabled because of
> one new feature: expandable elements. We think this will impact
> significantly our day to day interactions.
>
> To exemplify what we mean, we will make use of two more alpha projects
> that we did not announce yet: GT Documenter (a set of documentation tools
> based on Pillar and GT Examples) and GT Mondrian (the graph visualization
> engine), both of which are being implemented in Bloc.
>
> Please take a look at the following pictures showing the documentation
> Pillar file that ships together with GT Mondrian. What stands out are the
> two embedded pictures. These are actually not pictures, but
> visualizations rendered live during the viewing of the document out of a
> referenced GT Example.
>
>
> Now, GT Examples are likely also new for most people. We introduced them a
> couple of years ago based on the original idea of Markus Gaelli. These are
> a kind of tests that return an object and that can be built out of other
> examples. The nice thing is that they are always executable and testable.
> So, of course, if you see the resulting object, you can also see the code
> that created it, and if you see the code, you can even execute it live,
> right in place (notice the preview of the second snippet).
>
>
> Perhaps the most controversial part of GT Examples is that they offer a
> mechanism to define static dependencies via pragmas. Please, letâs leave
> this debate to another occasion, but please also notice that tools can use
> that static information to unfold the code of the referenced method (notice
> the nested code editors).
>
> A side note: if you look closer at the list with three items at the top of
> the Tutorial section, you will notice numbering next to #. That is actually
> syntax highlighting and so is the mechanism that embeds the expandable
> elements. Itâs really cool.
>
> Taking step back, when we introduced the editor a few weeks ago, we called
> it moldable because we said we can make it take different shapes easily. GT
> Documenter with everything you see in the above screenshots has currently
> ~500 lines of code, and all this while still having an editor that is
> highly scalable.
>
> We think that Bloc and Brick will change dramatically face of Pharo and
> now we can start to get a glimpse of what is possible. For example, the use
> case presented above is more than a technical tool, and we think this will
> change both the way we write documentation and the way we consume it.
>
> All these will be presented at ESUG both during presentations and at the
> Innovation Awards competition. In the meantime, those that want to play
> with it can execute the following in both Pharo 6.1 and Pharo 7.0:
>
> Iceberg enableMetacelloIntegration: true.
> Metacello new
> baseline: 'GToolkit';
> repository: 'github://feenkcom/gtoolkit/src';
> load.
>
> And then inspect:
> './pharo-local/iceberg/feenkcom/gtoolkit/doc/mondrian/index.pillar'
> asFileReference
>
> Cheers,
> The feenk team
>
> --
> www.tudorgirba.com
> www.feenk.com
>
> "Innovation comes in the least expected form.
> That is, if it is expected, it already happened."
>
>
Aug. 29, 2017
Re: [Pharo-users] Dark Mode
by Dimitris Chloupis
"I once had a guy who wasn't telling younger team members that he wasn't
able to read their document due to too small fonts. We are talking C level
executives here..."
You mean he was embarrassed to admit he could not read small fonts ? How
small we talking here bellow 12 point size ?
On Tue, Aug 29, 2017 at 11:28 AM phil(a)highoctane.be <phil(a)highoctane.be>
wrote:
> White all over Smalltalks UIs are a reason why I do *not* use them.
>
> Dark Pharo: good.
>
> Properly themeable Pharo with a palette and logical color mappings:
> nirvana. I hope to contribute to that. I did some GToolkit dark theming
> but it was too late for 6.0 so maybe for 7.
>
> Try to code against a white background when you have floaters casting
> shadows on your retina. I sucks big time.
>
> I noticed that a lot of older folk suffer from this.
>
> I once had a guy who wasn't telling younger team members that he wasn't
> able to read their document due to too small fonts. We are talking C level
> executives here...
>
> These accessibility issues are going to become huge with people getting
> older and having cash to spend.
>
> From what I can so see, hearing problems will be quite a thing with newer
> generations.
>
> Anyway, there is NegativeScreen on Windows to get whatever I want.
>
> http://arcanesanctum.net/negativescreen/
>
> Phil
>
>
> On Aug 29, 2017 6:02 AM, "Markus Stumptner" <mst(a)cs.unisa.edu.au> wrote:
>
>> 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
>>
>
Aug. 29, 2017
Re: [Pharo-users] Dark Mode
by phil@highoctane.be
White all over Smalltalks UIs are a reason why I do *not* use them.
Dark Pharo: good.
Properly themeable Pharo with a palette and logical color mappings:
nirvana. I hope to contribute to that. I did some GToolkit dark theming
but it was too late for 6.0 so maybe for 7.
Try to code against a white background when you have floaters casting
shadows on your retina. I sucks big time.
I noticed that a lot of older folk suffer from this.
I once had a guy who wasn't telling younger team members that he wasn't
able to read their document due to too small fonts. We are talking C level
executives here...
These accessibility issues are going to become huge with people getting
older and having cash to spend.
>From what I can so see, hearing problems will be quite a thing with newer
generations.
Anyway, there is NegativeScreen on Windows to get whatever I want.
http://arcanesanctum.net/negativescreen/
Phil
On Aug 29, 2017 6:02 AM, "Markus Stumptner" <mst(a)cs.unisa.edu.au> wrote:
> 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
>
Aug. 29, 2017
Re: [Pharo-users] Dark Mode
by Dimitris Chloupis
80s was the time of home computer with 1985 the rise of Amiga which was
light years ahead of theme support, it practically established GUIs, GPU,
dedicated hardware components, gaming, computer graphics and of course 3d
graphics, together with many other things. Plus a theme was super easy to
make because all you had to do is change the colour of foreground and
background. Smalltalk lost its chance by making a huge mistake investing on
Apple instead of Home computers. BASIC on the other hand did not make that
mistake and its creators made sure it was available on every home computer.
You turned on the computer and immediately sent you to a BASIC interpreter
that acted also as the OS. It was BASIC that established the dark theme
popularity as it chose it as its dafault theme. Smalltalk faded, BASIC
became insanely popular and still dominates mainly through Visual Basic and
Visual Basic .NET. Smalltalk would have been amazing as game orientated ,
easy to learn , home computer OS replacement for BASIC. So I am not
surprised that dark theme has been such a big discussion here even though
its non existent discussion to any other software I have used.
On Tue, Aug 29, 2017 at 7:03 AM Markus Stumptner <mst(a)cs.unisa.edu.au>
wrote:
> 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
>
Aug. 29, 2017
Re: [Pharo-users] CodeImporter. 256 literals limit
by Clément Bera
Hi,
If your tool works in Pharo 6, you can use the other bytecode set which
supports up to 32k literals. To do so, go to:
World Menu > Settings > Compiler > Encoder
and pick SistaV1 instead of V3PlusClosures
Try to load your code. The default Pharo 6 VM supports both bytecode sets.
Alternatively you need to split your methods with many literals in multiple
methods with less literals, which is usually quite tricky to do right.
On Tue, Aug 29, 2017 at 4:52 AM, Andreas Sunardi <a.sunardi(a)gmail.com>
wrote:
> 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
>
Aug. 29, 2017
Re: [Pharo-users] CodeImporter. 256 literals limit
by Marcus Denker
Hello,
The new byte code set that we will use in the future does not hat this limitation.
You can, but only in Pharo6 and later, the new byte code backend (it is called âSistaV1â).
(this is a global preference to be enabled in the Settings).
Marcus
It is not yet used by default, but you can enable it. Either globally, or,
> On 29 Aug 2017, at 04:52, Andreas Sunardi <a.sunardi(a)gmail.com> wrote:
>
> 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
Aug. 29, 2017
Re: [Pharo-users] Dark Mode
by 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
Aug. 29, 2017