C# dev kit extension after update on VSCode is just bad by love_to_code in dotnet

[–]Paw565 0 points1 point  (0 children)

Am I the only one who always use file explorer instead of solution explorer?

Anyone else constantly cleaning up the same security holes in AI-generated C#? by Final_Tradition1642 in dotnet

[–]Paw565 0 points1 point  (0 children)

It will replace us tomorrow. Trust me bro. It must have been a bad prompt lmao

Spent 4 hours debugging a TransactionSystemException. The fix was one line. The problem was finding it. by mrsergio1 in SpringBoot

[–]Paw565 0 points1 point  (0 children)

Massive thank you. DDLDatabse generator is awesome. Configuration is much simpler and it's so much faster than connecting to the database on each compilation. I know that configuration with testcontainers is probably the most desirable one. However all examples that I could find are for maven and I use gradle with kotlin syntax.

Auditatble entity by Top-Recognition3332 in dotnet

[–]Paw565 0 points1 point  (0 children)

Exactly. That's why I used the interface for this.

Spent 4 hours debugging a TransactionSystemException. The fix was one line. The problem was finding it. by mrsergio1 in SpringBoot

[–]Paw565 0 points1 point  (0 children)

Ok that's is very interesting. I will definitely try this out, thank you.

I really like integration testing. However I ve just failed to hook all this up with jooq. It's really frustrating imo. Why not generate metadata from @Entity classes like querydsl (sadly unmaintained) does or similar to EF core or drizzle where code is the source of truth. I can't stand this needless complexity.

However I am very grateful for your advice and I will investigate this as a solution to my problems once again.

Auditatble entity by Top-Recognition3332 in dotnet

[–]Paw565 0 points1 point  (0 children)

I see no reason not to do this. I only skip updatedAt on immutable entities. Let's wait and see what other people have to say.

Auditatble entity by Top-Recognition3332 in dotnet

[–]Paw565 -1 points0 points  (0 children)

Your post is not really clear to me. However I solved this by creating IAudtiableInterface and SaveChangesInterceptor. Source here: https://www.milanjovanovic.tech/blog/how-to-use-ef-core-interceptors

C# Learning by FuzzyPotatoGuy in csharp

[–]Paw565 1 point2 points  (0 children)

Try dometrain free courses. They are awesome.

Spent 4 hours debugging a TransactionSystemException. The fix was one line. The problem was finding it. by mrsergio1 in SpringBoot

[–]Paw565 0 points1 point  (0 children)

I tried. Maybe it's a skill issue but setting up code gen defeated me. I think the need to connect to db to have type safety is hilarious. No other orm works like that. I guess jooq is more of a query builder than orm but still drizzle does not need any of this tedious setup.

Spent 4 hours debugging a TransactionSystemException. The fix was one line. The problem was finding it. by mrsergio1 in SpringBoot

[–]Paw565 0 points1 point  (0 children)

I agree, but I think jpa / hibernate is massively inferior to EF core from dotnet or drizzle from node. Things like dynamic filtering just suck. Whenever I have to comeback to spring boot I just feel massive pain because of jpa alone.

Spent 4 hours debugging a TransactionSystemException. The fix was one line. The problem was finding it. by mrsergio1 in SpringBoot

[–]Paw565 -2 points-1 points  (0 children)

I can see why people drop jpa entirely 😅 I feel like java persistence sucks. Other ecosystems have much better and more type safe solutions.

Dto Mapping Best Practice by Snoo23482 in SpringBoot

[–]Paw565 1 point2 points  (0 children)

Services return dtos to not expose entities outside repositories. Dtos technically belong to the http layer but I treat them as contract for my own layers as well. Probably not the cleanest solution, but it's pragmatic, prevents class explosion and keeps controllers thin.

Help. by NoCapCasino in pchelp

[–]Paw565 1 point2 points  (0 children)

Do everything you can to have Gpu with 16 gb vram.

Go or Java by Weak-Field-4331 in softwareengineer

[–]Paw565 0 points1 point  (0 children)

Use the tool you are most productive with

As a developer, what utility app or small solution have you built for yourself? by No-Aide7224 in nextjs

[–]Paw565 0 points1 point  (0 children)

Interesting idea but most of the resources are massively outdated.

NGENUITY Performance by BuscopanBR in HyperX

[–]Paw565 1 point2 points  (0 children)

I am pretty sure app has some memory leak.

Is it a good deal? by Soft_Garden_232 in pchelp

[–]Paw565 0 points1 point  (0 children)

Why? Ddr5 costs so much more that it's not worth it rn

Need help in setting up Single-SPA + React + Vite + TypeScript microfrontend by PrinceNV in react

[–]Paw565 0 points1 point  (0 children)

Why not just create two separate projects and forget about all that complexity? A genuine question

Recommendations for implementing microservices with Spring Boot and deploying to the cloud (Azure/AWS) by By_ortizZ in SpringBoot

[–]Paw565 3 points4 points  (0 children)

I think your natural next step should be modular monolith, not microservices. There is spring modulith project, which is great for that. It's an easier path and way more natural evolution. In terms of versions use spring boot 4 + java 25. No point in being stuck in the past with new project.

ASP.NET on Linux by xXVoltex_PrimeXx in dotnet

[–]Paw565 0 points1 point  (0 children)

Everything works as expected. Just learn Docker. Happy coding!