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/
2•8crazyideas•1h 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: I vibe-coded the chopsticks faux pas app for you so you don't have to

https://hashihabits.com
1•stunnAR•8m ago•0 comments

Show HN: I Built Grid View for Switchboard – Claude Code CLI Manager

https://github.com/doctly/switchboard/releases/tag/v0.0.16
1•kapitalx•10m ago•0 comments

Graphics Gems Repository (2021)

https://www.realtimerendering.com/resources/GraphicsGems/
1•turtleyacht•11m ago•0 comments

T0-GPU: Bare-metal kernel compiler for RDNA3

https://github.com/GeisYaO/t0-gpu
1•woctordho•12m ago•0 comments

Goalless AI Agents: What They Build When No One Is Watching

https://changkun.substack.com/p/goalless-agents
1•changkun•12m ago•0 comments

Using AI makes writing more bland, study finds

https://www.nbcnews.com/tech/tech-news/ai-changing-style-substance-human-writing-study-finds-rcna...
1•cdrnsf•13m ago•0 comments

Crisis Engineering: The Book

https://crisisengineering.layeraleph.com/crisis-engineering-the-book/
1•riknos314•14m ago•0 comments

Humans share acoustic preferences with other animals: study

https://www.mcgill.ca/newsroom/channels/news/humans-share-acoustic-preferences-other-animals-stud...
1•hhs•14m ago•0 comments

Adapt or Die

https://www.youtube.com/watch?v=k51k2AyUpao
1•vinhnx•18m ago•0 comments

Storing 2 bytes of data in your Logitech mouse

https://www.timwehrle.de/blog/what-if-i-stored-data-in-my-mouse/
3•birdculture•21m ago•0 comments

Creating prediction markets with Tarek Mansour and Luana Lopes Lara

https://cheekypint.substack.com/p/creating-prediction-markets-and-suing
1•hhs•22m ago•0 comments

In this economy? Sydney In Me has created a free tool using free services

https://taplink.cc/sydneyinme
1•iiviivix•25m ago•1 comments

Looking at Unity made me understand the point of C++ coroutines

https://mropert.github.io/2026/03/20/unity_cpp_coroutines/
1•ingve•29m ago•0 comments

Inside the AI labs training China's humanoid robots

https://www.ft.com/content/85bca5c7-f64b-4011-bc7c-9ce3254a2b78
2•hhs•32m ago•0 comments

WikiWikiWiki

https://github.com/minguhong/WikiWikiWiki
2•cookingoils•34m ago•0 comments

AI systems are more similar to indent(1), than to the human process

https://marc.info/?l=openbsd-tech&m=177411863202734&w=2
2•longislandguido•44m ago•1 comments

I built a FIX protocol engine in Rust that's 4.5x faster than QuickFIX/J

https://github.com/matthart1983/velocitas-fix-engine
2•matthart1983•44m ago•0 comments

B_slope: Factual answers converge 1.4x–2.6x faster than hallucinations

https://www.orsonai.com/publications/tes1-pre-generative-epistemic-signal.html
1•JakubCwi•47m ago•0 comments

Management Craft

https://www.managementcraft.co/
1•handfuloflight•47m ago•0 comments

AI for Particle Physics: Searching for Anomalies

https://spectrum.ieee.org/particle-physics-ai
1•rbanffy•51m ago•0 comments

Martial Arts Robots

https://www.youtube.com/watch?v=UTq2o7RQs0A
1•M4v3R•51m ago•0 comments

AI Chatbots Keep Encouraging Violence. That's by Design

https://weaponizedspaces.substack.com/p/ai-chatbots-keep-encouraging-violence
2•rbanffy•53m ago•0 comments

How are you so sure this is not just another winter

3•shoman3003•53m ago•1 comments

Ask HN: Latitude.sh / datapacket.com for bare metal servers?

1•truetraveller•55m ago•1 comments

PyTorch Init Functions Explained Visually [video]

https://www.youtube.com/shorts/pp6jV-sd_a0
1•0bytematt•57m ago•0 comments

Show HN: Cycle – inverse-Pomodoro for macOS that nags you to rest

https://github.com/saint-angels/CYCLE
1•saint_angels•58m ago•0 comments

George R. R. Martin Is "Not in the Mood" to Finish the Winds of Winter

https://www.esquire.com/entertainment/books/a64917333/george-rr-martin-the-winds-of-winter-update...
1•randycupertino•1h ago•2 comments

Yeah: LLM-powered yes/no CLI tool

https://github.com/crawshaw/yeah
4•super_linear•1h ago•0 comments

Fun with CSF firmware (RK3588 GPU firmware)

https://icecream95.gitlab.io/fun-with-csf-firmware.html
2•M95D•1h ago•0 comments

Terminal-based telemetry plugin for Claude Code

https://hook-hero-web.vercel.app
2•happinesszhang•1h ago•1 comments