BufferedInputStream boosted AGAIN by OpenJDK Contrib | Java Coding | Head Crashing Informatics 65

Recently I boosted #BufferedInputStream by contributing to #OpenJDK. There was one case open, in which performance did not excel. Now in my new contribution to OpenJDK, which is contained in #Java 20, I fixed this – so in two thirds of all use cases, transferTo() should not stand in the way of I/O offloading anymore!

If you missed the original contribution last year, check my channel page, it is covered by a four-parts series!

If you like this video, please give it a thumbs up, share it, subscribe to my channel, or become my patreon https://www.patreon.com/mkarg. Thanks! 🙂

Posted in Java, Open Source, Programming, Projects | Tagged , , , , , , , , , , | Leave a comment

Good bye, application/svg+xml | The Two Minutes Tuesday 035 | Jakarta REST 4.0

Jakarta REST 4.0 will be backwards-incompatible, and here comes one of the first notable changes: The (actually wrong) MIME type application/svg+xml will not be provided out of the box anymore (at least eventually). If you want to use it (or even better, its correct successor image/svg+xml then simply created your own one instead.

If you like this video, please give it a thumbs up, share it, subscribe to my channel, or become my patreon https://www.patreon.com/mkarg. Thanks! 🙂

Stay safe and… Party On!

Posted in Allgemein | Tagged , , , , , , , , | Comments Off on Good bye, application/svg+xml | The Two Minutes Tuesday 035 | Jakarta REST 4.0

You will love this new method: containsHeaderString | #JAX-RS | Head Crashing Informatics 64

 

One of my first contributions to the upcoming #JakartaREST 4.0 API was just merged (https://github.com/jakartaee/rest/pull/1066), so it is time to demonstrate why you will love `containsHeaderString`!

If you like this video, please give it a thumbs up, share it, subscribe to my channel, or become my patreon https://www.patreon.com/mkarg. Thanks! 🙂

Posted in Java, Open Source, Programming, Projects | Tagged , , , , , , , , , , | Comments Off on You will love this new method: containsHeaderString | #JAX-RS | Head Crashing Informatics 64

BufferedInputStream boosted: Another OpenJDK Contrib | Java Coding | Head Crashing Informatics 63

Last year I contributed a performance optimization to #OpenJDK that makes I/O operations much faster. Strange but true, with existing code often it did not chime in. The reason is that BufferedInputStream was used in many existing applications, which unfortunately skipped my optimization! So I had to fix that class, too! Check out this video to learn what I modified inside of #JDK20 and how it internally works like!

If you missed the original contribution last year, check my channel page, it is covered by a four-parts series!

If you like this video, please give it a thumbs up, share it, subscribe to my channel, or become my patreon https://www.patreon.com/mkarg. Thanks! 🙂

Posted in Java, Open Source, Programming, Projects | Tagged , , , , , , , , , , | 1 Comment

I contributed to JCommander: Multi-Parameter Validation | Java Coding | Head Crashing Informatics 62

#JCommander (https://jcommander.org/) is a really cool micro-framework for command-line parsing in #Java ☕. While it has great parameter validation (even extensible), it lacks support for multi-parameter validation. So I simply added it, and since last week it is part of the original JCommander contribution! 🤩

 

If you like this video, please give it a thumbs up, share it, subscribe to my channel, or become my patreon https://www.patreon.com/mkarg. Thanks! 🙂

Posted in Java, Open Source, Programming, Projects | Tagged , , , , | Comments Off on I contributed to JCommander: Multi-Parameter Validation | Java Coding | Head Crashing Informatics 62

SCARY Performance! – record.hashCode() | Head Crashing Informatics 61

`record` is a cool and comfortable keyword in #Java, as it does a lot of things for you. But is the resulting code really FAST? This video reveals SCARY performance!

If you like this video, please give it a thumbs up, share it, subscribe to my channel, or become my patreon https://www.patreon.com/mkarg. Thanks! 🙂

Posted in Java, Programming | Tagged , , , | Comments Off on SCARY Performance! – record.hashCode() | Head Crashing Informatics 61

OpenJDK-Insider packt aus! | Mein Erfahrungsbericht als Contributor | Head Crashing Informatics 60

Schockierend! In diesem exklusiven #Undercover-Tatsachenbericht packe ich schonungslos aus, wie unglaublich schlimm es mir als #JRE-Contributor im #OpenJDK-Team ergangen ist. Die nackte Wahrheit, ungeschminkt und unverblümt! Das definitive MUST-SEE für jeden, der Contributor bei OpenJDK werden möchte! 😉

Bitte nehmt den reißerischen Aufmacher nicht allzu ernst: Ich nehme damit natürlich nur den allgemeinen Trend vieler Youtube-Autoren auf die Schippe, Videos maßlos übertrieben zu betiteln, um mehr Klicks zu erhaschen (“Clickbait”). Bitte gesteht mir diesen Seitenhieb auf die Social-Media-Community zu und nehmt es mit Humor! 😉

Nichtsdestotrotz: Die Mitarbeit an #OpenJDK hat meine Nerven und meine Geduld tatsächlich in bislang noch nicht gekanntem Maße belastet. Nach 20 Jahren als Committer und Contributor in vielen #OpenSource-Projekten war es eine ganz neue Erfahrung, und hat mich doch sehr überrascht. Mehr sei nicht verraten, schaut es Euch einfach an, und bildet Euch Euere eigene Meinung.

Mein Fazit sei schon verraten: Trotz allem Streit und allen Widrigkeiten macht Open Source Spaß und Sinn, und ich kann nur jedem Java-Profi raten, sich an OpenJDK zu beteiligen, denn nur durch die Mitarbeit von uns allen kommt Java voran und kann seine technologische Überlegenheit langfristig bewahren!

Mein besonderer Dank an geht Alan Bateman, Brian Burkhalter und Lance Andersen von Oracle, dass ich diese unschätzbar wertvolle Erfahrung machen durfte, mit wirklich hochkarätigen Java-Insidern in diesem Projekt professionell zusammenzuarbeiten, und dass sie meine Contribution unterstützt und nach mehr als sechs Monaten nervenaufreißender Diskussion in OpenJDK aufgenommen haben. Danke auch an die vielen anderen, die ich an dieser Stelle leider nicht nennen darf, die mir mit Rat und Tat durch diese schwere Zeit geholfen und mich regelmäßig vor dem Aufgeben bewahrt haben! Dank Euerer Unterstützung ist die File I/O in Java nun deutlich schneller!

Wenn Dir dieses Video gefällt, dann gib ihm bitte einen Daumen hoch, empfehle es weiter, abonniere meinen Kanal, oder werden mein Unterstützer https://www.patreon.com/mkarg. Danke! 🙂

Posted in Cons, Java, Lectures, Open Source, openjdk, Oracle, Programming, Projects, Standards | Tagged , , , , , , , | Comments Off on OpenJDK-Insider packt aus! | Mein Erfahrungsbericht als Contributor | Head Crashing Informatics 60

Coding Microservice From Scratch (Part 7 of 7) | JAX-RS Done Right! | Head Crashing Informatics 59

Write a pure-Java microservice from scratch, without an application server nor any third party frameworks, tools, or IDE plugins — Just using JDK, Maven and JAX-RS aka Jakarta REST 3.1. This seven part-video series shows you the essential steps!

In this last episode, I am finishing the service we started in episode 6 and give some ideas what we could do ontop of our project, in future JAX-RS videos.

If you like this video, please give it a thumbs up, share it, subscribe to my channel, or become my patreon https://www.patreon.com/mkarg. Thanks! 🙂

Posted in Jakarta EE, Java, Lectures, Microsoft, Programming | Tagged , , , , , | Comments Off on Coding Microservice From Scratch (Part 7 of 7) | JAX-RS Done Right! | Head Crashing Informatics 59

Coding Microservice From Scratch (Part 6 of 7) | JAX-RS Done Right! | Head Crashing Informatics 58

Write a pure-Java microservice from scratch, without an application server nor any third party frameworks, tools, or IDE plugins — Just using JDK, Maven and JAX-RS aka Jakarta REST 3.1. This seven part-video series shows you the essential steps!

In episode number 6 we turn typical boilerplate-technologies into cross-vendor / cross-product JAX-RS Runtime Extensions aka calles Jakarta REST Services.

If you like this video, please give it a thumbs up, share it, subscribe to my channel, or become my patreon https://www.patreon.com/mkarg. Thanks! 🙂

Posted in Jakarta EE, Java, Lectures, Microsoft, Programming | Tagged , , , , , | Comments Off on Coding Microservice From Scratch (Part 6 of 7) | JAX-RS Done Right! | Head Crashing Informatics 58

Coding Microservice From Scratch (Part 5 of 7) | JAX-RS Done Right! | Head Crashing Informatics 57

Write a pure-Java microservice from scratch, without an application server nor any third party frameworks, tools, or IDE plugins — Just using JDK, Maven and JAX-RS aka Jakarta REST 3.1. This seven part-video series shows you the essential steps!

Episode number five brings us external configuration, so Docker, Kubernetes, etc. can control our microservice from the outside.

If you like this video, please give it a thumbs up, share it, subscribe to my channel, or become my patreon https://www.patreon.com/mkarg. Thanks! 🙂

Posted in Jakarta EE, Java, Lectures, Microsoft, Programming | Tagged , , , , , | Comments Off on Coding Microservice From Scratch (Part 5 of 7) | JAX-RS Done Right! | Head Crashing Informatics 57