frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: The Two by Two Truth Diagram

https://kmrjohnson55.github.io/truth-diagram/
3•8crazyideas•3h ago
I am diagnostic radiologist with over 40 years experience. In diagnostic testing, many terms are used to describe how well the test detects the disease or disorder. Examples are “sensitivity”, “specificity”, “predictive values”, “odds ratio”, “likelihood ratios” and numerous others. In the literature and medical presentations there is often not much consistency in their use; as a physician listening to or reading research, I was perpetually unclear on how these terms “fit together”. My solution was to invent the visual 2 by 2 diagram, or truth diagram, as a graphical alternative to the standard contingency table used in diagnostic testing (Johnson 1999). The concepts listed above, and many others, are represented graphically, and their inter-relationships can be clearly visualized. Instead of four numbers in a grid, a single rectangle on a coordinate system encodes all four cells of the 2×2 table through its position and shape. Each hemi-axis corresponds to one cell (see below). The vertical height corresponds to the number of subjects with the disorder, and the horizontal width corresponds to the number of subjects without the disorder. A low, wide box represents a low prevalence of the disorder; a high narrow box represents a high prevalence. The diagram makes it possible to see statistics like sensitivity, specificity, PPV, NPV, likelihood ratios, and even Bayes’ theorem as geometric relationships — lengths, areas, slopes, and proportions — rather than abstract formulas. Drag or resize the box to see how the cell values change. The other lessons in this app explain each of the terms and how they appear on the diagram. Any of these screens can be saved for presentation and publication purposes.

Please take a look and feel free to give me feedback.

REFERENCES

Johnson KM. The two by two diagram: a graphical truth table. J Clin Epidemiol. 1999;52(11):1073-82. [PubMed] [ResearchGate] Johnson KM, Johnson BK. Visual presentation of statistical concepts in diagnostic testing: the 2×2 diagram. AJR Am J Roentgenol. 2014;203(1):W14-20. [PubMed] [ResearchGate] Johnson KM. Using Bayes’ rule in diagnostic testing: a graphical explanation. Diagnosis (Berl). 2017;4(3):159-67. [PubMed] [ResearchGate]

Show HN: Termcraft – terminal-first 2D sandbox survival in Rust

https://github.com/pagel-s/termcraft
81•sebosch•6h ago•9 comments

Show HN: Atomic – Self-hosted, semantically-connected personal knowledge base

https://github.com/kenforthewin/atomic
44•kenforthewin•5h ago•7 comments

Show HN: I built a pricing tool for home bakers that reads recipe photos

https://butterwell.io
2•shiyuzhu1994•1h ago•0 comments

Show HN: ClawMem – Open-source agent memory with SOTA local GPU retrieval

https://github.com/yoloshii/ClawMem
3•yoloshii•1h ago•0 comments

Show HN: Joonote – A note-taking app on your lock screen and notification panel

https://joonote.com/
43•kilgarenone•10h ago•31 comments

Show HN: An event loop for asyncio written in Rust

https://github.com/RustedBytes/rsloop
4•yehors•3h ago•0 comments

Show HN: Simple Terminal Voice Recorder

3•chistev•3h ago•0 comments

Show HN: AI SDLC Scaffold, repo template for AI-assisted software development

https://github.com/pangon/ai-sdlc-scaffold/
18•pangon•12h ago•6 comments

Show HN: The Two by Two Truth Diagram

https://kmrjohnson55.github.io/truth-diagram/
3•8crazyideas•3h ago•0 comments

Show HN: Travel Hacking Toolkit – Points search and trip planning with AI

https://github.com/borski/travel-hacking-toolkit
3•borski•3h ago•0 comments

Show HN: We built a terminal-only Bluesky / AT Proto client written in Fortran

https://github.com/FormerLab/fortransky
131•FormerLabFred•1d ago•77 comments

Show HN: Sonar – A tiny CLI to see and kill whatever's running on localhost

https://github.com/RasKrebs/sonar
179•raskrebs•1d ago•76 comments

Show HN: vLLM Studio – A macOS app for using vLLM models

https://github.com/agentset-ai/vllm-studio
4•ahmedriad1•5h ago•4 comments

Show HN: I ran a language model on a PS2

https://github.com/xaskasdf/ps2-llm
5•xaskasdf•5h ago•2 comments

Show HN: Zen-Hunt – A bare-metal forensic scanner in Rust (SIMD, 7GB/s on NVMe)

https://github.com/ejgi/zen_hunt
3•ejgi•6h ago•0 comments

Show HN: A KEXP native macOS app

https://github.com/isaacd9/kexp-menubar
3•idd2•6h ago•2 comments

Show HN: Red Grid Link – peer-to-peer team tracking over Bluetooth, no servers

https://github.com/RedGridTactical/RedGridLink
49•redgridtactical•1d ago•23 comments

Show HN: Vessel Browser – An open-source browser built for AI agents, not humans

https://quantaintellect.com/
4•unmodeledtyler•6h ago•4 comments

Show HN: EchoLive – Read-it-later app that reads to you with 600 AI voices

https://echolive.co/
6•stanlymt•10h ago•0 comments

Show HN: Baltic shadow fleet tracker – live AIS, cable proximity alerts

https://github.com/FormerLab/shadow-fleet-tracker-light
55•FormerLabFred•1d ago•18 comments

Show HN: Three new Kitten TTS models – smallest less than 25MB

https://github.com/KittenML/KittenTTS
548•rohan_joshi•2d ago•178 comments

Show HN: Batear – I built a $15 edge-only acoustic drone warning system

https://github.com/TN666/batear
5•t841222•8h ago•2 comments

Show HN: Duplicate 3 layers in a 24B LLM, logical deduction .22→.76. No training

https://github.com/alainnothere/llm-circuit-finder
260•xlayn•3d ago•82 comments

Show HN: I saw Norton Commander on X and nostalgia made me build it for the web

https://github.com/victorantos/NC
3•victorbuilds•9h ago•0 comments

Show HN: Deterministic security solution for AI agents – OpenClaw and 2 more

4•steadeepanda•11h ago•8 comments

Show HN: I ran Qwen3.5 35B on my iPhone at 5.6 tok/SEC

https://twitter.com/alexintosh/status/2035386645764006102
4•alexintosh•4h ago•2 comments

Show HN: FPGA soft-core of the Saab Viggen's 1963 airborne computer

https://github.com/FormerLab/ck37-core
21•FormerLabFred•1d ago•8 comments

Show HN: RSS reader that scores articles 0–10 with LLM before you open them

https://github.com/Tutanka01/makhalReader
2•makhal01•13h ago•2 comments

Show HN: Korru, Web App Catalog

https://korru.app
6•anwar_nairi•13h ago•2 comments

Show HN: I made an email app inspired by Arc browser

https://demo.define.app
64•johndamaia•1d ago•47 comments