Chat Logs

  1. * 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.
  2. * nevet joined #java
  3. * nevet joined #java
  4. * 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.
  5. * lockdown joined #java
  6. * mindCrime joined #java
  7. * metalmaniac joined #java
  8. * five618480339176 joined #java
  9. * lornik joined #java
  10. * stfstfm joined #java
  11. * sbalmos joined #java
  12. * sponkz joined #java
  13. * agnivn joined #java
  14. * rvalue joined #java
  15. * sponkz joined #java
  16. deebodreamreal: if you can find the channel name, you can request the channel page in xml for rss and get it there :), even the video page might respond to content-type application/xml+atom or what ever it is
  17. * Aedil joined #java
  18. * sponkz_ joined #java
  19. * stfstfm joined #java
  20. * Wbooze joined #java
  21. * stfstfm joined #java
  22. * rvalue joined #java
  23. * m_ben joined #java
  24. * m_ben left #java
  25. * kathadris joined #java
  26. * stfstfm joined #java
  27. * MikeBux joined #java
  28. * ultralan joined #java
  29. * mindCrime joined #java
  30. * acidjnk joined #java
  31. * magla joined #java
  32. * sponkz_ joined #java
  33. * stfstfm joined #java
  34. dreamrealdeebo: wait, for what now?
  35. deeboyoutube links
  36. dreamrealOh, thank you. Actually, the youtube page itself has the content, I was just extracting it improperly; fixing that. Twitter is going to be a separate issue.
  37. dreamrealhey, https://x.com/dev_maims/status/2022588131623501927
  38. dreamrealokay, so javabot's lost it too.
  39. * waznot joined #java
  40. * troydm joined #java
  41. * ChaiTRex joined #java
  42. * domicron joined #java
  43. * ChaiTRex joined #java
  44. * domicron joined #java
  45. [twisti]is he making hateful blog posts too
  46. * GreenResponse joined #java
  47. * 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.
  48. * nevet joined #java
  49. ChronosOf course, experienced people know that the "refactor later" step rarely, if ever, happens.
  50. * metalmaniac joined #java
  51. * mwnaylor joined #java
  52. * kcomhnall joined #java
  53. * MikeBux joined #java
  54. * LtHummus joined #java
  55. gas51627Hello.
  56. * mindCrime joined #java
  57. * emaczen joined #java
  58. jottingeroi
  59. * r0bby joined #java
  60. * if-p-then-q joined #java
  61. if-p-then-qHiya! Decided to go back to Emacs and see if I could use it now I understood Java and Maven better, writing my unit tests, it's actually great! https://paste.pictures/VmpAmURks2.png
  62. ParaTBH I see that as a downgrade but if it works for you, great.
  63. if-p-then-qIn some ways compared to IntelliJ IDEA it is a downgrade for Java programming, but since on this machine (my main study machine) my Window Manager is Emacs, it makes sense for me to develop in Emacs even with some small concessions to convenience, but everything necessary for smooth development (provided understanding of CLI Maven) is here.
  64. if-p-then-qAlso I have IntelliJ installed on this machine and can still use it no issue, with its window managed by Emacs :)
  65. if-p-then-qAppreciate that there is a really good linux version that was simple to install too, and that the Toolbox app worked despite me having a tiling window manager, just worked natively and popped up a window.
  66. if-p-then-qI had a question regarding unit tests and mocking actually: so when values are randomly generated, it is sufficient to test that they *are* getting generating at all, by mocking them, and returning a set value? I am using Mockito
  67. if-p-then-qShouldn't I be doing a statistical analysis on the distribution of their values and conformity to range?
  68. ParaWell, then the question becomes whether your randomly generated data is correct and comprehensive or not.
  69. if-p-then-qAh I see, yes, that does not matter really, well conformity to range does, so should I test specifically for that?
  70. ParaI don't really see why that would matter.
  71. ParaPoint of generative testing is to reduce otherwise too large workloads by taking a sample of all the possible values.
  72. ParaIt's doesn't really matter what the sample is or how well it distributes etc. as long as it conforms.
  73. ParaWith the big exception that if you're trying to develop a new, say, normal distribution algorithm and you want to make sure that conforms to such things.
  74. if-p-then-qI see... yes. I believe my current tests are therefore sufficient.
  75. if-p-then-qI wish I had developed the tests in tandem with the program but I had no idea how to write them before and a blockage of action due to blockage of imagination.
  76. ParaEh, such happens.
  77. ParaTDD is good for solving specific problems but exploratory development tends to be really hard if you try to do it through a test suite.
  78. ParaOr maybe not hard but...tedious?
  79. if-p-then-qHmm ok
  80. if-p-then-qMy usual approach is System.out.println
  81. if-p-then-qBut it would have been handy to have some sort of programmatic testing as I was going along in places, which I could have then filled out at the end to present evidence of a rigorous testing regimen in my report.
  82. if-p-then-qNot that it matters, I am enjoying writing these tests. I'm going to get on with it now. Oh how do I run the tests?
  83. if-p-then-qIn the CLI?
  84. jottingermvn package!
  85. jottinger~tdd
  86. javabotTDD stands for "test driven development," a methodology that emphasizes definition requirements as test conditions, and generally writes those requirements as tests before implementing functionality. Wants a rapid test cycle, and is really nice when requirements exist. See ~junit, ~testng.
  87. jottingeranyone saying tdd is tedious is doing it wrong
  88. jottingerfor one thing, it's tee-dee-deeyous
  89. jottingerfor another, it's a fantastic way of ensuring you understand what the code is supposed to do and does it
  90. * magla joined #java
  91. ParaWhat TDD gives is iteration speed and certainty. Both are good.
  92. jottingerWhat it TAKES is confusion and stupidity and a little time to understand what you're actually trying to do.
  93. jottingerWhen you don't know what you're attempting, TDD punishes the crap out of you. And it should.
  94. jottingerif you don't know what you're doing, everything you do is going to show it.
  95. ParaThen there's of course REPL but I don't think anyone in Java world really uses that even though there's now one available :)
  96. * kathadris joined #java
  97. Para...which kinda gives me an idea, I'm going to force myself to use it in my next hobby project.
  98. ParaI kinda need it as well, I'll be calling an API with really annoying rate limiter so having an actual cache while live developing will be useful.
  99. * zoraj joined #java
  100. if-p-then-qThere's a Java REPL???
  101. Parajshell, kinda
  102. Para~jep222
  103. javabot'JEP 222: jshell: The Java Shell (Read-Eval-Print Loop)' can be found at http://openjdk.java.net/jeps/222
  104. nevetjavabot mentioned url: http://openjdk.java.net/jeps/222 ("JEP 222: jshell: The Java Shell (Read-Eval-Print Loop)")
  105. * mindCrime joined #java
  106. if-p-then-qInteresting thanks
  107. if-p-then-qis JavaDoc.io often slow?
  108. if-p-then-qAh it's loaded!
  109. * ChaiTRex joined #java
  110. cheeserjavadoc.io, i think, explodes the javadoc jars on first request before serving (and probably has to download them) so there will be some delay
  111. * cmiles74 joined #java
  112. * Pixi joined #java
  113. if-p-then-qOk thanks :)
  114. * cmiles74 joined #java
  115. * mwnaylor joined #java
  116. * Ragnor joined #java
  117. * sponkz joined #java
  118. * justyb11 joined #java
  119. * pr070cal joined #java
  120. * petru joined #java
  121. * vitaliy joined #java
  122. * acidjnk joined #java
  123. * gurrkin joined #java