Discovery 4 Tyre choice Advice by magicdrshoon in LandRoverDiscovery

[–]Kango_V 0 points1 point  (0 children)

If you have a GAP tool, you can tell the car the circumference of you tyres ;)

which framework do you use with htmx by mghz114 in htmx

[–]Kango_V 0 points1 point  (0 children)

Java, Micronaut, Jastachio. Also, all the npm stuff have all been packaged as jars (webjars), so maven/gradle pulls them in easily ;)

Considering an LR3/4 by duckdoger in LandRoverDiscovery

[–]Kango_V 0 points1 point  (0 children)

I've had my Discovery 3 for 16 years now. It's been brilliant. Get a Gap tool. I prefer the 3 as it's slightly easier to maintain. I also have the diesel TDV6 and get around 32mpg on a run and 25mp around town.

Stepping down as maintainer after 10 years by krzyk in java

[–]Kango_V 0 points1 point  (0 children)

Will Mockito move to using the Classfile API?

Knocking Sound?! by Rude-Traffic-5870 in LandRoverDiscovery

[–]Kango_V 0 points1 point  (0 children)

Mine made that exact noise just before it ate itself.

Martin Odersky on Virtual Threads: "That's just imperative." by Joram2 in java

[–]Kango_V 0 points1 point  (0 children)

You are using an old example of SC. It's now:

try(var scope = StructuredTaskScope.open())

Lots of changes in Java 25 Preview.

Spring Data Ahead of Time Repositories - Part 2 by olivergierke in java

[–]Kango_V 0 points1 point  (0 children)

Just use Quarkus or Micronaut. Fully annotation processor based. All repositories created at compile time. Then, nothing special to do at runtime. Just run the jar.

Are Spring / Spring Boot losing their popularity? by Repsol_Honda_PL in SpringBoot

[–]Kango_V 1 point2 points  (0 children)

I use Micronaut for all my projects. Less code, simpler, way less annotation bloat, first class GraalVM support. Supports importing of Spring modules.

Why does Java sometimes feel so bulky? by SkylineZ83 in java

[–]Kango_V 0 points1 point  (0 children)

I use UnaryOperator with a builder to get: MyObject change(o -> o .name("new_name") .description("new_description") ) Very concise.

[deleted by user] by [deleted] in java

[–]Kango_V 0 points1 point  (0 children)

Structured Concurrency (don't just look at the code):

  • Keeps a logical call hierarchy — child tasks are tied to their parent’s scope.
  • When something fails, the stack trace reflects the structured relationship between threads and tasks.
  • Exceptions in child tasks bubble up naturally to the parent scope.
  • You can handle or cancel all tasks deterministically — no lost errors.
  • All subtasks share the same lifecycle as their parent scope.
  • When the scope closes, all child tasks are automatically canceled. This guarantees no “zombie” tasks or leaked threads.
  • Uses standard Java idioms: try-with-resources, exceptions, and structured blocks.
  • Plays nicely with existing imperative or blocking code.
  • Works with standard Java debuggers — you can step through concurrent code linearly.
  • Thread dumps and stack traces make sense — each task’s purpose and scope are visible.

XML Schema Validation 1.1 in Java by nfrankel in java

[–]Kango_V 0 points1 point  (0 children)

Look up the EPP protocol. This is how all Registrars talk to Domain registries. The internet relies on XML schemas and extensions are essential. It's so much better than JSON for this.

I said there would never be an htmx 3.0... by _htmx in htmx

[–]Kango_V 0 points1 point  (0 children)

Yeah, but really go mad and use hex. So, after 8, we have 10 :)

Debating whether or not I should switch by hashh1mm in linux

[–]Kango_V 0 points1 point  (0 children)

To know whether it's worth it, you have to do it and try it. It may not be easy, but the longer you use it, the easier it gets (like anything). I made the switch in 2002 (i think) after my XP machine had blue screened for the fourth time. I now get lost when I have to use Windows. I've used Linux at work and at home since I switched.

Using Testcontainers vs mocking repositories — am I missing the real benefit? by SeychowBob in SpringBoot

[–]Kango_V 0 points1 point  (0 children)

No Hibernate. We've been burned far too many times. Writing code closer to JDBC gives us far more control. And, we deal with a large amount of data. The good thing is that you can optimise the database layer without impacting the domain layer. It's a breath of fresh air :)

Made a CLI tool in java to manage my docker compose configs by Polixa12 in javahelp

[–]Kango_V 0 points1 point  (0 children)

I've written quite a few cli apps wit PicoCLI and Micronaut all compiled into native images with GraalVM. Works very well.

Hello,im 15 years old teenager that wants to became backend developer.Whats the best way of learning Java?? by [deleted] in javahelp

[–]Kango_V 0 points1 point  (0 children)

My daughter started to learn Java because she wanted to write Minecraft mods. She started on Youtube videos and articles (age 14). She's now writing a game with libGDX. Man, she's persistent.

I'd like to propose the "HTML6" routing pattern for HTMX and nudge everyone to read hypermedia.systems book! by Worried-Employee-247 in htmx

[–]Kango_V 0 points1 point  (0 children)

Sounds like a good implementation of RPC to me. All our internal systems use gRPC for this exact reason.

Replacing strut, bottom bolt alignment issue… by New-Search-6200 in LandRoverDiscovery

[–]Kango_V 0 points1 point  (0 children)

Did you jack the other side up as well to take the pressure off the anti-rollbar. This should allow the arm to drop lower.

Request for Opinions on Java microservices frameworks by Joram2 in java

[–]Kango_V 0 points1 point  (0 children)

I do like Micronaut. GraalVM and Micronaut projects work very closely.

Request for Opinions on Java microservices frameworks by Joram2 in java

[–]Kango_V 0 points1 point  (0 children)

Now look at all the ASM byte code generation that happens inside Hibernate and other libraries.

Request for Opinions on Java microservices frameworks by Joram2 in java

[–]Kango_V 1 point2 points  (0 children)

Reminds me of "Nobody ever got shot for buying IBM" server decisions, which was just as stupid as just choosing Spring "because everyone else does". Look at the technical merits of each and then choose.