frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: I trained a chess engine to play like humans

5•hazard•1h ago
I built 1e4.ai - a chess web app where you play against neural networks trained to mimic human Lichess players at specific Elo ranges. There's a separate model for each 100-point rating bucket from ~800 to 2200+, and the bots not only choose human-like moves but also burn clock time, play worse under time pressure, and blunder in human-like ways.

Live demo: https://1e4.ai Code: https://github.com/thomasj02/1e4_ai

A few things that might be interesting:

- Trained on almost a full year of Lichess blitz games, around 1B total games

- Architecture is an a small (~9MM parameters) transformer-based network that takes the board, recent move history, the player's rating, and remaining clock time as input. Three separate models per rating bucket: move, clock-usage, and win probability. The clock model is what makes the bots feel humanish under time pressure rather than instant. Because the move model takes the clock as one input parameter, it also learns to blunder under time pressure like a human might.

- Because the network is so tiny, no GPU is needed for inference - it runs easily on a local CPU

- Downside of the tiny network is that it's a bit weak as you turn up the rating past around 1700. It can spot short tactics but not long multi-move combinations.

- Initial training on a rented 8xH100 cluster, then fine-tunes on my local GPU for different rating ranges

- Inspired by Maia-2 and DeepMind's "Grandmaster-Level Chess Without Search". On a held-out Lichess blitz benchmark, the it beats Maia-2 blitz on top-1 move prediction (56.7% vs 52.7%) and pretty substantially on win-probability calibration (Brier 0.176 vs 0.272). Numbers and code in https://github.com/thomasj02/1e4_ai/tree/master/experiments/...

- The data pipeline is C++ via nanobind, then training with Pytorch. Getting this right was actually the thing I spent the most time on. Pre-shuffling the dataset and then being able to read the shuffled dataset sequentially at training time kept the GPU utilization high. Without this it spent a huge percentage of time on I/O while the GPU sat idle.

Happy to answer questions about the rating-conditioning, the clock model, or the data pipeline.

AI Productivity Fails

https://blog.sshh.io/p/how-ai-productivity-fails
1•sshh12•3m ago•0 comments

You Need AI That Reduces Maintenance Costs

https://www.jamesshore.com/v2/blog/2026/you-need-ai-that-reduces-your-maintenance-costs
1•cratermoon•6m ago•0 comments

PS3 Emulator Devs Politely Ask That People Stop Flooding It with AI PRs

https://kotaku.com/playstation-3-emulator-devs-politely-ask-that-people-stop-flooding-it-with-ai-...
3•stalfosknight•9m ago•0 comments

Usein

1•USEIN•12m ago•0 comments

Rep. Crane Introduces Legislation to Pause and Reform the Broken H-1B Visa

https://crane.house.gov/2026/04/22/rep-crane-introduces-legislation-to-pause-and-reform-the-broke...
3•rawgabbit•14m ago•0 comments

Zero-native by Vercel: Build tiny desktop and mobile apps with Zig and web UI

https://github.com/vercel-labs/zero-native
1•maxloh•25m ago•0 comments

Antikythera Mechanism (oldest known analogue computer)

https://www.historyofinformation.com/detail.php?id=120
2•p0u4a•29m ago•0 comments

Show HN: Gawk Dev – live feed tracking what's happening across AI tools

https://gawk.dev
1•Srinathprasanna•29m ago•0 comments

You can have your composer.lock and not make others eat it too

https://kevinullyott.com/blog/2026-05-05-composer-lock-gitattributes/
1•orrison•36m ago•0 comments

Riding the D in Los Angeles: city hopes new subway stations will be game changer

https://www.theguardian.com/us-news/2026/may/09/los-angeles-subway-public-transportation
2•raybb•36m ago•0 comments

Running local models on an M4 with 24GB memory

https://jola.dev/posts/running-local-models-on-m4
14•shintoist•37m ago•2 comments

The Mythology of Rice and Beans

https://economistwritingeveryday.com/2024/12/13/the-mythology-of-rice-and-beans/
1•ksymph•40m ago•0 comments

How Fast Does Claude, Acting as a User Space IP Stack, Respond to Pings?

https://dunkels.com/adam/claude-user-space-ip-stack-ping/
2•adunk•44m ago•0 comments

ReactOS ARM64-port finally boots to desktop and even works

https://www.youtube.com/watch?v=c1LjnFKGDhQ
1•jeditobe•44m ago•0 comments

Canada admits bill C-22 would allow govt to secretly order microphone activation

https://xcancel.com/rebelprazz/status/2053606378238009832#m
5•CGMthrowaway•48m ago•0 comments

Time Lock Encryption Oracle

https://timelock.sh
3•leishman•48m ago•1 comments

Proprioception

https://en.wikipedia.org/wiki/Proprioception
3•andsoitis•54m ago•0 comments

Why DC's Metro Wants to Automate Its Trains

https://www.bloomberg.com/news/articles/2026-05-07/dc-s-metro-makes-a-case-for-driverless-red-lin...
2•raybb•56m ago•0 comments

I'm Leaving Gemini for Tax Reasons

3•liamOR•1h ago•2 comments

Ask HN: Can you make money from writing short stories with the help of AI?

2•amichail•1h ago•2 comments

ELIZA: A Computer Program for the Study of Natural Language Communication [pdf]

https://hackaday.com/wp-content/uploads/2024/02/WEIZENBAUM-1966-ELIZA-A-Computer-Program-For-the-...
3•tcp_handshaker•1h ago•1 comments

Ask HN: What are some good resources on AI Engineering and Prompting

5•mraza007•1h ago•3 comments

Show HN: I trained a chess engine to play like humans

5•hazard•1h ago•0 comments

I run a company with 30 engineers. Built this app with AI and none of them

https://footbeen.com/blog/i-built-a-production-app-with-ai-no-developers
3•dmgmyza•1h ago•0 comments

Frankfurt expands commercial EV fleet with 10 new vocational trucks

https://electrek.co/2026/05/10/frankfurt-expands-commercial-ev-fleet-with-10-new-vocational-trucks/
2•breve•1h ago•0 comments

Large-Scale Photogrammetric Documentation of St. John's Co-Cathedral [pdf]

https://mkenely.com/publications/preprints/large-scale-photogrammetric-st-johns.pdf
2•andsoitis•1h ago•0 comments

Checkmate in Iran

https://www.theatlantic.com/international/2026/05/iran-war-trump-losing/687094/
6•xqcgrek2•1h ago•1 comments

Design Framework for Conversational AI, Curatorial Insights in Cultural Heritage [pdf]

https://mkenely.com/publications/preprints/from-broadcast-to-dialogue.pdf
1•andsoitis•1h ago•0 comments

Anthropic says 'evil' portrayals were responsible for Claudes blackmail attempts

https://techcrunch.com/2026/05/10/anthropic-says-evil-portrayals-of-ai-were-responsible-for-claud...
2•evo_9•1h ago•0 comments

Vibe-Coded Apps Expose Corporate and Personal Data on the Open Web

https://www.wired.com/story/thousands-of-vibe-coded-apps-expose-corporate-and-personal-data-on-th...
2•abdelhousni•1h ago•1 comments