{"action":"created","issue":{"url":"https://api.github.com/repos/JunoLab/Juno.jl/issues/19","repository_url":"https://api.github.com/repos/JunoLab/Juno.jl","labels_url":"https://api.github.com/repos/JunoLab/Juno.jl/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/JunoLab/Juno.jl/issues/19/comments","events_url":"https://api.github.com/repos/JunoLab/Juno.jl/issues/19/events","html_url":"https://github.com/JunoLab/Juno.jl/pull/19","id":184633070,"number":19,"title":"New progress API","user":{"login":"pfitzseb","id":6735977,"avatar_url":"https://avatars.githubusercontent.com/u/6735977?v=3","gravatar_id":"","url":"https://api.github.com/users/pfitzseb","html_url":"https://github.com/pfitzseb","followers_url":"https://api.github.com/users/pfitzseb/followers","following_url":"https://api.github.com/users/pfitzseb/following{/other_user}","gists_url":"https://api.github.com/users/pfitzseb/gists{/gist_id}","starred_url":"https://api.github.com/users/pfitzseb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pfitzseb/subscriptions","organizations_url":"https://api.github.com/users/pfitzseb/orgs","repos_url":"https://api.github.com/users/pfitzseb/repos","events_url":"https://api.github.com/users/pfitzseb/events{/privacy}","received_events_url":"https://api.github.com/users/pfitzseb/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2016-10-22T14:22:38Z","updated_at":"2016-11-02T13:43:40Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/JunoLab/Juno.jl/pulls/19","html_url":"https://github.com/JunoLab/Juno.jl/pull/19","diff_url":"https://github.com/JunoLab/Juno.jl/pull/19.diff","patch_url":"https://github.com/JunoLab/Juno.jl/pull/19.patch"},"body":"Corresponding Juniper: http://discuss.junolab.org/t/juniper-progress-meters/893/4\n\nRelated: https://github.com/JunoLab/atom-julia-client/pull/271 and https://github.com/JunoLab/atom-ink/pull/90; supersedes #4.\n\nPreview:\n![progress](https://cloud.githubusercontent.com/assets/6735977/19619944/72904b96-9872-11e6-9038-d23e15d6a067.gif)\n\nSome details: \n- The progress bar stack can hold determinate as well as indeterminate progress bars, but only the former will be displayed.\n- The global progress bar is the bottom-most determinate progress bar. If there are no determinate progress bars in the stack, it will be an indeterminate progress bar. If the stack is empty, it will be empty as well.\n- Timing calculations are done in julia-client right now, but could conceivably be done in ink instead. Let me know if anyone has any opinions on that.\n- The lower level API (everything not `@progress`) should be sufficiently powerful for most applications, but is easily extensible if not.\n- `ProgressBar.msg` (and therefore `msg!()`) don't have any effect on what's displayed right now. Originally I wanted to display `msg` as a tooltip when hovering over a progress bar, but I'm not sure if that's a good solution.\n\ncc @ChrisRackauckas, @MikeInnes: Let me know what you think!\n"},"comment":{"url":"https://api.github.com/repos/JunoLab/Juno.jl/issues/comments/257867580","html_url":"https://github.com/JunoLab/Juno.jl/pull/19#issuecomment-257867580","issue_url":"https://api.github.com/repos/JunoLab/Juno.jl/issues/19","id":257867580,"user":{"login":"pfitzseb","id":6735977,"avatar_url":"https://avatars.githubusercontent.com/u/6735977?v=3","gravatar_id":"","url":"https://api.github.com/users/pfitzseb","html_url":"https://github.com/pfitzseb","followers_url":"https://api.github.com/users/pfitzseb/followers","following_url":"https://api.github.com/users/pfitzseb/following{/other_user}","gists_url":"https://api.github.com/users/pfitzseb/gists{/gist_id}","starred_url":"https://api.github.com/users/pfitzseb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pfitzseb/subscriptions","organizations_url":"https://api.github.com/users/pfitzseb/orgs","repos_url":"https://api.github.com/users/pfitzseb/repos","events_url":"https://api.github.com/users/pfitzseb/events{/privacy}","received_events_url":"https://api.github.com/users/pfitzseb/received_events","type":"User","site_admin":false},"created_at":"2016-11-02T13:43:39Z","updated_at":"2016-11-02T13:43:39Z","body":"Yeah, that's probably it. I thought about this a bit and now kinda like your idea of wrapping everything in a `try ... finally ...` and only clearing the indeterminate progress bar we create when a job starts."}}
{"actor":{"display_login":"pfitzseb"}}