Title: Make prefs persistence optional, and off by default · Issue #150 · scijava/scijava-common · GitHub
Open Graph Title: Make prefs persistence optional, and off by default · Issue #150 · scijava/scijava-common
X Title: Make prefs persistence optional, and off by default · Issue #150 · scijava/scijava-common
Description: The PrefService stores preferences in persistent storage. But propagating a plethora of preferences in perpetuity is poison to reproducibility. So it should be a setting of the context, which is initially disabled. Specifically, by defau...
Open Graph Description: The PrefService stores preferences in persistent storage. But propagating a plethora of preferences in perpetuity is poison to reproducibility. So it should be a setting of the context, which is in...
X Description: The PrefService stores preferences in persistent storage. But propagating a plethora of preferences in perpetuity is poison to reproducibility. So it should be a setting of the context, which is in...
Opengraph URL: https://github.com/scijava/scijava-common/issues/150
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Make prefs persistence optional, and off by default","articleBody":"The `PrefService` stores preferences in persistent storage. But propagating a plethora of preferences in perpetuity is poison to reproducibility. So it should be a setting of the context, which is initially disabled.\n\nSpecifically, by default, when you spin up a new context, the `PrefService` should _not_ load values from persistent storage, and should _not_ save them there either. It should keep the settings _only_ for the lifetime of the JVM. But, if you call something like `prefService.loadSettings()` then it should load the settings from persistent storage, and save them there each time as well for the lifetime of the context.\n\nThen, we can add an `ij.prefs().loadSettings()` call as one of the steps in `net.imagej.Main`, so that the default application behaves that way. But people doing low-level things, unit tests, etc., will not be bitten by that inconsistency.\n","author":{"url":"https://github.com/ctrueden","@type":"Person","name":"ctrueden"},"datePublished":"2015-03-03T20:06:50.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/150/scijava-common/issues/150"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:d9e91fb6-5aa4-0b5a-399d-d417f2576fca |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D644:E27E8:10D9807:1714B46:6969F4F1 |
| html-safe-nonce | 58d40097701d3cf967186c5c5801354034a58bab1bb3eb5dd113daab21ea5d8f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENjQ0OkUyN0U4OjEwRDk4MDc6MTcxNEI0Njo2OTY5RjRGMSIsInZpc2l0b3JfaWQiOiI0ODE3NjUwMjQ5MTYyNjgzNjMzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 8a9f8df00bccede5c1e38e9078a047318e068f21a3a51d9b36498c1cb1f023b6 |
| hovercard-subject-tag | issue:59697595 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/scijava/scijava-common/150/issue_layout |
| twitter:image | https://opengraph.githubassets.com/d0ad4535112cea3b7a455dbe109d5c9a29f3e8d4049b4c6d6ec5e99e80cf0650/scijava/scijava-common/issues/150 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d0ad4535112cea3b7a455dbe109d5c9a29f3e8d4049b4c6d6ec5e99e80cf0650/scijava/scijava-common/issues/150 |
| og:image:alt | The PrefService stores preferences in persistent storage. But propagating a plethora of preferences in perpetuity is poison to reproducibility. So it should be a setting of the context, which is in... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ctrueden |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7b32f1c7c4549428ee399213e8345494fc55b5637195d3fc5f493657579235e8 |
| turbo-cache-control | no-preview |
| go-import | github.com/scijava/scijava-common git https://github.com/scijava/scijava-common.git |
| octolytics-dimension-user_id | 1262770 |
| octolytics-dimension-user_login | scijava |
| octolytics-dimension-repository_id | 3594497 |
| octolytics-dimension-repository_nwo | scijava/scijava-common |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 3594497 |
| octolytics-dimension-repository_network_root_nwo | scijava/scijava-common |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | bdde15ad1b403e23b08bbd89b53fbe6bdf688cad |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width