[HN Gopher] Solving Wordle with uv's dependency resolver
___________________________________________________________________
Solving Wordle with uv's dependency resolver
Author : mildbyte
Score : 121 points
Date : 2025-07-05 23:28 UTC (1 days ago)
(HTM) web link (mildbyte.xyz)
(TXT) w3m dump (mildbyte.xyz)
| stared wrote:
| Next step: playing Doom with uv's dependency resolver
|
| (reference to: https://news.ycombinator.com/item?id=43184291)
| slightwinder wrote:
| Extra points when it runs on an oscilloscope (because pregnancy
| testers are boring now).
| falcor84 wrote:
| Not directly related to uv, but I started looking into this
| now and stumbled upon this discussion about how it's easier
| to have Quake "render" onto an oscilloscope than Doom:
|
| https://forums.sufficientvelocity.com/threads/is-it-
| possible...
| contravariant wrote:
| Drawing images on an oscilloscope is fun, but I'm not sure if
| I would count it as a _novel_ hack.
| Fuzzy1000 wrote:
| Yes please
| kibwen wrote:
| If you wanted to leverage uv's package resolver for a less
| deliberately silly purpose, note that it's using the pubgrub-rs
| library under the hood: https://github.com/pubgrub-rs/pubgrub
| simonw wrote:
| Here's my favorite of the Soduku attempts at this (easier to get
| your head around than Wordle since it's a much simpler problem):
| https://github.com/konstin/sudoku-in-python-packaging
|
| Here's the same Sudoku trick from 2008 using Debian packages:
| https://web.archive.org/web/20080823224640/https://algebraic...
| mildbyte wrote:
| Funnily enough, I did a Sudoku one too (albeit with Poetry) a
| few years ago: https://github.com/mildbyte/poetry-sudoku-solver
| spelunker wrote:
| Ok, now do npm!
| chatmasta wrote:
| npm allows you to have multiple versions of one package
| installed, so I'm not sure it will work for this, unless you
| use a package manager that allows you to set constraints like
| "only one version of this package can be installed."
| spelunker wrote:
| Yeah, turns out I should have read TFA:
|
| >The short summary of the Sudoku + Poetry post is that unlike
| Rust or JavaScript, a single Python project cannot use more
| than one version of a specific Python package.
| Joker_vD wrote:
| I express my deepest gratitude to the author for _not_ publishing
| all those "wordle-*" packages to the PyPI. Thank you!
___________________________________________________________________
(page generated 2025-07-07 23:00 UTC)