lingo.lol is one of the many independent Mastodon servers you can use to participate in the fediverse.
A place for linguists, philologists, and other lovers of languages.

Server stats:

66
active users

#jython

0 posts0 participants0 posts today
Benjamin Rosemann<p>Ein lang ersehnter Wunsch von mir: Eigene <a href="https://mastodon.social/tags/Clustering" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Clustering</span></a> Methoden in <a href="https://mastodon.social/tags/OpenRefine" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>OpenRefine</span></a> benutzen.</p><p>Verfügbar seit Version 3.9.0 und funktioniert seit 3.9.3 auch mit <a href="https://mastodon.social/tags/Jython" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Jython</span></a> und <a href="https://mastodon.social/tags/Clojure" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Clojure</span></a>.</p><p>Hier eine Anleitung zur Benutzung im <a href="https://mastodon.social/tags/FDMLab" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>FDMLab</span></a> Blog.</p><p><a href="https://fdmlab.landesarchiv-bw.de/workshop/openrefine-fortgeschrittene/19-erweitertes-clustering/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">fdmlab.landesarchiv-bw.de/work</span><span class="invisible">shop/openrefine-fortgeschrittene/19-erweitertes-clustering/</span></a></p><p><a href="https://mastodon.social/tags/LandesarchivBW" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>LandesarchivBW</span></a></p>
⛰️ | 9Lukas5 🚂 🐧<p>Imagine:<br>- small custom tool in <a href="https://mastodontech.de/tags/Python2" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Python2</span></a> / <a href="https://mastodontech.de/tags/Jython" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Jython</span></a>, bundled to an .exe<br>- Last time bundled was a few years back<br>- executable used on CI server</p><p>Then:<br>- suddenly all builds across the Server fail 😳<br>- The CI server and your own PC fail executing your small tool, saying "This application needs <a href="https://mastodontech.de/tags/Java" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Java</span></a> 8" 🤔<br>- But your CI Server and own PC _have_ Java 8 installed 🤨<br>- The fellas around you have seemingly the same tools installed and can execute the tool 🧐</p><p><a href="https://mastodontech.de/tags/programming" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>programming</span></a> <a href="https://mastodontech.de/tags/magic" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>magic</span></a> <a href="https://mastodontech.de/tags/CI" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>CI</span></a></p>
Albert Cardona<p>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.</p><p>Here, I tweaked code for serial section registration that drops execution time from 27 seconds to 100 milliseconds: a 270x speed up.</p><p>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.</p><p>The matching code using a KDTree:<br><a href="https://github.com/acardona/scripts/blob/master/java/asm/my/PointMatchesFast.java#L56" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/acardona/scripts/bl</span><span class="invisible">ob/master/java/asm/my/PointMatchesFast.java#L56</span></a></p><p>The test script:<br><a href="https://github.com/acardona/scripts/blob/dev/python/imagej/FIBSEM/tests/test_matchNearbyFeatures.py" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/acardona/scripts/bl</span><span class="invisible">ob/dev/python/imagej/FIBSEM/tests/test_matchNearbyFeatures.py</span></a></p><p><a href="https://mathstodon.xyz/tags/FijiSc" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>FijiSc</span></a> <a href="https://mathstodon.xyz/tags/java" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>java</span></a> <a href="https://mathstodon.xyz/tags/jython" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>jython</span></a> <a href="https://mathstodon.xyz/tags/volumeEM" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>volumeEM</span></a> <a href="https://mathstodon.xyz/tags/vEM" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>vEM</span></a></p>
Albert Cardona<p><span class="h-card" translate="no"><a href="https://aus.social/@geordie" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>geordie</span></a></span> </p><p>Here is an old-school image processing tutorial for <a href="https://mathstodon.xyz/tags/FijiSc" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>FijiSc</span></a> in <a href="https://mathstodon.xyz/tags/jython" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>jython</span></a> 2.7 (python for java):</p><p><a href="https://syn.mrc-lmb.cam.ac.uk/acardona/fiji-tutorial/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">syn.mrc-lmb.cam.ac.uk/acardona</span><span class="invisible">/fiji-tutorial/</span></a></p><p>Enjoy!</p>
Antonin Delpeuch<p><span class="h-card"><a href="https://mstdn.social/@felwert" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>felwert</span></a></span> <span class="h-card"><a href="https://fedihum.org/@stefan_hessbrueggen" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>stefan_hessbrueggen</span></a></span> <span class="h-card"><a href="https://a.gup.pe/u/digitalhumanities" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>digitalhumanities</span></a></span> for what it's worth I assume file access should be possible in <a href="https://mamot.fr/tags/Jython" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Jython</span></a> (if you mean explicitly opening a file within the Python script and doing things with it). I am not claiming it is right that we allow that, nor that it makes OR the right tool for your job!</p>
Albert Cardona<p>For an introduction to <a href="https://qoto.org/tags/FijiSc" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>FijiSc</span></a> from the comfort of <a href="https://qoto.org/tags/python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>python</span></a> (or rather, <a href="https://qoto.org/tags/jython" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>jython</span></a> 2.7), see my online tutorial, walking you through image processing concepts with working code that you can copy-paste into the Script Editor, which has code autocompletion to facilitate class and method discovery across the many libraries: <a href="https://syn.mrc-lmb.cam.ac.uk/acardona/fiji-tutorial/" rel="nofollow noopener" target="_blank"><span class="invisible">https://</span><span class="ellipsis">syn.mrc-lmb.cam.ac.uk/acardona</span><span class="invisible">/fiji-tutorial/</span></a></p>