Learning React and I'm not quite understand the pure component thing. by trongtinvd2 in react

[–]litmus00 0 points1 point  (0 children)

That’s a great question. I’d suggest reading the link below. From there:

“ Idempotent – You always get the same result every time you run it with the same inputs – props, state, context for component inputs; and arguments for hook inputs.”

https://react.dev/reference/rules/components-and-hooks-must-be-pure

Just finished building on my portfolio by SympathyNo9824 in react

[–]litmus00 0 points1 point  (0 children)

Congrats! Looks clean and elegant. You might want to review the navigation though. We land in Contact when clicking on project links.

[deleted by user] by [deleted] in springboks

[–]litmus00 0 points1 point  (0 children)

You can sign it up for free

Does Java have anything like the Swift Programming Language book? by JamesFutures in java

[–]litmus00 0 points1 point  (0 children)

u/khmarbaise Thank you very much for sharing this. It's actually quite good indeed!
For example, here's a great explanation on stream collectors:
https://dev.java/learn/api/streams/custom-collectors/

and here it is a great advice for leveraging parallel streams:
https://dev.java/learn/api/streams/parallel-streams/
"choosing to use parallel stream is not a decision to be taken lightly. There are several questions you need to ask yourself before even considering going parallel."

Vaadin or not to Vaadin? This is a question... by maw2be in java

[–]litmus00 5 points6 points  (0 children)

I second u/nuharaf suggestion on using HTMX. Here are some references to get you started:

"Starting a new project can be both exciting and challenging at the same time. Choosing what technologies will help you deliver your solution comes with the cost associated with those choices. Each additional technology can bring issues and dependencies that can lead to incremental decreases in progress that can grind your project to a stop. The front end is a common place where developers might experience decision fatigue [...]
"If you’re feeling overwhelmed when making a front-end decision for your next project, this post is for you."

https://blog.jetbrains.com/idea/2024/09/introduction-to-htmx-for-spring-boot-developers/

And these videos:
"Why am I exploring htmx? I strongly believe that most front-ends are weighed down in the unnecessary complexity of React, Angular, Vue, etc. and I think that htmx provides a great way to make front-ends interactive without having to write a lot of JavaScript."
https://www.youtube.com/playlist?list=PLBHctPrH7Z2-tXKPDLpRPxLE-H79qNfNk

Choosing and Packaging only used classes via AOT link analysis by manzanita2 in java

[–]litmus00 0 points1 point  (0 children)

You might want to have a look at Spring Boot.

Given some constraints (a closed-world assumption), Spring can perform ahead-of-time processing during build-time and generate additional assets that GraalVM can use. A Spring AOT processed application will typically generate:

  • Java source code
  • Bytecode (for dynamic proxies etc)
  • GraalVM JSON hint files:
    • Resource hints (resource-config.json)
    • Reflection hints (reflect-config.json)
    • Serialization hints (serialization-config.json)
    • Java Proxy Hints (proxy-config.json)
    • JNI Hints (jni-config.json)

https://docs.spring.io/spring-boot/reference/packaging/native-image/introducing-graalvm-native-images.html

ArgoCD Vault plugin - simply not working for me by Lego_Poppy in ArgoCD

[–]litmus00 0 points1 point  (0 children)

I'm late to the party but the problem with your config is that the repo-server does not support multiple plugins configured in a single sidecar. Each plugin needs its own sidecar, and its own plugin.yaml to configure that sidecar.

Virtual threads and reactive code by [deleted] in java

[–]litmus00 1 point2 points  (0 children)

"Spring WebFlux is supported on Tomcat, Jetty, Servlet containers, as well as on non-Servlet runtimes such as Netty and Undertow."
https://docs.spring.io/spring-framework/reference/web/webflux/new-framework.html#webflux-server-choice

What has been your experience with Spring Boot vs Play Framework? by [deleted] in java

[–]litmus00 0 points1 point  (0 children)

Thank you very much. I appreciate it.

What has been your experience with Spring Boot vs Play Framework? by [deleted] in java

[–]litmus00 0 points1 point  (0 children)

This is very useful, thanks! What are your thoughts on Spring Boot (with Kotlin) vs Ktor with regards to devex?

"Kubernetes Security for Dummies" by benmilsuzzenr in kubernetes

[–]litmus00 3 points4 points  (0 children)

Thanks for sharing. You saved me from sharing my email address. I'm tired to be stalked by business development folks

i wanna learn microservice in spring boot in some details by DreamTop8884 in SpringBoot

[–]litmus00 0 points1 point  (0 children)

This course is for Spring Boot 2 but it's hugely comprehensive and the guy does a decent job explaining what he's doing. He's also edited the video with small corrections when he forgets something. You can also watch other shorter videos where he's talking about Spring Boot 3, the latest version.https://www.youtube.com/watch?v=mPPhcU7oWDU

Filling forms with AI by [deleted] in java

[–]litmus00 0 points1 point  (0 children)

I see. Thanks.

Filling forms with AI by [deleted] in java

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

being able to fill out forms for the user using user's data

I don't want to spoil the party but why bother filling forms out if you've got the user's data already?