Skip to main content

Search

Items tagged with: Java


“Synchronized” methods/blocks (intrinsic locks) will no longer pin virtual threads to platform threads. This has been an annoying limitation of Project Loom. Coming in Java 24:
openjdk.org/jeps/491

#Java #JVM

#java #jvm


I wish that annotations in #Java-based languages where designed more like decorators in #Python.

It’s much more ergonomic to have decorators designed as functions/functors rather than static annotations.

The answer to the question “how do I get my @authenticate decorator to run some custom logic before a decorated function is run in Python?“ is simply “create an authenticate function which wraps your function“.

If the same question is asked for Java/Kotlin, the answer would be more like “extend a generic annotation interceptor/processor, usually provided through an external framework, or coded and managed by yourself, configure it with the accepted annotation interfaces, and implement the process method“.

The whole idea that a decorator ought to be an interface with no business logic attached rather than an abstraction that exposes a functional interface has severely limited the adoption of an otherwise powerful programming feature. And it has forced many projects to reinvent the pattern of the custom annotation interceptor many times over.

@programming


You are using #LibreOffice but don't want to create or modify a complex citation style for your needs?
Thanks to our #GSOC contributor, you can now choose from the vast amount of #CSL styles in JabRef and use them together with LibreOffice.

Check out our blog post for more details
blog.jabref.org/2024/08/26/GSo…

@libreoffice

#opensource #bibliograpy #javafx #java #JabRef #scholar #bibliograpy


I love #curl. It is a very nice and useful piece of #softwae. I use it i #C++, #Java, #PHP and other for any type of secure connection. Keep on with that great job!


We've been doing this a while. Let's SWING for the big leagues.
Tomorrow, we're doing a deep dive on #burpSuite from a #screenReader perspective. It will be mostly #blind (as in playthrough) as I've not looked at this program for a few years, and fully blind (as in sight) given ... well ... screenReader user :)

I've learned more, and hey who knows, maybe they've improved ......
If it turns out they haven't, we'll look at @zaproxy next as a more viable, generally more #accessible alternative. See you tomorrow at 3 EST over at twitch.tv/ic_null #infosec #cybersecurity #zaproxy #portswigger #java #programming


Apache Pekko has left the incubator phase and is now a top-level project.

lists.apache.org/thread/grl5h0…

That's great news! Pekko was created as a Fork of Akka 2.6, right after Lightbend chose to pull a bait-and-switch by relicensing Akka to a non-FOSS license.

I have already switched to Pekko a few months ago, it went very smooth, and I am grateful to everybody involved in making this happen.

#opensource #pekko #akka #scala #java #licensing #apache #foss


Been working on a new project the last couple of months and it's finally ready for beta release!

#Fedimeister is a #Java based #Mastodon client (available for #Linux, #Windows and #MacOS under the Apache #opensource license) with a focus on #writing and #journalism. Features:

* Break long texts into threads
* Scheduled posting
* Hashtag research
* #Twitter quote tweeting emulation

fedimeister.onyxbits.de

@fediversenews
@fediverse


Any of you #blind #linux nerds know what kind of Vudu I have to do to get #Java #accessibility to work on #ArchLinux? Currently using #openjdk 19 but can switch to whatever JDK, as long as I end up with an accessible GUI.


Si tu fais de l'informatique, et que tu comprends pas toujours ce qui se passe dans ta babasse, parceque tu ne programmes qu'en #java, #javascript,#python je t'encourage vivement perdre quelques heures de ta vie pour regarder cette série de vidéo.

“Hello, world” from scratch on a 6502 — invidious.fdn.fr/watch?v=LnzuM…

#6502 #8bits #retrocomputing


neilmadden.blog/2022/04/19/psy…

One side of the equation is r and the other side is multiplied by r and a value derived from s. So it would obviously be a really bad thing if r and s were both 0, because then you’d be checking that 0 = 0 ⨉ [a bunch of stuff], which will be true regardless of the value of [a bunch of stuff]! And that bunch of stuff is the important bits like the message and the public key. This is why the very first check in the ECDSA verification algorithm is to ensure that r and s are both >= 1.
Guess which check Java forgot?


#bugfix #crypto #java #security


PGPainless 1.0.0 Released!

Close to the end of 2021 I’m excited to announce the release of PGPainless version 1.0.0! I feel like it finally reached a state of sufficient maturity to be worthy of a major release with a “1” at the front.

blog.jabberhead.tk/2021/12/30/…

#audit #encryption #java #openpgp #pgpainless