{"id":18847867,"url":"https://github.com/zmoon/mit-comp-thinking-julia_zm","last_synced_at":"2026-03-19T06:41:53.190Z","repository":{"id":114822313,"uuid":"296336248","full_name":"zmoon/mit-comp-thinking-julia_zm","owner":"zmoon","description":"my hw solns for mitmath/18S191; playing with Pluto/Binder","archived":false,"fork":false,"pushed_at":"2020-09-27T02:18:46.000Z","size":87,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-23T00:40:10.298Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Julia","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zmoon.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-09-17T13:33:56.000Z","updated_at":"2022-11-14T18:28:14.000Z","dependencies_parsed_at":"2023-12-02T19:30:36.813Z","dependency_job_id":null,"html_url":"https://github.com/zmoon/mit-comp-thinking-julia_zm","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zmoon/mit-comp-thinking-julia_zm","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zmoon%2Fmit-comp-thinking-julia_zm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zmoon%2Fmit-comp-thinking-julia_zm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zmoon%2Fmit-comp-thinking-julia_zm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zmoon%2Fmit-comp-thinking-julia_zm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zmoon","download_url":"https://codeload.github.com/zmoon/mit-comp-thinking-julia_zm/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zmoon%2Fmit-comp-thinking-julia_zm/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28816571,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-27T12:25:15.069Z","status":"ssl_error","status_checked_at":"2026-01-27T12:25:05.297Z","response_time":168,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-08T03:09:56.017Z","updated_at":"2026-01-27T17:02:33.190Z","avatar_url":"https://github.com/zmoon.png","language":"Julia","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mit-comp-thinking-julia_zm\nmy hw solns for [mitmath/18S191](https://github.com/mitmath/18S191) (Fa20); playing with [Pluto](https://github.com/fonsp/Pluto.jl)/[Binder](https://mybinder.org/)\n\nI am just trying to learn some Julia, so issues/PRs related to improving the code/understanding are welcome.\n\n## Packages\n\n### local\n\nAdd this repo's Project(`.toml`).\n```\njulia\u003e]\npkg\u003e add Pluto  # to main/default env\npkg\u003e activate .\npkg\u003e instantiate  # install the packages (if needed)\npkg\u003e precompile  # why not\n```\n\nOr in one line without using Julia REPL:\n```\njulia -e 'import Pkg; Pkg.add(\\\"Pluto\\\"); Pkg.activate(\\\".\\\"); Pkg.instantiate(); Pkg.precompile()'\n```\n\n### background\n\nThe original versions of the Pluto notebooks include blocks for creating a temporary environment\n```julia\nbegin\n    using Pkg\n    Pkg.activate(mktempdir())\nend\n```\nand add needed packages to that environment.\n```julia\nbegin\n    Pkg.add([\"PackageA\", \"PackageB\", ...])\n    using PackageA\n    using PackageB\n    ...\nend\n```\n\nPackages already installed [are not duplicated](https://julialang.github.io/Pkg.jl/v1/environments/#**4.**-Working-with-Environments-1) when an environment wants the same version, but this can still end up taking a while if there is a new version of a package. And even the registry checking/updating part alone can take ~ 1 min.\n\nThis reason this is currently needed in Pluto notebooks is because even if you create a non-temporary environment and start Pluto from there, it won't necessarily be aware of the environment and the packages you have added to it.\n\n\u003e A Pluto notebook worker will probably run in a different package environment than the one you launched Pluto from. This is confusing - and will be changed at some point.\n\n-- https://github.com/fonsp/Pluto.jl/blob/master/CONTRIBUTING.md\n\nI can confirm that I did run in to this issue after changing such blocks to just imports...\n\n\n### Binder\n\n...\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzmoon%2Fmit-comp-thinking-julia_zm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzmoon%2Fmit-comp-thinking-julia_zm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzmoon%2Fmit-comp-thinking-julia_zm/lists"}