Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
cytzol
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
20 ms
·
151.
▲
by
cytzol
9y ago
Oh, I completely missed that word. My bad.
152.
▲
by
cytzol
9y ago
Thanks! Configurable colours are something I'd like to get done, too. About half the work has been done to achieve this -- none of the colours are hard-coded, they're all looked up from a big Colours value that gets passed around
153.
▲
by
cytzol
9y ago
You hit the nail on the head! Like I've said in these comments, I'm constantly surprised by which settings people change and which ones they don't, so differing opinions on exa's defaults is nothing new. exa shares my op
154.
▲
by
cytzol
9y ago
You are correct. exa uses libgit2 for its Git column, and the library's networking parts must still be included when they aren't even being used anyway. I can see how it looks VERY SUSPICIOUS for a file lister to be parsing HTTP h
155.
▲
by
cytzol
9y ago
grep does have `--color=auto`, though, which checks whether you're printing to a terminal or not. exa's opinion is this: users shouldn't be expected to know that adding colour to ANSI terminal output adds more bytes to the st
156.
▲
by
cytzol
9y ago
I've been aliasing "l" and "ls" to "exa" for years now. Aliases in your shell won't cause any problems, because any scripts you run won't follow the aliases and will just use ls normally. Actuall
157.
▲
by
cytzol
9y ago
When I release a new version of exa, I upload the code and binaries to GitHub, and then someone else whom I have never met but very much appreciate takes it and publishes it to Homebrew, then a few days later I download and start using it.
158.
▲
by
cytzol
9y ago
Thanks for the kudos! It's absolutely mindboggling how many times I've decided to deviate from one of ls's default settings -- certain that the old way was inferior and outdated, and that the new way will be obvious and immen
159.
▲
by
cytzol
9y ago
"Like an engineer deeply in tune with his machine, Exa feels the world's component error deep in his bones, fractionally before anything has literally gone wrong." — from Sam Hughes's Ra ( https://qntm.org/
160.
▲
by
cytzol
9y ago
I wouldn't say it's bullshit, just a difference of opinion. 38 kilobytes of executable isn't small, it's tiny ; there's no way exa could get to that level without compromising its featureset or development, and eve
161.
▲
by
cytzol
9y ago
I have a zillion iTerm profiles configured with popular colour schemes for testing with both light and dark ones. You're covered.
162.
▲
by
cytzol
9y ago
To the credit of both Microsoft and the Rust team, Windows has become a much easier platform to develop on than when that sentence was written!
163.
▲
by
cytzol
9y ago
(author here) You know what's funny? Every time I have to use ls, I'm so used to seeing the colours that I have so much trouble finding anything. Which column in the permissions is group-read? I can just scan for the green one. Wh
164.
▲
by
cytzol
9y ago
I know the documentation is currently lacking -- I've been working on a better website that explains all the options and colours for a while now. It should be done Soon™
165.
▲
by
cytzol
9y ago
This took me by surprise too. For some reason it isn't happening in the Vagrant VM I develop on, but now I've run it on my VPS, it's totally there! exa uses libgit2 which must be requiring it somehow. The GitHub issue offers
166.
▲
by
cytzol
9y ago
It's all good now! Rust has been stable with backwards-compatibility guarantees since 1.0 was released two years ago.
167.
▲
by
cytzol
9y ago
Of course someone links to exa right as I accidentally upload a broken linux version... of course!
168.
▲
by
cytzol
9y ago
I absolutely love having a colourful shell -- assuming that each program doesn’t end up competing for your attention! I’m far more likely to notice an error if it’s red, or a warning if it’s yellow, as I find out about them subconsciously
169.
▲
by
cytzol
9y ago
Since Sierra, you've been able to do it from within System Preferences, no hacks required!
170.
▲
by
cytzol
9y ago
For anyone wanting to see the linked IOCCC program (now-broken link in the third paragraph), here it is: http://ioccc.org/1987/hines/hines.c "This program was designed to maximize the bother function for stru
171.
▲
by
cytzol
9y ago
Yeah, you got it. I have a webpack.config.js that compiles everything, bundles it together, and spits out a bunch of HTML files. But what I don't have is the confidence that I'm doing things the right way and not using Webpack ina
172.
▲
by
cytzol
9y ago
> You can have multiple entries (html files), but share common chunks between them might be difficult in some special cases. This is what I'm trying to do at the moment -- create a static site that's just a bunch of HTML files,
173.
▲
by
cytzol
9y ago
My favourite part of the Webpack 1->2 transition was when they updated their old documentation to say that Webpack 1 was deprecated [0], but failed to mention if the user was currently looking at the Webpack 1 docs or the Webpack 2 docs!
174.
▲
by
cytzol
9y ago
Ah, but is that a problem with the commit messages, or with the CI systems?
175.
▲
by
cytzol
9y ago
> This is my unsafe block's bug, but it seems like something that could take a good while debugging to attribute back to my unsafe block. You are correct: it's possible to write nefarious code inside an 'unsafe' block
176.
▲
by
cytzol
9y ago
javac itself doesn't do any incremental compilation and will happily compile over your .class each time (though you can tell it not to; see http://stackoverflow.com/q/8271282 ) Build tools like Maven and Gradle, as
177.
▲
by
cytzol
9y ago
I’ve started avoiding the whole pretence of “tagging” or “organisation” like I tried to do with Pinboard. My bookmarks are now Safari .webarchive files. I have access to them offline, I can back them up the same way I back everything else u
178.
▲
by
cytzol
10y ago
What you could do is commit half-finished work with the name “Backup”, and then commit --amend over the top of it once that piece of work has completed. This ensures your for-sync-only commits won’t get in the way of the other commits. Howe
179.
▲
by
cytzol
10y ago
Ooooh, yes. Testing error-handling code is another thing I keep on forgetting to do.
180.
▲
by
cytzol
10y ago
A function can return void and still throw an exception. (Like one I wrote today, "insert row into table", which throws on failure and return nothing on success.) A bunch of functions that all return void all being called in a row
More ›