odinsbaneI've got a strange issue with native libraries, jna specifically. I can bundle the native libraries in a jar file and include it in the classpath and everything works. The issue arises when another jar file contains a similar but wrong architecture dylib.
odinsbaneHow do I/java know which jar file to find the .dylib?
jsmoothHello all. I'm considering writing an alternative to an available software (which is written in C++ and JS I believe). The software is KDE-Connect (on phone) and GSConnect (Linux Desktop). WOuld Java be a good language to write the client (GSconnect alternative)?
dreamrealDo you know Java? What does the application do?
jsmoothI've used Java before, years ago. It would be a phone-to-pc syncing software.
jsmoothFOr texts and images, notifications, that sort of thing.
jsmoothGSConnect is buggy, I find, and the geek in me is telling me to try to write something better.
dreamrealI mean, the hardware access layer is going to be the "hard part"
jsmoothI'm not sure if I actually need to write that part since GSConnec uses KDE-connect being installed on the phone. I know kde-connect does a lot of dbus signaling.
* Aedil joined #java
dreamrealwell, if you can access the data, java should be fine
jsmoothI don't have kde-connect installed on desktop, so I don't know if gsconnect is doing anything with hardware directly..but I do know the shell extension is written in js
DoofusCanadensisthat's just allowing data to be shared between phone and desktop, yes?
jsmoothYes.
* MikeBux joined #java
jsmoothYou have to pair the devices from one or both ends (via same wifi network) in the gsconnect extension.
DoofusCanadensisand, technically, kdeconnect on android is pretty close to java anyway
* stfstfm joined #java
* athenaeryma joined #java
* waznot joined #java
* mapperr joined #java
* kathadris joined #java
* MonsoonSecrecy joined #java
* stfstfm_ joined #java
* LaSombra joined #java
* deglebe joined #java
* RetroPunk joined #java
* leppard joined #java
* HamAdams joined #java
* codebam joined #java
* MonsoonSecrecy joined #java
* leppard joined #java
* esensar joined #java
* LaSombra joined #java
* stfstfm joined #java
* svm_invictvs joined #java
* magla joined #java
* agnivn joined #java
* stfstfm_ joined #java
* A_Dragon joined #java
* magla joined #java
* zChris joined #java
* zChris joined #java
* rvalue- joined #java
* jreicher joined #java
* stfstfm joined #java
* julemand101 joined #java
* stfstfm_ joined #java
* codebam joined #java
* esensar joined #java
* HamAdams joined #java
* RetroPunk joined #java
* deglebe joined #java
* LaSombra joined #java
* agnivn joined #java
* esensar joined #java
* MonsoonSecrecy joined #java
* HamAdams joined #java
* LaSombra joined #java
* waznot joined #java
* j8shi joined #java
* j8shi joined #java
* esensar joined #java
* j8shi joined #java
mawkcan I easily delete methods in a .class file?
* j8shi joined #java
* zim joined #java
zimAre the companies using Java but without the Annotation Magic, such as Spring Boot seems to require?
Drixtanzim: I am not sure what you are asking here, do you mean - without annotation at all?
r0bbyWhy wouldn't you want annotations? They eliminate boilerplate
r0bbyand make things easier
zimDrixtan, as little annotations as possible.
Drixtanzim: like r0bby, annotations are an important part of all frameworks, quarkus included. It's not a Spring Boot problem per se, it's a clean way to declare your "configuration". Would you perfer go back with all the xml configuration files ?
r0bbyzim: what's your aversion to annotations?
zimit's too much hidden logic, hard to reason about, or debug
Drixtanif I am not mistaken, you can still code without annotation, but prepare yourself to create a hibernate.cfg.xml and so on, if it's still supported.
r0bbyzim: Not...really if you understand what they do?
zimIn other languages annotations are not really prevalent, javascript, golang
Drixtanzim: an abstraction, via inheritance, or annotation, or a config files, or... is still an abstraction. You have to learn the concept and what they are doing.
Drixtangolang, you will use functions, like fiber, you will use app.Get("/", whatever) instead of @GET("/")
DrixtanI don't see the difference really
r0bbyzim: Then go use those languages...I feel like you're just fighting the languages
r0bbyAnnotations are pretty easy for me to understand
zimI'm here asking if there are companies out there that use java, but do not use Spring or other Java annotation heavy frameworks.
Drixtanno.
r0bbyzim: Learn how those annotations work and they're pretty easy to debug.
r0bbyDon't code like language X in language Y. Learn idiomatic ways of doing things
zimWell, I've worked with Spring Boot for a year. The framework is layers of layers of abstractions and indirections, it felt more like configuring rather than really programming.
r0bbyzim: welcome to Spring in general.
zimOnce I tried to find out where a header was set in the framework and to change it, took me way too long, had to dig into the horrible spring source code, because the docs weren't enough.