{"action":"opened","issue":{"url":"https://api.github.com/repos/QuantEcon/lecture-source-jl/issues/270","repository_url":"https://api.github.com/repos/QuantEcon/lecture-source-jl","labels_url":"https://api.github.com/repos/QuantEcon/lecture-source-jl/issues/270/labels{/name}","comments_url":"https://api.github.com/repos/QuantEcon/lecture-source-jl/issues/270/comments","events_url":"https://api.github.com/repos/QuantEcon/lecture-source-jl/issues/270/events","html_url":"https://github.com/QuantEcon/lecture-source-jl/issues/270","id":378920758,"node_id":"MDU6SXNzdWUzNzg5MjA3NTg=","number":270,"title":"Decouple instantiation from using in the deps.jl and alldeps.jl","user":{"login":"jlperla","id":13106721,"node_id":"MDQ6VXNlcjEzMTA2NzIx","avatar_url":"https://avatars2.githubusercontent.com/u/13106721?v=4","gravatar_id":"","url":"https://api.github.com/users/jlperla","html_url":"https://github.com/jlperla","followers_url":"https://api.github.com/users/jlperla/followers","following_url":"https://api.github.com/users/jlperla/following{/other_user}","gists_url":"https://api.github.com/users/jlperla/gists{/gist_id}","starred_url":"https://api.github.com/users/jlperla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jlperla/subscriptions","organizations_url":"https://api.github.com/users/jlperla/orgs","repos_url":"https://api.github.com/users/jlperla/repos","events_url":"https://api.github.com/users/jlperla/events{/privacy}","received_events_url":"https://api.github.com/users/jlperla/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/QuantEcon/lecture-source-jl/milestones/3","html_url":"https://github.com/QuantEcon/lecture-source-jl/milestone/3","labels_url":"https://api.github.com/repos/QuantEcon/lecture-source-jl/milestones/3/labels","id":3807002,"node_id":"MDk6TWlsZXN0b25lMzgwNzAwMg==","number":3,"title":"v1.1","description":"","creator":{"login":"jlperla","id":13106721,"node_id":"MDQ6VXNlcjEzMTA2NzIx","avatar_url":"https://avatars2.githubusercontent.com/u/13106721?v=4","gravatar_id":"","url":"https://api.github.com/users/jlperla","html_url":"https://github.com/jlperla","followers_url":"https://api.github.com/users/jlperla/followers","following_url":"https://api.github.com/users/jlperla/following{/other_user}","gists_url":"https://api.github.com/users/jlperla/gists{/gist_id}","starred_url":"https://api.github.com/users/jlperla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jlperla/subscriptions","organizations_url":"https://api.github.com/users/jlperla/orgs","repos_url":"https://api.github.com/users/jlperla/repos","events_url":"https://api.github.com/users/jlperla/events{/privacy}","received_events_url":"https://api.github.com/users/jlperla/received_events","type":"User","site_admin":false},"open_issues":17,"closed_issues":0,"state":"open","created_at":"2018-11-08T18:04:44Z","updated_at":"2018-11-08T21:18:07Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2018-11-08T21:18:07Z","updated_at":"2018-11-08T21:18:07Z","closed_at":null,"author_association":"COLLABORATOR","body":"Right now the `deps.jl` looks something like\r\n```julia\r\nusing InstantiateFromURL\r\nactivate_github(\"QuantEcon/QuantEconLecturePackages\", tag = \"v0.3.1\") # activate the QuantEcon environment\r\n\r\nusing LinearAlgebra, Statistics, Compat # load common packages\r\n```\r\nBut for most lectures we want to (`) be able to run the `using` without the instantiation, and (2) add things other than just those common packages on a lecture-by-lecture basis.\r\n\r\nSo we should\r\n- [ ] change the `deps.jl` and `alldeps.jl` to things like\r\n```julia\r\nusing InstantiateFromURL\r\nactivate_github(\"QuantEcon/QuantEconLecturePackages\", tag = \"v0.3.1\") ;\r\n```\r\n(note the use of the `;` at the end to prevent the path output from the activate)\r\nThen for every lecture we should:\r\n- [ ] Manually add in a code cell underneat the `deps.jl` include that is (on its own with no other code)\r\n```julia\r\nusing LinearAlgebra, Statistics, Compat\r\n```\r\n- [ ] Move any other `using` up to this cell so that they are all executed at once in the notebook.  The one exception to this is the two introductory sections (i.e. all linked in `index_getting_started_julia` and `index_more_julia` and , where we want to be very careful to help people understand which functions come from which packages)\r\n\r\nAlso, beyond those three, we should make sure to not have any extra `using` that are not required (e.g. don't go `using QuantEcon` unless we really need a function in it)."}}
{"actor":{"display_login":"jlperla"}}