Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
maleldil
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
181.
▲
by
maleldil
6mo ago
You can use vi copy mode. It makes selection a lot easier.
182.
▲
by
maleldil
6mo ago
Jujutsu does it, and it's quite nice.
183.
▲
by
maleldil
7mo ago
A human has taste. They learn over time from codebase patterns and develop a sense of when an abstraction can be reused, improved or refactored. Agents often generate repeated code because the original file wasn't added to the context,
184.
▲
by
maleldil
7mo ago
> Unit and end-to-end tests are free now. Not free because agents have a big tendency towards useless tests, so you need to verify them and make sure they're testing real things and the things that matter. I'll agree that it&#x
185.
▲
by
maleldil
7mo ago
It's really not that bad, although the jq comparison might be apt. You have such primitives you need to understand, and then everything just fits together nicely. I find this much easier to write and understand than git's cryptic
186.
▲
by
maleldil
7mo ago
Nice name ;)
187.
▲
by
maleldil
7mo ago
> Do you feel you learned from your mistakes? Look at their posts in this thread. They're doubling down _hard_.
188.
▲
by
maleldil
7mo ago
Technically, not an underground line.
189.
▲
by
maleldil
7mo ago
tree-sitter still works. Many features are implemented in neovim itself. This project provides an easy way to set up parsers for various languages (including installation and retrieval of necessary queries), along with some quality-of-life
190.
▲
by
maleldil
7mo ago
It's not one person. The maintainer's been getting abuse over their decision to rewrite the plugin for quite some time now, despite being very clear about what they're doing. It's fine for users to be upset, but not to t
191.
▲
by
maleldil
7mo ago
You could probably make things work without nvim-treesitter, but it's an additional maintenance burden you're taking on. As the repo itself says, it's an abstraction layer. You don't _need_ it, but it's nice to have
192.
▲
by
maleldil
7mo ago
That would require Starmer having anything resembling a spine.
193.
▲
by
maleldil
7mo ago
If you were using a maximised app per workspace, I recommend setting up Hammerspoon for quick app switching. I have hyper + J for terminal, hyper + K for browser and so on. No space switching, but since each app occupies the full screen, it
194.
▲
by
maleldil
7mo ago
Yes, I found out about that after my comment. It's a little unfortunate that I need to remap `van` itself instead of a function/command, but it works, and there's a PR to expose the function publicly. Note that this might con
195.
▲
by
maleldil
7mo ago
Upgrading from 0.11 was relatively painless, except for nvim-treesitter, which pretty much became a new plugin. The previous version lives in the master branch, but doesn't support 0.12 at all, so you need to use the main branch when u
196.
▲
by
maleldil
7mo ago
OP specifically mentioned "using keyboard to navigate". If that's all you need, then VSCodeVim can get you pretty far.
197.
▲
by
maleldil
7mo ago
Every public item should have a docstring, even if it's just to indicate that there's nothing special about the item.
198.
▲
by
maleldil
7mo ago
It takes thirty seconds to remap anyway
199.
▲
by
maleldil
7mo ago
I'd rather use more modifiers than reach for a key that's far away from home row. ctrl-a/e for start/end of line works pretty much everywhere.
200.
▲
by
maleldil
7mo ago
It has window tiling too.
201.
▲
by
maleldil
7mo ago
How does it deal with nested objects? E.g. one of the fields/columns is an array of objects.
202.
▲
by
maleldil
7mo ago
The Codex plan for the $20 ChatGPT plan goes much further than Claude's $20 plan, but it's still not enough if you plan to work full-time with it.
203.
▲
by
maleldil
7mo ago
The $100 already gives plenty of usage and is more than worth it, and I'm definitely not an affluent SV developer. I've only ever hit the 5h limit once in the last month, although I rarely run more than 3 agents at once, and I don
204.
▲
by
maleldil
7mo ago
You can use cargo-binstall to retrieve Github binary releases if there are any.
205.
▲
by
maleldil
7mo ago
You can always use Alt-E to open the command line in $EDITOR if you need more powerful commands. I find it better to use readline for small changes and jumping to vim for bigger ones.
206.
▲
by
maleldil
7mo ago
<c-o>S is also a vim sequence. The equivalent readline/emacs is <c-e><c-u> or <c-a><c-k>, or just <c-u> or <c-k> if you're already at the end/start of the line.
207.
▲
by
maleldil
7mo ago
Python's stdlib now supports structured concurrency via task groups[1], inspired by Trio's nurseries[2]. [1] https://docs.python.org/3/library/asyncio-task.html#id6 [2] https://github.com/
208.
▲
by
maleldil
7mo ago
jujutsu respects .gitignore too
209.
▲
by
maleldil
7mo ago
Assuming 1 token per second and "overnight" being 12 hours, that's 43 200 tokens. I'm not sure what you can meaningfully achieve with that.
210.
▲
by
maleldil
7mo ago
> It transpiles really fast but doesn't do any type checks What's the point of using it during development, then?
More ›