News for hackers. Stuff that matters.
Re:Red Engine: modern scheduling framework for Python applic... by Groxx on Sunday July 03, 2022 @02:16PM (#31969763)

    @app.task('daily & is foo', execution="process")
followed by

    @app.task("after task 'do_daily'")
Yeah, I did a hard turn towards "nope" right there.

Similar but not quite Python combined with similar but not quite English does not make a tasty dish. It makes yet another pointless one-off thing to learn and struggle with.

Re:Red Engine: modern scheduling framework for Python applic... by nerdponx on Sunday July 03, 2022 @02:26PM (#31969840)
These in particular remind me of "Baba Is You", which is probably not a good thing for an API.
Re:Red Engine: modern scheduling framework for Python applic... by aeyes on Sunday July 03, 2022 @03:23PM (#31970243)
For some reason they chose to put the concept which is hardest to understand on the front page. 'is foo' is showing how to define and use a custom condition, the conditions in the rest of the documentation are easy to understand and make sense to me.

The only way I could see me struggle with this would be to piece together a large call graph in my head. I can understand why the author says that Airflow is better suited for this case because you get a visualization.

Re:Red Engine: modern scheduling framework for Python applic... by elcapitan on Sunday July 03, 2022 @03:08PM (#31970138)
Just got hard AppleScript PTSD.