Community
Chat Logs
Saturday, February 14, 2026
- * 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.
- * nevet joined #java
- * nevet joined #java
- * 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.
- * lockdown joined #java
- * mindCrime joined #java
- * metalmaniac joined #java
- * five618480339176 joined #java
- * lornik joined #java
- * stfstfm joined #java
- * sbalmos joined #java
- * sponkz joined #java
- * agnivn joined #java
- * rvalue joined #java
- * sponkz joined #java
- 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
- * Aedil joined #java
- * sponkz_ joined #java
- * stfstfm joined #java
- * Wbooze joined #java
- * stfstfm joined #java
- * rvalue joined #java
- * m_ben joined #java
- * m_ben left #java
- * kathadris joined #java
- * stfstfm joined #java
- * MikeBux joined #java
- * ultralan joined #java
- * mindCrime joined #java
- * acidjnk joined #java
- * magla joined #java
- * sponkz_ joined #java
- * stfstfm joined #java
- dreamrealdeebo: wait, for what now?
- deeboyoutube links
- 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.
- dreamrealhey, https://x.com/dev_maims/status/2022588131623501927
- dreamrealokay, so javabot's lost it too.
- * waznot joined #java
- * troydm joined #java
- * ChaiTRex joined #java
- * domicron joined #java
- * ChaiTRex joined #java
- * domicron joined #java
- [twisti]is he making hateful blog posts too
- * GreenResponse joined #java
- * 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.
- * nevet joined #java
- ChronosOf course, experienced people know that the "refactor later" step rarely, if ever, happens.
- * metalmaniac joined #java
- * mwnaylor joined #java
- * kcomhnall joined #java
- * MikeBux joined #java
- * LtHummus joined #java
- gas51627Hello.
- * mindCrime joined #java
- * emaczen joined #java
- jottingeroi
- * r0bby joined #java
- * if-p-then-q joined #java
- 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
- ParaTBH I see that as a downgrade but if it works for you, great.
- 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.
- if-p-then-qAlso I have IntelliJ installed on this machine and can still use it no issue, with its window managed by Emacs :)
- 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.
- 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
- if-p-then-qShouldn't I be doing a statistical analysis on the distribution of their values and conformity to range?
- ParaWell, then the question becomes whether your randomly generated data is correct and comprehensive or not.
- if-p-then-qAh I see, yes, that does not matter really, well conformity to range does, so should I test specifically for that?
- ParaI don't really see why that would matter.
- ParaPoint of generative testing is to reduce otherwise too large workloads by taking a sample of all the possible values.
- ParaIt's doesn't really matter what the sample is or how well it distributes etc. as long as it conforms.
- 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.
- if-p-then-qI see... yes. I believe my current tests are therefore sufficient.
- 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.
- ParaEh, such happens.
- 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.
- ParaOr maybe not hard but...tedious?
- if-p-then-qHmm ok
- if-p-then-qMy usual approach is System.out.println
- 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.
- 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?
- if-p-then-qIn the CLI?
- jottingermvn package!
- jottinger~tdd
- 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.
- jottingeranyone saying tdd is tedious is doing it wrong
- jottingerfor one thing, it's tee-dee-deeyous
- jottingerfor another, it's a fantastic way of ensuring you understand what the code is supposed to do and does it
- * magla joined #java
- ParaWhat TDD gives is iteration speed and certainty. Both are good.
- jottingerWhat it TAKES is confusion and stupidity and a little time to understand what you're actually trying to do.
- jottingerWhen you don't know what you're attempting, TDD punishes the crap out of you. And it should.
- jottingerif you don't know what you're doing, everything you do is going to show it.
- 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 :)
- * kathadris joined #java
- Para...which kinda gives me an idea, I'm going to force myself to use it in my next hobby project.
- 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.
- * zoraj joined #java
- if-p-then-qThere's a Java REPL???
- Parajshell, kinda
- Para~jep222
- javabot'JEP 222: jshell: The Java Shell (Read-Eval-Print Loop)' can be found at http://openjdk.java.net/jeps/222
- nevetjavabot mentioned url: http://openjdk.java.net/jeps/222 ("JEP 222: jshell: The Java Shell (Read-Eval-Print Loop)")
- * mindCrime joined #java
- if-p-then-qInteresting thanks
- if-p-then-qis JavaDoc.io often slow?
- if-p-then-qAh it's loaded!
- * ChaiTRex joined #java
- 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
- * cmiles74 joined #java
- * Pixi joined #java
- if-p-then-qOk thanks :)
- * cmiles74 joined #java
- * mwnaylor joined #java
- * Ragnor joined #java
- * sponkz joined #java
- * justyb11 joined #java
- * pr070cal joined #java
- * petru joined #java
- * vitaliy joined #java
- * acidjnk joined #java
- * gurrkin joined #java