Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dystroy
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
31.
▲
by
dystroy
3y ago
Maybe use broot ? Its tree view is its main feature and it handles gitignore and shows many stats including dir sizes. https://dystroy.org/broot/ You can use it just like the original tree tool too: https://
32.
▲
by
dystroy
3y ago
What's too complex ? I'd like to get more information on what is less obvious than it was at the beginning and any hint on how to fix that. Broot's chat is always open for that.
33.
▲
by
dystroy
3y ago
https://dystroy.org/blog/ Most popular ones: - How not to learn Rust: https://dystroy.org/blog/how-not-to-learn-rust/ - my plea for Hjson: https://dystroy.org/blog/hjson-
34.
▲
by
dystroy
4y ago
I really like the approach of pipe-rename ( https://github.com/marcusbuffett/pipe-rename ) for renaming many files. It's especially convenient for people who can efficiently edit many lines in their favorite text ed
35.
▲
by
dystroy
4y ago
You can combine patterns on file names and/or file content with broot. Here's my usual workflow: https://dystroy.org/blog/broot-c-search/
36.
▲
by
dystroy
4y ago
May I suggest lfs ( https://dystroy.org/lfs/ ) as a replacement for df ?
37.
▲
by
dystroy
4y ago
Broot has many features that feel natural... when you know they exist (for example, try looking for what's taking space with `br -w` then stage the files and remove them at the end). I suggest everyone to have at least a short glance a
38.
▲
by
dystroy
5y ago
For taxi drivers, the most important change was already done and it took decades: it wasn't replacing them with self driving vehicles. It was replacing very competent drivers having a perfect knowledge of the town and of the optimal pa
39.
▲
by
dystroy
5y ago
Nobody comments on the 20 minutes waiting for the ambulance ? In a city ? In France, when I helped an old lady who had slipped on ice, the emergency services were on site in less than 5 minutes, with all the competences and material to prov
40.
▲
by
dystroy
5y ago
It's often hard to follow though. It's probably easier for a new rustacian to read smaller repositories.
41.
▲
by
dystroy
5y ago
Rather than giving always the same crate or author names, it's probably more interesting to learn to recognize repositories which have a higher probability of being "good rust code", so that you can search yourself (starting
42.
▲
by
dystroy
5y ago
Depends if it's your first language, probably. For an already experienced programmer, it's hard not to think about using multiple threads, even when just starting in the language. I know my few first Rust programs were using multi
43.
▲
by
dystroy
5y ago
What about a tree which automatically fills the available height of the console, while staying balance ? Look at https://dystroy.org/broot/tricks/
44.
▲
by
dystroy
5y ago
You might be confusing mean goal and end goal. Nobody needs to write a linked list, except when interviewing. What you need (a feature, a performance improvement, etc.) is usually better served with other structures, especially in languages
45.
▲
by
dystroy
5y ago
This is indeed interesting. I usually start to explain "mut" as meaning "exclusive", and I hadn't seen the now obvious relation with "mutex". "mut is for mutex".
46.
▲
by
dystroy
5y ago
IMO those assertions are more useful in tests (which Rust make easy) than to protect your functions from inconsistent inputs.
47.
▲
by
dystroy
5y ago
What I meant in this article is that designing the ways to deal with graph-like structures should be done after the ownership model has been understood. If you start your first program directly on this kind of problem, you'll be only f
48.
▲
by
dystroy
5y ago
At some point, maybe not immediately, depending on what you're building, you'll have the borrow checker tell you that no, you can't borrow there, or that some construct that you feel safe isn't possible. And it will prob
49.
▲
by
dystroy
5y ago
But you log strings, not bytes, meaning that the escape sequences are escaped, unless there's a severe bug in the logger.
50.
▲
Show HN: SafeCloset, a cross-platform TUI secret holder
(dystroy.org)
4 points
by
dystroy
5y ago
|
0 comments
51.
▲
by
dystroy
5y ago
You're not alone. Acute tinnitus (making it hard to sleep) is the most important symptom in a range of problems (many looking like allergy ones) my wife got at her second dose of Moderna. It's still here 2 months after the injecti
52.
▲
by
dystroy
5y ago
So, is there somebody there who knows Marc Andreessen or Eric Bina and could aks one of them to confirm they choose blue because it looked good on white while red or green were obviously too much loaded ? This looks simpler than listing a b
53.
▲
by
dystroy
5y ago
30 years ago I switched to daily contact lenses to be able to play rugby. This was one of the best switches of my life and of course today I have no problem with masks. If you can, I really advise this. Another option would be to wear a mor
54.
▲
by
dystroy
5y ago
It passed squint survey.
55.
▲
by
dystroy
5y ago
[broot author here] Have you ever tried to pipe `tree` into `less` in a real code directory, with directories containing thousands of files ? That solves no problem. The idea of broot isn't just to "be aware of the size of your t
56.
▲
by
dystroy
5y ago
Yes it can. See https://dystroy.org/broot/skins/#white-background-skin
57.
▲
by
dystroy
5y ago
Rhit author here, discovering this post by luck. If you have a question, I'm here to answer. I hope my site ( https://dystroy.org/rhit/ ) answers most of them already.
58.
▲
by
dystroy
5y ago
The salt you release isn't instantly diluted in the whole ocean and we're speaking, for a plant, of millions cubic meters of salt enriched water per day. The release area is just dying.
59.
▲
by
dystroy
5y ago
Salt release is already a huge environmental concern with exiting desalinization systems. Energy consumption and installation costs aren't the sole (and probably not the main) problems. Desalinization is inherently a pollution.
60.
▲
by
dystroy
5y ago
I don't think the likable story is key. Until recently, most of the many millions people buying the sauce didn't know anything about its origin. It was just the cheap sauce alone in its category that you could find everywhere.
More ›