Does the api support progress reporting? ("30 % done")
Of course one could build this manually when you're building the worker implementation but I'd love to have it reflected in the api somewhere. Celery also seems to be missing api for that.
Anyone sees a reason why that's missing? I don't think it complicates the api much and seems such an obvious thing for longer-running background tasks.
To implement progress reporting, it means you are able to know the time a task would take to run upfront, no? Is it even possible to do it accurately ?
Though, I imagine you could have strategies to give an approximation of it, for example like keeping track of the past execution time of a given type of task in order to infer the progress of a currently running task of the same type.
The way it's typically done is that the worker process reports back its progress to the job metadata on the queue, and the web worker polls the job metadata to read the progress. I've implemented this for progress bars many times on Django with django-rq.
I had previously asked about this. My understanding is that there is a desire to add functionality to allow this, but in this first release the task system is intentionally very lightweight.
Didn't work out that well, sadly. At first it gave me a greek pillars, then when trying english translations it at least gave me some springs.
It knew the https://anycrap.shop/product/airhook. But only for light loads like snacks and the "heavgy duty airhook" it wanted to sell me is for a clothesline. While useful, I'm afraid your product engineers have to spend some more time so that we can reliably suspend cars from the air again.
> I know they are worlds apart, but just look at what happened in Nepal...
They let hotel inhabitants leave before burning it down. The finance minister got caught by the mob and survived. Does make it seem quite controlled, imo.
> The Affordable Care Act requires employers to report the cost of coverage under an employer-sponsored group health plan. Reporting the cost of health care coverage on the Form W-2 does not mean that the coverage is taxable. The value of the employer’s excludable contribution to health coverage continues to be excludable from an employee's income, and it is not taxable. This reporting is for informational purposes only and will provide employees useful and comparable consumer information on the cost of their health care coverage.
So, it went from "I pay $50/month for healthcare" to "my paycheck says they're taking $2k/month! what the fuck?!" in folks' minds.
Why would they do anything else? Last Trump Presidency caused incredible inflation that for a huge part went into the stock market, because where else can it go?
I suspect people underestimate how much third world shitholes are willing to pay to have more influence over the discussion on twitter. Doesn't matter if it's saudi arabia, india or russia.
German law knows no jurisdiction boundary for german citizens. A german that breaks german law but can't be charged in the country were they did it can still be charged in germany. (Weltrechtsprinzip)
“Taten, die ein deutscher Amtsträger oder für den öffentlichen Dienst besonders Verpflichteter während eines dienstlichen Aufenthalts oder in Beziehung auf den Dienst begeht”
Now, all of this first requires that a crime was committed - and that’s not even clear. If the collection happened on the basis of a law, doing the collection would not be a crime. The article shows no proof that the Bundeswehr mishandled the data.
Does the api support progress reporting? ("30 % done")
Of course one could build this manually when you're building the worker implementation but I'd love to have it reflected in the api somewhere. Celery also seems to be missing api for that.
Anyone sees a reason why that's missing? I don't think it complicates the api much and seems such an obvious thing for longer-running background tasks.