{"action":"created","comment":{"url":"https://api.github.com/repos/SciTools/courses/pulls/comments/169594004","pull_request_review_id":98140844,"id":169594004,"diff_hunk":"@@ -0,0 +1,216 @@\n+{\n+ \"cells\": [\n+  {\n+   \"cell_type\": \"markdown\",\n+   \"metadata\": {},\n+   \"source\": [\n+    \"# An Introduction to Dask\\n\",\n+    \"\\n\",\n+    \"Dask is a flexible parallel computing library for Python. It allows dynamic scheduling of tasks for optimising computations, and includes collections such as arrays and lists for parallel data processing.\"\n+   ]\n+  },\n+  {\n+   \"cell_type\": \"markdown\",\n+   \"metadata\": {},\n+   \"source\": [\n+    \"## Terminology\\n\",\n+    \"\\n\",\n+    \"### General\"\n+   ]\n+  },\n+  {\n+   \"cell_type\": \"markdown\",\n+   \"metadata\": {},\n+   \"source\": [\n+    \"#### Thread\\n\",\n+    \"A thread is the simplest unit of computation.\\n\",\n+    \"\\n\",\n+    \"#### Process\\n\",\n+    \"A process is an isolated computation which consists of one or more threads.\"\n+   ]\n+  },\n+  {\n+   \"cell_type\": \"markdown\",\n+   \"metadata\": {},\n+   \"source\": [\n+    \"### Dask\\n\",\n+    \"\\n\",\n+    \"#### Dask architecture\\n\",\n+    \"Below is the basic structure of how the components of dask interact:\\n\",\n+    \"\\n\",\n+    \"![](../images/dask_architecture.png)\\n\"\n+   ]\n+  },\n+  {\n+   \"cell_type\": \"markdown\",\n+   \"metadata\": {},\n+   \"source\": [\n+    \"#### Client\\n\",\n+    \"A client is a Python class that provides the primary point of access to a scheduler and its associated workers. \"\n+   ]\n+  },\n+  {\n+   \"cell_type\": \"markdown\",\n+   \"metadata\": {},\n+   \"source\": [\n+    \"#### Scheduler\\n\",\n+    \"One of Dask’s key benefits is its ability to efficiently schedule tasks to optimize computations. Everything Dask does is built on top of “schedulers”. These schedulers take the order of work established by a task graph and find the optimal way to break down and carry out the tasks.\\n\",\n+    \"\\n\",\n+    \"Dask has four types of schedulers:\\n\",\n+    \"- Synchronous: Single thread (good for debugging).\\n\",\n+    \"        dask.get\\n\",\n+    \"- Threaded: Utilises a thread pool.\\n\",\n+    \"        dask.threaded.get\\n\",\n+    \"- Multiprocessing: Utilises a process pool.\\n\",\n+    \"        dask.multiprocessing.get\\n\",\n+    \"- Distributed: Utilises a cluster of distributed machines.\\n\",\n+    \"        distributed.Client.get\\n\"","path":"course_content/notebooks/dask_intro.ipynb","position":67,"original_position":67,"commit_id":"f5040e53cdf493a70580eae19e71ed91e26a7388","original_commit_id":"f5040e53cdf493a70580eae19e71ed91e26a7388","user":{"login":"dkillick","id":3473068,"avatar_url":"https://avatars2.githubusercontent.com/u/3473068?v=4","gravatar_id":"","url":"https://api.github.com/users/dkillick","html_url":"https://github.com/dkillick","followers_url":"https://api.github.com/users/dkillick/followers","following_url":"https://api.github.com/users/dkillick/following{/other_user}","gists_url":"https://api.github.com/users/dkillick/gists{/gist_id}","starred_url":"https://api.github.com/users/dkillick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dkillick/subscriptions","organizations_url":"https://api.github.com/users/dkillick/orgs","repos_url":"https://api.github.com/users/dkillick/repos","events_url":"https://api.github.com/users/dkillick/events{/privacy}","received_events_url":"https://api.github.com/users/dkillick/received_events","type":"User","site_admin":false},"body":"This bit is great 👍 ","created_at":"2018-02-21T10:34:57Z","updated_at":"2018-02-21T10:39:43Z","html_url":"https://github.com/SciTools/courses/pull/105#discussion_r169594004","pull_request_url":"https://api.github.com/repos/SciTools/courses/pulls/105","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/SciTools/courses/pulls/comments/169594004"},"html":{"href":"https://github.com/SciTools/courses/pull/105#discussion_r169594004"},"pull_request":{"href":"https://api.github.com/repos/SciTools/courses/pulls/105"}}},"pull_request":{"url":"https://api.github.com/repos/SciTools/courses/pulls/105","id":170416952,"html_url":"https://github.com/SciTools/courses/pull/105","diff_url":"https://github.com/SciTools/courses/pull/105.diff","patch_url":"https://github.com/SciTools/courses/pull/105.patch","issue_url":"https://api.github.com/repos/SciTools/courses/issues/105","number":105,"state":"open","locked":false,"title":"[Dask] Add course about dask","user":{"login":"kaedonkers","id":32906197,"avatar_url":"https://avatars0.githubusercontent.com/u/32906197?v=4","gravatar_id":"","url":"https://api.github.com/users/kaedonkers","html_url":"https://github.com/kaedonkers","followers_url":"https://api.github.com/users/kaedonkers/followers","following_url":"https://api.github.com/users/kaedonkers/following{/other_user}","gists_url":"https://api.github.com/users/kaedonkers/gists{/gist_id}","starred_url":"https://api.github.com/users/kaedonkers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaedonkers/subscriptions","organizations_url":"https://api.github.com/users/kaedonkers/orgs","repos_url":"https://api.github.com/users/kaedonkers/repos","events_url":"https://api.github.com/users/kaedonkers/events{/privacy}","received_events_url":"https://api.github.com/users/kaedonkers/received_events","type":"User","site_admin":false},"body":"Add a course about dask which introduces terminology and structure of dask.\r\nInclude exercises to test user's knowledge.","created_at":"2018-02-21T09:36:59Z","updated_at":"2018-02-21T10:39:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7ea3504da336d0387d2931f1cffd793d18bbe875","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/SciTools/courses/pulls/105/commits","review_comments_url":"https://api.github.com/repos/SciTools/courses/pulls/105/comments","review_comment_url":"https://api.github.com/repos/SciTools/courses/pulls/comments{/number}","comments_url":"https://api.github.com/repos/SciTools/courses/issues/105/comments","statuses_url":"https://api.github.com/repos/SciTools/courses/statuses/f5040e53cdf493a70580eae19e71ed91e26a7388","head":{"label":"kaedonkers:dask_course","ref":"dask_course","sha":"f5040e53cdf493a70580eae19e71ed91e26a7388","user":{"login":"kaedonkers","id":32906197,"avatar_url":"https://avatars0.githubusercontent.com/u/32906197?v=4","gravatar_id":"","url":"https://api.github.com/users/kaedonkers","html_url":"https://github.com/kaedonkers","followers_url":"https://api.github.com/users/kaedonkers/followers","following_url":"https://api.github.com/users/kaedonkers/following{/other_user}","gists_url":"https://api.github.com/users/kaedonkers/gists{/gist_id}","starred_url":"https://api.github.com/users/kaedonkers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaedonkers/subscriptions","organizations_url":"https://api.github.com/users/kaedonkers/orgs","repos_url":"https://api.github.com/users/kaedonkers/repos","events_url":"https://api.github.com/users/kaedonkers/events{/privacy}","received_events_url":"https://api.github.com/users/kaedonkers/received_events","type":"User","site_admin":false},"repo":{"id":122203820,"name":"courses","full_name":"kaedonkers/courses","owner":{"login":"kaedonkers","id":32906197,"avatar_url":"https://avatars0.githubusercontent.com/u/32906197?v=4","gravatar_id":"","url":"https://api.github.com/users/kaedonkers","html_url":"https://github.com/kaedonkers","followers_url":"https://api.github.com/users/kaedonkers/followers","following_url":"https://api.github.com/users/kaedonkers/following{/other_user}","gists_url":"https://api.github.com/users/kaedonkers/gists{/gist_id}","starred_url":"https://api.github.com/users/kaedonkers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaedonkers/subscriptions","organizations_url":"https://api.github.com/users/kaedonkers/orgs","repos_url":"https://api.github.com/users/kaedonkers/repos","events_url":"https://api.github.com/users/kaedonkers/events{/privacy}","received_events_url":"https://api.github.com/users/kaedonkers/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kaedonkers/courses","description":"Python courses for the scientific researcher","fork":true,"url":"https://api.github.com/repos/kaedonkers/courses","forks_url":"https://api.github.com/repos/kaedonkers/courses/forks","keys_url":"https://api.github.com/repos/kaedonkers/courses/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kaedonkers/courses/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kaedonkers/courses/teams","hooks_url":"https://api.github.com/repos/kaedonkers/courses/hooks","issue_events_url":"https://api.github.com/repos/kaedonkers/courses/issues/events{/number}","events_url":"https://api.github.com/repos/kaedonkers/courses/events","assignees_url":"https://api.github.com/repos/kaedonkers/courses/assignees{/user}","branches_url":"https://api.github.com/repos/kaedonkers/courses/branches{/branch}","tags_url":"https://api.github.com/repos/kaedonkers/courses/tags","blobs_url":"https://api.github.com/repos/kaedonkers/courses/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kaedonkers/courses/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kaedonkers/courses/git/refs{/sha}","trees_url":"https://api.github.com/repos/kaedonkers/courses/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kaedonkers/courses/statuses/{sha}","languages_url":"https://api.github.com/repos/kaedonkers/courses/languages","stargazers_url":"https://api.github.com/repos/kaedonkers/courses/stargazers","contributors_url":"https://api.github.com/repos/kaedonkers/courses/contributors","subscribers_url":"https://api.github.com/repos/kaedonkers/courses/subscribers","subscription_url":"https://api.github.com/repos/kaedonkers/courses/subscription","commits_url":"https://api.github.com/repos/kaedonkers/courses/commits{/sha}","git_commits_url":"https://api.github.com/repos/kaedonkers/courses/git/commits{/sha}","comments_url":"https://api.github.com/repos/kaedonkers/courses/comments{/number}","issue_comment_url":"https://api.github.com/repos/kaedonkers/courses/issues/comments{/number}","contents_url":"https://api.github.com/repos/kaedonkers/courses/contents/{+path}","compare_url":"https://api.github.com/repos/kaedonkers/courses/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kaedonkers/courses/merges","archive_url":"https://api.github.com/repos/kaedonkers/courses/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kaedonkers/courses/downloads","issues_url":"https://api.github.com/repos/kaedonkers/courses/issues{/number}","pulls_url":"https://api.github.com/repos/kaedonkers/courses/pulls{/number}","milestones_url":"https://api.github.com/repos/kaedonkers/courses/milestones{/number}","notifications_url":"https://api.github.com/repos/kaedonkers/courses/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kaedonkers/courses/labels{/name}","releases_url":"https://api.github.com/repos/kaedonkers/courses/releases{/id}","deployments_url":"https://api.github.com/repos/kaedonkers/courses/deployments","created_at":"2018-02-20T13:46:12Z","updated_at":"2018-02-20T13:46:13Z","pushed_at":"2018-02-21T09:32:10Z","git_url":"git://github.com/kaedonkers/courses.git","ssh_url":"git@github.com:kaedonkers/courses.git","clone_url":"https://github.com/kaedonkers/courses.git","svn_url":"https://github.com/kaedonkers/courses","homepage":"","size":8003,"stargazers_count":0,"watchers_count":0,"language":"Jupyter Notebook","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"SciTools:dask_course","ref":"dask_course","sha":"dd0471b6b1e0d90570057f1e30f8cacef09f9152","user":{"login":"SciTools","id":1391487,"avatar_url":"https://avatars3.githubusercontent.com/u/1391487?v=4","gravatar_id":"","url":"https://api.github.com/users/SciTools","html_url":"https://github.com/SciTools","followers_url":"https://api.github.com/users/SciTools/followers","following_url":"https://api.github.com/users/SciTools/following{/other_user}","gists_url":"https://api.github.com/users/SciTools/gists{/gist_id}","starred_url":"https://api.github.com/users/SciTools/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SciTools/subscriptions","organizations_url":"https://api.github.com/users/SciTools/orgs","repos_url":"https://api.github.com/users/SciTools/repos","events_url":"https://api.github.com/users/SciTools/events{/privacy}","received_events_url":"https://api.github.com/users/SciTools/received_events","type":"Organization","site_admin":false},"repo":{"id":13246517,"name":"courses","full_name":"SciTools/courses","owner":{"login":"SciTools","id":1391487,"avatar_url":"https://avatars3.githubusercontent.com/u/1391487?v=4","gravatar_id":"","url":"https://api.github.com/users/SciTools","html_url":"https://github.com/SciTools","followers_url":"https://api.github.com/users/SciTools/followers","following_url":"https://api.github.com/users/SciTools/following{/other_user}","gists_url":"https://api.github.com/users/SciTools/gists{/gist_id}","starred_url":"https://api.github.com/users/SciTools/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SciTools/subscriptions","organizations_url":"https://api.github.com/users/SciTools/orgs","repos_url":"https://api.github.com/users/SciTools/repos","events_url":"https://api.github.com/users/SciTools/events{/privacy}","received_events_url":"https://api.github.com/users/SciTools/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/SciTools/courses","description":"Python courses for the scientific researcher","fork":false,"url":"https://api.github.com/repos/SciTools/courses","forks_url":"https://api.github.com/repos/SciTools/courses/forks","keys_url":"https://api.github.com/repos/SciTools/courses/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SciTools/courses/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SciTools/courses/teams","hooks_url":"https://api.github.com/repos/SciTools/courses/hooks","issue_events_url":"https://api.github.com/repos/SciTools/courses/issues/events{/number}","events_url":"https://api.github.com/repos/SciTools/courses/events","assignees_url":"https://api.github.com/repos/SciTools/courses/assignees{/user}","branches_url":"https://api.github.com/repos/SciTools/courses/branches{/branch}","tags_url":"https://api.github.com/repos/SciTools/courses/tags","blobs_url":"https://api.github.com/repos/SciTools/courses/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SciTools/courses/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SciTools/courses/git/refs{/sha}","trees_url":"https://api.github.com/repos/SciTools/courses/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SciTools/courses/statuses/{sha}","languages_url":"https://api.github.com/repos/SciTools/courses/languages","stargazers_url":"https://api.github.com/repos/SciTools/courses/stargazers","contributors_url":"https://api.github.com/repos/SciTools/courses/contributors","subscribers_url":"https://api.github.com/repos/SciTools/courses/subscribers","subscription_url":"https://api.github.com/repos/SciTools/courses/subscription","commits_url":"https://api.github.com/repos/SciTools/courses/commits{/sha}","git_commits_url":"https://api.github.com/repos/SciTools/courses/git/commits{/sha}","comments_url":"https://api.github.com/repos/SciTools/courses/comments{/number}","issue_comment_url":"https://api.github.com/repos/SciTools/courses/issues/comments{/number}","contents_url":"https://api.github.com/repos/SciTools/courses/contents/{+path}","compare_url":"https://api.github.com/repos/SciTools/courses/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SciTools/courses/merges","archive_url":"https://api.github.com/repos/SciTools/courses/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SciTools/courses/downloads","issues_url":"https://api.github.com/repos/SciTools/courses/issues{/number}","pulls_url":"https://api.github.com/repos/SciTools/courses/pulls{/number}","milestones_url":"https://api.github.com/repos/SciTools/courses/milestones{/number}","notifications_url":"https://api.github.com/repos/SciTools/courses/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SciTools/courses/labels{/name}","releases_url":"https://api.github.com/repos/SciTools/courses/releases{/id}","deployments_url":"https://api.github.com/repos/SciTools/courses/deployments","created_at":"2013-10-01T14:42:41Z","updated_at":"2018-02-18T22:16:56Z","pushed_at":"2018-02-21T09:59:19Z","git_url":"git://github.com/SciTools/courses.git","ssh_url":"git@github.com:SciTools/courses.git","clone_url":"https://github.com/SciTools/courses.git","svn_url":"https://github.com/SciTools/courses","homepage":"","size":7932,"stargazers_count":39,"watchers_count":39,"language":"Jupyter Notebook","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":19,"mirror_url":null,"archived":false,"open_issues_count":6,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0"},"forks":19,"open_issues":6,"watchers":39,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/SciTools/courses/pulls/105"},"html":{"href":"https://github.com/SciTools/courses/pull/105"},"issue":{"href":"https://api.github.com/repos/SciTools/courses/issues/105"},"comments":{"href":"https://api.github.com/repos/SciTools/courses/issues/105/comments"},"review_comments":{"href":"https://api.github.com/repos/SciTools/courses/pulls/105/comments"},"review_comment":{"href":"https://api.github.com/repos/SciTools/courses/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/SciTools/courses/pulls/105/commits"},"statuses":{"href":"https://api.github.com/repos/SciTools/courses/statuses/f5040e53cdf493a70580eae19e71ed91e26a7388"}},"author_association":"NONE"}}
{"actor":{"display_login":"dkillick"}}