News for hackers. Stuff that matters.
Re:Meta pledges Three-Year sponsorship for Python if GIL rem... by slt2021 on Saturday July 08, 2023 @03:08PM (#36647681)
-u flag is short for --user ( https://stackoverflow.com/questions/42988977/what-is-the-pur... )

how about when you are authoring script under your name, but then want to schedule it for cron to run periodically?

I often find myself working under my user on remote server, but then I want to schedule cron job - and run into all sorts of permissions / bugs and missing packages.

especially when multiple machines need to run this script, and I don't want to involve containers to run 20-lines simple python script.

this is why Golang is so popular - you can just scp a single binary across machines and it will just work.

Re:Meta pledges Three-Year sponsorship for Python if GIL rem... by wombatpm on Saturday July 08, 2023 @04:46PM (#36648578)
I’ve started packaging up my clients python scripts as docker images. Works great for cron tasks and updates/rollbacks are a breeze