frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Learning from Sudoku Solvers (2007)

http://ravimohan.blogspot.com/2007/04/learning-from-sudoku-solvers.html
20•forks•5d ago

Comments

gnabgib•5d ago
Some comments 2 months ago (15 points, 7 comments)

2012 (28 points, 9 comments) https://news.ycombinator.com/item?id=4434744

2010 (65 points, 48 comments) https://news.ycombinator.com/item?id=1221399

Jtsummers•3h ago
The one from a couple months ago is here: https://news.ycombinator.com/item?id=45733410
crustycoder•5h ago
Or perhaps just use a language that's designed to solve those sorts of problems? In 14 lines of code.

https://www.swi-prolog.org/pldoc/man?section=clpfd-sudoku

cenamus•3h ago
Is there a similarly short/simple solution not using all of the built ins? Haven't worked with prolog in a while but should be easy enough with primitives (albeit with more duplication)?
nurettin•2h ago
Why not just

    blocks(Rows, Blocks), maplist(all_distinct, Blocks), maplist(label, Rows)
kayo_20211030•4h ago
Peter Seibel's original post is worth reading in its entirety.

It's a decently balanced piece. It leaves room for various views, and its summation seems about right.

https://gigamonkeys.wordpress.com/2009/10/05/coders-unit-tes...

nurettin•2h ago
I remember implementing some of these

https://www.stolaf.edu/people/hansonr/sudoku/12rules.htm

With a simple array of unsigned int and bit operations like 20 years ago. It could solve a lot of puzzles within microseconds. Later I realized rules 1, 2, 5, 6 are pretty much the same.

iCloud Photos Downloader

https://github.com/icloud-photos-downloader/icloud_photos_downloader
111•reconnecting•1h ago•59 comments

Sampling at negative temperature

https://cavendishlabs.org/blog/negative-temperature/
30•ag8•51m ago•8 comments

Ask HN: What are you working on? (January 2026)

95•david927•4h ago•317 comments

"Scholars Will Call It Nonsense": The Structure of von Däniken's Argument (1987)

https://www.penn.museum/sites/expedition/scholars-will-call-it-nonsense/
25•Kaibeezy•1h ago•10 comments

A set of Idiomatic prod-grade katas for experienced devs transitioning to Go

https://github.com/MedUnes/go-kata
52•medunes•4d ago•7 comments

Gentoo Linux 2025 Review

https://www.gentoo.org/news/2026/01/05/new-year.html
256•akhuettel•9h ago•125 comments

Poison Fountain

https://rnsaffn.com/poison3/
138•atomic128•3h ago•91 comments

Anthropic: Developing a Claude Code competitor using Claude Code is banned

https://twitter.com/SIGKITTEN/status/2009697031422652461
102•behnamoh•1h ago•56 comments

guys why does armenian completely break Claude

https://twitter.com/dyushag/status/1993143599286886525
28•ag8•49m ago•12 comments

Meta announces nuclear energy projects

https://about.fb.com/news/2026/01/meta-nuclear-energy-projects-power-american-ai-leadership/
157•ChrisArchitect•2h ago•171 comments

"Food JPEGs" in Super Smash Bros. & Kirby Air Riders

https://sethmlarson.dev/food-jpegs-in-super-smash-bros-and-kirby-air-riders
235•SethMLarson•5d ago•54 comments

Show HN: Epstein IM – Talk to Epstein clone in iMessage

https://epstein.im/
14•RyanZhuuuu•19h ago•18 comments

I'm making a game engine based on dynamic signed distance fields (SDFs) [video]

https://www.youtube.com/watch?v=il-TXbn5iMA
34•imagiro•3d ago•4 comments

Happy 50th Birthday KIM-1

https://github.com/netzherpes/KIM1-Demo
62•JKCalhoun•6h ago•20 comments

I dumped Windows 11 for Linux, and you should too

https://www.notebookcheck.net/I-dumped-Windows-11-for-Linux-and-you-should-too.1190961.0.html
599•smurda•9h ago•615 comments

Perfectly Replicating Coca Cola [video]

https://www.youtube.com/watch?v=TDkH3EbWTYc
62•HansVanEijsden•3d ago•22 comments

C++ std::move doesn't move anything: A deep dive into Value Categories

https://0xghost.dev/blog/std-move-deep-dive/
209•signa11•2d ago•164 comments

Show HN: Interactive California Budget (by Claude Code)

https://california-budget.com
11•sberens•3h ago•0 comments

Quake 1 Single-Player Map Design Theories (2001)

https://www.quaddicted.com/webarchive//teamshambler.planetquake.gamespy.com/theories1.html
11•Lammy•15h ago•1 comments

BasiliskII Macintosh 68k Emulator Ported to ESP32-P4 / M5Stack Tab5

https://github.com/amcchord/M5Tab-Macintosh
67•rcarmo•8h ago•9 comments

Dell admits it made a mistake when it abandoned XPS

https://gizmodo.com/dell-admits-it-made-a-huge-mistake-when-it-abandoned-xps-2000705053
49•jnord•5d ago•58 comments

Pigeon's Device (2009)

http://pigeonsnest.co.uk/stuff/pigeons-device.html
4•gaul•2h ago•0 comments

The Concise TypeScript Book

https://github.com/gibbok/typescript-book
200•javatuts•15h ago•44 comments

American Dialect Society 2025 Word of the Year Is "Slop"

https://americandialect.org/2025-word-of-the-year-is-slop/
27•ChrisArchitect•2h ago•4 comments

China applies to put 200K satellites in space after calling Starlink crash risk

https://www.scmp.com/news/china/science/article/3339493/china-applies-put-200000-satellites-space...
47•nkurz•6h ago•15 comments

Instagram data breach reportedly exposed the personal info of 17.5M users

https://www.engadget.com/cybersecurity/an-instagram-data-breach-reportedly-exposed-the-personal-i...
164•IvanAchlaqullah•5h ago•54 comments

You are not required to close your <p>, <li>, <img>, or <br> tags in HTML

https://blog.novalistic.com/archives/2017/08/optional-end-tags-in-html/
127•jen729w•2d ago•195 comments

My Home Fibre Network Disintegrated

https://alienchow.dev/post/fibre_disintegration/
233•alienchow•16h ago•202 comments

HTML-only conditional lazy loading (via preload and media)

https://orga.cat/blog/html-conditional-lazy-loading/
75•netol•9h ago•12 comments

Vojtux – Unofficial Linux Distribution Aimed at Visually Impaired Users

https://github.com/vojtapolasek/vojtux
107•TheWiggles•4d ago•27 comments