home.social

#java — Public Fediverse posts

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

  1. In my new article, I show how to get full observability for #Java Spring AI applications with Langfuse: prompts, token usage, tool calls, and costs. All based on #OpenTelemetry and #Arconia, without changing any code.

    thomasvitale.com/spring-ai-obs

  2. Primitive Patterns are out of JDK 28. the Amber spec leads (Angelos Bimpoudis, Gavin Bierman) announced the withdrawal of the preview feature for primitive types in patterns, instanceof and switch. Tools are already reacting, e.g. JaCoCo is dropping its related test.
    mail.openjdk.org/archives/list

  3. ⏰ Starting soon! Join us for Quarkus Insights Ep. #268... "Secure AI agents with Quarkus LangChain4j" with Willem Jan Glerum & Sergey Beryozkin.

    bit.ly/quarkusinsights

  4. Eine Java-Konferenz hat einen Vortrag von mir angenommen. Seltsame Zeiten.

    Vor 26 Jahren habe ich mir bei JUnit ein paar Ideen ausgeliehen. Jetzt darf ich sie wohl persönlich zurückbringen, mit Zinsen.

    Ich freue mich ehrlich! Wir können alle voneinander lernen. Ihr zum Beispiel, dass XML-Konfiguration … ach nee, das habt ihr uns ja beigebracht.

    #PHP #Java #JUnit #PHPUnit #JavaLand

  5. 3e tentative d'utiliser l'#IA depuis que le machin est à la mode.

    Et troisième échec.

    Le premier concernait des specs #svg.

    Le second un problème technique #java.

    Le troisième d'aujourd'hui concerne une tâche à exécuter en #bash.

    À chaque fois le machin a répondu une erreur, pour la simple et bonne raison qu'il a pompé une erreur ou une réponse obsolète et qu'il est incapable de comprendre que c'est une erreur, parce qu'il ne comprend pas ce qu'il raconte !

    (1/2)

  6. Are you near Darmstadt or Mannheim? Feeling neglected that I haven't given a Ted Talk near you?

    Well, I'm coming your way in 9 days!

    Tue 24 Nov with Darmstadt JUG: jug-da.de/2026/11/Event-Sourci

    Wed 25 Nov in Mannheim: link coming soon. Will take place at HdWM.

    #Java #EventSourcing

  7. The best-known subscription platforms take a percentage of your revenue on top of the store's cut. Codename One Commerce now adds offerings, paywalls you change without a release, experiments, a customer center with refunds and retention offers, and referral invites, across the App Store, Google Play, Amazon, Stripe and Paddle.

    The money goes from the store or your own Stripe or Paddle account to you. We never touch it, so there's no commission.

    codenameone.com/blog/subscript

    #Java

  8. Filling an SMS verification code doesn't need permission to read the inbox.

    In Codename One, TextArea.ONE_TIME_CODE maps to the one-time-code content type on iOS, an autofill hint on Android, and autocomplete="one-time-code" in the browser. No SMS permission, entitlement or build hint. The OS offers only the detected code.

    PhoneVerification adds the full flow; your server still owns rate limits, expiry and attempt caps.

    codenameone.com/blog/sms-otp-a

    #Java

  9. Minecraft vai ganhar uma nova arma ao estilo bumerangue chamada Throwing Disc, que regressa ao jogador após o lançamento. Esta atualização também liberta o uso da mão secundária na edição Bedrock.

    🔗 tugatech.com.pt/t94656-minecra

    #drop #estilo #game #java #minecraft 

  10. JobRunr can plan a job in the next three hours, at the moment with the least carbon emissions. Ronald Dehuysser (@rdehuyss) explained how in our live session: the energy providers have to give a forecast, and the job runs when the least carbon is generated. Would you let a job wait for a greener time?

    youtube.com/live/uNNbpeubj0U

    #Java #JobRunr #GreenSoftware

  11. JavaLand 2027: Programm für die Community-Konferenz im Europa-Park Rust steht

    Im März 2027 findet die JavaLand-Konferenz im größten Freizeitpark Deutschlands statt. Das Programm bietet rund 120 Sessions und einen Workshoptag.

    heise.de/news/JavaLand-2027-Pr

    #IT #Java #news

  12. Geely Box. Купил, подключил, переписал интерфейс

    Я являюсь гордым владельцем китайца от Geely. От авто я в восторге, но мультимедийная система вызывает вопросы. Например, в ней есть Apple CarPlay, но нет Android Auto. Для Android предлагается отдельное приложение, которое больше похоже на попытку зеркалить/транслировать экран телефона на дисплей автомобиля. После использования такого софта хочется хорошо помыться и почистить зубы.

    habr.com/ru/articles/1107968/

    #java #android #реверсинжиниринг #kotlin #jetpackcompose

  13. RE: mastodon.social/@TheDonRaab/11

    When I coded in 32-bit #Java 1.4 in early 2000s, I had none of these amazing tools, features, or libraries. We coded while scaling dunes in a desert with no RAM, water, shoes, hat, sunscreen and loved every minute of it. Respect to the devs who helped make the Java desert, plush fields of green. 🙏

  14. Shopify was right and wrong to move off react native. They're reinventing the past and creating more work instead of leaping forward and rethinking the core problem. It's a huge opportunity for competitors...

    codenameone.com/blog/shopify-w

    #Java

  15. Neither iOS nor Android ships a calendar view or a Gantt chart. Codename One now has both: a Scheduler with day, week, month, agenda and per-resource views, and a Gantt with dependencies, baselines, the critical path and resource leveling that shows which tasks move and the new end date before you apply it.

    Also new: Material 3 date and time pickers you restyle in CSS, and Slate, an MIT-0 booking app template with its server.

    codenameone.com/blog/scheduler

    #Java

  16. Лечение Java-монолита с Claude

    Когда я пришёл в проект, меня встретил Java-монолит: около 2000 классов, 120 тысяч строк кода и очень много сложной бизнес-логики. Его шесть лет писала команда из двух–пяти человек, и, судя по коду, о понятии технического долга никто в компании не слышал. Примерно за полгода до моего прихода команда начала работать с Copilot, а потом перешла на Claude Code. Тесты в проекте появились только вместе с Claude, но их было мало. Позже выяснилось, что и те толком ничего не проверяли. Условия были такие: мне разрешили обоснованно менять в проекте что угодно, но останавливать выкатку новых фич ради этого никто не собирался. То есть чинить двигатель предстояло на ходу.

    habr.com/ru/articles/1107882/

    #java #testing #architecture #technical_debt #claude

  17. 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

  18. 📰 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

  19. 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

  20. 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

  21. Возможно, 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

  22. 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

  23. 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

Share on Mastodon

Enter the server where you have an account.