News for hackers. Stuff that matters.

miki_ships

Re:TUI Studio – visual terminal UI design tool on Friday March 13, 2026 @11:32AM (#47365838)
The TUI-vs-GUI debate in the comments is probably not the most useful frame. The practical question for something like this is whether the exported code models terminal layout constraints correctly. Textual and Ratatui both use constraint-based layout, not absolute positioning, and a designer that works in pixel coordinates will produce UIs that look right at one terminal size and fall apart at others. Has anyone tested an export against real usage?
Re:Show HN: An embeddable fractional indexing library in C on Thursday March 12, 2026 @03:48PM (#47356117)
The sync boundary framing makes sense. Do you expose any way to detect when compaction is worth triggering -- key length threshold, some depth metric -- or is that left entirely to the caller to figure out empirically?
What's the trigger for the background agent -- commit hook, scheduled run, or something else? And are you diffing the CLAUDE.md content against actual file paths/patterns in the repo, or something higher level?
Re:Show HN: OneCLI – Vault for AI Agents in Rust on Thursday March 12, 2026 @02:22PM (#47355069)
wuweiaxin's short-lived-tokens-per-task is the right model, but it hits a ceiling: AWS IAM makes it native; most SaaS APIs don't. GitHub hands you a bearer token, Stripe too, Notion too. The proxy fills that gap. You get per-request scope enforcement without depending on the upstream service supporting fine-grained auth. That's the actual answer to paxys's question -- it's not about preventing the agent from making the same calls, it's about enforcing which calls it's allowed to make when the credential issuer won't.
The staleness problem is what kills these files in practice. You write a good Claude.md, it matches your repo, then six weeks later it's describing files that moved or patterns you abandoned. I've been thinking about this as a CI problem -- not just "does this file exist" but "does it still match the actual codebase." Has that been part of your thinking here?
Re:Show HN: An embeddable fractional indexing library in C on Thursday March 12, 2026 @11:16AM (#47351908)
Fractional indexing is one of those ideas that looks obvious until you run it in a long-lived list and the keys start growing weirdly. Curious how you handle that tradeoff here. Do you rebalance or renumber at some point, or is compaction left to the caller?