News for hackers. Stuff that matters.
Re:Exa, a modern replacement for ls by amelius on Thursday August 03, 2017 @04:51PM (#14923759)
Does it take into account the background color of my xterm so things do not become unreadable?
Re:Exa, a modern replacement for ls by twic on Thursday August 03, 2017 @05:15PM (#14923958)
I have an unreasonable and unquenchable hatred for developers who assume that their users have dark-background terminals. Honestly, the most insanely passionate contempt.
Re:Exa, a modern replacement for ls by cannam on Thursday August 03, 2017 @05:35PM (#14924120)
Drives me a bit nuts too, and I would disagree with some of the other things in this page as well (e.g. the preference for "human-readable" file sizes).

But there is a great joy in being able to release a new utility and say about it, "This is how it should work." It reflects your own desires, you understand it, you made the decisions that went into it and have actually thought about the alternatives. There's a delight there. It could be a sign of a piddling egotist, or of a developer who is excited about what real users get to see.

(I did this sort of thing once -- reimplementation of commonly-used, if more niche, thing + manifesto -- from more than 20 years ago: http://all-day-breakfast.com/wm2/)

My main hope for anyone doing this kind of thing is that not too many people actually use it. You don't want to get stuck supporting a tool like this for the world and its dog.

Re:Exa, a modern replacement for ls by fnj on Friday August 04, 2017 @06:41AM (#14927679)
> "human-readable" file sizes).

Nothing is more human readable than "123,456,789", so I think the problem is just the way you go about making them human readable. I couldn't agree more that lurching between B, kB, MB, and GB just because the file size changes it extremely jarring and disconcerting, and actually makes comparing the size much more difficult.

Re:Exa, a modern replacement for ls by thecrazyone on Friday August 04, 2017 @06:04AM (#14927527)
Cool windows manager :thumbsup:

Tilting my head every time I wanted to read a title, I didn't fancy though :)

Re:Exa, a modern replacement for ls by fnj on Friday August 04, 2017 @06:35AM (#14927656)
Sounds a bit extreme, but I am always puzzled by people who think dark backgrounds are just fine. Light all the way for me!

What would people think if all web pages on the internet had ugly black backgrounds?

Re:Exa, a modern replacement for ls by twic on Friday August 04, 2017 @08:34AM (#14928194)
Oh, it's definitely extreme! It feels weird to feel so strongly about it. I should probably talk to a therapist about it.
Re:Exa, a modern replacement for ls by AceJohnny2 on Thursday August 03, 2017 @05:33PM (#14924104)
Doesn't look like it, but the github page [1] has screenshots on both light and dark backgrounds, and the colors appear to have been selected to work well on both light and dark backgrounds (like the Solarized color theme).

From the doc, it doesn't appear that colors are customizable, yet. Pull request? :)

[1] https://github.com/ogham/exa

Re:Exa, a modern replacement for ls by emmelaich on Friday August 04, 2017 @01:00AM (#14926431)
Yes, I was about to mention http://ethanschoonover.com/solarized

Worthy start for a default and you might want to contribute an exa config / env variable setting to solarized.

Re:Exa, a modern replacement for ls by cytzol on Thursday August 03, 2017 @06:13PM (#14924427)
I have a zillion iTerm profiles configured with popular colour schemes for testing with both light and dark ones. You're covered.
Re:Exa, a modern replacement for ls by thecrazyone on Friday August 04, 2017 @06:08AM (#14927542)
Wow! That's a bold statement to make. I wish I get a chance to make such a statement to a user about a tool I made. A hat tip to you sir! :)
Re:Exa, a modern replacement for ls by mcjiggerlog on Thursday August 03, 2017 @07:14PM (#14924867)
Nope - it's pretty unreadable in iterm2 for me - http://i.imgur.com/bKQwIdJ.jpg

Shame, the idea is pretty neat. If you can solve that issue, OP, I'd love to give it a proper try.

Re:Exa, a modern replacement for ls by okdana on Thursday August 03, 2017 @11:17PM (#14926081)
The question i have is why do users configure their terminals to use colours that are unreadable to them?

If your blue doesn't look right on your dark background, why are you using that blue?

If your yellow doesn't look right on your light background, why are you using that yellow?

I mean i get how this can be a problem with hard-coded arbitrary values — you can't ever guarantee that e.g. #ff6600 will go with anyone's particular colour scheme. But these 8 or 16 standard colours are not hard-coded, they're configurable in every terminal i've ever used, including Windows's shitty command prompt. They can and should be set to a value that's appropriate for your background and text colours.

Maybe this is more a fault of the terminal/theme developers for providing unusable defaults. idk.

Re:Exa, a modern replacement for ls by toast0 on Friday August 04, 2017 @12:55AM (#14926398)
Personally, I didn't want to invest the time in color schemes when I was trying out a new terminal... however many years later, I like the terminal, but never cared enough. Most of the colors that show up are fine I guess (except the helpful serial over lan controller that manages to set the background and the foreground to the same color :( )
Re:Exa, a modern replacement for ls by mcjiggerlog on Friday August 04, 2017 @04:07AM (#14927155)
Because those colours never show up. I've never had a problem with readability till now.