frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

No reachable chess position with more than 218 moves

https://lichess.org/@/Tobs40/blog/there-is-no-reachable-chess-position-with-more-than-218-moves/a5xdxeqs
42•emporas•2h ago

Comments

eru•25m ago
https://lichess.org/@/Tobs40/blog/there-is-no-reachable-ches... describes how the author removed some more complicated rules in the first pass, and is willing to re-introduce them, if necessary. Ie if the solution found violates them.

Interestingly, mixed integer linear programming solvers already support these. The technical term for this is 'row generation'. It comes from the usually way these problems are written in matrix form, where rows correspond to constraints and columns correspond to variables.

(Dynamically) adding a row is equivalent to introducing a constraint only if it's violated.

This approach is often used for the traveling salesman problem.

(Weirdly enough, Wikipedia has https://en.wikipedia.org/wiki/Column_generation but nothing on row generation.)

LeGrosDadai•18m ago
I'm quite curious to see if the MILP solver would terminate (given the massive search space), my guess is not.
reader9274•18m ago
Isn't the very first move of any chess game a reachable chess position with more than 218 moves?
reed1234•13m ago
It’s not 218 possibilities it’s 218 moves.
electroly•12m ago
Maybe one of us is misunderstanding, but aren't there far fewer than 218 on the first move? The position in the article needed nine unobstructed queens to achieve 218 possible moves. For the first move, I think we could just enumerate the moves by hand, right? Eight pawns can move one or two spaces, that's 16 moves. The two knights have two moves, that's 4. Nothing else can move, can it? That's only 20 moves.

EDIT: I think I understand the confusion. A "move" in this case is a legal possibility for white's next turn. It's not talking about the number of moves in the game, but rather the number of legal choices for white in a single turn.

clintonc•11m ago
The initial board position is certainly reachable (and reached in every game!), but there are only 20 legal moves available: the 16 legal pawn moves for White, and the 4 legal knight moves for White.
kryptiskt•1m ago
Now I wonder how Nenad Petrović and Jenő Bán came up with the optimal solutions to the problems in the 60s.

Why every Sankey diagram you've ever seen is wrong

https://mliebreich.substack.com/p/why-every-sankey-diagram-youve-ever
1•DamonHD•1m ago•0 comments

Microsoft Etches Complex Microfluidics Channels Directly into Silicon Chips

https://www.servethehome.com/microsoft-etches-microfluidic-channels-directly-into-silicon-chips-i...
1•rbanffy•3m ago•0 comments

Safe in the sandbox: security hardening for Cloudflare Workers

https://blog.cloudflare.com/safe-in-the-sandbox-security-hardening-for-cloudflare-workers/
1•ketanhwr•4m ago•0 comments

Show HN: Browse how LLMs generate famous artworks as SVGs

https://pelican.koenvangilst.nl/
2•vnglst•12m ago•0 comments

Rare Access to Cormac McCarthy's Personal Library Reveals the Man Behind TheMyth

https://www.smithsonianmag.com/arts-culture/two-years-cormac-mccarthys-death-rare-access-to-perso...
1•smileduck•12m ago•0 comments

Fast UDP I/O for Firefox in Rust – Max Inden

https://max-inden.de/post/fast-udp-io-in-firefox/
1•JoshTriplett•15m ago•0 comments

Stop Tracking, Start Growing: A Habit App Built on Social Accountability

1•simonmiller•17m ago•0 comments

Ukraine's Plan to Starve the Russian War Machine

https://www.theatlantic.com/ideas/archive/2025/09/ukraines-strategy-to-win-the-war/684356/
2•JumpCrisscross•17m ago•0 comments

`std::flip`

https://morwenn.github.io//c++/2025/09/25/TSB004-std-flip.html
1•ashvardanian•19m ago•0 comments

WTF is up with everything using Android?

3•george3d6•27m ago•3 comments

Lightweight Authentication Schema

https://www.c64os.com/post/lightweightauthentication
1•ingve•28m ago•0 comments

Alter the program's execution flow – IntelliJ IDEA Documentation

https://www.jetbrains.com/help/idea/altering-the-program-s-execution-flow.html
2•__LINE__•30m ago•0 comments

Managing Dotfiles with Make

https://www.matheusmoreira.com/articles/managing-dotfiles-with-make
2•ibobev•34m ago•0 comments

OpenGL Visualization with Lwjgl

https://www.wedesoft.de/graphics/2025/09/24/lwjgl-nasa-moon/
1•ibobev•35m ago•0 comments

Conway's Pinwheel Tiling

https://www.johndcook.com/blog/2025/09/25/conways-pinwheel-tiling/
1•ibobev•37m ago•0 comments

I wish I'd known this Java stream debug trick in Intellij IDEA earlier

https://www.jetbrains.com/help/idea/analyze-java-stream-operations.html
2•__LINE__•39m ago•0 comments

Tencent's new AI technique teaches language models 'parallel thinking'

https://venturebeat.com/ai/tencents-new-ai-technique-teaches-language-models-parallel-thinking
2•alhazraed•42m ago•1 comments

September's top trending hard science fiction books (picked by authors)

https://shepherd.com/bookshelf/hard-science-fiction/trending
1•bwb•43m ago•1 comments

Books that prove Nigerians are secret weirdos

https://shepherd.com/best-books/proving-nigerians-are-secret-weirdos
1•bwb•44m ago•1 comments

2-Node Kubernetes: A Reliable and Compatible Solution [video]

https://www.youtube.com/watch?v=l-SlSp7Y0wE
2•znpy•44m ago•0 comments

This is my markup language. There are plenty of others, but this is mine

https://boston.conman.org/2025/09/25.2
1•ingve•46m ago•0 comments

Starbucks permanently closes both Seattle Reserve locations

https://www.kiro7.com/news/local/starbucks-permanently-closes-seattle-reserve-roastery/TH7LR3AXLF...
2•javaskrrt•52m ago•2 comments

I Started Building Lichess (2021)

https://lichess.org/@/thibault/blog/how-i-started-building-lichess/JwtcE0KO
1•downboots•53m ago•0 comments

Ask HN: Do you have any AI agent success stories?

1•baalimago•54m ago•1 comments

AI Art Style Converter

https://srefs.co/blog/ai-art-style-converter
1•bgvo•1h ago•0 comments

Imindmap.app

https://imindmap.app/
2•yuyu74189w•1h ago•0 comments

New Relic's CCU-based pricing is creating unpredictable costs

https://signoz.io/blog/new-relic-ccu-pricing-unpredictable-costs/
1•ak_builds•1h ago•0 comments

US plans to require 1:1 ratio of domestic to imported chips

https://www.reuters.com/world/us/us-plans-mandate-11-ratio-domestically-manufactured-imported-chi...
4•anigbrowl•1h ago•1 comments

Fix Inconsistent AI Art: 5 Simple Solutions

https://srefs.co/blog/fix-inconsistent-ai-art-5-simple-solutions
1•bgvo•1h ago•0 comments

Measuring Heart Rate Using Wi-Fi

https://www.hackster.io/nickbild/measuring-heart-rate-using-wi-fi-e61743
3•greg_w•1h ago•0 comments