Better HN
topnewbestaskshowjobs
Log inSign up

0x0mer

48 karma · joined Apr 12, 2024 (2y ago) · 17 submissions

Submissions

comment 8mo ago · link · parent

It is implemented with polynomial rings!

I use SageMath to find minimal polynomials and solve the constructions algebraically. The reason I say that the library is only "arbitrary precision" and not exact/symbolic is that I use approximation in order to distinguish between points. I believe the "correct" way to implement this as exact would have been to save for each number its minimal polynomial and some interval that contains it and distinguishes it from the other roots of its minimal polynomial. It shouldn't be too much work to incorporate this, maybe I will do it some day :)

comment 8mo ago · link · parent

Thank you!

comment 8mo ago · link · parent

Thank you very much! :)

comment 8mo ago · link · parent

Thank you!

comment 8mo ago · link · parent

I'd guess that CasNum would be, how do I put this? not as performant

comment 8mo ago · link · parent

Thank you so much! I'm really happy you could relate :)

And definitely feeling the love and the warm inner glow!!

comment 8mo ago · link · parent

Happy to hear! :)

comment 8mo ago · link · parent

Thank you! :)

comment 8mo ago · link · parent

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)

comment 8mo ago · link · parent

Sadly this feature request was denied by Abel-Ruffini :(

comment 8mo ago · link · parent

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

comment 8mo ago · link · parent

Thank you! :)

comment 8mo ago · link · parent

Haha thank you! I'm glad to hear!

comment 8mo ago · link · parent

Thanks for posting, means a lot! :) I'd be happy to know how you stumbled upon it

15.

Show HN: CasNum – A GameBoy ALU using only compass-&-straightedge constructions(github.com ↗)

1 points · by 0x0mer · 9mo ago · discuss

comment 2y ago · link · parent

First of all, thank you for the kind words :) Secondly, don't feel bad! I'm sure you know much much more than you give yourself credit for. This took about a full weekend plus another day, and a few more days of working here and there when I have time. But as was written somewhere else in the comments and as I wrote myself in the README, the hard work of making Doom more portable was done by the incredible project doom-generic which I forked: https://github.com/ozkl/doomgeneric

comment 2y ago · link · parent

Loll thanks for sharing dude :)