René's URL Explorer Experiment


Title: Declare imglib2 functions as ops · Issue #56 · scijava/scijava · GitHub

Open Graph Title: Declare imglib2 functions as ops · Issue #56 · scijava/scijava

X Title: Declare imglib2 functions as ops · Issue #56 · scijava/scijava

Description: Ensure imglib2-algorithm can declare all its functionality as ops in a dependency-light (or even dependency-free—e.g. XML? Spring? see #55) way. Of course, the imglib2-algorithm-side work is not technically part of scijava-ops, but we wa...

Open Graph Description: Ensure imglib2-algorithm can declare all its functionality as ops in a dependency-light (or even dependency-free—e.g. XML? Spring? see #55) way. Of course, the imglib2-algorithm-side work is not te...

X Description: Ensure imglib2-algorithm can declare all its functionality as ops in a dependency-light (or even dependency-free—e.g. XML? Spring? see #55) way. Of course, the imglib2-algorithm-side work is not te...

Opengraph URL: https://github.com/scijava/scijava/issues/56

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Declare imglib2 functions as ops","articleBody":"Ensure imglib2-algorithm can declare all its functionality as ops in a dependency-light (or even dependency-free—e.g. XML? Spring? see #55) way.\r\n\r\nOf course, the imglib2-algorithm-side work is not technically part of scijava-ops, but we want to be 100% confident the architecture will support this.\r\n\r\nWe need to decide how to consume imglib2-algorithm from Ops. Possible approaches:\r\n\r\n1. [CURRENT] Leave imglib2-algorithm alone. Wrap all algorithms in imagej-ops.\r\n    * Pro: No changes needed to imglib2-algorithm. No new dependencies.\r\n    * Con: Tons of boilerplate. Does not evolve with additions to imglib2-algorithm. Extra maintainer effort from people less close to the imglib2 project.\r\n2. ServiceLoader. Change imglib2-algorithm to:\r\n    * Annotate static methods as @OpMethod / @OpField of an OpCollection.\r\n    * Make classes implement the correct functional interface.\r\n    * Declare all implementations according to ServiceLoader mechanism (e.g. for Java 9+, in module-info.java).\r\n    * Pro: Automatically expose algorithms as ops for the matcher, without depending on the matcher!\r\n    * Con: Dependency on ops functional interfaces (function, computer, inplace). Need to manually edit module-info.java to declare your op implementations (potential action-at-a-distance errors waiting to happen)—unless we impose an additional compile-time indexing mechanism of some kind.\r\n3. ServiceLoader with compile-time indexing.\r\n    * As (2) above, but with scijava-indexer, or Spring indexer, or something, so you don’t have to maintain your module-info manually.\r\n    * Pro: Reduce action-at-a-distance errors/skew.\r\n    * Con: Another compile-dependency (but maybe can be hidden in pom-scijava! Depends where the annotation interface(s) being used live—research needed).\r\n    * This approach can be “added on” to B perhaps, and can wait to explore till later.\r\n3. Go all-in on Spring, with all algorithms discoverable via Spring-based discovery (which mechanism? TBD).\r\n    * Con: Adds big dependencies to imglib2-algorithm. (Or _does it_?)\r\n    * Pro: Unified framework across more of our ecosystem, as SciJava 3 adopts Spring in general for its context-aware layers.\r\n\r\n-------------------\r\n\r\nAdditional notes:\r\n\r\n* Make scijava-function component with ONLY the functional interfaces.\r\n    * org.scijava.ops.function -\u003e org.scijava.function\r\n    * NO dependency on ServiceLoader. Just paves the way.\r\n    * OpCollection and `@OpMethod` and `@OpField` and `@OpDependency`?\r\n        * `@OpMethod` declares functional type—but this could potentially be inferred if we instead have people annotate `@Container` and `@Mutable` on their method parameters.\r\n            * Another potential advantage of this could be that your component does not need to depend on org.scijava.function at all, then—only on the `@Container` + `@Mutable` annotation classes… but see next point about op name declaration...\r\n            * Those annotations could live in scijava-ops-api in that case?\r\n    * `@OpMethod` and `@OpField` declare fully qualified op name including namespace—maybe no elegant way to get around this.\r\n* As an experiment, see if imglib2-algorithm can depend on scijava-function, and the algorithms there can implement the right functional interface, and module-info can declare those algorithms as implementations.\r\n* Then see if you can depend on imglib2-algorithm in a downstream project (e.g. imagej-ops2) and discover all the imglib2-algorithm implementations as Ops!\r\n* Once we have working options, present them to the ImgLib2 maintainers to discuss tradeoffs.","author":{"url":"https://github.com/ctrueden","@type":"Person","name":"ctrueden"},"datePublished":"2021-04-29T14:34:13.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":10},"url":"https://github.com/56/scijava/issues/56"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:9da51ae7-4eac-b006-b521-8634d27c6984
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idC4DA:D7362:2800D9C:34D240A:696B2F67
html-safe-nonce13c21efbdd895c310820d4b9a77e57654ff66604659e3321d489c5f17fbc6211
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNERBOkQ3MzYyOjI4MDBEOUM6MzREMjQwQTo2OTZCMkY2NyIsInZpc2l0b3JfaWQiOiI5MjA1NDc2MjE5ODY2MDAxMjU1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac2f1f2d022915000623e99ab47c8f56673af231ce04cb76f877e4fe3f915a9c22
hovercard-subject-tagissue:871083616
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/scijava/scijava/56/issue_layout
twitter:imagehttps://opengraph.githubassets.com/f732979c94fdc8332f7d9bd4789c7d2296e2dba9614b33f4be303182e899f316/scijava/scijava/issues/56
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/f732979c94fdc8332f7d9bd4789c7d2296e2dba9614b33f4be303182e899f316/scijava/scijava/issues/56
og:image:altEnsure imglib2-algorithm can declare all its functionality as ops in a dependency-light (or even dependency-free—e.g. XML? Spring? see #55) way. Of course, the imglib2-algorithm-side work is not te...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamectrueden
hostnamegithub.com
expected-hostnamegithub.com
None5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d
turbo-cache-controlno-preview
go-importgithub.com/scijava/scijava git https://github.com/scijava/scijava.git
octolytics-dimension-user_id1262770
octolytics-dimension-user_loginscijava
octolytics-dimension-repository_id85618439
octolytics-dimension-repository_nwoscijava/scijava
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id85618439
octolytics-dimension-repository_network_root_nwoscijava/scijava
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release82560a55c6b2054555076f46e683151ee28a19bc
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/scijava/scijava/issues/56#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fscijava%2Fscijava%2Fissues%2F56
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fscijava%2Fscijava%2Fissues%2F56
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=scijava%2Fscijava
Reloadhttps://github.com/scijava/scijava/issues/56
Reloadhttps://github.com/scijava/scijava/issues/56
Reloadhttps://github.com/scijava/scijava/issues/56
scijava https://github.com/scijava
scijavahttps://github.com/scijava/scijava
Notifications https://github.com/login?return_to=%2Fscijava%2Fscijava
Fork 0 https://github.com/login?return_to=%2Fscijava%2Fscijava
Star 8 https://github.com/login?return_to=%2Fscijava%2Fscijava
Code https://github.com/scijava/scijava
Issues 63 https://github.com/scijava/scijava/issues
Pull requests 1 https://github.com/scijava/scijava/pulls
Actions https://github.com/scijava/scijava/actions
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/scijava/scijava/security
Please reload this pagehttps://github.com/scijava/scijava/issues/56
Insights https://github.com/scijava/scijava/pulse
Code https://github.com/scijava/scijava
Issues https://github.com/scijava/scijava/issues
Pull requests https://github.com/scijava/scijava/pulls
Actions https://github.com/scijava/scijava/actions
Security https://github.com/scijava/scijava/security
Insights https://github.com/scijava/scijava/pulse
New issuehttps://github.com/login?return_to=https://github.com/scijava/scijava/issues/56
New issuehttps://github.com/login?return_to=https://github.com/scijava/scijava/issues/56
imglib/imglib2-algorithm#94https://github.com/imglib/imglib2-algorithm/pull/94
Declare imglib2 functions as opshttps://github.com/scijava/scijava/issues/56#top
imglib/imglib2-algorithm#94https://github.com/imglib/imglib2-algorithm/pull/94
https://github.com/gselzer
blockedhttps://github.com/scijava/scijava/issues?q=state%3Aopen%20label%3A%22blocked%22
unscheduledhttps://github.com/scijava/scijava/milestone/2
https://github.com/ctrueden
https://github.com/ctrueden
ctruedenhttps://github.com/ctrueden
on Apr 29, 2021https://github.com/scijava/scijava/issues/56#issue-871083616
#55https://github.com/scijava/scijava/issues/55
gselzerhttps://github.com/gselzer
blockedhttps://github.com/scijava/scijava/issues?q=state%3Aopen%20label%3A%22blocked%22
SciJava Ops Paper #2: Polyglothttps://github.com/orgs/scijava/projects/2
unscheduledNo due datehttps://github.com/scijava/scijava/milestone/2
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.