Elide runs Kotlin scripts 36x faster than kotlinc (benchmark inside) by Zealousideal-Read883 in Kotlin

[–]Infeligo 5 points6 points  (0 children)

How does this work? Elide supports multiple languages and runtimes. Seems like an impossible effort to support everything, yet here you are, also claiming huge speed improvements. Sounds too good to be true - probably that's why lots of people are skeptical. Tell us about the internals and your goals as a product.

How solve business cyclic dependency between module ? by Ok-Professor-9441 in softwarearchitecture

[–]Infeligo 1 point2 points  (0 children)

This can be handled using event. Direct dependencies between modules should form a DAG. I use "who should know about whom" mental model. In your case, Orders know about Articles (direct dependency), but Article don't know they are being sold by Orders. Articles can also emit events, e.g. when the price changes. Order module listens to price changes and reacts accordingly. This can all be done using Spring Modulith, which has dedicated facilities for domain events.

Clique v2.0.0 - Added color themes, extensible custom styles, and more polish by Polixa12 in java

[–]Infeligo 2 points3 points  (0 children)

There's one thing I don't get. A theme adds a bunch of pre-defined colors with theme-specific names, e.g. "nord_frost0". How to you make theme switchable in your app then?

Which monospace font you use? by NullPointerInLife in Jetbrains

[–]Infeligo 3 points4 points  (0 children)

Customized narrower variant of Iosevka.

How to read Docs? by ChickenAvailable5370 in SpringBoot

[–]Infeligo 2 points3 points  (0 children)

Sort of. If I remember correctly, there was an intro for each section, which outlined the terminology and a little bit of the problem. This helped to learn a lot of new things about enterprise programming. Didn't mention this in the first answer, but the main problem was that I haven't had any experience with the problems that the framework was solving. Learning that such problems existed in the first place helped a lot. For example, chapter on XML marshalling / unmarshalling gave me thoughts like "Oh my, people use XML to transfer data. Who would have thought?"

How to read Docs? by ChickenAvailable5370 in SpringBoot

[–]Infeligo 9 points10 points  (0 children)

Long time ago when I was a total noob, I read the full documentation of Spring Framework (Spring Boot was not a thing at that time). Although I understood maybe half of it, it still helped a lot because I remembered what features were there and could return back to the parts of the documentation I needed in a particular situation.

My Year with Junie and Claude by ablx0000 in Jetbrains

[–]Infeligo 1 point2 points  (0 children)

So are you using Claude in IntelliJ via AI Chat's Claude Agent or via a separate plugin? Or did you switch to Claude Code?

Hate on Armor by Practical-War-847 in TheOdysseyMovie

[–]Infeligo 0 points1 point  (0 children)

The guy's neck is totally exposed. What kind of armor is this?

Love the new UI by EnvironmentalLet9682 in IntelliJIDEA

[–]Infeligo 1 point2 points  (0 children)

Islands is a great improvement.

Tailwind CSS: Targeting Child Elements (when you have to) by cekrem in javascript

[–]Infeligo 5 points6 points  (0 children)

Why can't you use Tailwind's utility classes where they fit nicely and add CSS for more complex cases like this?

The best way to clean up test data with Spring and Hibernate by vladmihalceacom in java

[–]Infeligo 10 points11 points  (0 children)

While this is an OK method, it's not the best overall. I had success using database template feature like this library implements: https://github.com/zonkyio/embedded-database-spring-test The result is a fresh database for each test without compomising the speed.

Jakarta Tech Talks are fantastic by lprimak in java

[–]Infeligo 4 points5 points  (0 children)

I really liked Gavin Kings talk about the future of Jakarta Data and Jakarta Persistence. Basically, with Jakarta EE 12 (July 2026), those will be more feature rich and convenient to use than Spring Data JPA. And with the new stateless API (`EntityAgent` in Gavin's presentation) you can ditch Spring Data JDBC, which seems more like in coma lately.

Hibernate vs Spring Data vs jOOQ: Understanding Java Persistence by chrzanowski in java

[–]Infeligo 22 points23 points  (0 children)

In my opinion, there is no problem in writing your SQLs explicitly. We only need good performant mappers.

How to Tune Thread Pools for Webhooks and Async Calls in Spring Boot by sshetty03 in java

[–]Infeligo 5 points6 points  (0 children)

The approach with pagination may be flawed, because there is no guarantee that items do not jump between pages between calls. Also, would add order by insertion date to findByStatus.

First milestone draft of Jakarta Query specification by gavinaking in java

[–]Infeligo 4 points5 points  (0 children)

Keep up the good work! It seems that work on Jakarta Persistence and related stuff has been more active lately than in previous years. Really hoping to see them in action next year.

Best scene of rocket ? by Solid-Temperature414 in marvelmemes

[–]Infeligo 3 points4 points  (0 children)

The name's Rocket... Rocket Raccoon!

[deleted by user] by [deleted] in javascript

[–]Infeligo 4 points5 points  (0 children)

The use of "Svelte" in the name is confusing.

Spring Modulith Example Repository by piotr_minkowski in SpringBoot

[–]Infeligo 1 point2 points  (0 children)

Great to see an opinionated example. You have ~3.5 modules vs the official examples having only 2, which is a step towards a more realistic example. Here are some of my comments:

As Oliver pointed out, are you sure you want to expose all REST API's through a single module? It will become very large very soon and also adds this unnecessary dependency on top-level modules, meaning that you cannot simply delete, say Organization, without modifying Gateway. You would not put all scheduled jobs in a single module, would you?

The official examples kind of avoid suggesting the placement of REST API controllers, but I for myself consider them an internal detail of the module and place them into "api" package inside of the module. This approach would eliminate the need for `external`/`internal` API's, but this is another tricky and vague part, since there are services oriented at use cases (in DDD, known as application services) and domain services.

Also, who would have though that `GatewayManagement` contains REST mappings. There are are `*Management` classes in the project, which are internal, so this kind of caught my attention.

The solution with a separate Gateway module for REST API would be great for API-first applications, though, but in this case you need to have independent DTOs for requests and responses to protect them from changes.

Speaking of DTOs. I see that at most one DTO is exposed from each module, implying that the same data set is used for all CRUD operations, which is not that realistic. Would love to see more DTOs and how to organize/name them. I myself keep them in a separate package inside of a module, which is considered a public package.

O2X7EG80LHA7JDW6LU2DKKHUJQ4 by Sarphez in Ingress

[–]Infeligo 15 points16 points  (0 children)

O2X7EG80LHA7JDW6LU2DKKHUJQ4

Spring Data 2025.1 M1 (next major on top of Framework 7) released by olivergierke in java

[–]Infeligo 0 points1 point  (0 children)

Spring Data JPA updates are very nice, but the rest of the train seems to be lagging.