NHacker Next
  • new
  • past
  • show
  • ask
  • show
  • jobs
  • submit
▲Show HN: Diffle, a keyboard-centric diff viewer with LSP support (github.com)
aktenlage 14 hours ago [-]
This looks great, I need to try it. Reviewing is such a bottleneck now and this may help.

I currently use a combination of a self-written git browser (in the command line, relying mostly on fzf) that allows me to easily navigate files and diffs across worktree, staged changes and earlier commits. When looking at the code isn't enough, I reach for vim with fugitive and lsp for inspection and poking at the code.

The key bindings seems very vim-inspired, so I should feel at home with it.

pavelzw 14 hours ago [-]
thanks for the kind words. if you are missing any keybindings/workflows, feel free to create an issue!
manuel2258 7 hours ago [-]
We vibe-coded a similar more pimative tool at work, the key difference is that it offers an endpoint were an agent can listen live to the comments and respond to them. So its way more interactive and comments can be discussed more specific. Did you ever consider that? Would you accept a PR that introduces that?
mwil1000 5 hours ago [-]
We were discussing this with a couple of colleagues! Generally not opposed to this, i’m wondering how you get the comments into the agent’s context? Is it polling? I think:

- implementation should be harness-agnostic and not rely on a claude code feature that codex, pi, or others don’t implement

- polling sounds token inefficient, maybe there’s a better mechanism?

- it should be minimally invasive and work well with running multiple diffle instances at once (we were weighing raw endpoints the agent can curl or a socket/file, mcp seems a bit much given users might be running different instances on multiple ports)

Feel free to open an issue or a small pr to discuss the design :)

kqr 15 hours ago [-]
I have been looking for an ergonomic way to review generated code and format the comments as a prompt. I don't want to give the harness access to the real remote repository, and setting up a separate forge just for the review side seems excessive.

This, although vibe-coded, seems like good inspiration for a general concept that might work. Now if only I could take the time to make some Emacs commands that integrate this functionality with Magit and Ediff...

mwil1000 12 hours ago [-]
Thanks, totally agree.

I’m wondering, is there anything about the interface or UX that “feels” vibe-coded to you? While it’s true that we’re relying heavily on agents to build this (i’m not a full stack person), we put a lot of effort into getting the details right. I personally also hate sloppy interfaces that all look alike and have weird paper cuts that agents don’t spot.

kqr 11 hours ago [-]
Your question seems sincere so I'll give it a sincere response.

The documentation and website are both obviously not written by a human.[1] This doesn't speak to me, in part because I'm the sort of person who thinks those are the interface and UX; but also because I reflexively end up thinking, "If they can't explain to me how it works, then why should I believe they even know how it works?"

I'm not saying you aren't intimate with every little detail, but writing the descriptions yourself is a costly signal and thus valuable for me as a potential user.

[1]: https://xkqr.org/aicomment/#lang=c&prior=50&c=PZIxjtwwDEX7Pc...

mwil1000 10 hours ago [-]
That’s a fair point, I appreciate the feedback!
igor47 19 hours ago [-]
I feel like I would have loved this a year ago when I still reviewed PRs by reading diffs. Alas these days I do my reviews inside a harness using my code review skill: https://github.com/igor47/dotfiles/blob/master/claude/skills...

I don't see how I could keep up with the volume of code my team now produces without this. How do other people do it?

zelphirkalt 16 hours ago [-]
By having policies in place of at least doing reviews by reading and understanding what is going on.
kqr 15 hours ago [-]
I recommend picking a random sample of commits to review more thoroughly by hand in parallel with the harness review.

That way, you get the opportunity to measure how many and what kind of issues your harness method misses, and with an estimation of their cost, you can make an informed decision about what magnitude speedup pays for the change in detection rate.

jens-ox 3 days ago [-]
Very nice. I still don’t understand how the Pierre Computer Company manages to mog GitHub so hard in terms code diffing performance.
DylanMerigaud 17 hours ago [-]
[dead]
Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact
Rendered at 23:36:36 GMT+0000 (UTC) with Wasmer Edge.