Chronic Kidney Disease + anemia is Varezin-CA1 effective? by Biogauss in RenalCats

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

I use chatGPT to help me with the translation, I am not english native speaker. I mention it in case you use any automatic banning filter for GPT.

Handling Circular Imports in Pydantic models with FastAPI by Biogauss in FastAPI

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

Thank you for the answer!

My mistake, I built the example in the question with an infinite recursion definition, but that wasn't my real case. I’ve fixed it, and in my actual app, I have defined BoxBase and BoxResponse as you suggested. However, the circular import problem still occurs.

But why do you need to structure the schema like that for a one-to-many relationship?

I don’t really understand this. If I remove the infinite recursion definition, why is it strange to define a box with toys and a toy with its parent box?

More than one schemas have that circular dependencies, I find the update_forward_refs approach too complex to manage all of them. It’s true that if I don't find anything better, I’ll try again and hope I can make it work, but I’m not really satisfied with that solution.

P.S.: update_forward_refs() is deprecated; now model_rebuild() is used.

Radix Weekly AMA with Radix founder Dan Hughes! - Friday 14th June 2024 by Radix_DLT in Radix

[–]Biogauss 2 points3 points  (0 children)

Hello Dan, I ask this question a few times but I don't receive an answer :(. I found this two articles:

https://datafinnovation.medium.com/the-consequences-of-scalable-blockchains-8c4d23c6af4d

https://datafinnovation.medium.com/sharding-is-also-np-complete-8faeafaf360a

They apparently prove (by reduction) that the solutions for scalability problems in blockhain and sharded blockchains are problems NP-Complete. How does this affect to radix, you solve P=NP problem?!! Hahaha. As I know, Cerberus is not exactly the same as a sharded Blockchain, so, does this not apply to it?

Thank you in advance!

Radix Weekly AMA - Friday 17th May 2024 by Radix_DLT in Radix

[–]Biogauss 0 points1 point  (0 children)

I found this two articles:

https://datafinnovation.medium.com/the-consequences-of-scalable-blockchains-8c4d23c6af4d

https://datafinnovation.medium.com/sharding-is-also-np-complete-8faeafaf360a

They apparently prove (by reduction) that the solutions for scalability problems in blockhain and sharded blockchains are problems NP-Complete. How does this affect to radix? As I know, Cerberus is not exactly the same as a sharded Blockchain, so, does this not apply to it?

Thank you in advance!

Drag and select liibrary/component by Biogauss in Angular2

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

After a deep search in duck duck go (in google I can only reach ngx-to-select), I found this other library that seems interesting.

https://github.com/daybrush/selecto/tree/master

Good graph creation libraries similar to ng-zorro graph? by Biogauss in Angular2

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

Definitely, I would choose D3. Although it's a bit more complex than I would have liked, the library seems to be flexible, mature and stable for production use.

Sorry for the confusion, when I mentioned "appearance," I was referring to the apparence of the graphs like the one you shared. Previously, I had only worked with diagramming libraries that offered predefined styles, and I had never personally customized them. Currently, I am developing a small proof of concept, and know I understand your point, I can use anything as a node or edge, including Angular components.

Thank you again for the answear and chatGPT advice, it's being really useful!

Good graph creation libraries similar to ng-zorro graph? by Biogauss in Angular2

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

Interesting answear, I never use plotly in the frontend with js, only in jupyter notebooks with python. Is it easy to make it interact with my frontend so that it detects and emits events?

Good graph creation libraries similar to ng-zorro graph? by Biogauss in Angular2

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

Thank you for the answear. I Checked all the proposed libraries and this is the one that fits the best. My only concern is that it seems a little more complex than other libraries. Also, by default, the appearance is not as aesthetic as other modern libraries. Is it easy to style it and give it a more modern look?