Title: Script Interpreter issues · Issue #308 · scijava/scijava-common · GitHub
Open Graph Title: Script Interpreter issues · Issue #308 · scijava/scijava-common
X Title: Script Interpreter issues · Issue #308 · scijava/scijava-common
Description: @acardona made an issue report on the ImageJ Forum about the Script Interpreter: The issue of printing within the interpreter is easy to solve by redirecting stdout to a PrintWriter that writes to the interpreter. Other issues: Fails to ...
Open Graph Description: @acardona made an issue report on the ImageJ Forum about the Script Interpreter: The issue of printing within the interpreter is easy to solve by redirecting stdout to a PrintWriter that writes to ...
X Description: @acardona made an issue report on the ImageJ Forum about the Script Interpreter: The issue of printing within the interpreter is easy to solve by redirecting stdout to a PrintWriter that writes to ...
Opengraph URL: https://github.com/scijava/scijava-common/issues/308
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Script Interpreter issues","articleBody":"@acardona made [an issue report on the ImageJ Forum](http://forum.imagej.net/t/issues-with-the-new-script-interpreter/7923/3?u=ctrueden) about the Script Interpreter:\r\n\r\n\u003e The issue of printing within the interpreter is easy to solve by redirecting stdout to a PrintWriter that writes to the interpreter.\r\n\u003e \r\n\u003e Other issues:\r\n\u003e \r\n\u003e 1. Fails to keep state, i.e. fails to write the executed commands to a file. The error is puzzling:\r\n\u003e ```\r\n\u003e WARNING: Couldn't flush user prefs: java.util.prefs.BackingStoreException: /home/albert/.java/.userPrefs/org/scijava/script/_!%g!a@\"z!(@!bw\"y!(k!.g\"v!()!~w!u!(:!}w\"p!'o!}@\"2!'%!.g\"w!'w!d@\"n!'k!bg\"z!#4!cw\"j!()!a@\"w!(@!a@\"u!'c!.g\"j!'w!bw\"q!(`!cg\"l!#4!@w\"s!'8!ag\"1!()!~@\"^!':!cg\"p!(!!d!\"\u0026!'4!~w\"p!'4!~@== create failed.\r\n\u003e ```\r\n\u003e\r\n\u003e 2. The cursor blinks.\r\n\u003e \r\n\u003e 3. When I open a new interpreter, it doesn’t remember the last language that was chosen.\r\n\u003e \r\n\u003e 4. Can’t select commands to re-execute them with e.g. a key binding or a popup menu. I have to select, copy-paste, then push return.\r\n\u003e \r\n\u003e 5. Checking the “Show variable types” doesn’t seem to do anything.\r\n\u003e \r\n\u003e 6. I can’t collapse the table of variables to nothing. Given its apparent uselessness, it is screen noise. In any case it should be fully collapsible.\r\n\u003e \r\n\u003e 7. I have no idea what the list of variables is for or about. Typing the variable into the prompt and pushing return shows that the symbol is not bound to anything (at least in clojure).\r\n\u003e \r\n\u003e 8. The built-in commands e.g. “:lang” should not be bound to a name that starts with “:” in clojure. These can collide with keys for dictionaries. I suggest using something that can’t be bound in any language, perhaps something like what psql (postgres prompt) does: use a leading backslash “\\”.\r\n","author":{"url":"https://github.com/ctrueden","@type":"Person","name":"ctrueden"},"datePublished":"2017-11-28T17:31:47.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":7},"url":"https://github.com/308/scijava-common/issues/308"}
| 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:a097643c-4444-4ed2-d53d-f2c7f7ed11b6 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C3FA:132A0E:71CC707:9653836:696DDC3B |
| html-safe-nonce | 48b6f56003a26a1d8500d2e39ddbd99ac61c265d53ddedaf01dcacf72520b830 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDM0ZBOjEzMkEwRTo3MUNDNzA3Ojk2NTM4MzY6Njk2RERDM0IiLCJ2aXNpdG9yX2lkIjoiMjYzNjk5MDEyNjI4NDk4NzQ1MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | ee430a91826b0ac76be0db5dd5862ab8d58ac9e86f34f919719bcfc213ee8995 |
| hovercard-subject-tag | issue:277471364 |
| 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/308/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c65894b6bb78483750258346cfc6ec1aa47adbeaccb7514dc8588d4f1ab422d0/scijava/scijava-common/issues/308 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c65894b6bb78483750258346cfc6ec1aa47adbeaccb7514dc8588d4f1ab422d0/scijava/scijava-common/issues/308 |
| og:image:alt | @acardona made an issue report on the ImageJ Forum about the Script Interpreter: The issue of printing within the interpreter is easy to solve by redirecting stdout to a PrintWriter that writes to ... |
| 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 | 4922b452d03cd8dbce479d866a11bc25b59ef6ee2da23aa9b0ddefa6bd4d0064 |
| 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 | 7e5ae23c70136152637ceee8d6faceb35596ec46 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width