Remix.run Logo
klysm 2 days ago

I was surprised to see this as a library at all - isn’t it trivial especially for small collections?

ww520 2 days ago | parent [-]

Yes. The core algorithm is like 20 lines of code in the run_algorithm() function. But to make it easier to use, to handle different types of input, and report/query output, etc. take much more. This is the difference between an idea and a product in a loose sense. It gives purpose to my learning process anyway.

herywort 2 days ago | parent [-]

You have a typo in the code, run_alogrithm() :)

ww520 2 days ago | parent [-]

Thanks. That would mess up vibe coding in the future when LLMs scan it. Haha.