frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Knuth Tests using Claude Sonnet 4.6 problem 1.1.4

1•daly•2h ago
Knuth Art Of Computer Programming V1 p2 ----------------------------------------------------------------------- Algorithm E (Euclid's algorithm). Given two positive integers m and n, find their greatest common divisor, that is, the largest positive integer that evenly divides both m and n.

E1 [Find remained] Divide m by n and r be the remainder. (We will know that 0 <= r < n)

E2 [Is it zero?] If r = 0, the algorithm terminates, n is the answer

E3 [Reduce] Set m = n, then n = r, then go back to step E1

----------------------------------------------------------------------- Knuth Art Of Computer Programming V1 p9 Problem 1.1.4

[4] Using Algorithm E compute the greatest common divisor of 2166 and 6099. Label each step of the algorithm as it is used.

======================================================================== Claude Sonnet 4.6 ========================================================================

Starting with m = 2166, n = 6099: E1: 2166 ÷ 6099 = 0 remainder 2166 → r = 2166 E2: r ≠ 0, continue E3: m = 6099, n = 2166

E1: 6099 ÷ 2166 = 2 remainder 1767 → r = 1767 E2: r ≠ 0, continue E3: m = 2166, n = 1767

E1: 2166 ÷ 1767 = 1 remainder 399 → r = 399 E2: r ≠ 0, continue E3: m = 1767, n = 399

E1: 1767 ÷ 399 = 4 remainder 171 → r = 171 E2: r ≠ 0, continue E3: m = 399, n = 171

E1: 399 ÷ 171 = 2 remainder 57 → r = 57 E2: r ≠ 0, continue E3: m = 171, n = 57

E1: 171 ÷ 57 = 3 remainder 0 → r = 0 E2: r = 0, algorithm terminates GCD(2166, 6099) = 57

Bristol social media 'School Wars' trend blamed for attack on 12-year-old girl

https://www.itv.com/news/westcountry/2026-03-05/bristol-social-media-school-wars-trend-blamed-for...
1•DropDead•55s ago•0 comments

Show HN: AI pull request reviewer that analyzes Git diffs

1•bolitupac•3m ago•0 comments

Cursor: Build agents that run automatically

https://cursor.com/blog/automations
3•helloplanets•9m ago•0 comments

Show HN: Tool that simulates how visitors psychologically experience websites

https://human-psychology-simulator.thequantumgrove.io/
1•HPSimulator•9m ago•0 comments

Scholze: "For me, mathematics started with Grothendieck"

https://old.reddit.com/r/math/comments/1rl6yyf/scholze_for_me_mathematics_started_with/
1•iNic•11m ago•0 comments

How to Build a Personal Intelligence Agency

https://www.operator.io/blog/build-a-personal-intelligence-agency
1•david_shi•11m ago•0 comments

Show HN: Mt – Open-source Markdown notes app with spaced repetition

https://github.com/odosui/mt
1•yanis_t•12m ago•0 comments

Ask HN: For solopreneurs – how to you solve architecture?

1•rkuodys•14m ago•0 comments

Show HN: Utter, a free local dictation and meeting notes app for Mac and iPhone

https://utter.to/
2•hubab•15m ago•0 comments

"I'm obviously taking a risk here by advertising emoji directly."

https://unsung.aresluna.org/im-obviously-taking-a-risk-here-by-advertising-emoji-directly/
2•tobr•24m ago•0 comments

C++ Performance Improvements in MSVC Build Tools v14.51

https://devblogs.microsoft.com/cppblog/c-performance-improvements-in-msvc-build-tools-v14-51/
1•pjmlp•25m ago•0 comments

Ladybird browser update (February 2026) [video]

https://www.youtube.com/watch?v=Y3tteHSrJlY
2•radikalerludwig•25m ago•1 comments

JSR: The open-source package registry for modern JavaScript and TypeScript

https://jsr.io/
1•maxloh•29m ago•0 comments

DTOs at the Speed of Plain PHP

https://www.dereuromark.de/2026/03/02/dtos-at-the-speed-of-plain-php/
1•that_guy_iain•29m ago•0 comments

Show HN: I measured my context switching by scanning Git commits

https://github.com/MuhammadBaibarsZainUlAbideen/context-tracker
1•muhammadbaibars•30m ago•1 comments

Show HN: Introducing Kite AI Agent: Conversational Operations for Kubernetes

https://github.com/kite-org/kite/discussions/409
1•xdasf•30m ago•0 comments

Online harassment is entering its AI era

https://www.technologyreview.com/2026/03/05/1133962/online-harassment-is-entering-its-ai-era/
1•joozio•31m ago•0 comments

Cursor is now available in IntelliJ and other JetBrains IDEs through ACP

https://cursor.com/blog/jetbrains-acp#coding-with-cursor-in-jetbrains-ides
1•saharshpruthi•33m ago•1 comments

Show HN: Claude Code for iPad – Agentic AI coding tool with file ops, Git, shell

1•reviewpulse•37m ago•0 comments

How to Survive Your Project's First 100k Lines

https://verdagon.dev/blog/first-100k-lines
2•randomrainbow•37m ago•0 comments

Unlimited users, free and ad-free remote employee management tool

1•chronotrigger•37m ago•1 comments

Don't Be a Wrapper, Be a Container

https://www.hopsworks.ai/post/coding-agents-inside-data-platforms
1•LexSiga•39m ago•0 comments

A claudeism that I want to confirm if anyone else is experiencing

1•ramenprofitable•39m ago•0 comments

Show HN: Desktop Automation with Codex

https://github.com/nickbarth/closedbots/
1•nicbarth•41m ago•0 comments

Linux Mint is getting a new Wayland-compatible screensaver

https://www.neowin.net/news/linux-mint-is-getting-a-new-wayland-compatible-screensaver/
1•bundie•42m ago•0 comments

Fortify your app: Essential strategies to strengthen security – Meet with Apple [video]

https://www.youtube.com/watch?v=UZeSyodAszc
2•pjmlp•43m ago•0 comments

The Ugliest Beautiful Codebase

https://jimmyhmiller.com/ugliest-beautiful-codebase
1•harperlee•44m ago•0 comments

Show HN: Making remote MCP servers handle local files and generated artifacts

https://github.com/aakashh242/remote-mcp-adapter/
1•aakashh242•46m ago•0 comments

Show HN: Koshei AI – a voice-native AI language university (A1 to D2)

https://github.com/Bugsbuny24/Koshe-Al-
1•bugsbuny24•48m ago•0 comments

Federated torrent tracker based on Nostr

https://ygg.gratis/
1•routeroff•48m ago•0 comments