photog.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
A place for your photos and banter. Photog first is our motto Please refer to the site rules before posting.

Administered by:

Server stats:

257
active users

#java

25 posts21 participants0 posts today

PSA GitLab has some behaviour that breaks Maven pulling packages from it.
You can work around it by setting auth headers manually in settings.

Hopefully this saves someone some time.

I'll post the details in reply since it's long

Suche für mein Team eine Fullstack Entwicklerin mit Eigeninitiative und Bock auf Mitwirken bei der Gestaltung einer digitalen Communityplattform mit Impact (rund um Mobilitätswende und weitere positive Veränderungen für eine lebenswerte Zukunft)... Eigene Ideen willkommen und proaktive Herangehensweise.

Open-Source Java Utility Package Version 2025.05.17

A high-performance and user-friendly toolkit tailored for developing small to medium-sized back-end applications

- KPasswordVault: New class to securely hash, store and verify passwords
- KSMTPMailer: Added setLocalFQDNHostName()
- K: Added repeat(), truncateMiddle(), compressGZIP(), decompressGZIP()
- Updated Sample Code

#java #javautil #freeware #opensource #programming

java-util.k43.ch

java-util.k43.chJava Utility Package (Open Source) | Java Utility Package
Continued thread

I want to draw my star background in game, not generic graphics frame. Obvs, apply g stuff!

Exception in thread "AWT-EventQueue-0" java.lang.IllegalAccessException: class gnu.expr.PrimProcedure cannot access class sun.java2d.SunGraphics2D (in module java.desktop) because module java.desktop does not export sun.java2d to unnamed module @4f612b26
at java.base/jdk.internal.reflect.Reflection.newIllegalAccessException(Reflection.java:392)

Guess not. Wrapping each func manually works. SIGH #JAVA

An interview with James Gosling on the 30th anniversary of Java. It's a good profile of the man and his work as I knew little about him.

At Sun, Gosling found a rare environment where technical excellence could thrive alongside playful creativity — an atmosphere that clearly shaped his approach to technology and problem-solving throughout his career.

thenewstack.io/java-at-30-the-

The New Stack · Java at 30: The Genius Behind the Code That Changed TechFrom trash-diving teen to tech pioneer, James Gosling's pragmatic genius shaped three decades of Java and modern computing.
Replied in thread

@profoundlynerdy just because something has types doesn’t make it Haskell-like. Haskell’s type system is in the family of Lambda Calculii (the “Lambda Cube”) which is called “System-F”.

I don’t know much about Raku, but it seems to me to me to be a bit more similar to TypeScript. And what differentiates TypeScript from other languages: it takes a horrible programming language like JavaScript and makes it less bad by giving it a type system, likewise Raku makes Perl less bad in the exact same way. (Sorry, I’m not trying to be impolite, but JavaScript and Perl are objectively, truly awful, horrible programming languages.)

So I see both Raku and TypeScript only being useful to a company buried in the technical debt of a hugely profitable production application that was very unwisely written in a dynamically typed language (Perl or JavaScript), which then unfortunately grew to millions of lines of code, and now it can’t be maintained by anyone, and it could never possibly be rewritten from the ground-up in a good programming language like Haskell for any reasonable sum of money. So Raku and TypeScript both offer a half-measure solution to that problem: make the maintenance of horrible computer code a bit easier with a type system.

Haskell was never intended as a fix for horrible code, it took a really good experimental programming language called Miranda and turned it into something that you can use to do real, practical software engineering, and it does it better than any other language ever invented. You write a system in Haskell because you know up front that you want it to be stable and maintained in a cost-effective manner for decades.

Zig is not similar to Raku or Haskell. It is more analogous to what Scala does for Java. Java is already statically typed, but Scala’s type system is better, and it’s runtime is fully compatible with Java. Likewise, Zig is fully compatible with the C language runtime, but provides a slightly different, slightly better static type checking system than the C type system. Zig also solves a bunch of other problems that C has by providing it with modern features like namespaces and modules, which makes it much easier to use than C. Zig is the perfect way to replace old C code with something more modern, but only if you don’t need it to be as rigorously correct as Rust. I think Zig would be a nice language to use to replace non-safety-critical front-end libraries like Gtk, or maybe for things like game engines.

Oh I have goose bumps because that interview makes me happy, and very much not only because the outlook on #Java

> @JamesGosling dismissed claims by tech executives like Mark Zuckerberg and Marc Benioff that AI will reduce the need for engineers as “entirely self-serving horseshit,” seeing such statements as positioning tactics and thinly veiled threats to extract more work from employees.

thenewstack.io/java-at-30-the-

Thank you, sir.

The New Stack · Java at 30: The Genius Behind the Code That Changed TechFrom trash-diving teen to tech pioneer, James Gosling's pragmatic genius shaped three decades of Java and modern computing.