frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: An embeddable fractional indexing library in C

https://github.com/sqliteai/fractional-indexing
2•marcobambini•1h ago

Comments

miki_ships•1h ago
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?
marcobambini•1h ago
Good question, in the current version, compaction is left to the caller.

The library does a few things to keep key growth practical:

  1. generate_n_keys_between: if you know you're inserting N items at once (e.g. a bulk paste or drag of multiple items), it distributes them evenly in a single call rather than chaining N sequential generate_key_between calls, which would produce progressively longer keys.

  2. Higher bases: base62 (default) and base95 give you a much wider branching factor per character than base10, so keys stay shorter under the same insertion patterns.
But yes, in a long-lived list with adversarial insertion patterns (always inserting at the same spot), keys will grow unboundedly, that's inherent to the algorithm. In practice, compaction is an application-level concern: you'd pick a quiet moment (or a sync boundary, if you're doing CRDT-style collaboration) and renumber the whole list with fresh, evenly spaced keys.

The library gives you generate_n_keys_between(NULL, NULL, n) which makes trivial to generate N fresh keys for the whole list in one call.

Show HN: Fixing Agent / LLM Context Decay in VS Code with Git Worktrees

https://www.appsoftware.com/blog/fixing-agent-llm-context-decay-in-vs-code-with-git-worktrees
3•gbro3n•2m ago•0 comments

Design Tip: Enforcing Constraints Leads to Simpler, More Powerful Systems

https://www.rodriguez.today/articles/emergent-event-driven-workflows
1•birdculture•2m ago•0 comments

Show HN: I lost billable hours forgetting timers. I turned my calendar into a DB

https://www.timescanner.io/
1•sergentrif•2m ago•0 comments

Anthropic's Claude AI can respond with charts, diagrams, and other visuals now

https://www.theverge.com/ai-artificial-intelligence/893625/anthropic-claude-ai-charts-diagrams
1•newusertoday•3m ago•0 comments

Show HN: Verge Browser a self-hosted isolated browser sandbox for AI agents

https://github.com/zzzgydi/verge-browser
1•zzzgydi•3m ago•0 comments

Ask HN: How are you using personal AI assistants with local coding agents?

1•everfly•3m ago•0 comments

The Thinking Field

https://www.robpanico.com/articles/display/?entry_short=the-thinking-field
1•retrocog•4m ago•1 comments

Claude Bought Me a Car

https://www.nahtnam.com/blog/claude-bought-me-a-car
2•nahtnam•6m ago•2 comments

U.S. to suspend the Jones Act in a bid to curb oil prices

https://www.bloomberg.com/news/articles/2026-03-12/trump-administration-set-to-suspend-jones-act-...
3•geox•7m ago•0 comments

Boardsmith – text prompt to KiCad schematic, BOM, and firmware (works offline)

https://github.com/ForestHubAI/boardsmith
1•ForestHubAI•8m ago•3 comments

A plan to get more electricity to West Texas may come undone

https://www.texastribune.org/2026/03/12/west-texas-electricty-plan/
1•hn_acker•8m ago•0 comments

Maligna Kodera

https://krzyhau.itch.io/maligna-kodera
1•ta988•9m ago•0 comments

Title: Show HN: Aurora – Live dashboard watching local LLMs create autonomously

https://aurora.elijah-sylar.com
1•elijahscamp•10m ago•1 comments

Why Task Proficiency Doesn't Equal AI Autonomy

https://www.signalbloom.ai/posts/why-task-proficiency-doesnt-equal-ai-autonomy/
1•anonu•14m ago•0 comments

BallotGuessr

https://www.ballotguessr.com/
2•colinprince•15m ago•0 comments

Amygdala: Prompt a topic, get a footnoted report from experts in seconds

https://amygdala.eu/research
1•JoranCornelisse•16m ago•0 comments

Microsoft EVP Rajesh Jha is retiring

https://www.businessinsider.com/microsoft-executive-rajesh-jha-retiring-read-memos-2026-3
1•DarkCrusader2•16m ago•1 comments

Military AI as 'Abnormal' Technology

https://www.lawfaremedia.org/article/military-ai-as--abnormal--technology
2•hn_acker•16m ago•0 comments

Use Neovim's server capabilities on your local machine

https://github.com/mhinz/neovim-remote
2•RobTonino•17m ago•0 comments

UK to drop historic figures from banknotes and change them to images of wildlife

https://brusselssignal.eu/2026/03/uk-to-drop-historic-figures-from-banknotes-and-change-them-to-i...
3•thunderbong•18m ago•0 comments

2026 AI Adoption and Workforce Performance Benchmarks

https://www.activtrak.com/resources/state-of-the-workplace/
1•ptrhvns•18m ago•0 comments

Runtime Safety Infrastructure for AI Agents

https://nono.sh
1•TheTaytay•18m ago•0 comments

Show HN: OneCLI – Vault for AI Agents in Rust

https://github.com/onecli/onecli
4•guyb3•20m ago•1 comments

Finland Is Ready for Russia. Is Anyone Else?

https://www.bloomberg.com/graphics/2026-opinion-finland-is-ready-russia-arctic/
3•RyanShook•20m ago•0 comments

Get ready for takeoff with Uber and Joby

https://www.uber.com/us/en/newsroom/uber-air/
1•r-bt•21m ago•0 comments

Live AI Session Summaries in a Two-Line Tmux Status Bar

https://quickchat.ai/post/tmux-session-summaries-for-parallel-ai-agents
1•piotrgrudzien•21m ago•0 comments

Reversing memory loss via gut-brain communication

https://med.stanford.edu/news/all-news/2026/03/gut-brain-cognitive-decline.html
3•mustaphah•22m ago•0 comments

Should Sam Altman fear token compression?

4•Gillesray•24m ago•0 comments

Show HN: Open-Source GTM Skills for Claude Code, Codex, and Cursor

https://github.com/athina-ai/goose-skills
2•hbamoria•24m ago•0 comments

DesiPeeps

https://desipeeps.com
1•saibuilds•25m ago•0 comments