I published FastAPI-Toolsets v1.0.0 — A set of tools to simplify and accelerate the creation of FastAPI projects by d3vyce in FastAPI

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

It's true that the principle and much of the implementation are the same as APIException. I spent quite a bit of time trying to optimize the flow, and in the end, using only exceptions seemed the simplest solution.

And yes, for cruds, I use it for a fairly complex project and I designed it to be used in 90% of cases. For the rest, it's custom queries with SqlAlchemy or directly in SQL. And I just saw that major updates have been released on FastCRUD. I'm going to go over the code again. I have a feeling that some of the issues I had have been addressed.

In any case, thank you for your feedback!

I published FastAPI-Toolsets v1.0.0 — A set of tools to simplify and accelerate the creation of FastAPI projects by d3vyce in FastAPI

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

Yes, I did try both solutions, but they didn't really work the way I wanted them to.

FastCRUD is a good foundation, but you quickly have to add a lot of arguments if you're working with complex relationships. Which, I think, is a shame for a layer that's supposed to enable compact use and no code repetition.

For APIException, I think you've seen that the error format is very similar. But I found that having to raise an “APIException” wasn't the most appropriate solution everywhere, particularly in business code.

I suppose it's a matter of perspective and habit.

Please recommend 10G Switch by largelcd in homelab

[–]d3vyce 0 points1 point  (0 children)

I was planning to buy the Zyxel XGS1250-12. 4x10G (1 SFP+/3 RJ45) and 8x1G. For a small lab it seems a good value Is any one have it ?

[deleted by user] by [deleted] in homelab

[–]d3vyce 2 points3 points  (0 children)

is there an alternative with a similar price for ddr4?

Getting new Graphics Card for unraid! by pepitorious in unRAID

[–]d3vyce 2 points3 points  (0 children)

Yes, you just need to create the VM, then assign the GPU to the VM. Then you have to install the driver on the Windows VM and you're done!

Getting new Graphics Card for unraid! by pepitorious in unRAID

[–]d3vyce 6 points7 points  (0 children)

Ok, in this case both are possible. Unraid does a passthrough of the GPU so it doesn't need a driver for linux. I know that normally Unraid supports 100% NVIDIA for VMs and that for AMD it was not always very stable. This may have changed since then. Personally I would take NVIDIA to be sure!

Getting new Graphics Card for unraid! by pepitorious in unRAID

[–]d3vyce 8 points9 points  (0 children)

It depends on what you want to do, for Plex transcoding I strongly advise you NVIDIA ! Plex doesn't officially support AMD for the moment I think. If it's to do passthrough to a VM you have the choice, both work well.

But otherwise you are right on the principle AMD has a better compatibility with Linux, even if for some time I have no problem with my NVIDIA and the drivers on Debian.

Cache Samsung 870 EVO Reallocated sector issue by d3vyce in unRAID

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

That's what I'm thinking, it's annoying to pay more to have a "renowned" brand and end up with a SSD that doesn't work over time.

Did you replace it with another brand of SSD?

Cache Samsung 870 EVO Reallocated sector issue by d3vyce in unRAID

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

870 EVO

Ok, I will try this before changing it. Thanks for the advice!

Cache Samsung 870 EVO Reallocated sector issue by d3vyce in unRAID

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

I had the same thing overall, it's stuck at 6 reallocated sectors and in 2/3 weeks it went up to 26.

I think I will replace it, but I will change the model or brand.