Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
cytzol
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
28 ms
·
211.
▲
by
cytzol
11y ago
That would be nice, but I'm not holding my breath; the existing code will probably assume one window. We've brought up being told that singletons are bad and should never be used, and then go and build programs like this!
212.
▲
by
cytzol
11y ago
This feels like a step backwards for me, too, and I love overlapping windows and never split my screen. The benefit of having multiple windows is that you can have different working contexts that don't overlap, which makes it easier
213.
▲
by
cytzol
11y ago
The advantage (for me, at least, on a Mac) is that it's easier to pick which terminal you want when they're laid out across the screen instead of all being in the same position: "The window I'm testing my code in is in t
214.
▲
by
cytzol
11y ago
Just curious: what would it need to be for it to do something? Not that I'm planning to...
215.
▲
by
cytzol
11y ago
Oh! I could have sworn it was necessary. My bad.
216.
▲
by
cytzol
11y ago
Any Perl 6 code will have to include a `use v6;` instruction at the very top of the file, so there's no chance of Perl 5 code being confused for it. Is this what you mean? EDIT: this was completely wrong, see below.
217.
▲
by
cytzol
12y ago
This has dropped off the frontpage, so I feel better about going off-topic: but you can use rsync instead of cp if you want a progress bar!
218.
▲
by
cytzol
12y ago
I don't even have downvote privileges yet! I was unaware of the getdents issue - thanks. However, it is most definitely slower than ls, because I've only tested it on large directories, rather than using it with large directories
219.
▲
by
cytzol
12y ago
Well, it's originally the Tomorrow Night theme, but I've tweaked all the colours to my own liking (such as making the bold colours slightly lighter) that it's not really officially that anymore. But it's a great theme, a
220.
▲
by
cytzol
12y ago
exa can certainly handle a million files. Try running "exa -lRT ~" and watch it produce a tree view of your entire home directory! However, by 'handle', I actually mean 'run without crashing'... if you run that
221.
▲
by
cytzol
12y ago
I'd really like for that to happen (compiling to a standalone binary is one of the reasons I picked Rust), but I have no idea how to go about doing it...
222.
▲
by
cytzol
12y ago
It uses the colours you pick in your terminal. I made the website dark because I like that colour scheme, and it's what I look at all day, so copying it for the website was a natural fit :) A few of the filetypes use colours in the 256
223.
▲
by
cytzol
12y ago
Do you mean recursing into a directory and summing the file sizes of its contents? exa doesn't do this, sorry, but it's something I've been thinking of adding. ls actually displays the 'file size' of the directory,
224.
▲
by
cytzol
12y ago
Thanks! Years ago I wrote a wrapper for ls that just added colours and did highlighting - but not only was it much slower, I couldn't do things like preview a symlink's path because that information wasn't available in ls
225.
▲
Show HN: Exa, a replacement for ls written in Rust
(bsago.me)
132 points
by
cytzol
12y ago
|
87 comments
226.
▲
CSS Quine
(drunkmenworkhere.org)
1 points
by
cytzol
12y ago
|
0 comments
227.
▲
BBEdit 11 Released
(barebones.com)
1 points
by
cytzol
12y ago
|
0 comments
228.
▲
This Week in Rust (Week 50)
(blog.octayn.net)
1 points
by
cytzol
12y ago
|
0 comments
229.
▲
by
cytzol
13y ago
You can. The plugins for IntelliJ IDEA lag behind their separate-product counterparts, though: improvements to Python appear in PyCharm months before, same with PHP in WebStorm, etc.
230.
▲
Changes in Linux 3.14
(kernelnewbies.org)
2 points
by
cytzol
13y ago
|
0 comments
231.
▲
by
cytzol
13y ago
You'd have to hope so! I wanted to use the site, but having it down didn't bother me. But if I depended on it for my day job, I'd want more than just my source code available.
232.
▲
by
cytzol
13y ago
You still have your local source code, but GitHub gives you issue tracking, comments, pull requests, and other things you could still use for work - none of which can be cloned locally.
233.
▲
by
cytzol
13y ago
I use code completion all the time, even when navigating APIs I've written myself -- not because I don't remember what they do, or what the functions and methods are called, but because it serves as a check that what I expect to b
234.
▲
by
cytzol
13y ago
Don't listen to me . Edge.org asks a question to a hundred or so clever people every year, and collects and posts the result. The 2013 question was "What should we be worried about?", and you can see the answers here: http:
235.
▲
by
cytzol
13y ago
GNU's stance on man pages is entirely correct! For real documentation, read the info page, but you rarely want real documentation, you just want a quick example or the command-line invocation syntax, or what a particular argument d
236.
▲
by
cytzol
13y ago
I don't get what the problem is here. Each of those annotations modifies the field somehow - if you take one out, then you get less functionality. Is the problem really "my code does too much"? He says: > I can't even
237.
▲
by
cytzol
13y ago
It's free, but you have to buy the individual tools with in-app purchases: see the list on the left of the iTunes link.
238.
▲
by
cytzol
13y ago
> There are 8 foreign domains, that this site sends requests to. One or two seem to be a CDN, one is creativecommons. I'm constantly amazed by the number of other domains that I see websites referencing. If there are really 8, then
239.
▲
by
cytzol
13y ago
Yes, but Apple's functionality only supports Safari on Apple devices. 1Password supports other browsers and Windows.
240.
▲
by
cytzol
13y ago
I would call Java simplistic, but for a funny reason: with other languages, you can do things the straightforward way using basic constructs, or you can do things the expert way using a variety of more complex (sometimes user-defined) const
More ›