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...
@rafaelcodes.bsky.social
software consultant who likes static typing, coding at http://github.com/raphw π§π»π©πͺπͺπΊ
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...
"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...
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
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
16.05.2025 10:24 β π 1525 π 723 π¬ 58 π 57Here'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.
10.05.2025 09:07 β π 1 π 0 π¬ 1 π 0We 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/...
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.
25.04.2025 11:13 β π 1 π 0 π¬ 0 π 0Viel 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!
25.04.2025 11:11 β π 2 π 0 π¬ 1 π 0Do 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.
09.04.2025 16:08 β π 2 π 0 π¬ 4 π 0Weβ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/...
My first question on Stack Overflow in four years. Any ideas why Kotlin reflect cannot observe an annotation if a class's "flag" is 6 and not 7? stackoverflow.com/questions/79...
23.03.2025 21:45 β π 1 π 1 π¬ 0 π 0What 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-...
21.03.2025 19:48 β π 7 π 1 π¬ 0 π 0First 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.
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...
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.
19.03.2025 11:42 β π 4 π 0 π¬ 0 π 0@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?
07.03.2025 20:19 β π 10 π 3 π¬ 1 π 0One 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.
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.
π 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
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.
20.02.2025 15:34 β π 197 π 246 π¬ 3 π 2π 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/
βΉοΈ https://2025.javazone.no/en/speaker
#JavaZone
github.com/raphw/asm-jd...
22 stars and counting!
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.
03.02.2025 11:09 β π 3 π 0 π¬ 0 π 0So 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.
30.01.2025 18:12 β π 2 π 0 π¬ 1 π 0It took another release to iron out some issues with the Class File API Integration. Also, Byte Buddy now offers improved support for using constantdynamic in instrumentation, with fallback to invokedynamic if not yet available. github.com/raphw/byte-b...
30.01.2025 10:36 β π 6 π 0 π¬ 1 π 2I made a mistake in my changed build and 1.16.1 now offers the actual support for this.
19.01.2025 11:09 β π 8 π 4 π¬ 0 π 0I tested a bunch and it's very hard to pin. For most real life applications, the overhead is negligible. But for a minimal example, it's obvious. There's more object allocation, and of course class loading. But class manipulations are not normally on any applications performance critical path.
19.01.2025 11:08 β π 1 π 0 π¬ 0 π 0Byte Buddy 1.16.0 now integrates the Java Class File API and is therefore compatible with any future JDK that retains its instruction set, without activating the experimental flag. github.com/raphw/byte-b...
17.01.2025 23:48 β π 43 π 12 π¬ 1 π 1Next step: integration into Byte Buddy.
17.01.2025 21:26 β π 3 π 0 π¬ 1 π 0Finally released the first version of my ASM-JDK bridge. It's as close as can be a drop-in replacement for ASM's ClassReader and ClassWriter where the alternative implementations use the JDK class file API in the JDK, and allow for limited forward compatibility. github.com/raphw/asm-jd...
17.01.2025 21:25 β π 14 π 6 π¬ 2 π 0move it to META-INF/versions/9. Works just fine and then shade is too dumb to pick it up.
10.01.2025 07:09 β π 0 π 0 π¬ 2 π 0