Hacker Newsnew | past | comments | ask | show | jobs | submit | Grollicus's commentslogin

That's intersting to see.

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.


> To implement progress reporting, it means you are able to know the time a task would take to run upfront, no?

No. You just need to know the total number of steps and what step are you currently on.


You're right, but I also don't find a way a task queue library could know that upfront either to implement progress reporting.

Does anyone know a task queue library that implement it ? I would be curious to look at it !


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 first learned about it from Miguel Grinberg's Flask tutorial: https://blog.miguelgrinberg.com/post/the-flask-mega-tutorial... But the same concept applies to Django.


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.


Do you have any source one could follow? mail thread, bug tracker issue, ..?


This is the repo where the development of django-tasks is happening: https://github.com/realOrangeOne/django-tasks


Reminds me of xerox scanner fun, maybe someone scanned it to pdf to publicise?

Nontheless the pdfs have been replaced and the newer ones don't seem contain these errors anymore.


With many eyes, all typos are embarrassing.

The new document is an image.


I've tried the Kolbenrückholfeder of your shops non-ai-predecessors fame: https://etel-tuning.eu/produkt/tuning-kolbenruckholfeder/

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 finance minister was paraded round the streets of Nepal in his underwear and badly beaten. Do you consider that controlled?


Shouldn't that be obvious on the payslip?


That's part of the problem; it's only legally required to be shown post-ACA.

https://www.irs.gov/affordable-care-act/form-w-2-reporting-o...

> 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?


This is pretty much my investment thesis for the foreseeable future.


revenue is ~80000mil, that comma is a thousands separator


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.


Couldn't read the techcrunch article but this one was quite nice: https://tylergarrett.com/tech/2023/03/beloved-hacking-vetera...


This is the same article, rehosted under a different author name.


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)


The Weltrechtsprinzip only applies for a limited set of laws. I am not sure this would fall under them.


The list of laws can be found here (German) https://de.m.wikipedia.org/wiki/Weltrechtsprinzip and almost certainly does not cover this.

However, you could try to argue that § 5 StGB 12 (Auslandstaten mit besonderem Inlandsbezug) applies https://www.gesetze-im-internet.de/stgb/__5.html

“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.


Also, the Weltrechtsprinzip doesn't seem to be specific to Germany. Is there something in its German flavor that is remarkable?


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

Search: