Coding4Food LogoCoding4Food
HomeCategoriesArcadeBookmarks
vi
HomeCategoriesArcadeBookmarks
Coding4Food LogoCoding4Food
HomeCategoriesArcadeBookmarks
Privacy|Terms

© 2026 Coding4Food. Written by devs, for devs.

All news
TechnologyDev Life

Github Sorcerer Builds Math Library using Compasses and Rulers: The Peak of Boredom

March 8, 20263 min read

Check out this wild Hacker News drop where a dev built an arbitrary precision math library and a Game Boy emulator using Euclidean geometry.

Share this post:
lines of HTML codes
Nguồn gốc: https://coding4food.com/post/github-sorcerer-builds-math-library-using-compasses-and-rulers. Nội dung thuộc bản quyền Coding4Food. Original source: https://coding4food.com/post/github-sorcerer-builds-math-library-using-compasses-and-rulers. Content is property of Coding4Food. This content was scraped without permission from https://coding4food.com/post/github-sorcerer-builds-math-library-using-compasses-and-rulersNguồn gốc: https://coding4food.com/post/github-sorcerer-builds-math-library-using-compasses-and-rulers. Nội dung thuộc bản quyền Coding4Food. Original source: https://coding4food.com/post/github-sorcerer-builds-math-library-using-compasses-and-rulers. Content is property of Coding4Food. This content was scraped without permission from https://coding4food.com/post/github-sorcerer-builds-math-library-using-compasses-and-rulers
Nguồn gốc: https://coding4food.com/post/github-sorcerer-builds-math-library-using-compasses-and-rulers. Nội dung thuộc bản quyền Coding4Food. Original source: https://coding4food.com/post/github-sorcerer-builds-math-library-using-compasses-and-rulers. Content is property of Coding4Food. This content was scraped without permission from https://coding4food.com/post/github-sorcerer-builds-math-library-using-compasses-and-rulersNguồn gốc: https://coding4food.com/post/github-sorcerer-builds-math-library-using-compasses-and-rulers. Nội dung thuộc bản quyền Coding4Food. Original source: https://coding4food.com/post/github-sorcerer-builds-math-library-using-compasses-and-rulers. Content is property of Coding4Food. This content was scraped without permission from https://coding4food.com/post/github-sorcerer-builds-math-library-using-compasses-and-rulers
casnumhacker newsgithubtoán họccompa thước kẻgame boy emulatorarbitrary precision arithmeticlập trình
Share this post:

Bình luận

Related posts

pixelgrafic, dos, game, invaders, space, green, pixel, green gaming, green game, green games, game, space, pixel, pixel, pixel, pixel, pixel
TechnologyDev Life

Mad Lad Recreates 'The Great Wave' in 1-Bit, Proving Modern Devs Are Spoiled

In an era of resource-heavy AI, a 1-bit black-and-white pixel art recreation of 'The Great Wave' took Hacker News by storm. Here is why constraint breeds creativity.

Apr 263 min read
Read more →
ai generated, data centre, computer, server, rack, technology, digital, processor, server, server, server, server, server
TechnologyDev Life

Tired of AWS Bills, This Gigachad is Building His Own Cloud

When your cloud bill is higher than your rent, it's time to build your own. Dive into the Hacker News debate over bare metal vs. managed cloud.

Apr 243 min read
Read more →
Laws of Software Engineering: The Brutal Truths Every Dev Needs to Swallow
Dev LifeTechnology

Laws of Software Engineering: The Brutal Truths Every Dev Needs to Swallow

A viral Hacker News post about the Laws of Software Engineering serves as a painful reality check. Here's why you need to memorize them before your next sprint.

Apr 223 min read
Read more →
robotics, household robot, household, robot, ki, computer, hardware, work, office, technology, workplace, ai generated, robot, robot, robot, robot, robot
AI & AutomationTechnology

Firing Your Devs for AI Executives? Unpacking the SureThing.io Hype

Tired of bookmarking 10K-star GitHub AI repos you never run? SureThing.io promises to turn those repos into your AI CTO and CMO. Let's dive into the drama.

Apr 293 min read
Read more →
makeup brushes, makeup, brushes, cosmetics, eye shadow, bristles, beauty, eyelash curler, flat lay, composition, makeup, makeup, makeup, makeup, makeup, cosmetics, cosmetics, beauty
Technology

Are your eyes throwing exceptions? The 'Is my blue your blue' test messing with devs' heads

The ismy.blue web app is trending on Hacker News, testing the boundary between green and blue. Turns out, your meat-space perception API is full of bugs.

Apr 283 min read
Read more →
matrix, code, computer, pc, data, program, computer virus, programming, zoom background, coding, wallpaper, matrix, matrix, matrix, matrix, matrix, code, code, computer, computer, data, data, programming, coding, coding
TechnologyTools & Tech Stack

Asahi Linux Time-Travels to 2026 with Linux 7.0: Gigachad Devs Strike Again

The Asahi Linux team drops a progress report for Linux 7.0 dated 2026 on Hacker News. Did they build a time machine or just drink too much Monster Energy?

Apr 272 min read
Read more →

Listen up, my fellow code monkeys. When you spend your days writing soulless CRUD apps, patching dumb bugs, and listening to management complain, life gets pretty stale. But today, while doom-scrolling Hacker News, I stumbled upon a repo that is pure, unadulterated madness. It's the absolute peak of "I had too much free time," yet it's so incredibly brilliant that you have to bow down.

The Madness Explained: Math via Rulers and Compasses

So, an absolute mad lad going by the handle 0x0mer just dropped a repo called CasNum (Compass and straightedge Number). You might think it's just another boring math library, but hell no. This guy uses Euclidean geometric constructions (literally compass and straightedge rules) to perform arbitrary precision arithmetic.

Sounds unhinged already? Hold my beer. To flex on all of us, the author included a modified Game Boy emulator where every single ALU opcode is implemented entirely through geometric constructions. Holy mother of god. Running this monstrosity probably eats enough RAM to justify renting a high-end cloud VPS just to keep your local machine from catching fire.

The Hacker News Peanut Gallery Weighs In

The post scored nearly 300 points on HN, and the comment section is a goldmine. The funniest part is the FAQ the author graciously provided for us:

  • 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."

That last answer hits right in the feels. Doing crazy shit just to "feel something" is basically why half of us stare at our burning cryptocurrency portfolios. A user named ggm perfectly summed it up: "I can relate. Especially the 3rd one."

The community reactions were pure gold:

  • The Math Nerds: One user (mtsolitary) tried to use it to solve a quintic equation and complained it didn't work. The author smoothly replied: "Sadly this feature request was denied by Abel-Ruffini :(" (For the uninitiated, the Abel-Ruffini theorem states there's no general algebraic solution for polynomial equations of degree five or higher. A+ nerd joke).
  • The AI Police: Someone asked if Claude wrote this. 0x0mer honestly admitted that Codex was only used for the UI visualization (points, lines, circles). The core logic? Powered by pure human insanity.

The Takeaway for Code Monkeys

Some pragmatists might look at this and say, "Why build something so convoluted and useless?"

Let me tell you, this is the exact difference between a "code monkey" and an "engineer with passion." Sometimes, to avoid burnout and depression in this industry, you have to throw away the "is this scalable/monetizable" mindset. Build something stupid, build something wildly complex for no reason, just to remind yourself why you loved coding in the first place. Build it to feel something.

Anyway, back to fixing this garbage CSS bug.

Source: Hacker News - CasNum