Rafael Winterhalter
@rafaelcodes.bsky.social
660 followers 90 following 53 posts
software consultant who likes static typing, coding at http://github.com/raphw 🇧🇻🇩🇪🇪🇺
Posts Media Videos Starter Packs
rafaelcodes.bsky.social
Yes and yes. One is on purpose, the other one is not ;)
Reposted by Rafael Winterhalter
gunnarmorling.dev
Wow, TIL that LISTEN/NOTIFY in Postgres requires a global lock when committing transactions issuing a NOTIFY. Consider listening to the WAL via logical replication as an alternative with no impact on the write path.

www.recall.ai/blog/postgre...
Reposted by Rafael Winterhalter
gunnarmorling.dev
"Towards a JSON API for the JDK"

New proposal on the core-libs-dev list for adding a basic JSON API to #Java. That would be a more than welcome addition, in particular considering the envisioned usage once member patterns will be available. Make it So 🤩!

mail.openjdk.org/pipermail/co...
Reposted by Rafael Winterhalter
christianstoecker.de
Und das, liebe Kinder, ist der Grund, warum man sich bei existenziell wichtigen Werkzeugen am besten mindestens parallel auf lokal gehostete Open Source Lösungen stützt. Wenn #Trump anfängt, die US-Tech-Konzerne in Waffen zu verwandeln, wird es finster. #KritIs
Post von Peter Schaar: #Microsoft hat auf Anordnung von Donald #Trump seine Dienste für den Internationalen Strafgerichtshof gesperrt. Der Staatsanwalt des #ICC hat keinen Zugriff auf seine #email. Quelle: AP
rafaelcodes.bsky.social
Here's something I want but am too lazy to build: Take a picture of a huge pile of Lego, and get me a classification of what brick belongs to which set. The manual equivalent is quite something.
Reposted by Rafael Winterhalter
pminborg.bsky.social
We just integrated a performance improvement to Java String that will provide a ~10x performance boost in some applications where Strings are used as keys and where the associated values are constant foldable. This will make JDK 25 faster.

github.com/openjdk/jdk/...
Reposted by Rafael Winterhalter
rafaelcodes.bsky.social
Fastpass lohnt sich übrigens nur wenn du alles fahren willst. Die Sachen für die kleinsten haben wenig Schlangen. Und er gilt nur einmal für Fahrgeschäft. Nimm ein billiges Disneyhotel, dann darfst du eine Stunde früher, und in der Stunde kannst du alles fahren ohne warten.
rafaelcodes.bsky.social
Viel Glück. Ich bin mit meiner Tochter 2.5 Stunden angestanden, um die Prinzessinnen zu treffen. Keine Übertreibung. Aber sie hat geduldig gewartet. Buch mitnehmen, Pläne dynamisch nach Wartezeiten in der App anpassen, Ohrstöpsel da überall im Park Disneymusik gespielt wird. Urlaub danach planen!
rafaelcodes.bsky.social
Do I understand it correctly that the central-publishing-maven-plugin intends to replace the nexus-staging-maven-plugin? But not necessarily the maven-release-plugin? How would one otherwise handle tagging in Git? I'm confused.
Reposted by Rafael Winterhalter
javazone.bsky.social
We’d love to see more talk proposals rolling in for #JavaZone2025!

Got something interesting to share? Big or small, wild or practical — we want to hear it! 🙌

2025.javazone.no/en/...
rafaelcodes.bsky.social
What frustrates me most about Kotlin and Scala is their closed world perspective on their own tooling. Java byte code is well-defined and easy to interop. It should not be hard to add an annotation to a class, but with Kotlin it somehow is: discuss.kotlinlang.org/t/dynamicly-...
Dynamicly added annotations are not visible
I am trying to add support for kotest for a test intelligence tool. To do so, I need to be able to add the Ignored annotation to classes dynamically using a Java agent, but the annotation seems to not...
discuss.kotlinlang.org
Reposted by Rafael Winterhalter
patigallardo.bsky.social
All folks who speak at conferences should read this and think long and hard about whether they want to risk speak in the US in the future.

Also anyone who works while traveling.
comicon.com/2025/03/18/f...
First of all, they all confirmed what I thought.
The majority of comics creators travel to the
USA on an ESTA — "The short is that almost everyone just goes in on a ESTA. "That's the electronic tourist visa, easy to apply for, valid for two years. Things are slightly different for Canada, they have their own version of an ESTA, and anecdotal reports say that some Canadian shows implicitly include visa requirements in the guest information.
But when you're going in on a tourist visa like the ESTA, the Immigration and Border Control can and will interrogate you about what you're visiting for. And if they have even the slightest idea that you're working whilst you're there, they can and will deny you entry and/or detain
you.
The problem now is that all those previously accepted and overlooked things that can be classed as 'working', such as Becky's chores for board or a hotel room for a comics convention
in return for your appearance, could well see you denied and/or detained.
rafaelcodes.bsky.social
Catch of the day: The Kafka client for Java logs a bunch of things on info level that likely should be debug, which resulted in Splunk logging for millions of crowns of repetitive things nobody needs. I argue that libraries should never log anything on the info level.
Reposted by Rafael Winterhalter
geirsson.com
@vonderleyen.ec.europa.eu Here’s a potent idea for Europe: allow member states to charge VAT on online ads served within their borders. Why should platforms like Meta earn ad revenue from EU audiences without paying VAT locally?
Reposted by Rafael Winterhalter
geirsson.com
One of my most radical political positions is that online ads should be treated like addictive substances (alcohol) and have something like 100% VAT.

This doesn’t exist because governments can’t technically charge VAT for online ads served in the country.
rafaelcodes.bsky.social
Finally found the time to make Mockito a proper named module: github.com/mockito/mock...

jdk.unsupported can still be used, but if Mockito is added as an agent and the package is not imported elsewhere, it still works fully without it on official API in the instrumentation API.
Add support for including module-info in Mockito. by raphw · Pull Request #3597 · mockito/mockito
Adds module-info.java to describe module descriptor.
github.com
Reposted by Rafael Winterhalter
jprimeconf.bsky.social
🎓 We are so happy that our great friend Rafael Winterhalter (@rafaelcodes.bsky.social) will be back to Sofia and will give his talk: "Exploring the Java Class File API"!

🗓️ 14-15 May, 2025
📍 Sofia, Bulgaria 🇧🇬

🎫 Grab your pass: jprime.io/tickets
Reposted by Rafael Winterhalter
bjornjberger.bsky.social
Dette kan du gjøre for å støtte Ukraina: Trykk på «republiser-knappen» - slik at flest mulig får vite om den politiske markeringen på mandag.
Reposted by Rafael Winterhalter
javazone.bsky.social
💘 Roses are red, commits turn green, JavaZone’s stage is calling—be seen! 💘

Every bug fix, late-night hack, and production horror story deserves an audience.

Your code has a story—share it at #JavaZone2025!
💌 talks.javazone.no/
ℹ️ http
s://2025.javazone.no/en/speaker

#JavaZone
rafaelcodes.bsky.social
It's been around since Java 11. But I do not think the JVM makes use of it yet. Like invokedynamic binds dynamic calls, it binds dynamic fixed values.
rafaelcodes.bsky.social
So Apple.tv has no Android app, but if you open it in the browser, it automatically routes to /us. This I have to replace with /no manually, otherwise the page crashes loading a language bundle for a popup. Did someone make this page in Dreamweaver? Severance better be a good show.