home.social

#java — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #java, aggregated by home.social.

  1. A map benchmark that only looks up keys that exist can hide a disaster.

    ParparVM's HashMap hit in one probe, but a missing key among dense integer keys walked the whole occupied run: 16,742 probes on average at 100,000 entries. Three million containsKey calls took 32.7 s.

    Keeping the home slot and changing the collision path to CPython-style perturbed probing cut that to 44.9 ms. Random hits on a large table got slower; the post shows both.

    codenameone.com/blog/hashmap-m

    #Java

  2. 📰 Agenten brauchen mehr als Codezugriff: Was die neuen Entwicklertools verändern
    ➤ nydus.org/news/136847-agenten-
    { #Netzwelt #Update #Uber #Sicherheitslcken #Java }
    ◆ Ein KI-Agent, der ein Symbol umbenennt, kann Dateien durchsuchen und Zeichenketten ersetzen. Oder er ruft ein Refactoring auf, das Referenzen und Gültigkeitsbereiche kennt. Für den Auftraggeber mag beides ähnlich aussehen; für die Qualität einer

  3. The CFP for the Free #Java devroom at #FOSDEM 2027 closes on Nov. 29

The devroom is Sat Jan 30th (full day), 25-min in-person-only talks.

pretalx.fosdem.org/fosdem-2027

    #openjdk #OpenSource #FOSS

  4. How safe is your Java application, and how safe are the dependencies it ships with? OWASP's Jim Manico has a blunt answer for teams without a security process: you are negligent. Then he explains how to fix that. A very entertaining and informative talk in @foojay podcast 105!

    Available on YouTube and in your favorite podcast app:
    youtube.com/watch?v=Q9EIBoek2zc

    #java #openjdk #security #cve #vulnerability #owasp #podcast

  5. Возможно, Transactional Outbox не так уж и прост?

    Я написал transactional outbox для двух своих коммерческих проектов. Подходящих готовых решений на момент написания не было, а CDC на основе лога с Debezium показался слишком тяжёлым для простого требования: сохранить событие вместе с данными и отправить его позже. Само требование появляется потому, что сервис, который меняет базу и затем публикует сообщение, пишет в две системы, а транзакция базы данных покрывает только одну из них. Если процесс умирает между коммитом и публикацией, данные изменились, а никто об этом не узнал. Поменяйте порядок местами - и сообщение уйдёт об изменении, которого не случилось. Паттерн outbox закрывает эту дыру тем, что делает событие частью транзакции. Вместо того чтобы публиковать прямо в брокер, сервис записывает событие в таблицу рядом с бизнесданными, а доставляет его отдельный шаг, позже.

    habr.com/ru/articles/1107804/

    #java #architecture #spring_boot #springboot #springbootstarter #transactional_outbox #java_spring_boot #spring_boot_starter #transactionaloutbox

  6. Our Java card classifier was 99.9% sure on the first card, then wrong on the next ones, some at 97.9% sure. It learned from about 30 webcam images per card, and JobRunr ran the training. What would you change first: more images, other lighting or another model?

    Live session with @rdehuyss: youtube.com/live/uNNbpeubj0U

    #Java #JobRunr #MachineLearning

  7. ZGC gets adaptive heap sizing, value classes complicate numeric conversions, and primitive patterns are withdrawn as JDK 28 takes shape - details in the latest Inside #Java Newscast:

    youtube.com/watch?v=44sLqD-0Sxk

  8. WebAssembly on the backend. Java on GPUs. Distributed AI inference at scale.

    How are these technologies reshaping backend computing?

    In this InfoQ podcast, Edoardo Vacchi explores TornadoVM, llm-d, and vLLM on Kubernetes, including how smarter cache management and request routing maximize expensive GPU utilization.

    🎧 Listen now: infoq.com/podcasts/distributed

    #WebAssembly #Java #AI #LLM #Kubernetes #GPU #InfoQ

  9. The day before my talk with Chandra Guntur at JCON USA in Atlanta, I published a blog where I learned how to show the effects of Escape Analysis on code using JMH with -prof gc. I still have much to learn in #Java. 🙏
    donraab.medium.com/the-escape-

  10. We could tell you what #JCON EUROPE feels like. Our #community says it better:

    "The people. The audience was engaged with the talks, other speakers were great, crew was friendly and helpful. Thanks for having me!"
    - Marit van Dijk, #Java Champion

    "I really like the aspect of a conference from the community for the community."
    - Simon Martinelli, Java Champion, Oracle ACE Pro

    #JCON2027 blind tickets: 30% off, until we publish the first speaker.
    🎟️ 2027.europe.jcon.one/tickets

  11. An agent's ticket-search tool needs to describe its search rules, accepted inputs, and result limits.

    The Java example returns five summaries and says when more match. I describe context retrieval separately, keeping comment histories out of search.

    Read the walkthrough and subscribe on The Main Thread.

    #Java #LangChain4j #AIAgents

    the-main-thread.com/p/java-qua

  12. Join us next Monday, November 16th, at 9am EST for Quarkus Insights Ep. 268 as Willem Jan Glerum & Sergey Beryozkin discuss Secure AI agents with Quarkus LangChain4j. AI agents are quickly entering enterprise apps, making security a critical concern—you don't want an agent dropping your database or executing privileged actions. Learn best practices for implementing effective guardrails to keep your mission-critical systems safe.

    bit.ly/quarkusinsights

  13. Thanks #NLJUG for another amazing #JFall.

    Thanks to everyone who came to @aalmiray & my talk about #Maven.
    You can find the slides & code here: maritvandijk.com/presentations

    Good to see so many people from the #Java community, like @venkats and many others.

  14. [recovery mode] Автоматизация релизов Java-монолита в закрытом контуре: замена maven-release-plugin на JGit

    Тезис: Как мы автоматизировали подготовку релизов в банке (Java 17, Spring), написали свой плагин для проверки release notes и обошлись без выделенного DevOps-инженера, используя чистый Java-стек в закрытом контуре.

    habr.com/ru/articles/1107502/

    #java #автоматизация #maven #ci #энтерпрайз #devops #jgit #gitlabci #mavenplugin #gitlabrunner

  15. In `io.github.glaforge:gemini-interactions-api-sdk:2.2.0`, `DecisionParams` offers `.noul()`, `.choice()` & `.score()` builders, and `client.createDecision(params)` returns sealed `NoulAnswer`, `ChoiceAnswer` & `ScoreAnswer` records (plus server routing in `InteractionsHandler`).

    Compare both #Micronaut 5 / #Java 25 editions live on #CloudRun:
    ⚡ CPU (`gemini-decision-1`): purrfect-match.cloud.run
    🖥️ GPU (`DiffusionGemma`): purrfect-match-gpu.cloud.run

  16. Back in September, I deployed `DiffusionGemma` + `djev` on a #CloudRun Blackwell GPU to test "System 1" multimodal classification in Java.

    This week Google DeepMind launched #Gemini Decision 1 (`gemini-decision-1`) & the Decisions API (`POST /v1beta/decisions`). I just released v2.2.0 of my Gemini Interactions #Java SDK on Maven Central to support it, & migrated my Purrfect Match demo to run without any GPU! 🧵👇

  17. Here is the new #JavaFX #LinksOfTheWeek, published on jfx-central.com/links.

    Thanks to Chad Preisler, Wolfgang Weigend, Michiel (dotjava), Serendipity, Shai Almog, Libán Bande González, Emad Hanif, @gluonhq (José Pereda) and @foojay plus the Reddit contributors xdsswar, Tomarka, Guilty_Village_958, neopointer, V_Bifi and hamsterrage1.

    Happy reading, and have a lovely #Java weekend!

  18. Thanks to everyone who joined my SALT (formerly Utah JUG) talk, "Software Factories for the Agent Era."

    The demo pairs four GitHub Actions checks with GitHub Copilot code review. Two staged pull requests show where checks help and where they can miss a bad change.

    The repo includes the Java app, API contract, tests, branch rules, and a guide to replaying the review. A person still approves the merge.

    Try it: github.com/bbenz/TLK-4908

    #Java #CICD #GitHubCopilot

  19. @npub1r8u6lw8c2h67s66magtqu78vtpckfzcsmmdsg06gqm723njsunfs8kfjwl@momostr.pink and I have an IRL friend couple. She does some sysadmin work for a company that sells software and hardware tech for prisons (the tablets the inmates use, the phone system, etc...) and he previously worked for a company that builds software systems for companies that rely on GIS (Geographic Information Systems)

    Last year he left the company he was with to found his own company because he felt he could do it better than his bosses. They, in turn, sued him for stealing company time to build his new business, and for stealing their intellectual property. He did neither of those things. But now he's broke, and his new company cannot legally sell it's product.

    So now they're living off her salary, which is not enough, and they are about to have to start selling stuff to make ends meet.

    So here is my #asknostr - does anyone want to meet a senior developer in #GIS systems with experience in #java #rust #agenticai #selfhosting #linux and experience with self hosting AI coding agents? He's a fiat normie right now but I bet we could convince him to accept sats at this point. He's looking for full time employment but he'd take bounties or gig work to fill the gap.

    LMK I'll set it up.
  20. BasedChallenges 3.2.0 and BasedUtils 3.1.0 are out. Both target Paper 26.3 and Java 25. Challenges 3.1.0 outlines the current chunk, the structure footprint and the biome border for time limit challenges, tinted with the challenge's boss bar color, and 3.2.0 adds a minefield challenge and publishes to Modrinth. Utils 3.1.0 improves multipage inventories.

    codeberg.org/DontBlameMe/Based
    codeberg.org/DontBlameMe/Based

  21. "You’re right, it was overkill. The interface and the three classes are gone"- replaced with an `if/else` statement.

    Oof.

    #java #ai #claude #code #programming

  22. Half my chats with Claude are mostly "Why the f*** have you over complicated this?", especially with Java. It loves to build elaborate objects with `isFor` or some other junk that hides complexity and breaks the readability.

    Just call a spade, a spade you crazy machine!

    This is what concerns me about the future - new developers not knowing when something *should* be complex, and when it doesn't need to be.

    #java #programming #claude #ai #code #tech

  23. LumineLog v0.7.0 is here!

    Opening large logs now happens in the background, keeping the UI responsive. Smarter tail polling and disk-backed storage for large search results make investigating logs smoother, too.

    github.com/eitch/LumineLog

    #LumineLog #LogViewer #Java #JavaFX #OpenSource

  24. The November #syslog_ng newsletter is now on-line:

    - Syslog-ng #hardening using #Tor

    - Scaling back #Java support

    - Using syslog-ng with #Elasticsearch 9.5

    Read more at peter.czanik.hu/other/syslog-n

  25. Новая книга по Spring Security. Насколько это актуально сегодня?

    Spring Security обладает интересным свойством: подключить его к проекту очень просто, а вот понять, что именно произошло после добавления зависимости, уже не так просто. Вот вы добавили spring-boot-starter-security , и приложение внезапно начало возвращать форму входа. Откуда взялся пользователь? Кто создал цепочку фильтров? Почему один запрос завершается со статусом 401, а другой со статусом 403? Почему после добавления еще одного SecurityFilterChain часть прежних правил будто бы перестала работать? Можно, конечно, каждый раз находить похожий пример и копировать конфигурацию. Иногда это даже будет работать. Проблема начинается тогда, когда поведение фреймворка нужно изменить или когда найденный пример относится к другой версии Spring Security. Главная проблема большинства материалов по Spring Security в том, что они показывают какую-то небольшую часть общей картины, при этом у человека после чтения не остается цельная модель происходящего . С этой точки зрения предлагаю посмотреть на четвертое издание книги Бадра Насслахсена «Spring Security». Русское издание вышло в 2026 году. Это будет небольшая рецензия/обзор книги с моей стороны. Сразу обозначу свою позицию. Я не считаю эту книгу универсальным руководством по безопасности приложений и не думаю, что ее примеры можно бездумно переносить в production. Но как способ систематизировать знания именно по Spring Security она вполне заслуживает внимания . Ниже постараюсь объяснить почему.

    habr.com/ru/companies/spring_a

    #java #security #books #spring #book_review #springboot #springsecurity

  26. Codename One builds Flutter apps from their Dart source by transpiling to Java. Now stack traces name your .dart file and line, and a Java debugger attached to the simulator steps through the Dart. No new debugger: the build rewrites the class files' line tables and adds a JSR-45 source map, the mechanism JSP debugging has used for twenty years.

    Also in the post: JFX Central, a JavaFX app, running on an iPhone.

    codenameone.com/blog/debug-dar

    #Java #Flutter

  27. Thu 12 Nov, 8pm CET, live on YouTube: Johannes trains an image classifier in Java while @rdehuyss, creator of JobRunr, supervises. 20 Java trading cards, a webcam, an existing image model trained further on our cards (transfer learning), and JobRunr running prep, training and evaluation as background jobs with progress in its dashboard. We don't know yet how well it works.
    youtube.com/live/uNNbpeubj0U
    #Java #JobRunr #LiveCoding #MachineLearning

  28. My article "Modular Java Applications with Apache Maven 4" is out in @javapro.

    @ASFMavenProject's Maven 4 introduces the module source hierarchy: several Java modules in one pom.xml — a clean api/core/cli split with real encapsulation, and no multi-module reactor.

    javapro.io/2026/11/12/modular-

    Code: github.com/aschemaven/maven-mo

    #Java #Maven #JavaModules #ApacheMaven

  29. Three Java modules, one POM, three JARs. Maven 4 introduces a module source hierarchy that packages each Java module separately, without multiple Maven subprojects.

    Gerd Aschemann shows how it works in practice: javapro.io/2026/11/12/modular-

    #Java #Maven #Maven4

  30. We benchmarked OpenJDK AppCDS across Spring Boot, Jenkins & SonarQube on K8s to see if pods become Ready faster after cache-fetching overhead.

    The surprise: sequential init containers ate 100% of our JVM gains (~1.75s tax). Pivoting to K8s 1.33+ Image Volumes fixed it, cutting Spring Boot readiness from 5s → 3s with zero code changes.

    Full breakdown (including where it fails):
    baokhang.hashnode.dev/faster-j

    #Kubernetes #Java #SpringBoot #JVM #devops

Share on Mastodon

Enter the server where you have an account.