home.social

#jython — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #jython, aggregated by home.social.

  1. You don't need to leave #Java behind to gain modern language features. #Kotlin #Scala #Groovy, & others run on the same reliable #JVM & open new dev possibilities.

    🛠 Choose the right tool for the job with Mihaela Gheorghe-Roman: javapro.io/2025/10/09/the-rise

    #Jython @IntelliJScala

  2. Which JVM language fits your stack? #Kotlin for Android, #Scala for Spark, #Groovy for testing, #Clojure for concurrency, #JRuby & #Jython for scripts. Each solves different dev pains—fully JVM-compatible.

    Mihaela Gheorghe-Roman shows the big picture: javapro.io/2025/10/09/the-rise

  3. Ein lang ersehnter Wunsch von mir: Eigene #Clustering Methoden in #OpenRefine benutzen.

    Verfügbar seit Version 3.9.0 und funktioniert seit 3.9.3 auch mit #Jython und #Clojure.

    Hier eine Anleitung zur Benutzung im #FDMLab Blog.

    fdmlab.landesarchiv-bw.de/work

    #LandesarchivBW

  4. Imagine:
    - small custom tool in #Python2 / #Jython, bundled to an .exe
    - Last time bundled was a few years back
    - executable used on CI server

    Then:
    - suddenly all builds across the Server fail 😳
    - The CI server and your own PC fail executing your small tool, saying "This application needs #Java 8" 🤔
    - But your CI Server and own PC _have_ Java 8 installed 🤨
    - The fellas around you have seemingly the same tools installed and can execute the tool 🧐

    #programming #magic #CI

  5. True as always that the way to make software run faster is to make it do less operations. After all, CPUs can only execute a fixed number of operations per unit of time.

    Here, I tweaked code for serial section registration that drops execution time from 27 seconds to 100 milliseconds: a 270x speed up.

    All it had to do is to search for matching SIFT features in one image only within a predetermined radius centered on one SIFT feature in another image. Extremely effective for when e.g., the maximum translation is known.

    The matching code using a KDTree:
    github.com/acardona/scripts/bl

    The test script:
    github.com/acardona/scripts/bl

    #FijiSc #java #jython #volumeEM #vEM

  6. "Type annotations are unsupperted in Python 2"
    😒😒

    Will man Jython überhaupt noch verwenden? 🤐

    #Jython #Python #Python2 #LegacyCode

  7. Some questions regarding Ghidra:

    * NetworkX libraries don't support Jython, right?
    * Which Python 3.X bridge is the most used for Ghidra? Is it Ghidrathon? Or perhaps ghidra-bridge?
    * Do you happen to know if there are differences big enough to worry about supporting Ghidrathon or Ghidra Bridge?

    #Ghidra #NetworkX #Jython #Ghidrathon #GhidraBridge
    #Python3 #Python2

  8. Every time I need to run an image processing task, the open source software #FijiSc delivers.

    The javadocs are up to date javadoc.scijava.org/ , the libraries just work – particularly #ImgLib2 imagej.net/libs/imglib2/

    And the examples of my own tutorial syn.mrc-lmb.cam.ac.uk/acardona written in python 2.7 for the #JVM (#jython), despite some being a decade old, they all just work. Grateful every day for the outstanding backwards compatibility plus the new plugins and libraries that continue to grow fiji.sc

    Many thanks to the many, many developers and maintainers, particularly Curtis Rueden, who is presently cutting out a new release: 2.11.0 forum.image.sc/t/plugin-mainta

    #ImageProcessing

  9. @thecesrom Jythooooooooon! In my best Kirk voice.

    :java: and :python: together is a great idea, but not having the Python 3 `main` branch working, and having no clear progress makes it feel like Perl 6 all over again.

    They should rename their moribund Jython3 repo, that's just confusing!

    It's such a shame, useful Java scripting interfaces languishing in a dying ecosystem.

    There was a similar lag with things that embed CPython, but they have an escape route.

  10. @shmarkus @java_discussions there is also #py4j which is quite successful, for instance it powers the popular #pyspark. And #GraalPython which could hopefully provide a sort of replacement for #jython on the long run, although the authors do not aim for that