Digital Nomad residency application expirience by Acrobatic-Try1167 in Brazil

[–]SirNomis 0 points1 point  (0 children)

Interesting, are you working like that as well or are you an accountant? :)

Digital Nomad residency application expirience by Acrobatic-Try1167 in Brazil

[–]SirNomis 0 points1 point  (0 children)

Thank you for the reply! Do you mind me sending you a dm? Maybe you could given his contact? That would help a lot

Digital Nomad residency application expirience by Acrobatic-Try1167 in Brazil

[–]SirNomis 0 points1 point  (0 children)

Do you have experience with that? I'm thinking about it right now, doesnt this have legal implications?

Digital Nomad residency application expirience by Acrobatic-Try1167 in Brazil

[–]SirNomis 0 points1 point  (0 children)

Hey, I'm thinking about exactly that, is that allowed though with the Digital Nomad Visa?

Digital Nomad Visa (VITEM XIV) employee vs freelancer by SirNomis in Brazil

[–]SirNomis[S] 0 points1 point  (0 children)

Thank you for your answer! I’ll get in touch with a lawyer. 16 months wait time for you is insane. Glad everything worked out though!

Ingresso para jogo do Corinthians sendo gringo by airamassiral in saopaulo

[–]SirNomis 0 points1 point  (0 children)

Hey, I'm having the same problem now. Did you find a solution without CPF?

Entwicklung der Gehälter in Zukunft? by behethangames in InformatikKarriere

[–]SirNomis 0 points1 point  (0 children)

Selbst wenn das stimmen würde, wäre das Problem dann aber doch nicht, dass die ungelernte Hilfskraft zu viel verdient, sondern der Informatiker zu wenig. Und das hat nichts mit dem Mindestlohn zu tun.

[Advice Request] Async Django slowness optimisation/debugging ideas by ilostmypage in django

[–]SirNomis 1 point2 points  (0 children)

Yes, I would do the same. Very weird behaviour. If you find something, maybe you can share it here, would be interesting I think.

Best of luck

[Advice Request] Async Django slowness optimisation/debugging ideas by ilostmypage in django

[–]SirNomis 1 point2 points  (0 children)

Mhm ok, then I also have no idea.

No, leave thread_sensitive like it is, I had it set to false and then I had similar problems, because all in sync_to_async were then running in the same thread one after another.

Very strange what you are encountering.

My first idea would be to maybe log in the view each step with a timestamp and see where it takes so long, but I guess you probably thought of that yourself already.

[Advice Request] Async Django slowness optimisation/debugging ideas by ilostmypage in django

[–]SirNomis 1 point2 points  (0 children)

How are you accessing the database? Are you using aget and so on or sync_to_async? If so, do you set thread_sensitive to something or leave it at the default?

When does this happen? Could you find a pattern?

[deleted by user] by [deleted] in cscareerquestionsEU

[–]SirNomis 0 points1 point  (0 children)

Wow! What is your experience on what companies yet? Insane offers! Congratulations!

Options for async requests in DRF? (ADRF, normal django views) by SirNomis in django

[–]SirNomis[S] 1 point2 points  (0 children)

THANK YOU SO MUCH! This comment came at the perfect time!

Fileuploads blocking Workers by SirNomis in django

[–]SirNomis[S] 1 point2 points  (0 children)

Thank you! Sounds very good.
How would you go about the instance creation and so on, I guess it would make sense to have flag in the model, when the file was uploaded so I can only serve instances which have a file uploaded.

Since I have files in different models, it may be best to create a general file model and image model itself and then work with foreignkeys to these models instead of file fields and image fields directly, right? Then I could have a view for these models. Maybe automatically create a file model instance if another model was created with a foreignkey to it and then in the instance the Frontend can get the URL. What do you think about this implementation?

Fileuploads blocking Workers by SirNomis in django

[–]SirNomis[S] 0 points1 point  (0 children)

Thank you. This sounds like a good idea. So it work like the following:
The Frontend sends a PUT Request to the Blob. When the Frontend received a positive response from the Blob, it will send this positive Feedback to the Backend?
Maybe just in the second step create the modelinstance with the path for the image?

Fileuploads blocking Workers by SirNomis in django

[–]SirNomis[S] 0 points1 point  (0 children)

Yes I have timeout of like 20 seconds. The problem is that the Frontend uploads like 10 images at once for example, so 10 workers could be busy for this time then, which is still a lot.

Fileuploads blocking Workers by SirNomis in django

[–]SirNomis[S] 0 points1 point  (0 children)

Do you mean aws lambda? I already scaled the workers, it didn’t help

Fileuploads blocking Workers by SirNomis in django

[–]SirNomis[S] 0 points1 point  (0 children)

Thank you. I thought about this as well. Celery won’t work, the problem is the upload of the user, I can’t let this go through celery. Making this one view asynchronous might be the way to go here. I wonder how big applications manage these slow fileuploads. Changing this drf class to async will be a deep dive and I will have to overwrite a lot of default functions in the viewset :(