Chat Logs

  1. * Fiji_ joined #java
  2. * ferdna joined #java
  3. * jaskarth joined #java
  4. * jaskarth_ joined #java
  5. * jaskarth joined #java
  6. * jaskarth joined #java
  7. * jaskarth_ joined #java
  8. * jreicher joined #java
  9. * CodeGeek!~codegeek@about/java/CodeGeek changed the topic to: Welcome! || Read Channel Rules at https://javachannel.org/ before participating. || Paste limit is two lines; ~pastebin lists options. || No applets, please. || Minecraft, Android, and Javascript all have their own channel. || You are being logged.
  10. * nevet joined #java
  11. * MrHAPPY joined #java
  12. * stfstfm joined #java
  13. * ferdna joined #java
  14. * Fiji joined #java
  15. * rvalue- joined #java
  16. * Fiji joined #java
  17. * Fiji_ joined #java
  18. Parakcomhnall: I've noticed that structure-by-layers is kind of a brainjam for people who are used to it, and it takes quite a bit of effort to realize that for example the entire database functionality is a feature in itself. So yeah, been stuck with that myself. And it's kinda hard at times.
  19. * Nitrousoxide joined #java
  20. * Nitrousoxide joined #java
  21. * Nitrousoxide joined #java
  22. * Aedil joined #java
  23. * xeno joined #java
  24. * stfstfm joined #java
  25. * agnivn joined #java
  26. * stfstfm joined #java
  27. * Nitrousoxide joined #java
  28. * ferdna joined #java
  29. * rvalue- joined #java
  30. * stewi joined #java
  31. * Nitrousoxide joined #java
  32. * Nitrousoxide joined #java
  33. * Nitrousoxide joined #java
  34. * MikeBux joined #java
  35. * sponkz joined #java
  36. * sponkz_ joined #java
  37. [twisti]damn, a bug in jackson i reported in 2021 was fixed today, thats crazy
  38. [twisti]actually arguably a bug in the jdk, but i never reported it there, because back then i didnt have the confidence and it is kind of arguable whether it is a bug - `File.listRoots()` is crazy expensive if you use it on a windows system that has network mounts/mappings that are failing - like when you map `\\server\whatevershare` to `X:` and the server is down, the method call takes 10-20 seconds instead of <0.0001s - for EACH failing mount
  39. [twisti]i had 15 mounts at work, same server which was down, so something that used to be instant suddenly took two minutes
  40. ParaWindows and network drive slowness has always been a feature.
  41. ParaBack in school when we had a course on setting up Windows domains our instructions specifically had marked expected wait times for certain operations :)
  42. Para"The screen won't show anything for about six minutes, just wait" and stuff like that.
  43. * polarian joined #java
  44. [twisti]absolutely, but its crazy that there is no warning in the javadocs nor any way to do that async - and there isnt even any internal caching, so if you call it on two files, thatll be 4 minutes of waiting
  45. [twisti](we had about 30,000 files at the time)
  46. [twisti]still, i could see someone arguing 'working as intended' and hence didnt bring it up back then
  47. * B_fd joined #java
  48. * ChaiTRex joined #java
  49. * metalmaniac joined #java
  50. * avu joined #java
  51. * phlox joined #java
  52. * MikeBux joined #java
  53. * B_fd joined #java
  54. dreamrealJackson was scanning filesystems?
  55. dreamrealAnd jackson working as intended (or the JDK working as intended) may have been a thing, but that doesn't mean the intention isn't broken somehow! You shoulda filed the bug - and I mean that to encourage, not say "you dummy, you failed" or anything like that.
  56. * ForeverDreaming joined #java
  57. * kathadris joined #java
  58. * CodeGeek!~codegeek@about/java/CodeGeek changed the topic to: Welcome! || Read Channel Rules at https://javachannel.org/ before participating. || Paste limit is two lines; ~pastebin lists options. || No applets, please. || Minecraft, Android, and Javascript all have their own channel. || You are being logged.
  59. * nevet joined #java
  60. * emaczen joined #java
  61. * henbruas joined #java
  62. * kcomhnall joined #java
  63. * nevet joined #java
  64. * CodeGeek!~codegeek@about/java/CodeGeek changed the topic to: Welcome! || Read Channel Rules at https://javachannel.org/ before participating. || Paste limit is two lines; ~pastebin lists options. || No applets, please. || Minecraft, Android, and Javascript all have their own channel. || You are being logged.
  65. * Fiji joined #java
  66. * MikeBux joined #java
  67. * GreenResponse joined #java
  68. * sponkz joined #java
  69. * bdkl joined #java
  70. * CodePoint joined #java
  71. * LtHummus joined #java
  72. * ferdna joined #java
  73. * stfstfm joined #java
  74. * magla joined #java
  75. * stfstfm_ joined #java
  76. * domicron joined #java
  77. * fstd joined #java
  78. [twisti]these days i probably would. jackson did a (shockingly poorly) checking of whether you were on a windows file system by doing File.listRoots (for every deserialized Path) and checking if any of the roots returned looked like `[a-z]:.*`, basically
  79. Paraeww
  80. * mwnaylor joined #java
  81. [twisti]i went to see how other people did it, so i looked at commons lang and lol
  82. [twisti]its basically just System.getProperty("os.name").startsWith("Windows")
  83. ParaYeah someone didn't read the docs.
  84. MikeBuxand probably that check would have made trouble once the filenames contained spaces or other non a-z letters
  85. [twisti]Para: where in the docs is the problematic aspect mentioned ?
  86. [twisti]MikeBux: nah, the check is fine, jackson has been around for a while actually. other than my issue there seems to be no problem with it
  87. Para[twisti]: No, my point is that if you don't read what's in the system properties before going to "I'll just iterate all the filesystems" you might be consuming too much coffee and/or not getting enough fresh air :)
  88. [twisti]oh, yeah, although i would be wary of just trusting system properties, especially after a career of seeing people copy and paste settings and parameters with literally zero brain power investment
  89. ParaThat's the kind of hogwash that's ruined most of frontend design.
  90. Para"But what if the user is an idiot?"
  91. APicYou cannot make something idiotproof because of the great Geniality of Idiots ๐Ÿ˜Œ
  92. [twisti]thats probably true
  93. nimajeeverytime you come up with an idiotproof design, the universe invents better idiots
  94. ParaThe overlap between smartest bear and dumber tourist is considerable, or whatever the park ranger quote was when they were discussing about how to design bear proof trash cans for people to use.
  95. Paradumbest, of course. Although dumberer probably applies, as you pointed out.
  96. [twisti]'there is a considerable overlap between the smartest bears and the dumbest tourists', i believe
  97. ParaJust an eternity of dumbererererer.
  98. ParaBut then again, people read "don't use Unsafe" and still used it so dunno what's the dumb here.
  99. ParaI mean, I literally once read while studying that I shouldn't use it (or any other sun.* classes) and wen't "Okay" and literally never used them.
  100. ParaI've long ago learned that me reading instructions is not normal average behavior though :P
  101. * x1bncwn joined #java
  102. * johnjay joined #java
  103. * nurupo joined #java
  104. * OmniRadix joined #java
  105. * ferdna joined #java
  106. * svm_invictvs joined #java
  107. * Ragnor joined #java
  108. * BSaboia joined #java
  109. * bdkl joined #java
  110. * Joel joined #java
  111. * tomboy64 joined #java
  112. * stfstfm joined #java
  113. * PyR3X joined #java
  114. * wodencafe joined #java
  115. * metalmaniac joined #java
  116. * stfstfm_ joined #java
  117. * zimal joined #java
  118. * hiredman joined #java
  119. * tomboy64 joined #java
  120. * GnarlyBob joined #java
  121. * tomboy64 joined #java