Re: Let's paint those bikesheds^Werror messages!

2017-06-29 Thread bauss via Digitalmars-d
On Thursday, 29 June 2017 at 14:35:00 UTC, Vladimir Panteleev wrote: On Thursday, 29 June 2017 at 14:33:19 UTC, bauss wrote: On Tuesday, 27 June 2017 at 14:32:28 UTC, Vladimir Panteleev wrote: - Yes, not everyone likes colors. You can turn all colors off with a command-line switch. Which is?

Re: Let's paint those bikesheds^Werror messages!

2017-06-29 Thread Vladimir Panteleev via Digitalmars-d
On Thursday, 29 June 2017 at 14:33:19 UTC, bauss wrote: On Tuesday, 27 June 2017 at 14:32:28 UTC, Vladimir Panteleev wrote: - Yes, not everyone likes colors. You can turn all colors off with a command-line switch. Which is? -color=off As with almost any other program, you can get a list of

Re: Let's paint those bikesheds^Werror messages!

2017-06-29 Thread bauss via Digitalmars-d
On Tuesday, 27 June 2017 at 14:32:28 UTC, Vladimir Panteleev wrote: - Yes, not everyone likes colors. You can turn all colors off with a command-line switch. Which is?

Re: Let's paint those bikesheds^Werror messages!

2017-06-29 Thread Danni Coy via Digitalmars-d
This times 1000 On Wed, Jun 28, 2017 at 3:11 AM, H. S. Teoh via Digitalmars-d < digitalmars-d@puremagic.com> wrote: > On Tue, Jun 27, 2017 at 02:32:28PM +, Vladimir Panteleev via > Digitalmars-d wrote: > > As has been announced, DMD now has colorized syntax highlighting in > > error

Re: Let's paint those bikesheds^Werror messages!

2017-06-29 Thread Vladimir Panteleev via Digitalmars-d
On Thursday, 29 June 2017 at 01:45:11 UTC, Nick Sabalausky (Abscissa) wrote: Hasn't DMD already been coloring error messages for about the past year? Or is it DUB that's been doing that to DMD's output? Or are we talking about something different then what was already there? Please, click,

Re: Let's paint those bikesheds^Werror messages!

2017-06-28 Thread Nick Sabalausky (Abscissa) via Digitalmars-d
On 06/27/2017 10:32 AM, Vladimir Panteleev wrote: As has been announced, DMD now has colorized syntax highlighting in error messages: http://forum.dlang.org/post/of9oao$230j$1...@digitalmars.com With 2.075's release near, now would be a good time to decide on a nice color palette that looks

Re: Let's paint those bikesheds^Werror messages!

2017-06-28 Thread Mike Wey via Digitalmars-d
On 28-06-17 01:34, Moritz Maxeiner wrote: All these can even do true colors on Windows: - https://blogs.msdn.microsoft.com/commandline/2016/09/22/24-bit-color-in-the-windows-console/ On Windows 10, and in that case you can even use the vt100 escape sequences:

Re: Let's paint those bikesheds^Werror messages!

2017-06-28 Thread Moritz Maxeiner via Digitalmars-d
On Tuesday, 27 June 2017 at 23:38:23 UTC, Sönke Ludwig wrote: Am 28.06.2017 um 01:24 schrieb Vladimir Panteleev: And Windows? Good point, I forgot about that and it can definitely not be ignored. A separate 16-color theme just on Windows, however, could still be an option. Windows can do

Re: Let's paint those bikesheds^Werror messages!

2017-06-28 Thread Gary Willoughby via Digitalmars-d
On Tuesday, 27 June 2017 at 14:32:28 UTC, Vladimir Panteleev wrote: - Yes, not everyone likes colors. You can turn all colors off with a command-line switch. - Yes, everyone agrees that having all colors be configurable would be good. We still need defaults that are going to look OK on most

Re: Let's paint those bikesheds^Werror messages!

2017-06-28 Thread Jacob Carlborg via Digitalmars-d
On 2017-06-27 19:11, H. S. Teoh via Digitalmars-d wrote: The cardinal rule of color selection: NEVER only set the foreground color or the background color alone. ALWAYS set both, otherwise you will get invisible text (or barely-visible text, like yellow on white) on somebody's terminal, and

Re: Let's paint those bikesheds^Werror messages!

2017-06-28 Thread Jacob Carlborg via Digitalmars-d
On 2017-06-27 23:10, Sönke Ludwig wrote: Just ruling out a white background would be a bad idea. I think on macOS that's the default, for example. Yes, default background color on the default terminal emulator. -- /Jacob Carlborg

Re: Let's paint those bikesheds^Werror messages!

2017-06-27 Thread Walter Bright via Digitalmars-d
On 6/27/2017 7:32 AM, Vladimir Panteleev wrote: As has been announced, DMD now has colorized syntax highlighting in error messages: http://forum.dlang.org/post/of9oao$230j$1...@digitalmars.com With 2.075's release near, now would be a good time to decide on a nice color palette that looks

Re: Let's paint those bikesheds^Werror messages!

2017-06-27 Thread Sönke Ludwig via Digitalmars-d
Am 28.06.2017 um 01:24 schrieb Vladimir Panteleev: On Tuesday, 27 June 2017 at 23:18:18 UTC, Sönke Ludwig wrote: I mean if, by switching to more colors, we rule out few people, but are able to provide a much better value for the (presumed) majority of people with differently colored, but

Re: Let's paint those bikesheds^Werror messages!

2017-06-27 Thread Moritz Maxeiner via Digitalmars-d
On Tuesday, 27 June 2017 at 23:24:42 UTC, Vladimir Panteleev wrote: On Tuesday, 27 June 2017 at 23:18:18 UTC, Sönke Ludwig wrote: I mean if, by switching to more colors, we rule out few people, but are able to provide a much better value for the (presumed) majority of people with differently

Re: Let's paint those bikesheds^Werror messages!

2017-06-27 Thread Moritz Maxeiner via Digitalmars-d
On Tuesday, 27 June 2017 at 23:18:18 UTC, Sönke Ludwig wrote: I mean if, by switching to more colors, we rule out few people, but are able to provide a much better value for the (presumed) majority of people with differently colored, but 256-color capable terminals, then it may still be worth

Re: Let's paint those bikesheds^Werror messages!

2017-06-27 Thread Vladimir Panteleev via Digitalmars-d
On Tuesday, 27 June 2017 at 23:18:18 UTC, Sönke Ludwig wrote: I mean if, by switching to more colors, we rule out few people, but are able to provide a much better value for the (presumed) majority of people with differently colored, but 256-color capable terminals, then it may still be worth

Re: Let's paint those bikesheds^Werror messages!

2017-06-27 Thread deadalnix via Digitalmars-d
On Tuesday, 27 June 2017 at 19:43:03 UTC, Vladimir Panteleev wrote: On Tuesday, 27 June 2017 at 19:39:25 UTC, deadalnix wrote: Please, please, please, just do the same as clang. I don't think clang has this feature, so doing the same as clang would be a regression. We're in uncharted waters!

Re: Let's paint those bikesheds^Werror messages!

2017-06-27 Thread Sönke Ludwig via Digitalmars-d
Am 28.06.2017 um 00:44 schrieb Vladimir Panteleev: On Tuesday, 27 June 2017 at 22:34:39 UTC, Sönke Ludwig wrote: I was specifically trying to steer away from a random propose-and-comment approach, because I think we can do a lot better if we first reduce the size of the design space using

Re: Let's paint those bikesheds^Werror messages!

2017-06-27 Thread Vladimir Panteleev via Digitalmars-d
On Tuesday, 27 June 2017 at 22:34:39 UTC, Sönke Ludwig wrote: I was specifically trying to steer away from a random propose-and-comment approach, because I think we can do a lot better if we first reduce the size of the design space using objective measures. If we can agree to some extent that

Re: Let's paint those bikesheds^Werror messages!

2017-06-27 Thread Sönke Ludwig via Digitalmars-d
Am 28.06.2017 um 00:19 schrieb Vladimir Panteleev: On Tuesday, 27 June 2017 at 22:12:42 UTC, Sönke Ludwig wrote: [...] (snip - as it boils down to needing a concrete proposal) I was specifically trying to steer away from a random propose-and-comment approach, because I think we can do a

Re: Let's paint those bikesheds^Werror messages!

2017-06-27 Thread Vladimir Panteleev via Digitalmars-d
On Tuesday, 27 June 2017 at 22:12:42 UTC, Sönke Ludwig wrote: [...] (snip - as it boils down to needing a concrete proposal) But it seems like the solution for that is to use saturated colors for everything. There are also some examples that clearly don't work on a white background, such as

Re: Let's paint those bikesheds^Werror messages!

2017-06-27 Thread Sönke Ludwig via Digitalmars-d
Am 27.06.2017 um 23:45 schrieb Vladimir Panteleev: On Tuesday, 27 June 2017 at 21:10:37 UTC, Sönke Ludwig wrote: Intended to be more of the latter, especially as a consequence of the readability concern. The typical colorful syntax highlighting that is often used (lets say like the Monokai

Re: Let's paint those bikesheds^Werror messages!

2017-06-27 Thread Vladimir Panteleev via Digitalmars-d
On Tuesday, 27 June 2017 at 21:10:37 UTC, Sönke Ludwig wrote: Intended to be more of the latter, especially as a consequence of the readability concern. The typical colorful syntax highlighting that is often used (lets say like the Monokai theme), starts to break down when it isn't used within

Re: Let's paint those bikesheds^Werror messages!

2017-06-27 Thread Sönke Ludwig via Digitalmars-d
Am 27.06.2017 um 22:35 schrieb Vladimir Panteleev: On Tuesday, 27 June 2017 at 20:19:14 UTC, Sönke Ludwig wrote: I would argue pretty strongly that this should be toned down as much as possible. From the perspective of a personal preference, or an objective analysis? It sounds like the former

Re: Let's paint those bikesheds^Werror messages!

2017-06-27 Thread Vladimir Panteleev via Digitalmars-d
On Tuesday, 27 June 2017 at 20:19:14 UTC, Sönke Ludwig wrote: I would argue pretty strongly that this should be toned down as much as possible. From the perspective of a personal preference, or an objective analysis? It sounds like the former but isn't worded as one. All example schemes in

Re: Let's paint those bikesheds^Werror messages!

2017-06-27 Thread Sönke Ludwig via Digitalmars-d
Am 27.06.2017 um 16:32 schrieb Vladimir Panteleev: As has been announced, DMD now has colorized syntax highlighting in error messages: http://forum.dlang.org/post/of9oao$230j$1...@digitalmars.com With 2.075's release near, now would be a good time to decide on a nice color palette that looks

Re: Let's paint those bikesheds^Werror messages!

2017-06-27 Thread Adam D. Ruppe via Digitalmars-d
On Tuesday, 27 June 2017 at 17:11:32 UTC, H. S. Teoh wrote: The cardinal rule of color selection: NEVER only set the foreground color or the background color alone. Fun fact: this is why terminal.d's api is `color(fg, bg)` instead of foregroundColor and backgroundColor independently. But, I

Re: Let's paint those bikesheds^Werror messages!

2017-06-27 Thread Adam D. Ruppe via Digitalmars-d
On Tuesday, 27 June 2017 at 17:41:35 UTC, qznc wrote: I'm one of the rare people who use a light background in my terminal (like 99% of websites). It seems only dark backgrounds are considered, which is understandable. I also use light backgrounds... so I'm advocating for the light bg

Re: Let's paint those bikesheds^Werror messages!

2017-06-27 Thread Vladimir Panteleev via Digitalmars-d
On Tuesday, 27 June 2017 at 19:39:25 UTC, deadalnix wrote: Please, please, please, just do the same as clang. I don't think clang has this feature, so doing the same as clang would be a regression. We're in uncharted waters!

Re: Let's paint those bikesheds^Werror messages!

2017-06-27 Thread deadalnix via Digitalmars-d
On Tuesday, 27 June 2017 at 14:32:28 UTC, Vladimir Panteleev wrote: As has been announced, DMD now has colorized syntax highlighting in error messages: http://forum.dlang.org/post/of9oao$230j$1...@digitalmars.com With 2.075's release near, now would be a good time to decide on a nice color

Re: Let's paint those bikesheds^Werror messages!

2017-06-27 Thread Random D user via Digitalmars-d
On Tuesday, 27 June 2017 at 18:42:45 UTC, Vladimir Panteleev wrote: On Tuesday, 27 June 2017 at 18:41:00 UTC, Random D user wrote: What ever you do, please don't use extreme high intensity colors like red(255,0,0), green (0,255,0) or blue (0,0,255). That's up to the terminal (or your

Re: Let's paint those bikesheds^Werror messages!

2017-06-27 Thread Vladimir Panteleev via Digitalmars-d
On Tuesday, 27 June 2017 at 18:41:00 UTC, Random D user wrote: What ever you do, please don't use extreme high intensity colors like red(255,0,0), green (0,255,0) or blue (0,0,255). That's up to the terminal (or your configuration of it). Without making many assumptions, console applications

Re: Let's paint those bikesheds^Werror messages!

2017-06-27 Thread Random D user via Digitalmars-d
On Tuesday, 27 June 2017 at 14:32:28 UTC, Vladimir Panteleev wrote: With 2.075's release near, now would be a good time to decide on a nice color palette that looks fine on most terminals. So, please vote: What ever you do, please don't use extreme high intensity colors like red(255,0,0),

Re: Let's paint those bikesheds^Werror messages!

2017-06-27 Thread Vladimir Panteleev via Digitalmars-d
On Tuesday, 27 June 2017 at 17:41:35 UTC, qznc wrote: Is there a way to do this globally? For example, a config file or an environment variable? I believe you can add -color=off to DFLAGS in sc.ini / dmd.conf. It seems only dark backgrounds are considered, which is understandable. Not

Re: Let's paint those bikesheds^Werror messages!

2017-06-27 Thread Vladimir Panteleev via Digitalmars-d
On Tuesday, 27 June 2017 at 17:28:42 UTC, H. S. Teoh wrote: I've seen complaints from people who have black-on-white terminals (or vice versa) finding some programs producing unreadable text because the program set the foreground color to black without also setting the background. Of course,

Re: Let's paint those bikesheds^Werror messages!

2017-06-27 Thread qznc via Digitalmars-d
On Tuesday, 27 June 2017 at 14:32:28 UTC, Vladimir Panteleev wrote: - Yes, not everyone likes colors. You can turn all colors off with a command-line switch. Is there a way to do this globally? For example, a config file or an environment variable? I'm one of the rare people who use a light

Re: Let's paint those bikesheds^Werror messages!

2017-06-27 Thread H. S. Teoh via Digitalmars-d
On Tue, Jun 27, 2017 at 05:24:46PM +, Vladimir Panteleev via Digitalmars-d wrote: > On Tuesday, 27 June 2017 at 17:11:32 UTC, H. S. Teoh wrote: > > The cardinal rule of color selection: NEVER only set the foreground > > color or the background color alone. ALWAYS set both, otherwise you > >

Re: Let's paint those bikesheds^Werror messages!

2017-06-27 Thread Vladimir Panteleev via Digitalmars-d
On Tuesday, 27 June 2017 at 17:32:23 UTC, FoxyBrown wrote: This will be a nightmare if you do not allow it to be configurable! Hard coding anything is very bad when others are will use it. Make a default color scheme that works for the majority as you are, but then allow it to be easily

Re: Let's paint those bikesheds^Werror messages!

2017-06-27 Thread FoxyBrown via Digitalmars-d
On Tuesday, 27 June 2017 at 14:32:28 UTC, Vladimir Panteleev wrote: As has been announced, DMD now has colorized syntax highlighting in error messages: http://forum.dlang.org/post/of9oao$230j$1...@digitalmars.com With 2.075's release near, now would be a good time to decide on a nice color

Re: Let's paint those bikesheds^Werror messages!

2017-06-27 Thread Vladimir Panteleev via Digitalmars-d
On Tuesday, 27 June 2017 at 17:11:32 UTC, H. S. Teoh wrote: The cardinal rule of color selection: NEVER only set the foreground color or the background color alone. ALWAYS set both, otherwise you will get invisible text (or barely-visible text, like yellow on white) on somebody's terminal, and

Re: Let's paint those bikesheds^Werror messages!

2017-06-27 Thread H. S. Teoh via Digitalmars-d
On Tue, Jun 27, 2017 at 02:32:28PM +, Vladimir Panteleev via Digitalmars-d wrote: > As has been announced, DMD now has colorized syntax highlighting in > error messages: > > http://forum.dlang.org/post/of9oao$230j$1...@digitalmars.com > > With 2.075's release near, now would be a good time

Let's paint those bikesheds^Werror messages!

2017-06-27 Thread Vladimir Panteleev via Digitalmars-d
As has been announced, DMD now has colorized syntax highlighting in error messages: http://forum.dlang.org/post/of9oao$230j$1...@digitalmars.com With 2.075's release near, now would be a good time to decide on a nice color palette that looks fine on most terminals. So, please vote: