Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I was trying out a flask and tailwind based course on udemy and one of the first things they wanted me to do was download rye and do a bunch of other boilerplate stuff. I didn’t fancy downloading some random executable from the internet and running it just for a udemy course so I tried to grab the GitHub repo and build it. No dice. I finally gave up on rye and other python tooling and did the udemy course using sinatra and tailwind. Which was vastly easier.


> I didn’t fancy downloading some random executable from the internet

Flask and Sinatra contain code. They may not be "executables" by default but you will probably not read the source and they could obfuscate sending your local data to some malicious server or something. Also lots of python dependencies run code at install time (mostly to complie native dependencies but it is running python code that could be doing anything) so even before you run the test server for the first time just installing the dependencies may run code.

Open source is built on a web of trust. You could argue there's too much of it but I don't see a reason to declare rye one step too far.


I think the next time someone asks me to describe Python I’m just going to reply, “Beautiful, but crazy.”


Well, rye is developed in Rust, so I guess the same goes for the rust ecosystem


How did you install Sinatra? Did you download an executable and it just worked?


Really? For me it was as simple as: cargo install --git https://github.com/astral-sh/rye rye


One must assume cargo comes pre-installed on your system. Right?

On similar note: it's funny how you believe that installing from a Git repository is going to provide reproducible experience for everyone. Like, you haven't even considered the possibility that some time after you've done that another commit was added to that repository and things stopped working in the way they did before, did you?

Like... I mean, just give it some... a tiny bit, really, it doesn't require that much of critical thinking... and you'll see how your "advise" is ill-advised.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: