Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
epage
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
121.
▲
by
epage
2y ago
The more I've been doing open source maintenance and contributions where there isn't as much context between the code author and reviewer, the more I've been pushing for a little more than this. - Add tests in a commit *befor
122.
▲
by
epage
2y ago
imo revision is worse. I feel like the best terms are patch id and patch revision id.
123.
▲
by
epage
2y ago
Isn't sapling only compatible with git servers and not local repos? That is a huge impediment with so many tools expecting git. That is what i find impressive about jj is it is compatible with local repos.
124.
▲
by
epage
2y ago
For me, I find this approach better than nothing and would not shame or discourage someone from using it over hand written. That said, I am wanting a Github action based release workflow and want it to scale to manual edits of changelogs, s
125.
▲
by
epage
2y ago
Many languages have a third-party way of doing it and a few even have first-party support, see https://dbohdan.com/scripts-with-dependencies Since that document, Python PEP 723 was approved, see https://peps.pyth
126.
▲
by
epage
2y ago
> A plumber who works for free is a rare thing to see, however in software it seems lots of people _expect_ it to be created like that. Not uncommon at all to see comments in HN saying that "oh well if it's not OSS I won't
127.
▲
by
epage
2y ago
> `\x1bM` (Reverse Index) to move the cursor up a single line (repeated n times), and then `\x1b[J` to clear the screen below the cursor position. All of these are sequences defined at least since the VT220, probably the VT100. For whate
128.
▲
by
epage
2y ago
I've seen guides for detecting terminal support for colors, hyperlinks, emoji, etc but not "fancy" terminal control like this. Anyone know of any? In one CLI I work on, some others are concerned about the long tail of users a
129.
▲
by
epage
2y ago
This is really good feedback! I'm looking at redesigning Cargo's output (after I wrap up other projects).
130.
▲
by
epage
2y ago
Visiting the Netherlands right now and every time I visit local.google.com, it reverts back to Dutch. I had no idea what the symbol on its own and only figured it out when searching how to get things back to English and seeing the symbol u
131.
▲
by
epage
2y ago
My problem with maintaining a changelog during development is it can serve as a source of merge conflicts. Instead, I follow Covnentional Commit style and manually write my changelog entries based on the commits. I have a tool [0] that ca
132.
▲
by
epage
3y ago
There are a couple of aspects that can make lockfiles deceptive to look at - Lockfiles include dependencies for all platforms, not just the ones you build with, including wasm and Hermit kernel - Due to some quirks, lockfiles include more d
133.
▲
by
epage
3y ago
> It is unclear to what extent the ANSI control codes are implemented. The demo helps a bit: https://kubetail-org.github.io/fancy-ansi/
134.
▲
by
epage
3y ago
Recently did something similar in Rust but for generating SVGs. We've adopted it for snapshot testing of cargo and rustc's output. Don't have a good PR handy for showing Github's rendering of changes in the SVG (text,
135.
▲
by
epage
3y ago
I feel like consistency goes too for losing the visual parsing benefits of special syntax. Otherwise, we might as well adopt lisp's syntax.
136.
▲
by
epage
3y ago
For some more detail on the choices that went into this, see https://www.reddit.com/r/rust/comments/1b92j0k/sudors_depend... For myself, I think people focus too much on "dependency count" and
137.
▲
by
epage
3y ago
(maintainer of clap) In this situation, if they were truly concerned about clap, I think they should have gone down to lexopt ( https://docs.rs/lexopt/ ) rather than roll their own
138.
▲
by
epage
3y ago
Only for those who use the dependency indirectly. This will likely see very few eyes to find bugs. The maintainer will also have a ramp up in having to deal with a large, unfamiliar code base that will be a hindrance to implementing fixes
139.
▲
by
epage
3y ago
A lot of these improvements sound like the code will need to be rewritten anyways. Granted, it might allow for a more gradual rewrite.
140.
▲
by
epage
3y ago
To add: make sure you include unstructured play where the kid leads out without any structure from the parent (rules, etc). Instead, play with and have them lead you.
141.
▲
by
epage
3y ago
Congrats! > Similarly, uv does not yet generate a platform-agnostic lockfile. This matches pip-tools, but differs from Poetry and PDM, making uv a better fit for projects built around the pip and pip-tools workflows. Do you expect to mak
142.
▲
by
epage
3y ago
Like cpus with icache and dcache which leverage memory locality, we overlook the effect of locality on understanding code.
143.
▲
by
epage
3y ago
I'd add careful use of inlining so the compiler can see both the bounds check and the index to know the bounds check can be removed.
144.
▲
by
epage
3y ago
Unless this was updated after your post, I think it was covered in the following line: > It's certainly possible to build things where bounds checking makes a difference. This just isn't that. I will add that idiomatic Rust cau
145.
▲
by
epage
3y ago
I occasionally use https://crates.io/crates/term-transcript
146.
▲
by
epage
3y ago
Something that can help is flattening subcommands' `--help` into their parent e.g. `git stash <sub> --help` just reports `git stash --help` which includes each `<sub>`
147.
▲
by
epage
3y ago
Or if the command can't be undone and with significant side effects, be `--dry-run` by default and have an `--execute` flag
148.
▲
by
epage
3y ago
I switched when I added hyperlink support to cargo so I could use the feature. I am not a tmux power user. - Much easer to discover and use features - The default bindings made vim unbearable so I make tmux-like bindings. - The default colo
149.
▲
by
epage
3y ago
With my previous car, I never remember having visibility issues. I then got a 2013. The pillars aie ierfect pedestian blockerr, especially when making turns. I don't see how me doing better in a roll over is better than me running some
150.
▲
by
epage
3y ago
Part of the problem is the frustration is the curse of choice, the need to research what tool to use. Before the new crowd of tools, like poetry, the problem was also having to figure out how to chain all the scattered tools together. I lik
More ›