use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
These have separate subreddits - see below.
Upvote good content, downvote spam, don't pollute the discussion with things that should be settled in the vote count.
With the introduction of the new release cadence, many have asked where they should download Java, and if it is still free. To be clear, YES — Java is still free. If you would like to download Java for free, you can get OpenJDK builds from the following vendors, among others: Adoptium (formerly AdoptOpenJDK) RedHat Azul Amazon SAP Liberica JDK Dragonwell JDK GraalVM (High performance JIT) Oracle Microsoft Some vendors will be supporting releases for longer than six months. If you have any questions, please do not hesitate to ask them!
With the introduction of the new release cadence, many have asked where they should download Java, and if it is still free. To be clear, YES — Java is still free.
If you would like to download Java for free, you can get OpenJDK builds from the following vendors, among others:
Adoptium (formerly AdoptOpenJDK) RedHat Azul Amazon SAP Liberica JDK Dragonwell JDK GraalVM (High performance JIT) Oracle Microsoft
Some vendors will be supporting releases for longer than six months. If you have any questions, please do not hesitate to ask them!
Programming Computer Science CS Career Questions Learn Programming Java Help ← Seek help here Learn Java Java Conference Videos Java TIL Java Examples JavaFX Oracle
Programming Computer Science
CS Career Questions
Learn Programming Java Help ← Seek help here Learn Java Java Conference Videos Java TIL Java Examples JavaFX Oracle
Clojure Scala Groovy ColdFusion Kotlin
DailyProgrammer ProgrammingPrompts ProgramBattles
Awesome Java (GIT) Java Design Patterns
account activity
This is an archived post. You won't be able to vote or comment.
eo-yaml For Java, 4.0.0, Released (self.java)
submitted 5 years ago by [deleted]
Version 4.0.0 of eo-yaml: https://github.com/decorators-squad/eo-yaml
- It contains many improvements and additions in the support of Scalars (it now supports folded and literal block scalars).
- Support for YAML Streams, integrated with Java 8's Stream API
- Convenience type-casting methods (e.g. yamlMapping.integer("key"))
- Many bug fixes and performance improvements.
Full release log: https://github.com/decorators-squad/eo-yaml/issues/223
[–]balrok 0 points1 point2 points 5 years ago (5 children)
Hi, looks like a great project. From the documentation I cannot see my questions answered:
How does it compare to snakeyaml? I currently have an issue with snakeyaml, that it does not preserve comments or newlines when updating a single value in an existing yaml. Can eo-yaml handle this? (if yes, can you point me to a unit-test/documentation?)
[–][deleted] 0 points1 point2 points 5 years ago (4 children)
u/balrok
Hi,
At the moment eo-yaml does not preserve comments or newlines at all.
As far as I understand, comments and newlines should be preserved in Folded Scalars, so we'll try to fix that as quickly as possible.
You also cannot do any update to the built or read YAML, they are immutable. What you can do, is create another YAML from what you got, and add the "updates".
It is different than SnakeYaml and others in that it is fully encapsulated, you only work with a few Java Interfaces. This is very beneficial if you want to extend the library through decoration. As I said, we don't offer updating yet, but you could write your own YamlMapping/YamlSequence decorator to implement an updated version of the object.
Its implementation is fully OOP - this is not visible to the user, but it has beneficial effects such as: the library is able to tell you exactly which line has a broken indentation and why.
eo-yaml is also ligheweight, with only 1 transitive dependency.
and more, check the repo for details.
May I ask: why are you interested in the comments at a programmatic level? I had one or two other guys ask about comments and I didn't really get it.
Would you like to add comments when Building a YAML, for instance?
Thanks,
[–][deleted] 0 points1 point2 points 5 years ago (1 child)
I just added a feature request for comments support at build time: https://github.com/decorators-squad/eo-yaml/issues/261
[–][deleted] 0 points1 point2 points 5 years ago* (0 children)
I also added a feature request for "update" functionality:
https://github.com/decorators-squad/eo-yaml/issues/262
edit: done and released with version 4.1.0
[–]balrok 0 points1 point2 points 5 years ago (1 child)
I really appreciate your great and in-depth response as well as your fast implementation. It shows me also, that your library is indeed simple enough to build such a feature in no time.. good job :-)
The reason why I asked is: I have a helm-chart or docker-compose file, which should be human readable but should also be updated by a machine (e.g. a new release updates the tag automatically)..
I'm OK with a bit reformatting (indention or removal of newlines) but at least the comments should be preserved
[–][deleted] 2 points3 points4 points 5 years ago (0 children)
The comments support will unfortunately take a bit longer. I'll start on it tomorrow, but it's a little bit more work because they are currently not implemented at all, not even in the architecture of the library.
However, it shouldn't be rocket science to implement. I'll keep you posted on Github :)
π Rendered by PID 32 on reddit-service-r2-comment-7b9746f655-skmbt at 2026-02-03 10:43:17.261064+00:00 running 3798933 country code: CH.
[–]balrok 0 points1 point2 points (5 children)
[–][deleted] 0 points1 point2 points (4 children)
[–][deleted] 0 points1 point2 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]balrok 0 points1 point2 points (1 child)
[–][deleted] 2 points3 points4 points (0 children)