ByteCode.News
Submit RSS Atom Sign in

Back to the channels

#java

  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. deebo dreamreal: 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. dreamreal deebo: wait, for what now?
  35. deebo youtube links
  36. dreamreal Oh, 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. dreamreal hey, https://x.com/dev_maims/status/2022588131623501927
  38. dreamreal okay, 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. Chronos Of 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. gas51627 Hello.
  56. * mindCrime joined #java
  57. * emaczen joined #java
  58. jottinger oi
  59. * r0bby joined #java
  60. * if-p-then-q joined #java
  61. if-p-then-q Hiya! 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. Para TBH I see that as a downgrade but if it works for you, great.
  63. if-p-then-q In 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-q Also I have IntelliJ installed on this machine and can still use it no issue, with its window managed by Emacs :)
  65. if-p-then-q Appreciate 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-q I 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-q Shouldn't I be doing a statistical analysis on the distribution of their values and conformity to range?
  68. Para Well, then the question becomes whether your randomly generated data is correct and comprehensive or not.
  69. if-p-then-q Ah I see, yes, that does not matter really, well conformity to range does, so should I test specifically for that?
  70. Para I don't really see why that would matter.
  71. Para Point of generative testing is to reduce otherwise too large workloads by taking a sample of all the possible values.
  72. Para It's doesn't really matter what the sample is or how well it distributes etc. as long as it conforms.
  73. Para With 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-q I see... yes. I believe my current tests are therefore sufficient.
  75. if-p-then-q I 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. Para Eh, such happens.
  77. Para TDD 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. Para Or maybe not hard but...tedious?
  79. if-p-then-q Hmm ok
  80. if-p-then-q My usual approach is System.out.println
  81. if-p-then-q But 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-q Not 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-q In the CLI?
  84. jottinger mvn package!
  85. jottinger ~tdd
  86. javabot TDD 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. jottinger anyone saying tdd is tedious is doing it wrong
  88. jottinger for one thing, it's tee-dee-deeyous
  89. jottinger for 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. Para What TDD gives is iteration speed and certainty. Both are good.
  92. jottinger What it TAKES is confusion and stupidity and a little time to understand what you're actually trying to do.
  93. jottinger When you don't know what you're attempting, TDD punishes the crap out of you. And it should.
  94. jottinger if you don't know what you're doing, everything you do is going to show it.
  95. Para Then 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. Para I 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-q There's a Java REPL???
  101. Para jshell, 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. nevet javabot 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-q Interesting thanks
  107. if-p-then-q is JavaDoc.io often slow?
  108. if-p-then-q Ah it's loaded!
  109. * ChaiTRex joined #java
  110. cheeser javadoc.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-q Ok 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