Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Curtis Rueden
    @ctrueden
    For lurkers: the answer to @hinerm's question is that javadoc.scijava.org/ImageJ1 proxies imagej.net/developer/api which proxies mirror.imagej.net/developer/api which mirrors imagej.nih.gov/ij (updated nightly). We determined that the mirroring process did not include the developer/api/package-list file because it wasn't accessible via a chain of links from index.html. We implemented a workaround to hopefully ensure it gets included in the mirror henceforth.
    Wei Ouyang
    @oeway
    Screenshot 2020-10-14 at 11.16.37.png
    Together with @ctrueden we made a prototype for running ImageJ2 in the browser
    Florian Jug
    @fjug
    :point_up_2: :eyes: :point_up_2: Yeah!!! :heart:
    @oeway @ctrueden What works/does not work? How likely is it that one can e.g. run BigWarp in the browser any time soon? Or Labkit? The updater??? #somanyquestions #soooooexciting
    Wei Ouyang
    @oeway
    Most components will work directly if they only do processing, interact with UI. Most of the non-working parts are related to accessing files on file system, manipulating socket, JNI/C++ etc. However, most of them should work after we patch the corresponding classes to make them browser friendly. The loading time is also an issue for now, we need to find a way to support lazy loading scijava components.
    @ctrueden feel free to add
    Wei Ouyang
    @oeway
    Also notice that we are running in a single thread, so the performance is not comparable to native java, however, this might change in the coming year since WebAssembly is enhancing its supports for garbage collection, multi-threading and object support.
    Florian Jug
    @fjug
    Ok, thanks. The single thread thing is limiting, but this is still really crazy awesome! 👏
    Wei Ouyang
    @oeway
    To clarify, you can create multi-thread in java, and the runtime will emulate that with in a single thread.
    Florian Jug
    @fjug
    clear
    Wei Ouyang
    @oeway

    A step back, even if we can use all the memory and all the CPU power on the host computer, they won't be enough anyway as we are dealing with massive dataset and heavy compute workloads.

    My view on this regard is that we should think about a more scalable architecture to further separate UI with the compute part, to make it distributed, e.g. UI in browser, compute in ImageJ-server running remotely, and connecting them with RPC over flexible transport layer.

    Jan Eglinger
    @imagejan

    @ctrueden thanks for merging imagej/imagej-legacy#256 so quickly! In the travis build of imagej-legacy, I see this now (presumably caused by the bump to pom-scijava-29.2.1):

    [ERROR] Cannot create plugin: class='io.scif.convert.FileToDatasetConverter', priority=1.0, enabled=true, pluginType=Converter

    … whenever we look for any Converter plugins.
    Any idea what caused this?

    Curtis Rueden
    @ctrueden
    @imagejan I'm not sure. I pushed imagej/imagej-legacy@51fbe09 to hopefully enable debug mode, which should print a stack trace for each of those. I don't know if the extra information will shed light, but we'll see.
    Jan Eglinger
    @imagejan
    (I’m also seeing these errors locally, they don’t block the maven build.)
    Curtis Rueden
    @ctrueden
    Oh, OK. I'll also try to reproduce locally, then.
    Jan Eglinger
    @imagejan
    Sorry, I just noticed them after submitting the PR.
    Ah, DatasetIOService is missing in the test context.
    Is that something that should be improved on the SCIFIO side? I.e. in the converter, make the service required=false, and then return false on supports when the service is missing?
    Curtis Rueden
    @ctrueden
    We could do that, sure. I feel this is a fundamental design limitation of SciJava's application containe, when a plugin depends on a missing service... but I don't have a good idea for how to fix it surgically. To do it "right" we'd have to load all plugin classes on context creation to scan their service dependencies and add those into the service index, which would be pretty aggressive. Or perhaps better, silently exclude plugins that depend on missing services. I dunno.
    But yeah, your idea would fix this particular instance of the messages.
    Jan Eglinger
    @imagejan
    😄 with debug mode: The job exceeded the maximum log length, and has been terminated.
    Curtis Rueden
    @ctrueden
    I'm going to roll back the imagej-legacy commit.
    I'm not shocked. :laughing:
    Jan Eglinger
    @imagejan
    :+1:
    That converter needs a fix anyhow: scifio/scifio#434 I’m on it.
    Curtis Rueden
    @ctrueden
    Thank you!
    Jan Eglinger
    @imagejan
    (Can’t assign myself however in the scifio org.)
    Curtis Rueden
    @ctrueden
    Invited.
    Jan Eglinger
    @imagejan
    Thanks!
    Curtis Rueden
    @ctrueden
    I also invited you to imglib as a member. (Didn't make you an owner there since that's up to the maintainers.)
    Deborah Schmidt
    @frauzufall
    DatasetView in net.imagej:imagej-common has the getScreenImage() method returning ARGBScreenImage, which depends on AWT. how is that supposed to work for non-AWT UIs?
    Curtis Rueden
    @ctrueden
    @frauzufall Yeah! That's the failure point! But I made an interface on the ImgLib2 side to avoid that.
    Unfortunately, I think more work would be needed on the ImgLib2 side to fully avoid the problem.
    But it's been a long time since I've looked at that. I remember punting on it long ago, because I didn't have a compelling urgent need to fight that battle further.
    Deborah Schmidt
    @frauzufall
    ok. good to know. for a simple image display test I can avoid it.
    Curtis Rueden
    @ctrueden
    @hinerm Update 1: my super-old Fiji installation on Windows 7 was able to update successfully after a couple of rounds, thanks to @frauzufall's hard work on the HTTP/HTTPS logic. My Java there is 1.8.0_66, too old for HTTPS with our infrastructure, and everything still works. I then enabled the Launcher-6-test update site, updated and restarted, and Fiji still works! :tada:
    Curtis Rueden
    @ctrueden
    @hinerm Update 2: my Windows 7 Fiji installation works with the latest Zulu 8 JFX bundle as-is, and the FLIMJ site also works. :confetti_ball:
    Mark Hiner
    @hinerm
    :heart:
    Jan Eglinger
    @imagejan
    @ctrueden @frauzufall I have a problem uploading to our own ftp update site: imagej/imagej-updater#95
    Curtis Rueden
    @ctrueden
    @imagejan You say FTP, but it's SFTP, right?
    Jan Eglinger
    @imagejan
    I tried using an older imagej-updater to test, but it won’t let me because it always updates the updater first, before allowing any changes.
    Curtis Rueden
    @ctrueden
    Can you SFTP to the box from the command line on that machine? You're using an SSH keypair?
    Jan Eglinger
    @imagejan
    yes, sftp it is, I believe.
    I can ssh on it using user and password credentials
    Curtis Rueden
    @ctrueden
    From the message, it looks like JSch is somehow picking up on a public/private keypair and trying to use that?
    Jan Eglinger
    @imagejan
    And I usually was providing the same credentials in the Fiji updater as well.
    Curtis Rueden
    @ctrueden
    Do you run Pageant (from Putty)?
    Jan Eglinger
    @imagejan
    ok, maybe it’s trying to use that, how can I remove? In my home folder? .ssh?
    Curtis Rueden
    @ctrueden
    Usually Pageant has its own settings where things live, IIRC.