| 17 Jul 2025 |
emily | in this case the nice thing for forks is that it is easy to maintain a merge of 5 branches into one | 21:57:18 |
emily | which is nominally a thing you can do in Git but in practice is no fun | 21:57:32 |
@softmoonworld:matrix.org | Infinidoge 🏳️⚧️: thank you! i think maybe that is something i could help update if someone else can't do it | 22:00:07 |
msgilligan | I'm going to keep it simple and just keep it as fork and a regularly rebased PR. It may not turn out to be a long-term thing. Once JDK 25 (both regular and GraalVM) is in Nixpkgs, I may lose interest. | 22:00:07 |
msgilligan | So, I will look at breaking out the mergable stuff, like GITHUB_TOKEN into separate PRs and maintaining a PR with the EA-25 as well. I will then be able to use and test this in various places with a separate flake input. I think this will work for me and should also help the Nixpkgs JDK team support 25 GA sooner. | 22:01:57 |
msgilligan | I created an org and a fork: https://github.com/nixpkgs-jdk-ea/nixpkgs | 22:03:15 |
msgilligan | Thanks everyone for your time and advice! | 22:18:33 |
@softmoonworld:matrix.org | if anyone was interested -- I looked into the code for temurin and it says 17.0.15 but it does download the +6 version since it's automatically getting the latest. | 23:13:16 |
Infinidoge 🏳️⚧️ | Cool, I meant to check that but I got distracted by at least 4 separate tangents and forgot | 23:14:01 |
emily | the versioning scheme is weird | 23:19:52 |
emily | +n are prereleases until they declare one of them to be -ga | 23:20:04 |
emily | so we never package the same version with a different +n, since we wait for -ga but represent it with the +n to match Temurin etc. since that's the canonical version | 23:20:26 |
Infinidoge 🏳️⚧️ | I love Java
I mean it both sarcastically and seriously | 23:25:07 |
@softmoonworld:matrix.org | ahh thats so interesting | 23:40:16 |
msgilligan | Java has had some of the craziest versioning schemes I've seen, thought they've reigned in some of their worst mistakes. e.g. Java 2 version 1.3. | 23:40:22 |
@softmoonworld:matrix.org | i'm in this funny place where i'm going to be working on a java code base and i am not a java professional, and i've also installed nixOS on my machine and i'm just learning a lot very fast right now. | 23:41:01 |
msgilligan | I'm guessing there's code in Nixpkgs that still deals with the 1.8 versioning for Java 8... | 23:41:10 |
@softmoonworld:matrix.org | oo i should take a look at that and see if i can imagine the history | 23:41:33 |
msgilligan | Java 17 is a good version to start with. The newer you can use, the better. They've really made dramatic improvements from 8 (aka 1.8) to 25 and seem poised to continue the good work. | 23:43:00 |
msgilligan | And part of the (historical) problem(s) with Java was that there were some really bad "enterprise" programming patterns that infected the ecosystem. They weren't required by the language, but they were ubiquitous. | 23:44:22 |
Infinidoge 🏳️⚧️ | See also FizzBuzz Enterprise Edition | 23:45:08 |
msgilligan | OutputGenerationContextVisitorFactory oh yeah! | 23:47:10 |
msgilligan | import com.seriouscompany.business.java.fizzbuzz.packagenamingpackage.interfaces.visitors.OutputGenerationContextVisitor; | 23:47:35 |
msgilligan | @moon, if you'r the book-reading type you might look at:
- https://www.manning.com/books/modern-java-in-action
- https://www.manning.com/books/the-well-grounded-java-developer-second-edition
| 23:51:08 |
msgilligan | "Modern Java in Action" is excellent, though getting a little bit dated since it was written in the Java 9/10 era. | 23:51:48 |
msgilligan | "The Well-Grounded Java Developer" is more modern but jumps around between topics a little. It includes coverage of Clojure and Kotlin which may or may not interest you. | 23:52:39 |
msgilligan | * @moon, if you're the book-reading type you might look at:
- https://www.manning.com/books/modern-java-in-action
- https://www.manning.com/books/the-well-grounded-java-developer-second-edition
| 23:55:19 |
| 18 Jul 2025 |
@softmoonworld:matrix.org | Oh I am! Thank you for the recommendation msgilligan . these look really helpful. | 00:02:25 |
@softmoonworld:matrix.org | I think the well grounded developer sounds like the perfect book since i have to clean up and modernize and move things over to kotlin slowly | 00:04:25 |
Infinidoge 🏳️⚧️ | I wish I could like Kotlin | 00:04:41 |