These are chat archives for fiji/fiji

16th
Mar 2017
odinsbane
@odinsbane
Mar 16 2017 10:58
Is there a way to get download statistics from the update site?
Curtis Rueden
@ctrueden
Mar 16 2017 12:27
@odinsbane Not publicly. At least not yet.
Jean-Yves Tinevez
@tinevez
Mar 16 2017 13:27
MaMuT documentation online, with dataset:
http://imagej.net/Getting_started_with_MaMuT
Philipp Hanslovsky
@hanslovsky
Mar 16 2017 13:30
:+1:
Robert Haase
@haesleinhuepf
Mar 16 2017 15:22
Awesome! :heart:
Ulrik Günther
@skalarproduktraum
Mar 16 2017 16:46
@ctrueden: https://kotlinlang.org/docs/reference/whatsnew11.html#javaxscript-support this would be useful for the scijava repl, right?
@tinevez: awesome work! :)
Curtis Rueden
@ctrueden
Mar 16 2017 18:07
@tinevez Very nice! I encourage you to format your publication request the same as many other pages on the wiki. Make a subsection called "Publication" or "Publications". Add * {{Publication | MaMuT}} in that section. Edit the Publication template to include MaMuT as a valid argument, using the Citation template like the others. Also add [[Category:Citable]] to the MaMuT page. Then you can also write {{Publication | MaMuT}} in your getting started tutorial, ensuring no typos etc.
@skalarproduktraum AWESOME—trying it now.
Curtis Rueden
@ctrueden
Mar 16 2017 19:14
@skalarproduktraum Gaaaaaaaaah.
Instead of putting the service discovery metadata into kotlin core, they put it into the EXAMPLE.
Fortunately, because we have scripting-kotlin, we can put it there for us.
But that's a WTF for sure. :-)
Curtis Rueden
@ctrueden
Mar 16 2017 19:21
@skalarproduktraum Is there any difference functionally between .kt and .kts? Or are they both simply Kotlin sources?
Jean-Yves Tinevez
@tinevez
Mar 16 2017 19:22
@ctrueden : thanks, will do.
Curtis Rueden
@ctrueden
Mar 16 2017 20:19
@skalarproduktraum The above progress is already pushed to master. So: we no longer use that third party buggy JSR-223 implementation, but instead the official Kotlin bleeding-edge JSR-223 one, which has the above-demonstrated problems.
Curtis Rueden
@ctrueden
Mar 16 2017 20:25
If you want to accelerate this working better, you could file issue(s)/support request(s) with the JetBrains team, asking about the above issues. Or you could dig into the code and try your hand at fixing these things. The fact that you have to access all bindings vars via the bindings object is irritating—but more problematic is the fact that you cannot call any methods on Java objects within those bindings. Also a showstopper is the fact that there is (AFAICT) no way to get output values back out of the computation, apart from the script's return value itself.
Finally, I am concerned by the fact that several kotlin JAR files include the same classes—so I had to add exclusions to the enforcer's duplicate class check.
Philipp Hanslovsky
@hanslovsky
Mar 16 2017 20:51
@ctrueden What is the best way to get around the maven enforcer rule org.scijava.maven.plugin.enforcer.RequireReproducibleBuilds? My imglib2-imglyb inherits from pom-imglib for version inheritance but has imglib2-unsafe as SNAPSHOT dependency (no release yet).
I could just put in the versions manually until I have a release of imglib2-unsafe but if there is a better way, I'd prefer to go down that road.
Philipp Hanslovsky
@hanslovsky
Mar 16 2017 20:56

@tpietzsch was able to help me out already:

    <properties>
        <enforcer.skip>true</enforcer.skip>
    </properties>

Thank you!

Ulrik Günther
@skalarproduktraum
Mar 16 2017 21:44
@ctrueden i’ll look into that tomorrow, thanks for integrating it so lightning-fast 8-)
oh and kts is meant to be a kotlin script file, kt is compilable kotlin source… functionally, that shouldnt be different, though