<electronic_eel>
whitequark: I guess you had some readability problem with my cli-colors patch. Would you mind posting a screenshot of your terminal, showing a command line (->default color), glasgow info output and glasgow trace output so that I can see what the problem is?
<electronic_eel>
when a new user with black-on-white sees just empty lines output I don't think it is obvious for him to set some color profile env var
<whitequark>
electronic_eel: my thoughts were more that no colors would be used by default at all
<whitequark>
and maybe a message would be printed, or perhaps a --color flag added, with an explanation that an env var has the same action
karlyeurl has quit [Ping timeout: 245 seconds]
<whitequark>
as for the readability problem, with your patch, INFO and TRACE look exactly the same on my terminal, which is white
<whitequark>
this makes TRACE unusable
<electronic_eel>
so you don't see any difference between strong and regular white on your terminal?
<whitequark>
apparently
<whitequark>
(it's konsole)
<electronic_eel>
I use konsole too, I see the difference without problems. so maybe a different font?
<whitequark>
i have "Draw intense colors in bold font" checked
<whitequark>
and the default "White on Black" scheme
<whitequark>
ohhh
<whitequark>
you could have "Linux Colors" selected
<whitequark>
which *does* distinguish white and intense white
<whitequark>
oh I see, "draw intense colors in bold font" doesn't actually work with mononoki
<whitequark>
because it doesn't have a bold variant I think?
<electronic_eel>
hmm, where is this linux colors option?
<whitequark>
Edit Current Profile → Appearance → Color Scheme & Background
<electronic_eel>
must be a different version then, I have just a "Color Scheme & font" tab
<whitequark>
18.04.0
<electronic_eel>
19.04.2
<whitequark>
hmm
<electronic_eel>
why do you see a difference between with my patch and without then?
<electronic_eel>
if you have white on black, you should get the same result with the patch and without
<electronic_eel>
the patch just sets strong for info and removes setting white as specific color. when your default text color is white this shouldn't change anything
<whitequark>
because the default is 37;1, not 37
<whitequark>
hmm, i have an idea
<whitequark>
ohhh
<whitequark>
"1" is "set bold", "0" is "reset to default"
<whitequark>
there is no "unset bold" command
<electronic_eel>
just like any good old standard this wasn't properly designed out...
<whitequark>
Ask Me About Everything I Hate In Unix
<whitequark>
actually i do not recommend doing that
karlyeurl has joined #glasgow
<electronic_eel>
isn't this more like vt100 than unix?
<whitequark>
unix is what still keeps it alive
<whitequark>
just like many other poor decisions
<whitequark>
like having fork()
<electronic_eel>
how about emilys proposal: using dark grey for trace?
<whitequark>
sure, let's try it. what escape is that?
<electronic_eel>
90
<whitequark>
90?
<whitequark>
is that... legal?
<electronic_eel>
"TRACE" : "\033[90m",
<whitequark>
mhm
<electronic_eel>
you'll get arrested when carrying a 90 when crossing the border ;)
<whitequark>
is "carrying a 90" an idiom i'm not familiar with?
<electronic_eel>
no
<electronic_eel>
just made it up
<whitequark>
ok so 90 is ... a bit too dark
<whitequark>
but i might compromise on it
<whitequark>
any other forbidden escape codes i'm not aware of? :p
<electronic_eel>
just been playing with it and I actually like it. but maybe 1;90m is a bit better
<whitequark>
doesn't seem to make a difference
<electronic_eel>
I guess you have your "always strong" thing on so you don't see it
<whitequark>
i'm not sure if there's such an option
<whitequark>
nothing i change seems to make a difference
<electronic_eel>
maybe change the font if your font doesn't have strong. I use "Monospace 10pt"
<whitequark>
well I like this font
<electronic_eel>
no, not permanently, just to try it
<whitequark>
oh!
<whitequark>
no change between 90m and 1;90m
<whitequark>
with Monospace
<whitequark>
no change in *color*
<whitequark>
1;90m makes it bold now
<whitequark>
unless i uncheck "draw intense colors in bold font"
<whitequark>
i don't think i want it to be bold
<electronic_eel>
the bold makes it a bit easier to read for me, but the difference is miniscule
<whitequark>
actually
<whitequark>
mononoki *does* have a bold version
<whitequark>
not sure why konsole doesn't pick it up
<electronic_eel>
is it a different font or the same font with a different style?
<whitequark>
different style
<whitequark>
then again konsole seems to think mononoki is not monospace...
<whitequark>
... which is kinda true, e.g. → doesn't have the proper width in it
<marcan>
whitequark: still moving next week :p
<whitequark>
marcan: oh right, i blanked on that, sorry
<whitequark>
when should i ping you next? two weeks? month?
<whitequark>
moving always takes forever
<whitequark>
i hate that
<marcan>
two weeks should be safe
<whitequark>
will do
<marcan>
I "should" be moved in a week but, well, "moved" is relative
<whitequark>
yes.
<marcan>
also next weekend I have some stuff anyway
<whitequark>
such a pain.
<whitequark>
hmm
<marcan>
yeah in 2 weeks I just have some random event on the weekend but otherwise nothing
<electronic_eel>
marcan: did the landlord cancel your contract or do you move because you found something better?
<whitequark>
one thing i wanted you to take a look at, is apparently migration to nmigen broke the fx2 crossbar somehow
<marcan>
I might end up going to IKEA or something but, let's say around the 10th onwards is a good time to remind me
<whitequark>
i've been looking at it for quite some time
<whitequark>
it should be entirely equivalent
<marcan>
ack
<marcan>
I can check it out then
<marcan>
electronic_eel: neither/latter
<marcan>
my landlord raised my rent and for that money I'll take a larger place from 2007 instead of a place built in 1980 kthx
<marcan>
it's time for a change
<electronic_eel>
understand that. but moving always takes a huuuuge lot of time. I really hate it
<electronic_eel>
I'm happy that I got a good flat with a still reasonable rent
<marcan>
yeah it's a pain, but I'm looking forward to the new place
<marcan>
it's just so much nicer
<marcan>
and closer to some friends too, always nice
* ZirconiumX
looks at their uni room
<ZirconiumX>
It's literally just a room
<whitequark>
i could probably fill a room with devboards alone
<whitequark>
speaking of which de0cv arrives in a few days
<electronic_eel>
marcan: yeah, so a good investment of your time then
<whitequark>
two?
<ZirconiumX>
wq: I would have brought my own devboard but for having to also lug a monitor along with it, which would be a pain
<electronic_eel>
whitequark: back to colors - is "TRACE" : "\033[90m", "INFO" : "\033[1m" ok with you?
<whitequark>
not exactly ok
<whitequark>
TRACE is too dark this way
<whitequark>
but it's closer to acceptable
<electronic_eel>
you got a better idea?
<whitequark>
export GLASGOW_COLORS
<electronic_eel>
hmm, how about making the default as written above and adding GLASGOW_COLORS env for those who want to customize?
<whitequark>
i'm actually partial to your original PR
<whitequark>
i.e. not 90
<whitequark>
plus GLASGOW_COLORS
<electronic_eel>
so default to "TRACE" : "\033[0m", "INFO" : "\033[1m" + GLASGOW_COLORS
<electronic_eel>
wouldn't it have to be GLASGOW_COLOURS because Glasgow is in GB?
<whitequark>
well i hope not for very long
<electronic_eel>
hehe, but I don't think they'll change to american english when leaving the UK
<whitequark>
the entire rest of the project uses american spelling though
<whitequark>
would be weird to change it here
<electronic_eel>
was more of a joke
<electronic_eel>
how about the syntax for GLASGOW_COLORS?
<electronic_eel>
GLASGOW_COLORS="T=37m I=1;37m"
<electronic_eel>
would just override these ones, keep the other ones to default
<electronic_eel>
or GLASGOW_COLORS="TRACE=37m INFO=1;37m"
<electronic_eel>
or full blown escape codes with all the escaping?
<whitequark>
should be like LS_COLORS
<electronic_eel>
so GLASGOW_COLORS="t=37:i=1;37"
<whitequark>
i was thinking GLASGOW_COLORS="TRACE=37:INFO=1;37" etc
<electronic_eel>
ok, no problem
<whitequark>
dict(entry.split("=") for entry in o.getenv("GLASGOW_COLORS").split(":"))
<whitequark>
or something
<_whitenotifier>
[Glasgow] whitequark opened issue #161: selftest loopback fails with USB EP8IN timeout - https://git.io/JeZob
<electronic_eel>
will implement GLASGOW_COLORS, but want to finish the the gpio stuff first
<whitequark>
oh i can just add it rn
<electronic_eel>
go ahead if you want to
<_whitenotifier>
[GlasgowEmbedded/Glasgow] whitequark pushed 2 commits to master [+0/-0/±2] https://git.io/JeZoj
<_whitenotifier>
[GlasgowEmbedded/Glasgow] whitequark 611db6e - Revert "Revert "cli: make output legible on black-on-white terminals too""
<_whitenotifier>
[GlasgowEmbedded/Glasgow] whitequark a1cc033 - cli: allow overriding colors for the logger.
<electronic_eel>
thanks
<electronic_eel>
you are faster than I'd have been
<whitequark>
this is my curs
<whitequark>
i am faster than almost every contributor to my projects, so i am inclined to take more workload, since it is "more efficient"
<whitequark>
instead of spreading knowledge
<whitequark>
curse*
<electronic_eel>
I offered to do it, spreading knowledge and stuff - you chose to do it yourself
<whitequark>
yes. i did not claim it was a good choice. only one i make repeatedly
* emily
is writing a blinkenlights demo app to upstream as a first glasgow project, and hereby invites ideas for any simple 5-LED lightshow demo effects that would be good to include
<emily>
I have blinky, binary counter, one-hot counter, planning on Gray code, some strobey PWM thing, ...
<whitequark>
using the built-in LEDs for blinkenlights as a demo feels weird
<whitequark>
because it's not representative of pretty much any real applet
<emily>
it's in line with selftest/benchmark
<emily>
selftest already pokes the LEDs
<jn__>
walking lights (Knightrider style)
<emily>
it also gives me something to take a video of and post to twitter
<whitequark>
i guess
<whitequark>
oh!
<emily>
it also would be like
<emily>
an actually readable demo applet
<emily>
for simple stuff
<emily>
that isn't bogged down in a bunch of IO
<whitequark>
there's examples/boilerplate
<emily>
it took me a while to even figure out what the minimal applet was
<emily>
ok, I missed that
<emily>
anyway I don't really care if it's upstreamed, but it seems harmless/fun and a good smoketest applet while also serving as a relatively self-contained nmigen demo
<emily>
in this case I specifically used benchmark because I *didn't* want to have to go clear some space and actually wire it up to things :p
<whitequark>
it's probably fine to put it under internal/
<emily>
yeah that's where I have it, internal/lightshow
<emily>
will default to just cycling through all the demos
<emily>
like christmas lights!
<emily>
wow glasgow should support christmas tree lights.
<whitequark>
hm
<whitequark>
there are digital christmas tree lights?
<emily>
I have no idea, I assumed the silly effects were driven by a digital controller but maybe I'm wrong?
<emily>
I mean the ones that come with a base unit that you can flick through effects with a dial
<whitequark>
oh. the last time i used christmas lights they used like
<whitequark>
actual lightbulbs
<whitequark>
plugged into mains in series
<emily>
jn__: thanks for the suggestion btw~
<emily>
whitequark: truly, russia is a dark place.
pie__ has joined #glasgow
<electronic_eel>
emily: would you mind to add a led mode that helps seeing leds shorted together during production?
<electronic_eel>
I imagine something like alternating the leds next to each other
<whitequark>
that should probably go to selftest
pie__ has quit [Ping timeout: 276 seconds]
pie_ has joined #glasgow
<_whitenotifier>
[Glasgow] emilazy opened issue #162: CLI handles USB device permission errors badly - https://git.io/JeZ1H
<_whitenotifier>
[Glasgow] whitequark commented on issue #162: CLI handles USB device permission errors badly - https://git.io/JeZMv
<_whitenotifier>
[Glasgow] emilazy commented on issue #162: CLI handles USB device permission errors badly - https://git.io/JeZMJ
<_whitenotifier>
[Glasgow] whitequark commented on issue #162: CLI handles USB device permission errors badly - https://git.io/JeZMY
<_whitenotifier>
[Glasgow] whitequark commented on issue #162: CLI handles USB device permission errors badly - https://git.io/JeZMs
ec0 has quit [Ping timeout: 265 seconds]
ec0 has joined #glasgow
<Getorix>
managed to bringup glasgow on mac, there are several things we probably need to discuss, but overall it is working :D
<Getorix>
I will try required steps on clean snapshot again just in case later today