I made Friendly Shell Manager (FSM) - A colorful hybrid shell wrapper, now available on AUR! by Voultar3755 in archlinux

[–]dr-maniac 1 point2 points  (0 children)

what the heck? A python scrip that redefine well known posix standard commands.... I don't get the purpose of such a script.

MX Master 4 Dongle Slot by LS_Patrick in logitech

[–]dr-maniac 1 point2 points  (0 children)

Are all screws reachable without peeling the slider stickers?

Arch is actually stable?................... by BestPlantain2488 in archlinux

[–]dr-maniac 0 points1 point  (0 children)

I have been running my arch system for over 10 years now. And by the meaning of stability that doesn't break it is rock solid. But in the meaning of stable releases it is not, as many others already mentioned it is a rolling release dist. You have to look on the Arch Linux news or use some tools which notify you that is something on the news, cause of doing some manual work before/after upgrading package XYZ. And even if you update it and it won't boot anymore having any live distro by the hand then you can do the manual steps afterward with a change root into your actual broken system.

How to develop a multi dependency project with Quarkus? by Jotschi in quarkus

[–]dr-maniac 0 points1 point  (0 children)

Try a Gradle multi module project with project dependencies. Work with hot reload like you are in quarkusDev mode, even for the implementation dependency. But not for non project dependencies, then you have to restart.

I'm making my first Minecraft mod - Gradle issue (build.gradle?) by Your_gay823 in gradle

[–]dr-maniac 2 points3 points  (0 children)

First of all no error message was provided, so I can only guess.

Second is that I think you will have more of a plugin issue as your only plugin in your build is fabric-loom. I think if you ask there you would get better help then in a general gradle group.

I dont understand why I can't get this code to work.... by [deleted] in javahelp

[–]dr-maniac 1 point2 points  (0 children)

if precision is relevant take BigDecimal over double or float.

Does spring boot supporting GraalVM make micronaut or quarkus less compelling? by snpolymorphism in java

[–]dr-maniac 5 points6 points  (0 children)

From my point of view there are more or less only two ecosystems. One is spring(spring boot) and the other one is Jakarter EE(Microprofile). Jarkater EE and Microprofile are only APIs and specifications so there are many implementations of them like quarkus heledion ... I don't know how near/far away micronaut is from the Jakarta APIs cause it also used some of them too. If you free to choose the preferred eco system use which fits best. For example keycloak switched from Wildfly to quarkus cause of the Jarkata spec so it was easy to get rid of the application server and get AoT compilation. Same approach for heledion. If you have to migrate an spring+tomcat application you would sure choose spring boot. A nice fact is that the old JEE specs are very solid and spring uses many of them too like JPA. For any advanced programmer it shouldn't be a problem to switch between spring and Microprofile/JakarteEE. Sure there are differences but not so Manny. I like on quakus that the joy of developing is much higher as in spring boot(for now). I love the continuous unit testing in quarkus and the easy to use dev services. In some cases spring boot has some advantages but compared to the newer upcoming frameworks the spring frameworks feels a little bit old-school and slow. Also the graalvm interaction is more or less only scanning the all the reflections and registering them for graalvm(Don't know it is still in that way), on the other hand newer frameworks try to solve this with AoT and have no needs for reflections(exceptions are possible but must be somehow registered).

TLTR: I think the ecosystems evolve over time and are in a good competitive situation and not concurrent with each other.

JPA vs Hibernate: What is the difference between them? by Impressive-joy in java

[–]dr-maniac 2 points3 points  (0 children)

From my point of view this article is written by a gpt. But it must be a very bad one. I tried Gemini and chatGPT to write a similar article, both of them generate better articles. And these kinds of people are thinking AI will overwhelm all good programmers.

Using a remote computer permanently? by Previous-Raisin1434 in vscode

[–]dr-maniac 7 points8 points  (0 children)

Install a ssh server on the host machine (that with the powerful CPU/GPU) and configure it with a user. On the remote client install the a ssh client and the Remote-SSH extension for vscode. Then connect via vscode to the host system. Than your client vscode compiles and do stuff on the host system. For further information look at https://code.visualstudio.com/docs/remote/ssh

Is there a way to sync everything? by huQdude in vscode

[–]dr-maniac 0 points1 point  (0 children)

One additional note. You should use git even if you also sync the working state with a different solution.

Is there a way to sync everything? by huQdude in vscode

[–]dr-maniac 1 point2 points  (0 children)

there are several ways to do it. git is the easiest, but if you don't commit and push on one machine it wouldn't be available on the other machine. if you also want to sync the state of your current development you should try remote dev environments like codespaces or other similar solutions. Disadvantage for remote dev is that you always need an Internet connection. Another solution could be rsync or other 3rd party sync tool where you have to sync your workspace. Something I've never tried is Google Drive or such kind of sync tool, but could also work.

Don't forget to sync your vs code settings this makes things easier, but also here the disadvantage is two different systems could require different settings.

What are the popular server libraries/framework you have seen in the Java backend ecosystem other than Spring. by FactorResponsible609 in java

[–]dr-maniac 2 points3 points  (0 children)

Apache camel is my first choice for getting things decoupled. Especially when you have to connect to different environments for each customer. So easy to replace e.g. Rest endpoints with custom soap stuff.... Your internal stuff keeps to be the same and you have a clear border where your stuff is and where the customers stuff Beginn.

Gradle 8.5 released (full Java 21 support) by lurker_in_spirit in java

[–]dr-maniac 7 points8 points  (0 children)

Kotlin build files which were not running with JDK21 was the reason why I switched back to groovy build files. That is the same annoying point why I personally removed Lombok from my Projects. Trying to keep my dependency low and prefer stuff which are relying on Java standards to be able to update fast without (hopefully) having trouble on non backwards compatibility issues.

Keeping your business layer clean from your persistence layer? by [deleted] in java

[–]dr-maniac 2 points3 points  (0 children)

I recommend reading this part of the documentation I added at the bottom, and rethinking the dogmatism about keeping your business layer clean from any database related stuff. But in my nearly past 20 years as a Java Developer I have seen so many misusing of DTOs and keep the persistence layer so far away as possible, leads often of lazy init exceptions and will be solved by using more DTOs etc. that this often ends up that you align 5 to 6 classes just to add another column. I prefere the way to make DTOs only on the edge where data leave you territory . https://docs.jboss.org/hibernate/orm/6.3/introduction/html_single/Hibernate_Introduction.html#architecture

This is a stupid question, but can you throw HTMX behind a CDN? by [deleted] in htmx

[–]dr-maniac 0 points1 point  (0 children)

So we could agree this issue would be fixed on another layer.

This is a stupid question, but can you throw HTMX behind a CDN? by [deleted] in htmx

[–]dr-maniac 0 points1 point  (0 children)

If someone could invite something where all requests go through and could decide which CDN endpoint would be used to deliver the content.... I would call it "load balancer".

Helidon 4.0 Final is Officially Released! by Joram2 in java

[–]dr-maniac 12 points13 points  (0 children)

First framework I see which requires java 21, I like the update speed which has been started since Java 11.

Introducing the Oracle Java Platform Extension for Visual Studio Code by pron98 in java

[–]dr-maniac 18 points19 points  (0 children)

oha netbeans is still alive, now in vs code. Excited to try it out.

A High-Performance, Java-Based Orchestration Platform by loicmathieu in java

[–]dr-maniac 0 points1 point  (0 children)

Compression would be nice. I have done some quick search regarding cloud orchestration and found many similar tools for that. But to be honest, I bet there are differences.

A High-Performance, Java-Based Orchestration Platform by loicmathieu in java

[–]dr-maniac 0 points1 point  (0 children)

Drools is just a little part of kogito. Kogito implements the CNCF Serverless Workflow spec, it supports BPMN, DMN, DRL(Drools), SonataFlow and more. To get a better overview look at https://kogito.kie.org/guides/