Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 14:39
    skalarproduktraum assigned #385
  • 14:39
    skalarproduktraum labeled #385
  • 14:39
    skalarproduktraum labeled #385
  • 14:39
    skalarproduktraum opened #385
  • 14:39
    skalarproduktraum assigned #385
  • 14:36

    skalarproduktraum on custom-property-ui

    Add CustomPropertyUI to enable … (compare)

  • 14:33

    skalarproduktraum on kotlin-1.5.0

    (compare)

  • 14:33
    skalarproduktraum closed #384
  • 14:33

    skalarproduktraum on master

    Gradle: Bump Kotlin to 1.5.10, … Controls: Reflect scenery API c… SetLUT: Explicitly use String r… and 4 more (compare)

  • 14:28
    skalarproduktraum synchronize #384
  • 14:28

    skalarproduktraum on kotlin-1.5.0

    Gradle: Update jacoco to 0.8.7 … (compare)

  • 13:39

    RuoshanLan on eyetracking-update

    code clean ... (compare)

  • 13:21

    RuoshanLan on eyetracking-update

    code clean (compare)

  • 11:08
    moreApi labeled #432
  • 11:08
    moreApi assigned #432
  • 11:08
    moreApi opened #432
  • 11:03
    moreApi synchronize #430
  • 11:03

    moreApi on vr-ui-tools

    SlichingVolumeEffector: clean u… VRScale: Add debug log to visua… (compare)

  • 06:31
    skalarproduktraum opened #384
  • 06:31

    skalarproduktraum on kotlin-1.5.0

    Gradle: Bump Kotlin to 1.5.10, … Controls: Reflect scenery API c… SetLUT: Explicitly use String r… and 2 more (compare)

Giuseppe Barbieri
@elect86
thanks Tobias
NicoKiaru
@NicoKiaru
Do you have somewhere a simple groovy script that can add a SourceAndConverter object into sciview ?
Philipp Hanslovsky
@hanslovsky

groovy

Are you trying conjure the wrath of @skalarproduktraum? (Not kotlin :laughing: )

Ulrik Günther
@skalarproduktraum
kotlin is more groovy than groovy! 🕺
i'll check @NicoKiaru
i remember you asked for being able to feed SourceAndConverter in directly, but i might have forgotten about that
unfortunately i don't have an example script at hand, maybe @kephale has something?
Kyle I S Harrington
@kephale
ya i did the SACs after you got all of the hard stuff going under the hood iirc
i don't have any scripts, but i think we could help out with getting it to work
@NicoKiaru note that we've switched out update site strategy https://docs.scenery.graphics/sciview/development/update-sites
i would suggest using https://sites.imagej.net/sciview-ageratum/ right now instead of SciView-Unstable
Philipp Hanslovsky
@hanslovsky
FYI, I just tried installing scripting-kotlin from ntakt update site and sciview argentum but they are not compatible :cry: I just tried the script interpreter but it greets me with this error message when executing Kotlin code:
Expecting class implementing GetScriptingClassByClassLoader in the hostConfiguration[getScriptingClass], got kotlin.script.experimental.jvm.JvmGetScriptingClass@0
What kotlin version does SciView use? I see GetScriptingClassByClassLoader for versions 1.4.30 and 1.5.0-M1 but not 1.4.31.
Kyle I S Harrington
@kephale
@hanslovsky i guess it is complicated when both of us are shipping kotlin deps. would it be possible to align via pom-scijava insteadl?
eep
i see 1.4.20 on the update site
Ulrik Günther
@skalarproduktraum
i have 1.4.32 on a PR atm
Kyle I S Harrington
@kephale
it is looking like the gradle jitpacks and stuff are finally starting to work, but the idea was that https://sites.imagej.net/sciview-ageratum/ would be the update site for the last maven build
then we would do at least a minor if not major bump for gradle (e.g. actually using semvar properly)
and cut a fresh update site
it looks like pom-scijava is behind on kotlin though
@hanslovsky you're using 1.4.30?
Kyle I S Harrington
@kephale
happy to align the update site to match ntakt for now
Philipp Hanslovsky
@hanslovsky

would it be possible to align via pom-scijava insteadl?

Last time I checked it was on 1.4.20 or older so I would rather not do that. It will likely be more complicated than that because scripting-kotlin needs to be distributed as a shaded jar including kotlin-compiler-embeddable and shaded JetBrains fork of trove. Otherwise, the compiler will fetch the incorrect classes from standard GNU trove. We could have a kotlin-compiler-embeddable-shaded jar in SciJava space that both SciView and scripting-kotlin could depend on. (Other dependencies may have kotlin-compiler-embeddable as runtime dependency, making things a little hairy when installing into scijava.app.directory)

@hanslovsky you're using 1.4.30?

Yes. I could update to 1.4.31 and see if that works

Kyle I S Harrington
@kephale
arg i see
ok if you want to push to 1.4.31 or 1.4.32 then we can go up to those as well (i'd have to check first of course)
Philipp Hanslovsky
@hanslovsky
Yeah, the annoying JetBrains fork of trove is what makes everything so hard and they do not show any intent of shading it themselves. It would not be a problem if they forked version 3 but they forked version 1...
Ulrik Günther
@skalarproduktraum
maybe we should push them towards thaat
i actually have a version of that included with sciview, but i changed the group id so it doesn't clash with anything :-D
Philipp Hanslovsky
@hanslovsky

maybe we should push them towards thaat

Would be great if they changed it :thumbsup:

Philipp Hanslovsky
@hanslovsky
So I deleted all jars with kotlin version 1.4.20 in Fiji.app/jars and kotlin-scripting worked inside the Script Interpreter but not in SciView (NullPointerException). Gotta run now
Ulrik Günther
@skalarproduktraum
@hanslovsky that's the same issue i had :(
Tobias Pietzsch
@tpietzsch
Is there a ntakt gitter channel?
Ulrik Günther
@skalarproduktraum
what is ntakt?
Kyle I S Harrington
@kephale
ntakt == imklib2
Jan Eglinger
@imagejan
If you guys get scripting-kotlin work reliably, it would be awesome to have it shipped with core Fiji (i.e. on the Java-8 update site) — and bump kotlin to 1.4.31 in pom-scijava — so that it’s accessible as script language for all users!
Philipp Hanslovsky
@hanslovsky
Yes, that is the plan in the long term. It works reliably if installed on its own but there will always be issues if another jar depends on kotlin-compiler-embeddable. Probably best to create a shaded jar of that in the SciJava org and then have downstream depend on that
@skalarproduktraum https://github.com/saalfeldlab/ntakt fka imklib
Ulrik Günther
@skalarproduktraum
@hanslovsky supercool! i saw you're having publishing to maven in the pipeline, if you need inspiration, check out the scenery build scripts that @elect86 built, they support signing and everything needed to publish to sonatype :+1:
Ulrik Günther
@skalarproduktraum
new docs, everyone! this time on gamepad input handling: https://docs.scenery.graphics/scenery/controls-and-input-handling/gamepads
Domino2357
@Domino2357
Pretty cool article, thanks for sharing!
Ulrik Günther
@skalarproduktraum
your are most welcome, @Domino2357 :+1:
Domino2357
@Domino2357
Does gitter have some sort of search function?
Giuseppe Barbieri
@elect86
yes, but it suxs
left corner, on top
Domino2357
@Domino2357
seems to work better than threading at least :D
thanks!
Aryaman Gupta
@aryaman-gupta
I am facing issues with using the composite build of sciview and scenery, and I would appreciate any suggestions