Chat Logs

  1. * ferdna joined #java
  2. * michele0 joined #java
  3. * bakerst_ joined #java
  4. * mindCrime joined #java
  5. * Drixtan joined #java
  6. * rvalue joined #java
  7. * ChaiTRex joined #java
  8. * fed-kaczynski joined #java
  9. * ChaiTRex joined #java
  10. * Guest2439 joined #java
  11. * ForeverDreaming joined #java
  12. * rvalue joined #java
  13. * leppard joined #java
  14. * Aedil joined #java
  15. * fed-kaczynski joined #java
  16. * Gaz7051122720067 joined #java
  17. * pr070cal joined #java
  18. * Drixtan joined #java
  19. * Krusher joined #java
  20. * ChaiTRex joined #java
  21. * sweatiest joined #java
  22. * MikeBux joined #java
  23. * ztevoz joined #java
  24. jreicherI'm kind of annoyed I didn't know about dmlloyd's articles when I first started teaching myself java.lang.invoke. There's something about the way the JDK documentation is written that is unpleasant.
  25. jreicherIn the end I reached the "conclusion" about where to start: method handles and "signature polymorphism" (which I put in quotes because I don't actually consider it to be a language feature, since its appearance is so tightly constrained)
  26. jreicher...reached the same...
  27. * Afroboy joined #java
  28. * ChaiTRex joined #java
  29. * pebble joined #java
  30. * kathadris joined #java
  31. * leppard joined #java
  32. * ChaiTRex joined #java
  33. * pebble left #java (No boundaries on the net!)
  34. * Betal joined #java
  35. * leppard joined #java
  36. * X-Scale joined #java
  37. dreamrealhttps://bytecode.news/posts/2026/05/developer-experience-is-a-performance-feature
  38. * GreenResponse joined #java
  39. * weyhmueller joined #java
  40. jreicherdreamreal: I can't remember where this is from (I suspect it's a fairly well known line) but the adage that "good testing allows developers to be brave" feels appropriate here.
  41. dreamrealThat IS a good adage.
  42. jreicherOh if you haven't heard it before I should find the source.
  43. jreicherProbably Julius Caesar.
  44. dreamrealhmm, what language did HE use, I wonder
  45. dreamrealwas he leet like me? Probably not, given that his co-workers stabbed him - probably python.
  46. jreicherIt's all about what ides you use
  47. dreamrealHe probably used netbeans.
  48. dreamrealor bluej.
  49. ParaIs that why he was stabbed to death?
  50. dreamrealHe probably refused to use six.
  51. jreicherides of march guys. Seriously.
  52. dreamrealProbably all about sex instead.
  53. ParaAnd copious amounts of lead poisoning from everything.
  54. dreamrealWell, he was probably a lead programmer
  55. dreamrealmaybe he was a punjabi! ... yes, that was a pun, and it was hilarious
  56. dreamrealyou know, jabby, and puns, together, and he was stabbed to death
  57. dreamrealetc
  58. dreamrealjreicher: it sounds like you're sort of miquoting kent beck, FWIW
  59. dreamrealit's a really good framing
  60. jreicherVery possible. You have the original?
  61. ParaAunt Beck
  62. dreamrealit's from beck's "extreme programming explained," courage is one of the four original XP values; without tests, changing code is gambling; with them, it's an experiment with a fast feedback loop.
  63. dreamrealbut I don't find the direct adage, but it's a paraphrase that captures the idea better than kent's; I guess he DID haveto fill more pages, though...
  64. ParaXP was kinda odd. It tried its hardest but just didn't stick.
  65. ParaWith a big dose of "But we're already doing things almost like that?"
  66. dreamrealthe nice thing abotu XP is that it's EXTREEEEEEEEMEEEEEEEE!!!!!!!!!!!!!11!!11!!!11!!!lol!!!!!omg!!!wtfbbq!!!!!
  67. dreamreal(I use a lot of XP principles in my programming, but Eclipse can take a long walk off a short pier. It works, it's cool, if you like eclipse that's great, but I found the perspectives mindset unfortunate.)
  68. dreamrealand I think using the LABEL XP is a lot different than "XP didn't stick" - the label didn't, I guess. Same for agile, but people use a LOT of those principles in daily life, to the point where they're almost background noise. I think it succeeded better than you might think.
  69. ParaRemember how Microsoft went all "It doesn't mean extreme! >:(" when they released Windows XP.
  70. dreamrealoddly enough, windows XP would have benefitted a lot from XP
  71. Para(the name was chosen by marketing and it was meant to stand for eXPerience, but somehow the corporate site decided that it's something nonsensical instead)
  72. jreicherI've never liked Eclipse, but the whole project was redeemed for me by the language server it's produced. That has made a big difference to my work.
  73. dreamrealEclipse as an umbrella org has been a huge positive for the java ecosystem. Eclipse as a development platform has, too, honestly. And Eclipse has had some GENUINELY good variants: WSAD was actually good if you decided to lean in, myeclipse was the best Eclipse for rank and file developers IMO (and the genuitec guys are GREAT). But eclipse requires you to want to think like beck.
  74. sonOfRaStill use eclipse (actually apache directory studio) a lot, because it's the ~only usable ldap client+browser
  75. jreicherThat's an interesting observation. I might try it; I've never found an ldap utility I liked.
  76. sonOfRait's sometimes a bit annoying to launch, because it's not really developed much anymore. But it still works because it's not like ldap is changing a lot
  77. dreamrealThat's a good reason to avoid LDAP, of course. Good thing JNDI is better and has nothing to do with LDAP at ALL, la la laaaaa I can't hear youuuuuuu
  78. sonOfRadreamreal: tell that to the crazy people putting some form of active directoy in every goddamn company on the planet
  79. dreamrealI SAID I CAN'T HEAR YOUUUUUUUUUUUUU
  80. jreicherLet's be honest: AD is just a weird DB that backs an LDAP implementation
  81. dreamreal... and it's a good thing none of us remember Log4Shell
  82. dreamrealnot a single one of us, it's almost like you can't literally use LDAP semantics to inject vulnerabilities
  83. Shelljreicher: also their Kerberos extensions are really interesting.
  84. jreicherShell: for LDAP or AD?
  85. ShellAD's
  86. ShellThe LDAP bit of AD is boring :p
  87. jreicherWell Kerberos is definitely interesting. I've always felt like it's a fundamentally "right" design.
  88. * fed-kaczynski joined #java
  89. * jamezp joined #java
  90. * stfstfm joined #java
  91. sbalmosdreamreal: y'know, reading Christian's post, one thing I have had in my mind for a long while is the inverse of Google's 20% rule. There should be 20% of a project, or an epic (if you're still into the whole epic/sprint/whatever thing), dedicated to tech debt removal. May not be outright code removal. It might be architectural planning for code removal. Whatever. But intentional tech debt removal in
  92. sbalmositself, and not piling patch on patch on patch, contributes to the DevEx
  93. jreicherWhat is Christian's post, and the 20% rule? I'm very interested in the reduction of tech debt in a corporate environment. Always a tricky thing to achieve.
  94. * stfstfm_ joined #java
  95. * stfstfm joined #java
  96. Parajreicher: Google used to have on purpose allocated 20% "innovation time", as in one day per week people were allowed to work on whatever as long as they produced something they could later on demo to the whole unit.
  97. * stfstfm_ joined #java
  98. Parajreicher: At least GMail and Google Docs started this way, if I remember correctly. Possibly Google+ as well, maybe Google Reader. Fix my misinfo and check facts with...Google :)
  99. jbosmansseeing talk of google's 20% rule makes me feel really old :)
  100. dreamrealjreicher: https://bytecode.news/posts/2026/05/developer-experience-is-a-performance-feature
  101. Parajbosmans: The misimplementations of that were of course even more fun.
  102. Para"We can't spare 20%! That's valuable!" -> somehow we got 10%, and it had to be latter half of Friday.
  103. ParaAlso a calendar invite was sent with name "innovation time"
  104. ParaCorporate mandated 3,5 hours of innovation time. With expectation of results from everyone.
  105. jbosmansyeah, of course i loved the sentiment etc
  106. jbosmansthen, later, i realized the answer to "what's better than a shitton of money"
  107. Paraability to still enjoy life
  108. jbosmans"a bigger shitton of money" etc, aka i guess (sadly) i grew up or something
  109. jbosmansoh yeah sorry, was speaking from google perspective there :)
  110. * yaboishady joined #java
  111. sbalmosat a certain level of shitton of money, different for each person's lifestyle, acquiring further shittons of money becomes relatively pointless
  112. jbosmansnot for listed companies i guess
  113. jbosmansalso, it makes one learn, the easiest way to earn more money is to cut costs
  114. jbosmanstalking from a mgmt point of view here now ^
  115. jbosmans5% more profit vs 5% less costs
  116. ParaThere are ways to calculate what one person's pile should be, and for most people the amount is both surprisingly large yet not that huge at all.
  117. ParaThis sum is of course heavily dependent on everything, so what applies to me doesn't apply to you etc. :)
  118. jbosmansyeah, and anyway, everything always needs to be put in it's time & context etc
  119. * perryon joined #java
  120. ParaAnd all this comes with the dreadful "what then?" problem.
  121. ParaLike...if you were to gain magical lump sum today, what would happen then? Still continue working? Try that dream of yours and find out you liked it more as a fantasy, not as something to actually do?
  122. dreamrealIf I were to win the lottery today, I'd still be a programmer, still write stuff for people to read that I hoped was worthwhile. And I'd probably start a recovery program if I could afford it and the liabilities that came with it; if not, I'd make sure my local food banks and my local libraries were well-stocked.
  123. dreamrealI've been thinking about that recovery program for literal decades, back when I thought I was gonna retire at 30 since I was a programmer and programmers were gonna ALL be rich thanks to IPOs never ending.
  124. ParaI have a sort of a plan like that as well. A pre-divvy of pushing out most of it from my hands because 1) I'm a terrible investor 2) I want to avoid Gollum/Smaug mode, so better donate the money I really don't need ASAP to causes.
  125. * sa02irc joined #java
  126. dreamrealI was gonna buy some land and hire people "down on their luck" to work it - give them employment, experience, shelter, food security so they could get on their feet and go elsewhere and live more productive lives
  127. dreamrealwhatever necessary job training such work would require
  128. ParaHaving an orchard or somesuch as rehabilitation workplace wouldn't be terrible.
  129. dreamrealThat way, anyone going by my local food bank would get a "hey, you need employment? Well, I have this that needs doing and *you can do it*" no matter what they were able to do, because I wasn't going to imagine going "wait, no, you're too old, you're too crippled, you're to [wrong whatever]"
  130. dreamrealbut then the idiot company rode out the dotcom bust and that dream kinda ended
  131. dreamreal(I do, however, volunteer at my local food bank, and donate blood when I'm able as well.)
  132. * stfstfm joined #java
  133. jbosmansi think so yes, i mostly love what i do <Para> Like...if you were to gain magical lump sum today, what would happen then? Still continue working?
  134. jbosmansnot every minute of every day ofc :)
  135. dreamrealI probably wouldn't change much myself
  136. dreamrealjust the people around me would benefit
  137. ParaI had the silliest moment about two years ago when I got into a fortunate situation where I was both rent and debt free.
  138. ParaHad to point out to a few friends that that doesn't make me a millionaire automagically, it just means I don't have huge money sinks in my life anymore. I can still be poor and debt/rent free.
  139. Para(unless someone's handing out bags of money for everyone who manages to get into this point and I just didn't get the memo)
  140. * ptomli joined #java
  141. * skum joined #java
  142. * Ragnor joined #java
  143. * mixfix41 joined #java
  144. * mlxdy joined #java
  145. mlxdyHi, Java development is possible on Emacs or Vim? Anyone is doing something like this?
  146. mlxdyMaybe I'm not planning to use them for Java, but I'm just curious.
  147. ParaEverything's possible, but you'll save literally years of your life by learning an IDE.
  148. Para~ide
  149. javabotIDE stands for "Integrated Development Environment", and an IDE is basically a tool that helps you write and manage your projects. Most Java IDEs are multi-language, including non-JVM languages. There are two really popular ones (~idea and ~eclipse) and one far less popular one (~netbeans), and a number of others suitable for java, like ~vscode. Generally, use IDEA, Eclipse, or VSCode.
  150. Drixtanmlxdy: I am using vim (not neovim), so yea, that's totally possible
  151. mlxdyDrixtan: Are you doing any advanced Java development in it?
  152. Drixtanwhat's "advanced java development" ?
  153. ParaFWIW for personal use whatever you feel like works for you.
  154. ParaFor corporate environments IDEs will make your life infinitely easier.
  155. DrixtanI highly suggest to use an IDE.
  156. ParaYou can also get the same benefit for your personal life as well, but if JVM isn't your main platform/Java in general isn't the mainstay, it gets more difficult.
  157. ParaClojure users tends to love emacs :P Personally I don't, but alas
  158. mlxdyAlso I would like to ask why you like Java?
  159. ernimrilmlxdy, if you go for vim or emacs you will want to configure a lsp or something like that, it will take a bit to setup
  160. * MikeBux joined #java
  161. dreamrealmlxdy: what's not to like? Predictable, excellent performance, easy to write
  162. dreamrealand you can't use emacs to develop java: it requires something that can write text files, so emacs is out
  163. dreamrealyou'd have to have a text editor of some sort, as java source is text
  164. dreamrealI have heard tell, stories really, told about a campfire as wolves howl in the night, of people using things like vi, /usr/bin/joe, even *nano* to write code as in the olden days, almost with quill and ink, but surely that's nonsense
  165. dreamrealcan you guys IMAGINE what it was like to have to know programming languages well enough to just... you know... write them?
  166. Drixtandreamreal: non sense, AI everywhere mate, vibing to the moon 'til dawn
  167. dreamrealoh then emacs is fine
  168. dreamrealwhew
  169. * dreamreal cranks up lucid
  170. DoofusCanadensisi dont think you want to be lucid while doing ai
  171. dreamrealI was talking about lucid emacs, noob
  172. dreamrealif you know me at all, MY lucidity isn't in question
  173. DoofusCanadensisthat was the joke, son
  174. GreenResponseit’s all Matrix fault: 1337 hax0rs writing in text mode, shell and nano
  175. dreamrealin soviet russia, joke tells YOU
  176. * roomyk joined #java
  177. Paradreamreal: you can launch vim from within emacs! it's a text editor
  178. DoofusCanadensisany good OS should be able to launch a text editor, this is true.
  179. * hwpplayer1 joined #java
  180. * dreamreal hands DoofusCanadensis the commodore 64
  181. DoofusCanadensisI have one, thanks
  182. dreamrealyou know, now that I think about it, I'm not sure how to use the disk drives on the c64 any more, so much I've forgotten of the old ways
  183. DoofusCanadensisno doubt
  184. DoofusCanadensisI have a coco2 as well... the cassette tapes have probably faded away even if I still had the tape drive
  185. dreamrealWhich c64 do you have? The real one or the ultimate?
  186. DoofusCanadensisthe mini one they shipped a few years ago
  187. * magla joined #java
  188. DoofusCanadensisHDMI output and SD Cards with built in games
  189. dreamrealah, cool. I saw those but chose the ultimate, because the form factor and the actual keyboard is part of it, otherwise VICE, etc., are fully sufficient
  190. DoofusCanadensisthe ultimate looks cool, tbh
  191. dreamrealI'm still in that "holy cow, this is awesome" phase - I've been digging up old abandonware games and playing them, like lode runner, stealth, and so forth, doing SOME programming (oscar64 is *surprisingly* useful) but not a ton
  192. dreamrealI haven't tried the turbo cpu mode, even, still lurking in 1mhz mode
  193. dreamrealI am definitely amused by how much fun I'm having with it - my youngest son says "you sound like you're having a blast programming ... a toaster."
  194. dreamrealI would be mad at him about it but he's probably right :D
  195. DoofusCanadensishahahaha
  196. dreamreali showed him stix, and he was like "... and this is supposed to be fun, right?" (he was definitely amused, and definitely poking me about it, and I'm down for it: he ain't wrong.)
  197. DoofusCanadensisyup
  198. Paradreamreal: Sounds like you need to buy a video toaster next so that your kid comments on it again you can get the appropriate dad joke in.
  199. dreamrealhahaha, well, I DID have an Amiga back in the day...
  200. DoofusCanadensisHAH
  201. DoofusCanadensisa new Amiga would be cool
  202. dreamrealI don't think my wife would be down for even more retro hardware, for one thing, and for another, the c64 is enough: I loved my amiga but honestly everything the amiga could do my mac can do WAY better, and I can't say that about the 64
  203. dreamrealDoofusCanadensis: november '26, apparently
  204. DoofusCanadensisoh? neat!
  205. dreamreali never used the toaster on the amiga: I've never been good at visual arts
  206. * DoofusCanadensis joined #java
  207. DrixtanI want an amiga for this game: https://thalamusdigital.itch.io/roguecraft-dx-amiga Released in 2026 mind you
  208. nevetRoguecraft DX (Amiga) by Thalamus Digital Publishing Ltd.
  209. javabotDrixtan's title: "Roguecraft DX (Amiga) by Thalamus Digital Publishing Ltd."
  210. Drixtanthat game requires 2mb ... look at that beauty for 2mb... we clearly did something wrong in the "evolution" of software programming somewhere between the end of amiga and today.
  211. * tetee joined #java
  212. dreamrealhell, I'm still playing nethack in ascii mode
  213. dreamrealnethack 5 released, baby!
  214. DoofusCanadensisyeah, I was prompted to play it again
  215. DrixtanI know man, nethack still beats me _all_the_time_; I've never ascended - I suck :(
  216. dreamrealI've never ascended, either
  217. dreamrealbut I tend to play wizards, and they're hard mode
  218. Drixtanyea, priest here, mid range
  219. dreamrealThere's harder - but getting a wizard to the point where they're able to survive is... rough
  220. dreamrealbefore nethack 5 my top 10 was *filled* with priests and fighters but I enjoy playing wizards most :/
  221. Drixtanhow are you supposed to manage your fights at the beginning without any spell / mana? like you totally depend on your pet?
  222. dreamrealyour pet, luck, and time. Pray a lot for food.
  223. dreamrealfind an altar, convert it, magicbane.
  224. dreamrealnethack 5 rebalances stuff, too, so the arc is different; still getting used to that.
  225. Drixtanis it me or 5 generates the dungeons differently? I can't tell exactly, or describe it, but just saying they feel differents like: real dead-end corridors, more hidden passages, more doors
  226. DoofusCanadensisgiven they moved the generation into lua files, the generation *is* totally different
  227. Paraeww, I just had a terrible idea
  228. ParaLua, being of just one of the two prototype based actually popular and stable(ish) languages could model everything through ducktyping.
  229. ParaSo...why not make a dungeon generator by recursively ducktyping "world" prototype.
  230. ParaIt'd be like adventuring into a fractal!
  231. dreamrealyou could do it with clojure pretty easily
  232. dreamrealnethack moved to lua a WHILE back though
  233. dreamreallike early 3.7, maybe 3.6
  234. ParaClojure is still limited by stack...I mean sort of, you can metaprogram it to do that.
  235. ParaThere's actually lisp gamejam soon, so go wild.
  236. Parahttps://itch.io/jam/spring-lisp-game-jam-2026
  237. dreamrealI'm still using clojure to generate hallmark movie scripts, thank you
  238. dreamrealsome of them are great
  239. * kmh joined #java
  240. ParaCluedo and Hallmark movies are suprisingly similar.
  241. * dreamreal needs to crank up that script generator
  242. dreamrealyou guys might enjoy it
  243. dreamrealyou guys might enjoy it
  244. dreamrealhttps://pastebin.com/bkaZAzS8
  245. ParaThe Macguffin should be an off-brand toy or similar.
  246. ParaLike...Turboman.
  247. dreamrealit's randomly generated, of course.
  248. dreamrealI can create about 500 different scripts in about 700ms. :D
  249. ParaThat's barely enough for this Christmas.
  250. * dreamreal allocates 2000ms.
  251. dreamrealThe story beats are pretty much always the same - I mean, hallmark, right? - but the details are pretty variable
  252. ParaNow we're talking. Here's a million and a greenscreen.
  253. dreamrealand since it's clojure, generating new ones is just a matter of adding a few references here and there
  254. Para...the only reason I'm aware of Hallmark as a concept is Red Letter Media :)
  255. ParaThat said, it is quite silly.
  256. dreamrealhallmark is great
  257. dreamrealMy wife and I are quite amused, often by different aspects: she's always watching for how the quirky companions get abandoned by the script, I'm never sure the story's real until there's a corpse
  258. Parahttps://www.imdb.com/title/tt33455358/ and sometimes it ends up with stuff like this
  259. dreamrealhmm, I'm not sure my script generator can do that one, hmmm
  260. ParaI'm not going to spoil that if you haven't watched the relevant RLM video, but one of their big sale taglines is "from the creator of Money Plane"
  261. dreamrealneed to add a "simultaneous and utterly artificial scheduling conflict"
  262. dreamrealhahahaha
  263. dreamrealI was amused a lot more by hallmark christmas movies before they got all woke and added jewish themes
  264. dreamrealnow I'm offended :D
  265. dreamreal(I am not, but their impression of what makes a storyline jewish is... amusing)
  266. ParaIsn't that a perfect source of conflict? I want to get married on Christmas but I'm Jewish and my rabbi won't allow it! ...or something.
  267. dreamreal"Can we make it a christmas movie, but with jews, so it's got santa claus and... dreidels? And a latke? What's a latke, BTW?"
  268. Shelllmao what
  269. dreamrealso... yeah, I watch the hallmark jewish movies like a hawk
  270. ParaAnd of course since it'll be made by people who don't really know anything about the whole thing, the wedding party gets confused with bar mitzvah with elements from quinceanera because someone thought it looks pretty.
  271. dreamrealThey're hilarious even when they're not meant to be funny
  272. dreamrealyeah, pretty much
  273. dreamreal"Can we have the main love interest say 'oy vey?' is that enough?"
  274. dreamrealIf *I* made a hallmark jewish movie, I'd have them speak yiddish, but with overdubs, so they'd say the english words and the sound would use the overdubs so the words didn't match
  275. dreamreal... anyone with connections here? Come on, hook a schlomcha up
  276. dreamreal(other jews in the channel: shut up, it's a joke)
  277. ParaOh yeah, unnecessary word drops are a must.
  278. Para"I am French therefore I say le every now and then."
  279. dreamreal"See what I have to deal with heah? oy vey. Shabbat shalom. Goyische."
  280. ParaFrom a very convoluted etymology POV you just said part of my real name, btw :)
  281. dreamrealstop being selfish, this is all about me
  282. ParaAlthough I very much doubt the story, it felt very backported.
  283. * szkl joined #java
  284. * hwpplayer1 joined #java
  285. * emaczen joined #java
  286. * Deneb^ joined #java
  287. * X-Scale joined #java
  288. * mindCrime joined #java
  289. * ferdna joined #java
  290. * jbosmans joined #java