frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Researchers used math to crack Wordle

https://www.binghamton.edu/news/story/6327/s-m-a-r-t-these-researchers-used-math-to-crack-wordle
19•hhs•2d ago

Comments

ano-ther•2d ago
Paper: https://orb.binghamton.edu/nejcs/vol8/iss1/6/
jezzamon•1h ago
I thought this was old news? I remember people making videos about using information theory to solve Wordle back when it was particularly hyped. (After writing this I checked, there's even a 3 blue 1 brown video on this)

My favourite along those lines was solving wordle in 1 guess using the distribution of coloured squares on social media https://www.kaggle.com/code/benhamner/wordle-1-6

GL26•1h ago
Yes 3blue1brown made a series of videos which explains it : https://www.youtube.com/watch?v=v68zYyaEmEA ; https://www.youtube.com/watch?v=fRed0Xmc2Wg .
kps•1h ago
To paraphrase von Neumann, isn't that how everyone does it?
gkoberger•1h ago
This isn't groundbreaking science, sure, but it is a great way to get people interested in a topic. After all, it wouldn't be on Hacker News if the word Wordle wasn't in it. I'm a huge fan of using things like this to teach science, math and engineering.

We started using "Solve 100 Wordles programmatically" as our technical interview, and people _love_ it. They get really into it and have fun. It's pretty easy to do inefficiently, and it's great to watch people build on it and try to improve their scores.

It has two benefits: 1/ everyone clearly understands the problem 2/ people see it as fun rather than a drag.

tialaramex•53m ago
Another small benefit: Everybody understands this isn't what the job is. Nobody is hiring you to beat Wordle, and you solving this is clearly not somehow on the path to their actual task, they are asking you if you can write software which solves a problem and you're demonstrating that you can do that, which makes sense.

I think "Solve 100 Wordles programmatically" sounds like a lot of work, so that'd probably be a "No" from me unless it was last hurdle for a job I was enthusiastic about but unlike "Write a program to solve this class of graph problem" I at least wouldn't be worried that you're trying to get me to do work for free.

Actually Wordle solver as Code Review task sounds like maybe a more interesting live interview than the one we do today. "Here's this mediocre Wordle solver, what is your feedback in review?" has the advantage that they've probably seen a Wordle puzzle before but it's not an example problem they've seen in fifty textbooks.

gkoberger•46m ago
Well, the 100 Wordles is just "Solve one Wordle" in a for-loop. If you're an even somewhat decent engineer, it takes under 10 minutes to get it working (inefficiently).

Then we encourage people to do whatever they want next: improve their average score, build a frontend UI for it, solve on Hard Mode, etc.

In the past, we never did technical interview questions like this. We always asked people to bring their own project, and work the way they want to. However, with the addition of AI, we hit a wall: we want people to feel they can use AI in a way that mimics how they'd actually work day-to-day, BUT we also need a simple check to make sure they understood engineering basics.

plants•59m ago
plug to my blog post where I did something similar a few years back! https://willbeckman.com/wordle.html :). Not sure if this is an identical solution, but it was a fun little project.
dredmorbius•56m ago
I'd quickly realised that a set of words which covered most of the alphabet (20 words, leaving b, g, j, q, v, and z excluded) allowed solving virtually all Wordle puzzles. The game quickly lost any challenge.

  wimpy
  crowd
  thank
  fuels
Altering order might give faster results. The order presented leaves the most common letters (e, t) for last. Z is quite uncommon, q is virtually always followed by u, similarly common pairs such as ch, sh, and th, as well as three- and four-letter combinations ing and tion, though those won't show frequently in five-letter words of default Wordle.

It would be possible to vary word choice based on revealed matches and hits, but if your goal is simply to solve (rather than minimise attempts), the above list works quite well.

magneticnorth•44m ago
> The game quickly lost any challenge.

I only play on hard mode for this reason. My next guess must always be a possible answer based on my current information, and that varies the puzzle enough from day to day that I still find it enjoyable to play occasionally.

drivers99•42m ago
Does that not lead you to situations where you have to guess the last letter on each round? Or do you choose words to avoid getting trapped in that situation in the first place?
copypasterepeat•27m ago
I try to avoid the common traps, but it can be tricky.

I also impose this additional constraint on myself, which the game doesn't enforce, that I can't reuse letters that have been marked gray. Sometimes you just can't think of the next word, or might be tempted to use a gray letter because that way you could get more information from other letters, but I avoid using them.

starky•29m ago
>In simulations, their approach solved 99% of Wordle puzzles, while the traditional method solved just 90%.

This seems wrong to me, getting a 98%+ solve rate for Wordle is pretty common.

kens•27m ago
What I'm interested in is the best starting word. Using Shannon entropy, the paper finds that it is "tares".
bee_rider•14m ago
I think it depends on whether you use a conventional dictionary as the population of possible words, the valid guess list, or the (known, at the time, for the originally version of the game at least) possible solution list. I guess you could also use the possible solution list minus the words that had already been guessed in previous iterations.

I mean, you had to give yourself an artificial constraint because IIRC the next solution was actually built into the page anyway, not obfuscated in any way.

magneticnorth•19m ago
yes, I do the same thing. I wish there was a way to get the implementation to enforce that rule too so I never accidentally try a word that I already know can't be the answer.
magneticnorth•20m ago
Yes, that does happen occasionally, and it's part of the game for me to try and avoid getting trapped like that.
dieselgate•15m ago
I haven't played wordle much since it was purchased but NYTimes ran a story in the last couple days saying how "Hard mode" is actually easier based on their research. Just throwing it out there as food for thought not in a "gotcha" sort of way.

https://www.nytimes.com/2026/06/18/upshot/wordle-hard-mode.h...

Brendinooo•17m ago
gotta see how your strategy holds up in sexaginta-quattuordle
lkbm•7m ago
This is how I played Quordle and Octordle, but with just three words (doubt, glyph, raise). Might not scale for all combinations.
mcphage•10m ago
> I'd quickly realised that a set of words which covered most of the alphabet (20 words, leaving b, g, j, q, v, and z excluded) allowed solving virtually all Wordle puzzles. The game quickly lost any challenge.

You can even go further—there's a set of 5 words which uses 25 out of 26 possible letters, leaving you one more word to enter the right answer.

But here's the thing: while that means you'll almost always win, your # of guesses will always be high.

> but if your goal is simply to solve (rather than minimise attempts)

Pretty much nobody's goal is to simply solve. Once they've played it for a few days, everybody's goal is to minimize guesses. That's the flaw in having a long word list—you always do badly.

Show HN: TikZ Editor – WYSIWYG editor for figures in LaTeX

https://tikz.dev/editor/
113•DominikPeters•1h ago•24 comments

Unlimited OCR: One-Shot Long-Horizon Parsing

https://github.com/baidu/Unlimited-OCR
268•ingve•4h ago•74 comments

AI's Affordability Crisis

https://blog.dshr.org/2026/06/ais-affordability-crisis.html
65•ilreb•49m ago•47 comments

Lift4D: Harmonizing Single-View 3D Estimation for 4D Reconstruction In-the-Wild

https://lift4d.github.io/
30•ilreb•1h ago•1 comments

Spying on kids to save kids from spying is stupid

https://pluralistic.net/2026/06/23/destroy-the-village/
219•hn_acker•1h ago•142 comments

Mistral OCR 4

https://mistral.ai/news/ocr-4/
147•meetpateltech•1h ago•43 comments

MSG Made Dossier on Activists Who Opposed Facial Recognition

https://www.404media.co/madison-square-garden-made-dossier-on-activists-who-opposed-facial-recogn...
129•cdrnsf•2h ago•24 comments

Show HN: Bun-sqlgen – Type-safe raw SQL for Bun, no ORM

https://github.com/ilbertt/bun-sqlgen
22•ilbert•1h ago•11 comments

Plotnine

https://plotnine.org/
174•tosh•4d ago•55 comments

Open Source for IBM Z and LinuxONE

https://community.ibm.com/community/user/blogs/elizabeth-k-joseph1/2026/06/18/linuxone-open-sourc...
16•ncruces•3d ago•0 comments

Show HN: Treedocs: Documentation that automatically checks for staleness

https://dandylyons.github.io/treedocs/
9•DandyLyons•53m ago•3 comments

GLM-5.2 – How to Run Locally

https://unsloth.ai/docs/models/glm-5.2
513•TechTechTech•18h ago•244 comments

Lossless GIF recompression via exhaustive search

https://blog.arusekk.pl/posts/lossless-gif-recompression/
25•ZacnyLos•3h ago•3 comments

Will It Mythos?

https://swelljoe.com/post/will-it-mythos/
239•mindingnever•11h ago•177 comments

VibeThinker: 3B param model that beats Opus 4.5 on reasoning with novel SFT+GRPO

https://arxiv.org/abs/2606.16140
306•timhigins•13h ago•162 comments

Researchers used math to crack Wordle

https://www.binghamton.edu/news/story/6327/s-m-a-r-t-these-researchers-used-math-to-crack-wordle
19•hhs•2d ago•22 comments

Crypto in 2026: Oh, This Is the Bad Place

https://www.stephendiehl.com/posts/bad_place_2026/
277•ibobev•5h ago•319 comments

80386 Early Start Memory Access

https://nand2mario.github.io/posts/2026/80386_early_start/
13•nand2mario•3h ago•1 comments

Steam Machine launches today

https://store.steampowered.com/news/group/45479024/view/685257114654870245
1813•theschwa•22h ago•1544 comments

Show HN: Neural Particle Automata

https://selforg-npa.github.io/
63•esychology•7h ago•14 comments

The Traditional Vi

https://ex-vi.sourceforge.net/
50•exvi•7h ago•32 comments

In praise of memcached

https://jchri.st/blog/in-praise-of-memcached/
231•j03b•14h ago•99 comments

The Low-Tech AI of Elden Ring

https://nega.tv/posts/low-tech-ai-of-elden-ring.html
15•g0xA52A2A•4h ago•3 comments

Show HN: Shumai – open-source Frame.io alternative for creative work

https://github.com/shumaiOne/shumai
36•Yiling-J•5h ago•2 comments

Giant Banana Pulled Over: Driver Says Cops Have Stopped Him 100s of Times

https://cowboystatedaily.com/2026/06/18/giant-banana-pulled-over-in-montana-driver-says-cops-have...
156•speckx•2d ago•59 comments

OpenAI DayBreak – GPT-5.5-Cyber

https://openai.com/index/daybreak-securing-the-world/
178•AaronO•14h ago•134 comments

Elevated error rate across multiple models

https://status.claude.com/incidents/jbhf20wjmzrf
153•rob•1h ago•180 comments

8086 Segmented Memory was a good idea

https://owl.billpg.com/8086-segmented-memory-was-a-good-idea-almost/
52•billpg•2d ago•96 comments

My Mathematical Regression

https://blog.dahl.dev/posts/my-mathematical-regression/
339•aleda145•4d ago•134 comments

Epidurals are a miracle technology

https://worksinprogress.co/issue/the-wonder-of-epidurals/
74•karakoram•2d ago•54 comments