frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

CasNum

https://github.com/0x0mer/CasNum
98•aebtebeten•2h ago

Comments

0x0mer•1h ago
Thanks for posting, means a lot! :) I'd be happy to know how you stumbled upon it
lagrange77•1h ago
> CasNum (Compass and straightedge Number) is a library that implements arbitrary precision arithmetic using compass and straightedge constructions. Arbitrary precision arithmetic, now with 100% more Euclid. Featuring a functional modified Game Boy emulator where every ALU opcode is implemented entirely through geometric constructions.

Awesome :D

0x0mer•1h ago
Thank you! :)
ggm•1h ago

  F.A.Q
    Q: buT cAN iT rUn dOOm?
    A: It can't really "run" anything, its a number.
  
    Q: Is it fast?
    A: Define "fast". If you mean "faster than copying Euclid by hand", then yes, dramatically.

    Q: Why did you make this?
    A: I wanted arbitrary precision arithmetic, but I also wanted to feel something.
I can relate. Expecially the 3rd one.
0x0mer•1h ago
Haha thank you! I'm glad to hear!
random_duck•1h ago
I have no idea what is going on here...
mtsolitary•55m ago
https://en.wikipedia.org/wiki/Constructible_number
tingletech•1h ago
Cool. I just learned of compass and straight edge calculations from this video on doubling a cube https://www.youtube.com/watch?v=96LbF8nn05c from Ben Syversen's channel a couple of months ago
ko2026•1h ago
Coolest thing I've seen in a while Well done!
0x0mer•23m ago
Thank you! :)
brcmthrowaway•58m ago
Was Claude used?
0x0mer•52m ago
The only part of the code that was written by AI is the graphics window visualizing the constructions (i.e., the points, lines and circles) and I used codex
mtsolitary•56m ago
Tried to use it to solve a quintic equation and it didn’t work :(
0x0mer•41m ago
Sadly this feature request was denied by Abel-Ruffini :(
danilor•36m ago
This is so nice!!

I'm wondering how hard would it be to extend it to include the whole game state plus all the ROM into the plane at the same time, and have it compute the next step from that!

0x0mer•24m ago
That's a good question :)

I was wondering about this myself, it feels and probably is possible, and I have some ideas on how to do it. Though, on the one hand it would be cool if the entire GB was emulated using compass-and-straightedge, but OTOH, it would be less "pure" and a little more "forced" than just simulating the ALU, if you get what I mean.

One idea I had is trying to draw the graphics of the game using compass-and-straightedge constructions (i.e., using circles and lines to draw approximately the GB graphics)

tsoukiory•18m ago
Je ne comprends pas l'englay

CasNum

https://github.com/0x0mer/CasNum
99•aebtebeten•2h ago•18 comments

A decade of Docker containers

https://cacm.acm.org/research/a-decade-of-docker-containers/
200•zacwest•5h ago•136 comments

Dumping Lego NXT firmware off of an existing brick (2025)

https://arcanenibble.github.io/dumping-lego-nxt-firmware-off-of-an-existing-brick.html
112•theblazehen•1d ago•5 comments

Effort to prevent government officials from engaging in prediction markets

https://www.merkley.senate.gov/merkley-klobuchar-launch-new-effort-to-ban-federal-elected-officia...
122•stopbulying•1h ago•42 comments

FLASH radiotherapy's bold approach to cancer treatment

https://spectrum.ieee.org/flash-radiotherapy
171•marc__1•7h ago•51 comments

Ki Editor - an editor that operates on the AST

https://ki-editor.org/
339•ravenical•12h ago•119 comments

In 1985 Maxell built a bunch of life-size robots for its bad floppy ad

https://buttondown.com/suchbadtechads/archive/maxell-life-size-robots/
36•rfarley04•3d ago•2 comments

macOS code injection for fun and no profit (2024)

https://mariozechner.at/posts/2024-07-20-macos-code-injection-fun/
48•jstrieb•3d ago•5 comments

Does Apple‘s M5 Max Really “Destroy” a 96-Core Threadripper?

https://slashdot.org/submission/17345398/does-apples-m5-max-really-destroy-a-96-core-threadripper
33•dkechag•40m ago•12 comments

The Day NY Publishing Lost Its Soul

https://www.honest-broker.com/p/the-day-ny-publishing-lost-its-soul
12•wallflower•1h ago•4 comments

Compiling Prolog to Forth [pdf]

https://vfxforth.com/flag/jfar/vol4/no4/article4.pdf
84•PaulHoule•4d ago•8 comments

LLM Writing Tropes.md

https://tropes.fyi/tropes-md
8•walterbell•1h ago•1 comments

Autoresearch: Agents researching on single-GPU nanochat training automatically

https://github.com/karpathy/autoresearch
6•simonpure•2h ago•0 comments

Show HN: ANSI-Saver – A macOS Screensaver

https://github.com/lardissone/ansi-saver
81•lardissone•8h ago•26 comments

Re-creating the complex cuisine of prehistoric Europeans

https://arstechnica.com/science/2026/03/recreating-the-complex-cuisine-of-prehistoric-europeans/
52•apollinaire•1d ago•21 comments

SigNoz (YC W21, open source Datadog) Is Hiring across roles

https://signoz.io/careers
1•pranay01•5h ago

UUID package coming to Go standard library

https://github.com/golang/go/issues/62026
338•soypat•20h ago•215 comments

Bourdieu's theory of taste: a grumbling abrégé (2023)

https://dynomight.net/bourdieu/
31•sebg•2d ago•10 comments

The yoghurt delivery women combatting loneliness in Japan

https://www.bbc.com/travel/article/20260302-the-yoghurt-delivery-women-combatting-loneliness-in-j...
170•ranit•9h ago•120 comments

Package Managers Need to Cool Down

https://nesbitt.io/2026/03/04/package-managers-need-to-cool-down.html
4•zdw•2d ago•0 comments

War prediction markets are a national-security threat

https://www.theatlantic.com/technology/2026/03/polymarket-insider-trading-going-get-people-killed...
142•fortran77•2h ago•92 comments

Self-Portrait by Ernst Mach (1886)

https://publicdomainreview.org/collection/self-portrait-by-ernst-mach-1886/
81•Hooke•1d ago•13 comments

PC processors entered the Gigahertz era today in the year 2000 with AMD's Athlon

https://www.tomshardware.com/pc-components/cpus/pc-processors-entered-the-gigahertz-era-today-in-...
147•LorenDB•8h ago•119 comments

Helix: A post-modern text editor

https://helix-editor.com/
315•doener•22h ago•158 comments

Ask HN: Would you use a job board where every listing is verified?

7•BelVisgarra•1h ago•9 comments

48x32, a 1536 LED Game Computer (2023)

https://jacquesmattheij.com/48x32-introduction/
66•duck•2d ago•13 comments

Filesystems are having a moment

https://madalitso.me/notes/why-everyone-is-talking-about-filesystems/
161•malgamves•12h ago•97 comments

Show HN: µJS, a 5KB alternative to Htmx and Turbo with zero dependencies

https://mujs.org
92•amaury_bouchard•13h ago•30 comments

Verification debt: the hidden cost of AI-generated code

https://fazy.medium.com/agentic-coding-ais-adolescence-b0d13452f981
60•xfz•5h ago•63 comments

LLMs work best when the user defines their acceptance criteria first

https://blog.katanaquant.com/p/your-llm-doesnt-write-correct-code
411•dnw•21h ago•369 comments