schmonz.com is a Fediverse instance that uses the ActivityPub protocol. In other words, users at this host can communicate with people that use software like Mastodon, Pleroma, Friendica, etc. all around the world.

This server runs the snac software and there is no automatic sign-up process.

Search results for tag #java

#refactoring boosted

[?]Jens » 🌐
@schegge42@nrw.social

Enum Hashes

FreshMarker is based on the concepts of another template engine. This is evident from its directives, interpolations, and, of course, its name. Another detail also betrays its origins. The types in the FreshMarker Template Language for collections are sequences and hashes. Hashes represent mappings from strings to values. We now want to rel

schegge.de/2026/04/enum-hashes/

    Ted M. Young boosted

    [?]Frank Delporte » 🌐
    @frankdelporte@foojay.social

    Here is the new , published on jfx-central.com/links.

    Thanks to
    No-Security-7518
    @leewyatt
    @dlemmermann
    Hidekazu Kubota
    Daniel Harris

    Happy reading, and have a lovely weekend!

    Screenshot

    Alt...Screenshot

      Ted M. Young boosted

      [?]Stuart Marks » 🌐
      @stuartmarks@mastodon.social

      OpenJDK Interim Policy on Generative AI

      openjdk.org/legal/ai

        [?]Michael Simons » 🌐
        @rotnroll666@mastodon.social

        So, says Co-Pilot is a tool for entertainment and the other company nobody talks about sounds like this

        > Generative AI tools, by their nature, make it easy to create large quantities of plausible-looking code, with plausible-looking tests, which is nonetheless incorrect or, even if it is correct, is poorly designed and therefore difficult to maintain.

        This is from in there “OpenJDK Interim Policy on Generative AI”

        openjdk.org/legal/ai

          #refactoring boosted

          [?]arcofai » 🌐
          @arcofai@mastodon.social

          Refactoring Java just got smarter 🤖

          At , Venkat Subramaniam shows how to use AI and data-driven techniques to modernize code—measuring quality before and after for real impact.

          arcofai.com/speaker/7e0794827e

          🎟️ Get tickets: arcofai.com

            [?]Ted M. Young » 🌐
            @jitterted@sfba.social

            I'll be doing some of the work on my live coding stream on Fridays, starting April 10th at 12pm PDT (7pm UTC). That'll be a short, 1-hour stream, due to other commitments. Future streams will be ~3 hours and you'll be able to AMA on , , etc.

            jitterted.stream/

              #refactoring boosted

              [?]Leanpub » 🌐
              @leanpub@mastodon.social

              A Short Guide to Naming by Tim Ottinger is free with a Leanpub Reader membership! Or you can buy it for $5.00! leanpub.com/naming_shortguide

                [?]Shawn Webb » 🌐
                @lattera@bsd.network

                @xilerk Good catch! This command did the trick:

                $ mvn -D versions.outputLineWidth=${COLUMNS} versions:display-dependency-updates

                Of course, ${COLUMS} could be set to some arbitrary huge value to help better ensure single line per dependency.

                Thanks a bunch for the suggestion! :-)

                  [?]Shawn Webb » 🌐
                  @lattera@bsd.network

                  This is not easily parsed by machines (or even humans). Some version numbers are on the same line, others are on a separate line.

                  There's extraneous and unneeded info.

                  And there's no way to influence the appearance of the output. For example, the ps command as the -w flag to explicitly set wide text output mode.

                  Screenshot of `mvn versions:display-dependency-updates`

                  Alt...Screenshot of `mvn versions:display-dependency-updates`

                    Katrin Rabow boosted

                    [?]Gerd Aschemann » 🌐
                    @ascheman@mastodon.social

                    My Java Modules with @ASFMavenProject (4) series continues!

                    Cleanly separate API and implementation in Java modules — and why mixing both is a common antipattern.

                    maven.aschemann.net/blog/2026/

                    Blog Series about Java Modules with Maven 4: "Separating API and Implementation" — using dedicated modules and requires transitive in Java Modules with Maven 4. With a portrait of the author.

                    Alt...Blog Series about Java Modules with Maven 4: "Separating API and Implementation" — using dedicated modules and requires transitive in Java Modules with Maven 4. With a portrait of the author.

                      Ted M. Young boosted

                      [?]Jan Ouwens » 🌐
                      @jqno@mastodon.online

                      EqualsVerifier 4.4.2 is out! It's a bugfix release that improves the layout of error messages, fixes a small bug with Kotlin lazy fields, and fixes two other minor issues.

                      Check it out: github.com/jqno/equalsverifier

                        Ted M. Young boosted

                        [?]Ted M. Young » 🌐
                        @jitterted@sfba.social

                        Another stream, another set of notes. So much "new"!

                        I try out a new design for Projectors, splitting EventConsumer into two pieces. Test-driving shows how it's about design exploration, not just writing tests.

                        ted.dev/articles/2026/04/06/li

                          Ted M. Young boosted

                          [?]Kamil Banach » 🌐
                          @elwin013@toot.community

                          I love working with .

                          I wanted to upgrade the app runtime from 17 to 21 - all I needed to do was install the new runtime, change the java.version property to 21, rebuild, and deploy.

                          And that is all - everything is working perfectly 😍

                            Jason Gorman boosted

                            [?]Ted M. Young » 🌐
                            @jitterted@sfba.social

                            Notes from my work, where I looked at event consumers that only get events they're interested in.

                            Struggled with Java's MethodHandle (docs could be better!), but otherwise works well.

                            Thoughts about Projector design.

                            Read more at: ted.dev/articles/2026/04/02/li

                              Ted M. Young boosted

                              [?]Frank Delporte » 🌐
                              @frankdelporte@foojay.social

                              Here is the new , published on jfx-central.com/links.

                              Thanks to
                              PDFSam
                              @dlemmermann
                              @hansolo_
                              @foojay

                              Happy reading, and have a lovely weekend!

                              Screenshot

                              Alt...Screenshot

                                Ted M. Young boosted

                                [?]Frank Delporte » 🌐
                                @frankdelporte@foojay.social

                                I wrote an article for JAVAPRO about the Foreign Function and Memory (FFM) API, added in 22, and how it got used to add a new and better plugin to @pi4j

                                You can read it here:
                                javapro.io/2026/04/01/the-ffm-

                                  Ted M. Young boosted

                                  [?]Richard Fichtner » 🌐
                                  @RichardFichtner@fosstodon.org

                                  People keep asking me about these badges…
                                  especially the ribbons.

                                  Yes, there’s a bit of “catch ’em all” 😄
                                  But they actually do something simple: they start conversations.

                                  You see a topic → you talk → something interesting happens.

                                  That’s the real value of in-person conferences.

                                  That’s what JCON EUROPE 2026 is about.

                                  Join us in April in Cologne: 2026.europe.jcon.one/

                                    [?]Ted M. Young » 🌐
                                    @jitterted@sfba.social

                                    This was all triggered by new functionality that I want to add: the ability to set a date/time when concert tickets go on sale that is separate from when the concert was scheduled (entered into the system).

                                    Read all about it at ted.dev/articles/2026/03/30/li

                                      Ted M. Young boosted

                                      [?]JCON » 🌐
                                      @jcon@mastodon.social

                                      youtube.com/shorts/zvmxZYIA13Q

                                      Project Project
                                      And most importantly: The people behind it.

                                      Sharat Chander invites you to meet , top speakers and the global community at .

                                      🎟️2026.europe.jcon.one/tickets

                                        [?]Ted M. Young » 🌐
                                        @jitterted@sfba.social

                                        Want some Technical Coaching or a Talk (Event-Sourcing, Testing)?

                                        I'm looking to do meetup/user group presentations or technical coaching the week of April 27, and in June so I don't have to fly all the way back home, just to fly back again a soon after.

                                          [?]Ted M. Young » 🌐
                                          @jitterted@sfba.social

                                          I love generics (when I get them right, which can take me a while!) and find varargs really useful when refactoring, but they do NOT play well together. Ugh. Guess I'll create an overloaded method to take a List<T> instead.

                                            [?]Ted M. Young » 🌐
                                            @jitterted@sfba.social

                                            On my stream last week, I had some frustration with Avro for event payload serialization and decided that JSON was just fine (in terms of performance).

                                            I had thoughts about Projections as Caches and a question around IDs being required in events.

                                            ted.dev/articles/2026/03/25/li

                                              [?]Simon Brooke » 🌐
                                              @simon_brooke@mastodon.scot

                                              people, do you have a preference for the name 'hashtable' or 'hashmap'? In , there's an actual semantic difference, since Java HashTable is not thread safe while Java HashMap is.

                                              I am building things which are thread safe. My inclination is to call them 'hashtables', but is this now old fashioned and should 'hashmap' be preferred?

                                              If so, please give reasons.

                                                Ted M. Young boosted

                                                [?]Frank Delporte » 🌐
                                                @frankdelporte@foojay.social

                                                Here is the new , published on jfx-central.com/links.

                                                Thanks to
                                                Kevin Rusforth
                                                @APIdia
                                                @gluonhq
                                                @eitch
                                                @lottie4j
                                                @dlemmermann
                                                Lee Wyatt

                                                Happy reading, and have a lovely weekend!

                                                Screenshot

                                                Alt...Screenshot

                                                  [?]Leanpub » 🌐
                                                  @leanpub@mastodon.social

                                                  Big Kotlin pack by Marcin Moskała is the featured bundle on Leanpub!

                                                  Link: leanpub.com/b/kotlin_mm

                                                    [?]Ted M. Young » 🌐
                                                    @jitterted@sfba.social

                                                    More live coding and :

                                                    I dealt with "external" and "parameter" validation (I didn't implement the third type: "internal" validation) of scheduling conflicts for Concerts.

                                                    I also pondered minimal consistency boundaries.

                                                    Notes are at: ted.dev/articles/2026/03/24/li

                                                      [?]Ted M. Young » 🌐
                                                      @jitterted@sfba.social

                                                      Back to streaming, with notes from yesterday's stream: ted.dev/articles/2026/03/23/li

                                                      I chatted about consistency boundaries, missing-event heuristics, and encoding (serializing) events.

                                                        [?]Leanpub » 🌐
                                                        @leanpub@mastodon.social

                                                        Stratospheric - From Zero to Production with Spring Boot and AWS: Hands-on online course to learn all you need to know to get a Spring Boot application into production with AWS. by Philip Riecks, Björn Wilmsmann, and Tom Hombergs is the featured course on Leanpub!

                                                        Link: leanpub.com/courses/leanpub/st

                                                          Ted M. Young boosted

                                                          [?]Frank Delporte » 🌐
                                                          @frankdelporte@foojay.social

                                                          Here is the new , published on jfx-central.com/links.

                                                          Thanks to
                                                          @gluonhq
                                                          @johanvos

                                                          @eitch
                                                          @rladstaetter
                                                          Pavel Castornîi
                                                          Helal Anwar
                                                          Florian Enner
                                                          JPro

                                                          Happy reading, and have a lovely weekend!

                                                          Screenshot

                                                          Alt...Screenshot

                                                            [?]Leanpub » 🌐
                                                            @leanpub@mastodon.social

                                                            CAS Internals: A Journey Through the Central Authentication Server Codebase by Dmitriy Kopylenko is the featured book on Leanpub!

                                                            Link: leanpub.com/cas-internals

                                                              Back to top - More...