ByteCode.News
Submit RSS Atom Sign in

Back to the channels

#java

  1. odinsbane I'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.
  2. odinsbane How do I/java know which jar file to find the .dylib?
  3. cheeser you'd have to scan your classpath
  4. dreamreal https://bytecode.news/posts/2026/04/jetbrains-survey-why-ai-stops-at-the-ci-cd-edge
  5. javabot dreamreal's title: "JetBrains Survey: Why AI Stops at the CI/CD Edge | bytecode.news"
  6. deebo our aws support guys are pushing haaaaard on ai stuff for infra and ci/cd automation
  7. deebo "just use it, free tokens with your enterprise support, it's not addictive and the price won't increase"
  8. deebo like spending 10k/mo on infra, and 100k/mo on log storage
  9. Para deebo: Just ask them "Aren't you the guys who deleted an entire datacenter because of an AI prompt got out of hand?"
  10. Para 1) this is in accurate so they would need to correct on what actually happened 2) :)
  11. Para *inaccurate, wth
  12. Tenchi hahahahha
  13. dmlloyd 60% unclear use cases :think
  14. dmlloyd :thinking:
  15. dmlloyd god dammit irccloud, have some intuitive completion for a change
  16. dmlloyd active AI triggered by CI is a terrible idea though, great way to start hemorrhaging money
  17. dmlloyd automatic CI is already expensive enough
  18. Para oh, I smell a new hype term
  19. Para Begone CI/CD, welcome AI/AD. Now just have to figure out a good backronym from that.
  20. Drixtan we are getting closer to AC/DC, I like it.
  21. DoofusCanadensis Automatic Compiling/Delivering Continuously
  22. jsmooth Hello 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)?
  23. dreamreal Do you know Java? What does the application do?
  24. jsmooth I've used Java before, years ago. It would be a phone-to-pc syncing software.
  25. jsmooth FOr texts and images, notifications, that sort of thing.
  26. jsmooth GSConnect is buggy, I find, and the geek in me is telling me to try to write something better.
  27. dreamreal I mean, the hardware access layer is going to be the "hard part"
  28. jsmooth I'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.
  29. dreamreal well, if you can access the data, java should be fine
  30. jsmooth I 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
  31. DoofusCanadensis that's just allowing data to be shared between phone and desktop, yes?
  32. jsmooth Yes.
  33. jsmooth You have to pair the devices from one or both ends (via same wifi network) in the gsconnect extension.
  34. DoofusCanadensis and, technically, kdeconnect on android is pretty close to java anyway
  35. mawk can I easily delete methods in a .class file?
  36. zim Are the companies using Java but without the Annotation Magic, such as Spring Boot seems to require?
  37. Drixtan zim: I am not sure what you are asking here, do you mean - without annotation at all?
  38. r0bby Why wouldn't you want annotations? They eliminate boilerplate
  39. r0bby and make things easier
  40. zim Drixtan, as little annotations as possible.
  41. Drixtan zim: 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 ?
  42. r0bby zim: what's your aversion to annotations?
  43. zim it's too much hidden logic, hard to reason about, or debug
  44. Drixtan if 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.
  45. r0bby zim: Not...really if you understand what they do?
  46. zim In other languages annotations are not really prevalent, javascript, golang
  47. Drixtan zim: 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.
  48. Drixtan golang, you will use functions, like fiber, you will use app.Get("/", whatever) instead of @GET("/")
  49. Drixtan I don't see the difference really
  50. r0bby zim: Then go use those languages...I feel like you're just fighting the languages
  51. r0bby Annotations are pretty easy for me to understand
  52. zim I'm here asking if there are companies out there that use java, but do not use Spring or other Java annotation heavy frameworks.
  53. Drixtan no.
  54. r0bby zim: Learn how those annotations work and they're pretty easy to debug.
  55. r0bby Don't code like language X in language Y. Learn idiomatic ways of doing things
  56. zim Well, 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.
  57. r0bby zim: welcome to Spring in general.
  58. zim Once 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.