{"action":"created","issue":{"url":"https://api.github.com/repos/exa-analytics/atomic/issues/40","repository_url":"https://api.github.com/repos/exa-analytics/atomic","labels_url":"https://api.github.com/repos/exa-analytics/atomic/issues/40/labels{/name}","comments_url":"https://api.github.com/repos/exa-analytics/atomic/issues/40/comments","events_url":"https://api.github.com/repos/exa-analytics/atomic/issues/40/events","html_url":"https://github.com/exa-analytics/atomic/issues/40","id":150570897,"number":40,"title":"Where to save images when non-persistent","user":{"login":"tjduigna","id":10871866,"avatar_url":"https://avatars.githubusercontent.com/u/10871866?v=3","gravatar_id":"","url":"https://api.github.com/users/tjduigna","html_url":"https://github.com/tjduigna","followers_url":"https://api.github.com/users/tjduigna/followers","following_url":"https://api.github.com/users/tjduigna/following{/other_user}","gists_url":"https://api.github.com/users/tjduigna/gists{/gist_id}","starred_url":"https://api.github.com/users/tjduigna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tjduigna/subscriptions","organizations_url":"https://api.github.com/users/tjduigna/orgs","repos_url":"https://api.github.com/users/tjduigna/repos","events_url":"https://api.github.com/users/tjduigna/events{/privacy}","received_events_url":"https://api.github.com/users/tjduigna/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-23T16:15:26Z","updated_at":"2016-04-23T16:55:48Z","closed_at":null,"body":"Removing the requirement of the persistent .exa directory and sqlite database on disk is good for the shallow use case. Now say we want to run in non-persistent but also want to save PNGs to disk. Where should we do this? I remember the trick you used for finding the OS's natural temporary directory (although not where the code would be). I suppose this would be the natural choice? In the persistent case we can associate UID of a universe with the PNGs saved but for the non-persistent case a simple incrementing scheme of 0001.png 0002.png etc. seems sufficient. I hesitate to commit the save PNG patch until we have a systematic solution for this. What are your thoughts on this? "},"comment":{"url":"https://api.github.com/repos/exa-analytics/atomic/issues/comments/213782723","html_url":"https://github.com/exa-analytics/atomic/issues/40#issuecomment-213782723","issue_url":"https://api.github.com/repos/exa-analytics/atomic/issues/40","id":213782723,"user":{"login":"alexvmarch","id":9473271,"avatar_url":"https://avatars.githubusercontent.com/u/9473271?v=3","gravatar_id":"","url":"https://api.github.com/users/alexvmarch","html_url":"https://github.com/alexvmarch","followers_url":"https://api.github.com/users/alexvmarch/followers","following_url":"https://api.github.com/users/alexvmarch/following{/other_user}","gists_url":"https://api.github.com/users/alexvmarch/gists{/gist_id}","starred_url":"https://api.github.com/users/alexvmarch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexvmarch/subscriptions","organizations_url":"https://api.github.com/users/alexvmarch/orgs","repos_url":"https://api.github.com/users/alexvmarch/repos","events_url":"https://api.github.com/users/alexvmarch/events{/privacy}","received_events_url":"https://api.github.com/users/alexvmarch/received_events","type":"User","site_admin":false},"created_at":"2016-04-23T16:55:48Z","updated_at":"2016-04-23T16:55:48Z","body":"Automatic saving (with no options) should default to the exa runtime directory (e.g. ~/.exa). We can add a text field to the gui where a user can specify a dir path and have the auto incrementing scheme going in there.\r\n\r\nDoes it save svgs or only pngs?"}}