ByteCode.News
Submit RSS Atom Sign in

Back to the channels

#java

  1. * michele7 joined #java
  2. * lockdown joined #java
  3. * hwpplayer1 joined #java
  4. * mindCrime joined #java
  5. * kcomhnall joined #java
  6. * SJrX joined #java
  7. * stewi joined #java
  8. * Aedil joined #java
  9. * hwpplayer1 joined #java
  10. * hwpplayer1 joined #java
  11. * Aedil joined #java
  12. * SJrX joined #java
  13. * LtHummus joined #java
  14. * Wbooze joined #java
  15. * wodencafe joined #java
  16. * Jaran|zZzZZzZz joined #java
  17. * fed-kaczynski joined #java
  18. * Disconsented joined #java
  19. * polarian joined #java
  20. * mixfix41 joined #java
  21. * Nemu64 joined #java
  22. * johnjay joined #java
  23. * tronexte joined #java
  24. * Bahhumbug joined #java
  25. * Arsen joined #java
  26. * Exa joined #java
  27. * kathadris joined #java
  28. * waznot joined #java
  29. * polyrob joined #java
  30. * Gaz7051122720067 joined #java
  31. * OmniRadix joined #java
  32. * NeXeN joined #java
  33. * Drixtan joined #java
  34. * Kobaz joined #java
  35. * lordnoid joined #java
  36. * arthurvl joined #java
  37. * Pixi joined #java
  38. * BarnabasDK joined #java
  39. * rvalue joined #java
  40. * acidsys joined #java
  41. * Zapek joined #java
  42. * simon816 joined #java
  43. * victori joined #java
  44. * DynamiteDan joined #java
  45. * jontxu joined #java
  46. * dmlloyd joined #java
  47. * kinabalu joined #java
  48. * Rainier joined #java
  49. * DrinkyBird joined #java
  50. * vitaliy joined #java
  51. * jjakob joined #java
  52. * kento2 joined #java
  53. * xa0s joined #java
  54. * lostlazy joined #java
  55. * ernimril joined #java
  56. * IceMichael joined #java
  57. * Betal joined #java
  58. * jink joined #java
  59. * Flow joined #java
  60. * jbosmans joined #java
  61. * akaWolf joined #java
  62. * dumptruckman joined #java
  63. * gh0stbuster joined #java
  64. * meyou^ joined #java
  65. * digicyc joined #java
  66. * leonardus joined #java
  67. * sweatiest joined #java
  68. * IceMicha^ joined #java
  69. * onu joined #java
  70. * pun joined #java
  71. * Munnu joined #java
  72. * LaSombra joined #java
  73. * deglebe joined #java
  74. * MonsoonSecrecy joined #java
  75. * athenaeryma joined #java
  76. * esensar joined #java
  77. * mapperr joined #java
  78. * RetroPunk joined #java
  79. * lcja joined #java
  80. * hiredman joined #java
  81. * marcel joined #java
  82. * sunyour joined #java
  83. * geenvoud joined #java
  84. * m joined #java
  85. * vobar joined #java
  86. * Afterglow joined #java
  87. * Candle joined #java
  88. * tomboy64 joined #java
  89. * skum joined #java
  90. * deavmi joined #java
  91. * taylan joined #java
  92. * comrad joined #java
  93. * zChris joined #java
  94. * graves joined #java
  95. * julemand101 joined #java
  96. * yano joined #java
  97. * kusanagi joined #java
  98. * xerox joined #java
  99. * Cyp joined #java
  100. * yamada joined #java
  101. * Nnavd joined #java
  102. * rensenwxre joined #java
  103. * BytesAndCoffee joined #java
  104. * bionade24 joined #java
  105. * Geolykt joined #java
  106. * deepSleep joined #java
  107. * jaskarth joined #java
  108. * vincere joined #java
  109. * PyR3X joined #java
  110. * canton7 joined #java
  111. * cronos joined #java
  112. * Shell joined #java
  113. * henbruas joined #java
  114. * gAy_Dragon joined #java
  115. * gurrkin joined #java
  116. * Joel joined #java
  117. * DoofusCanadensis joined #java
  118. * r0bby joined #java
  119. * salparadise joined #java
  120. * Perflosopher0387 joined #java
  121. * Para joined #java
  122. * PocketKiller joined #java
  123. * braxas joined #java
  124. * Maxdamantus joined #java
  125. * overholts0 joined #java
  126. * doop joined #java
  127. * puppy_za joined #java
  128. * Ekho joined #java
  129. * Tenchi joined #java
  130. * Deneb^ joined #java
  131. * handicraftsman joined #java
  132. * nb-ben joined #java
  133. * amoe joined #java
  134. * fizzie joined #java
  135. * ta71 joined #java
  136. * JonathanD joined #java
  137. * nurupo joined #java
  138. * LFK joined #java
  139. * tonitch joined #java
  140. * pr3d4t0r joined #java
  141. * virtualmeat joined #java
  142. * waz joined #java
  143. * deepy joined #java
  144. * Enissay joined #java
  145. * APic joined #java
  146. * energizer joined #java
  147. * dstein64 joined #java
  148. * vancz joined #java
  149. * nimaje joined #java
  150. * gjvc joined #java
  151. * dreamreal joined #java
  152. * whaley joined #java
  153. * Swayze joined #java
  154. * rapmoc joined #java
  155. * deebo joined #java
  156. * scottgy joined #java
  157. * KnownSyntax joined #java
  158. * NiKaN joined #java
  159. * pingveno joined #java
  160. * tomaw joined #java
  161. * bliminse joined #java
  162. * Learath2 joined #java
  163. * schan99 joined #java
  164. * cptaffe joined #java
  165. * Hobbyboy joined #java
  166. * jetchisel joined #java
  167. * jinsun joined #java
  168. * Byteflux joined #java
  169. * qbone joined #java
  170. * noord joined #java
  171. * cheeser joined #java
  172. * sparr joined #java
  173. * mz` joined #java
  174. * bakerst joined #java
  175. * amosbird joined #java
  176. * lucerne90 joined #java
  177. * Bombe joined #java
  178. * sailorTheCat joined #java
  179. * unit86 joined #java
  180. * domicron joined #java
  181. * ChaiTRex joined #java
  182. * ChanServ joined #java
  183. * Exa joined #java
  184. * KindOne joined #java
  185. * Bahhumbug joined #java
  186. * tronexte joined #java
  187. * hwpplayer1 joined #java
  188. * leppard joined #java
  189. * bakerst joined #java
  190. * CygniX joined #java
  191. * random-jellyfish joined #java
  192. * kusanagi_ joined #java
  193. * lostlazy joined #java
  194. * litharge joined #java
  195. * tomaw_ joined #java
  196. * hwpplayer1 joined #java
  197. * raj joined #java
  198. * kcomhnall joined #java
  199. * MikeBux joined #java
  200. * kathadris joined #java
  201. * random-jellyfish joined #java
  202. * X-Scale joined #java
  203. * mindCrime joined #java
  204. * polarian joined #java
  205. * brainopener joined #java
  206. * X-Scale joined #java
  207. * Fiji joined #java
  208. * fed-kaczynski joined #java
  209. * fed-kaczynski joined #java
  210. * GreenResponse joined #java
  211. * fed-kaczynski joined #java
  212. * fed-kaczynski joined #java
  213. * waznot joined #java
  214. * dostoyevsky2 joined #java
  215. * waznot joined #java
  216. * jamezp joined #java
  217. * sa02irc joined #java
  218. * Aedil joined #java
  219. * noobiewan joined #java
  220. noobiewan Hi, is there a channel dedicated to Spring?
  221. * leppard joined #java
  222. cheeser not that i'm aware of. at least not on libera.
  223. GreenResponse there is #spring.io but it has only 2 people there
  224. dreamreal noobiewan: if you have a question, ask
  225. dreamreal there are people who know spring well here
  226. cheeser the poor sods
  227. Swayze lol
  228. Swayze that speaks nothing to the actual popularity and commerical use cases for spring
  229. Swayze especially with all these so called 'supply chain' hacks on the public non-curated eco-systems of late
  230. Swayze non-centrally-curated*
  231. Swayze and the last decade of performance and language enhancements
  232. Swayze java and spring is not going anywhere anytime soon ...
  233. dreamreal I'm not sure what the point would be
  234. Fiji the point would be we're here to argue about why quarkus is better than spring!~!!
  235. cheeser fuck yeah!
  236. dreamreal argue away then
  237. dreamreal I'll watch from way over here
  238. Para Ah, the Jerry Springer method. "He's cheating on you. I'll just leave this knife here. Discuss."
  239. * stfstfm joined #java
  240. dreamreal nah, it's just not my monkey, not my circus
  241. dreamreal if people want to have that argument, they're welcome to, it's just not mine
  242. Para As my high school principal told us on the day of graduation, "Clowns are leaving but the circus will remain."
  243. * Bahhumbug joined #java
  244. * stfstfm joined #java
  245. * stfstfm_ joined #java
  246. * stfstfm joined #java
  247. * kusanagi__ joined #java
  248. * mindCrime joined #java
  249. * polarian joined #java
  250. * stfstfm_ joined #java
  251. * MikeBux joined #java
  252. * TomyWork joined #java
  253. * magla joined #java
  254. * ferdna joined #java
  255. * Aison joined #java
  256. * overholts00 joined #java
  257. * leppard joined #java
  258. noobiewan I'm just starting with Spring and I'm trying to figure out what's the best way to write a simple, run-once-or-twice "script"? I just want to run some experiments or have some utilities that I can run from time to time, but taking advantage of the spring context (database configs etc). All ideas I got from LLMs are a bit cumbersome, nothing quick and dry, like having a CommandLineRunner + graddle
  259. noobiewan task for instance. Is there a better way?
  260. * X-Scale joined #java
  261. cheeser why would you need/want spring for that?
  262. * brainopener left #java (https://quassel-irc.org - Chat comfortably. Anywhere.)
  263. sonOfRa For a single one-off script it seems odd, but I guess the database stuff is nice to have and might be annoying in a shell script?
  264. noobiewan I'm working on a project that will use spring... for instance right now I'm testing some database stuff so I'm generating fake data, usually I would just write a script in python or whatever but then I would need to make sure to have the same configuration in two different places, similar libraries etc
  265. dreamreal spring has CLI tools, spring-shell is a thing
  266. sonOfRa If you already have a project, why not add a maven/gradle submodule that does your shell stuff?
  267. noobiewan the way I got it working was by creating a new class that implements CommandLineRunner and is annotated with @SpringBootApplication, then I run it with the flag --spring.main.web-application-type=none
  268. dreamreal sure
  269. dreamreal so do that?
  270. sonOfRa Wouldn't want it packaged with the main application when building the deployment artifacts, but that's what build systems are for!
  271. dreamreal I mean, it's overkill but it gives you what you need
  272. noobiewan but since I'm new, it seems overkill like you said, so I'm wondering if there is another way
  273. dreamreal nah
  274. dreamreal do what works
  275. dreamreal ~suffering
  276. javabot Suffering-oriented programming: make it work, make it pretty, make it fast - in that order. http://nathanmarz.com/blog/suffering-oriented-programming.html
  277. nevet Suffering-oriented programming - thoughts from the red planet - thoughts from the red planet
  278. dreamreal if you're using spring, this encourages reuse, it's a lot for a CLI but eh
  279. sonOfRa And the way spring shell works is nice honestly. Easy definition of options for the scripts etc. We use it for some admin tasks in our Keycloak instance. Did it with shell scripts and curl at first, but it's much easier with the keycloak-admin-client java library, and so we went with spring-shell
  280. noobiewan I will take a look, thanks
  281. dreamreal and oh yeah just to satisfy the punters, QUARKUS IS SO MUCH GOODER
  282. dreamreal (I do not believe that but I'm tryna shut them up before they start shouting the same thing)
  283. * rvalue- joined #java
  284. dreamreal (I also do not believe "spring is so much gooder" but the spring people tend to be less rabid about that sort of thing, not that the stupid quarkus fanbois are stupid or anything)
  285. cheeser less rabid, eh?
  286. dreamreal YES AND HOW DARE YOU IMPLY OTHERWISE ABOUT THE BENEVOLENT SPRING OVERLORDS
  287. * OmniRadix joined #java
  288. * Cyp_ joined #java
  289. * Ragnor joined #java
  290. dmlloyd stupid quarkus fanbois are very smart, thank you very much
  291. dreamreal they're too stupid to not point out that they're very smart, though
  292. dreamreal you're WELCOME
  293. * dreamreal runs
  294. sonOfRa I feel so dirty using a spring app to admin keycloak (quarkus)
  295. * sa02irc joined #java
  296. jbosmans 't is good to have options
  297. * simon816 joined #java
  298. Drixtan I am doing some PoC for an app I want to make, testing quarkus (new to me) was a breeze, now I am testing go, and I want to die for 3 days right now... my first impression was _very_ good to be honest :-/
  299. dreamreal go is good?
  300. Drixtan no, other way around, go = wanna die
  301. dreamreal ah, your first impression of GO was good, and then it eroded?
  302. Drixtan no, let me rephrase. I tested quarkus, its new to me, all good, I was pleased. I am testing go for 3 days now, I want to die.
  303. dreamreal ah, okay
  304. dreamreal I was struggling trying to parse what you'd written
  305. Drixtan I saw that hehe
  306. dreamreal quarkus IS good, but you kinda have to think quarkus; it's pretty opinionated, largely to your benefit
  307. dreamreal spring is opinionated but in different ways and to different degrees; if you need the flexibility, there you are, and the ecosystem is broader
  308. dreamreal I actually don't have a lot of preferences; I know spring better but meh, if someone asked me what *I* would use it'd be spring, but if they asked me what THEY should use, I'd shrug
  309. dreamreal and go is okay but the ecosystem around it is... a little more fast and loose than I would like, I think
  310. dreamreal a lot of go devs are like "what, you don't test in prod like I do?"
  311. Drixtan I fail to see a positive point for go right now, I don't want to be "one of those bashing a language", but so far, so many "wtf is that" moments, so much boiler plates - I thought java had boilerplates, but go has boilerplate for your boilerplates. :P
  312. dreamreal (a friend of mine wanted me to run 18MB of artifacts written in go... with zero tests in the codebase. Um...)
  313. Drixtan I thought, since I love doing C, that I would like go; there is probably something wrong with me, so I keep trying
  314. dreamreal you'd probably be happier with zig (as long as you don't mind throwing code away when they find a better path, a lot like scala but MUCH nicer as a community) or rust
  315. Drixtan I did some zig, 0.13 to 0.15 (io gate)
  316. dreamreal I actually respect zig's mindset: they're not intentionally unstable but they're willing to say "look, what we did wasn't right"
  317. Drixtan I stayed outside that gate, I had enough of the changes. It's all fine, it's not 1.0 yet, but I don't think I am going to see 1.0 in my lifetime
  318. dreamreal yeah, well, there IS that
  319. dreamreal so that leaves you with rust :D
  320. dreamreal or the JVM
  321. dreamreal just don't use scala
  322. dreamreal I'm pretty open-minded in general but scala is to be avoided
  323. Drixtan yea, I am checking rust, see if it's going to take so much more time than go, for example.... but right now, Quarkus is high in the picking list
  324. dreamreal the language itself is great, I think, but everything else about it is the worst
  325. dreamreal quarkus is great as long as you fit its opinions about design, which is a pretty broad umbrella, honestly
  326. Drixtan is scala still at thing? I remember back then, people were like: "it's the future, java's dead!", and look at that today
  327. dreamreal it's still a thing, yes, but the ecosystem's toxicity is working against it, and no real loss
  328. Drixtan since you seem to know quarkus, what are the things I should watchout, like the gotcha gotcha that could come bite me in the ass - "because you just had to know before"
  329. dreamreal I wouldn't be the one to document them: I don't know quarkus all that well, I've just kicked the tires
  330. dreamreal and for what it advertises itself as being good at doing, it does what it says on the tin
  331. Drixtan yea, it's java at the end of the day, can't be that bad
  332. Drixtan anyway, I wanted to pitch in this discussion, since it's kind of relevant of what I am doing this week, I wanted some expert voices on that :P - and perhaps take a break of go a little bit...
  333. dreamreal I know a lot of the quarkus devs and respect those I know. I don't have anything bad to say about it apart from the stridency of advocates... but if that's a quibble, it's not one unique to quarkus AT ALL. And note that the stridency of which I speak is not present here EVEN THOUGH some of the quarkus devs are present themselves. :D
  334. Drixtan I think we can find this trait in most part of the tech world. That's a nerd thing I believe.
  335. * leppard joined #java
  336. dreamreal nerds are the worst.
  337. Drixtan I know right
  338. * kmh joined #java
  339. * mixfix41 joined #java
  340. * mindCrime joined #java
  341. * random-jellyfish joined #java
  342. * kathadris joined #java
  343. * marcel joined #java
  344. * jreicher joined #java
  345. * mwnaylor joined #java