frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: We built a narrative analysis engine for fiction writers

4•homeonthemtn•1h ago
Our app (LaoTzu Writer Studio) has a feature called The Guardian which catches continuity errors and contradictions in manuscripts. So if you say your character has blue eyes in one chapter, but someone stares longingly into their green eyes in a later chapter, it'll flag that as a discontinuity. On a single thread, that's easy to track, but as a body of related attributes it gets very complicated, especially without discreet input from the user.

We originally tried a named entity recognition-based approach with the goal of tracking entities, attributes, and relationships across the manuscript. We benchmarked on 96 novels from Project Gutenberg with various inconsistencies injected into each one, then ran the "The Guardian" layer across them to ferret them out. Unfortunately this presented 2,500 false positives across 96 novels, so ~26 false positives a novel. It's not technically bad but it's enough to become an unreliable nuisance of a feature

For our next approach, we instead opted to build our own model, which we call "Confucius". This is a purpose-built narrative world model that sits underneath the entire analysis layer.

It consists of five structures which I'm just lazily copying and pasting from our docs here: PropertyGraph — entities as nodes, relationships as weighted edges, co-occurrence counts CausalDAG — setup/payoff chains, unresolved narrative threads IntervalTree — precise word-position intervals for every entity (where is each character in the manuscript at every point) FenwickTree — entity density over word position, O(log n) range queries Trie — fuzzy entity lookup, name variants, partial matches

Confucius is passive in that it only knows what you tell it via an event emission system. We then slot in an LLM for the extraction layer. We tested three approaches for said LLM

1. NER Only

2. Local GGUF Model only

3. Anthropic Haiku Only

NER, in any combination, made things worse, it was low detection and generated the same high number of false positives. GGUF resulted in 100% detection, with zero false positives, and likewise for Anthropic

So based on this, we opted to ship with 3 tiers - heuristic only (no AI required, but basic surface metrics), local GGUC (Qwen3, ~500mb one-time download which enables full Guardian features), or a managed API subscription (Haiku on our key)

We're certainly proud of the result, but unto itself its been a fascinating journey as we surface additional features with each model refinement (e.g. "voice fingerprint" is our newest - essentially the consistency of the characters voice over the span of the book)

We've got a kickstarter going to help fund refinements and model expenses[1], and a roadmap for additional apps down the line which we'll have on the main site[2]. We'd love for folks to try out the app so we can get some real user feedback for UI/UX refinements so please do check out the demo, or just ping us on the side

1. https://www.kickstarter.com/projects/laotzustudio/laotzu-wri...

2. https://www.redwoodrhetorica.com/

Unlocking Asynchronicity in Continuous Batching

https://huggingface.co/blog/continuous_async
1•ibobev•20s ago•0 comments

Recovering the State of Xorshift128

https://www.johndcook.com/blog/2026/05/15/xorshift128-state/
1•ibobev•50s ago•0 comments

The Supreme Court just told every freight broker that they can be sued

https://finance.yahoo.com/economy/policy/articles/supreme-court-just-told-every-144034621.html
1•ldayley•1m ago•0 comments

Software Sandboxing: The Basics

https://blog.emilua.org/2025/01/12/software-sandboxing-basics/
1•vinipsmaker•1m ago•0 comments

Show HN: Vouch, I scanned 50 AI-coded repos with my own scanner

https://www.vouch-secure.com/
2•jonathan_demir•1m ago•0 comments

Cursing the government does not fix potholes. Spray-painting them does

https://imagenotfound.writeas.com/the-holes-we-painted-and-why-we-did-it-anyway
1•bogomil•2m ago•1 comments

Ukrainian drone strike on fuel depot prompts Latvian prime minister resignation

https://www.defensenews.com/global/europe/2026/05/11/ukrainian-drone-strike-on-empty-baltic-fuel-...
1•stared•2m ago•0 comments

Microsoft to automatically roll back faulty Windows drivers

https://www.bleepingcomputer.com/news/microsoft/microsoft-to-automatically-roll-back-faulty-windo...
2•Brajeshwar•3m ago•0 comments

Simon the Sorcerer Origins

https://store.steampowered.com/app/1939890/Simon_the_Sorcerer_Origins/
1•doener•3m ago•0 comments

AST-outline: AST-based code-navigation CLI

https://github.com/aeroxy/ast-outline
1•robertkrahn01•4m ago•1 comments

Six Joints, Twenty-One Fingers, and the Math of Reach

https://atomsfrontier.substack.com/p/six-joints-twenty-one-fingers-and
1•jpatel3•5m ago•0 comments

Too dangerous or just too expensive? The real reason Anthropic is hiding Mythos

https://kingy.ai/ai/too-dangerous-to-release-or-just-too-expensive-the-real-reason-anthropic-is-h...
2•chbint•7m ago•0 comments

Getting Secret Management Right in Kubernetes

https://cymatic.ie/blog/kubernetes-secret-management/
4•MathiasPius•8m ago•0 comments

The AI-Native Developer

https://queue.acm.org/detail.cfm?id=3807961
1•rbanffy•11m ago•0 comments

AP News: Dirtnado Sweeps Through Minnesota Farm

https://cdn.jwplayer.com/previews/qYpG77xU
1•tocs3•11m ago•0 comments

Maldives holds first underwater Cabinet meeting in a bid for climate

https://presidency.gov.mv/Press/Article/633
2•bilsbie•12m ago•1 comments

The language debate is back!

https://antejavor.github.io/blog/2026/infra-static-languages/
2•mapleeman•12m ago•0 comments

Cerebras CEO: AI chip demand is 'not speculative', IPO price doubles

https://fortune.com/2026/05/14/cerebras-one-of-the-biggest-ipos-of-the-year/
1•0xffany•14m ago•1 comments

Ask HN: Hacker News is suffocating me

1•ish099•16m ago•2 comments

PauseHer – hold a yoga pose to unlock Instagram or TikTok

https://apps.apple.com/us/app/pauseher-yoga-before-scroll/id6759345933
1•vector_pro•17m ago•0 comments

Truth, Power, and Honest Journalism

https://radleybalko.substack.com/p/truth-power-and-honest-journalism
1•justin66•18m ago•0 comments

Spreadsheet Errors: Manual Data Mistakes Are Costing Thousands

https://www.doss.com/no-script
1•nhatcher•19m ago•0 comments

Trump poised to drop IRS suit, launch $1.7B 'weaponization' fund for allies

https://abcnews.com/US/trump-poised-drop-irs-suit-launch-17b-weaponization/story?id=132962661
1•justin66•19m ago•0 comments

Omnisearch – A lightweight metasearch engine written in C

https://git.bwaaa.monster/omnisearch/about/
1•bitbasher•19m ago•0 comments

AI Did Not

https://www.stephenlewis.me/blog/ai-did-not/
3•monooso•20m ago•0 comments

'I didn't want to be the guinea pig': inside tech's AI-fueled manager purge

https://www.theguardian.com/technology/2026/may/15/ai-manager-purge-tech
1•n1b0m•22m ago•0 comments

Browser Run: now running on Cloudflare Containers, it's faster and more scalable

https://blog.cloudflare.com/browser-run-containers/
1•danborn26•24m ago•0 comments

The old world of tech is dying and the new cannot be born

https://www.baldurbjarnason.com/2026/the-old-world-of-tech-is-dying/
5•speckx•26m ago•0 comments

DeepSeek V4 Pro and Flash vs. Claude Opus 4.7 and Kimi K2.6

https://blog.kilo.ai/p/we-tested-deepseek-v4-pro-and-flash
1•heymax054•28m ago•1 comments

Show HN: Bit-exact Elixir port of UltraLogLog (Ertl, VLDB 2024)

https://github.com/thatsme/ultra_log_log
1•alessio66•33m ago•0 comments