frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Sangaku Puzzle I Can't Solve

https://samjshah.com/2025/08/05/sangaku-puzzle-i-cant-solve/
41•speckx•4mo ago

Comments

shiandow•4mo ago
I knew inversion must have had something to do with it. Seeing it spelled out like that makes it pretty clear.

Sending the point where all three outer circles meet to infinity you get two parallel lines (they only touch at infinity) and one orthogonal line since inversion preserves angles and it's clear that the two semicircles are orthogonal. Then you are left with two circles that meet all three lines and it becomes easy to figure out their exact position and radius.

Sadly that is where my knowledge of inversion stops, but if I had to I suppose I could reconstruct the equations from first principles.

jansan•4mo ago
What is the green line in the large diagram? I am pretty sure it does not go through the touch point of the small circle and the large one with the center at bottom left. And the pink line seems to be wrong too. Don't they all (green, pink and light blue) have to go through the small circle's center?

If you know that the lines must go through the small circle's center, it becomes a fairly simple geometrical problem with three Pythagorean equations and three variables (x, y, r).

yorwba•4mo ago
The green line is the x=y diagonal. My guess is that the author tried to eyeball the diagram by moving the points G, H, I around on their respective circles, but when the point I was close to the diagonal, it got snapped to this position, which means that the circle through the three points isn't exactly tangent to the other three circles.

It's basically the equivalent of a rough sketch on paper, not an exact construction.

rossant•4mo ago
My grandpa used to refer to these types of problems as grandpa's geometry.
smokel•4mo ago
If you like this kind of thing, have a look at Project Euler, especially problem 143, "Torricelli Triangles".

https://projecteuler.net/problem=143

JKCalhoun•4mo ago
Some funniness in here.

"Anyway, I’m not going to let him Liebniz my Newton here."

I like the idea of a whole series of Sangaku puzzles done in stained glass (but, yeah, these mathematicians need to refine their stained glass skills — I suggest trying to make the next piece 2 × s). I propose that the element you are trying to find an answer for (here, the small circle here whose radius is a mystery) be the only element in color in order to draw attention to the unknown. (I can already see a small red circle floating in a sea of white shards … not unlike the Japanese flag I suppose if the flag were square.)

alyxya•4mo ago
Here's how I solved it:

Let the square be a unit square with vertices at (0, 0), (1, 0), (1, 1), (0, 1), and let the center of the small circle be (x, y) and the radius be r. Each of the 3 circular arcs can be used to form an equation relating to the distance from the centers of the circular arcs to the center of the small circle:

(0.5 - x)^2 + y^2 = (0.5 + r)^2

x^2 + (y - 0.5)^2 = (0.5 - r)^2

(1 - x)^2 + y^2 = (1 - r)^2

These equations can be rewritten as:

x^2 + y^2 - r^2 = r + x

x^2 + y^2 - r^2 = y - r

x^2 + y^2 - r^2 = 2x - 2r

Equating the linear expressions on the right sides of those equations gives x = 3r and y = 5r, and substituting this into the quadratic expression gives 33r^2 = 4r.

Interop 2025: A Year of Convergence

https://webkit.org/blog/17808/interop-2025-review/
1•ksec•6m ago•0 comments

JobArena – Human Intuition vs. Artificial Intelligence

https://www.jobarena.ai/
1•84634E1A607A•10m ago•0 comments

Concept Artists Say Generative AI References Only Make Their Jobs Harder

https://thisweekinvideogames.com/feature/concept-artists-in-games-say-generative-ai-references-on...
1•KittenInABox•14m ago•0 comments

Show HN: PaySentry – Open-source control plane for AI agent payments

https://github.com/mkmkkkkk/paysentry
1•mkyang•16m ago•0 comments

Show HN: Moli P2P – An ephemeral, serverless image gallery (Rust and WebRTC)

https://moli-green.is/
1•ShinyaKoyano•25m ago•0 comments

The Crumbling Workflow Moat: Aggregation Theory's Final Chapter

https://twitter.com/nicbstme/status/2019149771706102022
1•SubiculumCode•30m ago•0 comments

Pax Historia – User and AI powered gaming platform

https://www.ycombinator.com/launches/PMu-pax-historia-user-ai-powered-gaming-platform
2•Osiris30•30m ago•0 comments

Show HN: I built a RAG engine to search Singaporean laws

https://github.com/adityaprasad-sudo/Explore-Singapore
1•ambitious_potat•36m ago•0 comments

Scams, Fraud, and Fake Apps: How to Protect Your Money in a Mobile-First Economy

https://blog.afrowallet.co/en_GB/tiers-app/scams-fraud-and-fake-apps-in-africa
1•jonatask•36m ago•0 comments

Porting Doom to My WebAssembly VM

https://irreducible.io/blog/porting-doom-to-wasm/
1•irreducible•37m ago•0 comments

Cognitive Style and Visual Attention in Multimodal Museum Exhibitions

https://www.mdpi.com/2075-5309/15/16/2968
1•rbanffy•38m ago•0 comments

Full-Blown Cross-Assembler in a Bash Script

https://hackaday.com/2026/02/06/full-blown-cross-assembler-in-a-bash-script/
1•grajmanu•43m ago•0 comments

Logic Puzzles: Why the Liar Is the Helpful One

https://blog.szczepan.org/blog/knights-and-knaves/
1•wasabi991011•55m ago•0 comments

Optical Combs Help Radio Telescopes Work Together

https://hackaday.com/2026/02/03/optical-combs-help-radio-telescopes-work-together/
2•toomuchtodo•1h ago•1 comments

Show HN: Myanon – fast, deterministic MySQL dump anonymizer

https://github.com/ppomes/myanon
1•pierrepomes•1h ago•0 comments

The Tao of Programming

http://www.canonical.org/~kragen/tao-of-programming.html
1•alexjplant•1h ago•0 comments

Forcing Rust: How Big Tech Lobbied the Government into a Language Mandate

https://medium.com/@ognian.milanov/forcing-rust-how-big-tech-lobbied-the-government-into-a-langua...
3•akagusu•1h ago•0 comments

PanelBench: We evaluated Cursor's Visual Editor on 89 test cases. 43 fail

https://www.tryinspector.com/blog/code-first-design-tools
2•quentinrl•1h ago•2 comments

Can You Draw Every Flag in PowerPoint? (Part 2) [video]

https://www.youtube.com/watch?v=BztF7MODsKI
1•fgclue•1h ago•0 comments

Show HN: MCP-baepsae – MCP server for iOS Simulator automation

https://github.com/oozoofrog/mcp-baepsae
1•oozoofrog•1h ago•0 comments

Make Trust Irrelevant: A Gamer's Take on Agentic AI Safety

https://github.com/Deso-PK/make-trust-irrelevant
7•DesoPK•1h ago•4 comments

Show HN: Sem – Semantic diffs and patches for Git

https://ataraxy-labs.github.io/sem/
1•rs545837•1h ago•1 comments

Hello world does not compile

https://github.com/anthropics/claudes-c-compiler/issues/1
35•mfiguiere•1h ago•20 comments

Show HN: ZigZag – A Bubble Tea-Inspired TUI Framework for Zig

https://github.com/meszmate/zigzag
3•meszmate•1h ago•0 comments

Metaphor+Metonymy: "To love that well which thou must leave ere long"(Sonnet73)

https://www.huckgutman.com/blog-1/shakespeare-sonnet-73
1•gsf_emergency_6•1h ago•0 comments

Show HN: Django N+1 Queries Checker

https://github.com/richardhapb/django-check
1•richardhapb•1h ago•1 comments

Emacs-tramp-RPC: High-performance TRAMP back end using JSON-RPC instead of shell

https://github.com/ArthurHeymans/emacs-tramp-rpc
1•todsacerdoti•1h ago•0 comments

Protocol Validation with Affine MPST in Rust

https://hibanaworks.dev
1•o8vm•1h ago•1 comments

Female Asian Elephant Calf Born at the Smithsonian National Zoo

https://www.si.edu/newsdesk/releases/female-asian-elephant-calf-born-smithsonians-national-zoo-an...
5•gmays•1h ago•1 comments

Show HN: Zest – A hands-on simulator for Staff+ system design scenarios

https://staff-engineering-simulator-880284904082.us-west1.run.app/
1•chanip0114•2h ago•1 comments