Solving soduku with python packaging :exploding_he...
# random
d
Solving soduku with python packaging 🤯 https://simonwillison.net/2024/Oct/21/sudoku-in-python-packaging/
meow popcorn 1
🤯 1
j
earlier article with a bit more explanation https://www.splitgraph.com/blog/poetry-dependency-resolver-sudoku
ā¤ļø 1
f
Next up, someone needs to do this for all python package manager and compare them
d
I can 100% see
pixi
and
uv
using this as a perf benchmark šŸ˜‚
f
Potentially adding easy, medium and hard sudoku puzzle with bigger matrixes and solving them. If a solver solves all of them, potentially a good one. If one fails, maybe it wouldn't work 100% so yeah it could be an interesting benchmark šŸ˜„
ā¤ļø 1
b
I love this as a demo of what dependency resolution looks like!! As a benchmark though it would be utterly useless šŸ™‚ • With dependencies, you typically want the highest resolving set of dependencies. • With sudoku, you have only a single set of resolving dependencies It's subtle but critical. I wonder if there as a similar puzzle that could be used instead, because the idea is awesome šŸ¤”
j
the real benchmark is
pip install mlrun
šŸ˜‚ 3
f
I had a quick 3 mins look into mlrun, I can safely say you're probably 100 right. I still have no clue what problem they're solving. Looks like lots of different keywords thrown into it so yeah šŸ˜„
šŸ‘€ 2