{"action":"created","comment":{"url":"https://api.github.com/repos/carllerche/mio/pulls/comments/38425981","id":38425981,"diff_hunk":"@@ -0,0 +1,584 @@\n+# Getting Started\n+\n+This section will serve as an introductory Mio tutorial. It assumes that\n+you have familiarity with the [Rust](http://www.rust-lang.org/)\n+programming language and the [Cargo](https://crates.io) tool. It will\n+start from generating a new [Rust](http://www.rust-lang.org/) project\n+using [Cargo](https://crates.io) up to writing a simple TCP echo server\n+and client.\n+\n+Of course, you will need Rust installed. If you haven't already, get it\n+here: [rust-lang.org](https://www.rust-lang.org).\n+\n+The complete echo server can be found\n+[here](../examples/ping_pong/src/server.rs). A client example is\n+[here](../examples/ping_pong/src/client.rs).\n+\n+> **Note:** As of the time of writing, Mio does not support Windows\n+> (though support is currently in progress).\n+\n+Before you get started, setup an empty text file. Write down any\n+thoughts, confusions, questions that you have while going through this\n+guide. You only have one first impression, and I would like to capture\n+this in order to improve this document.\n+\n+Post your notes as a comment [here](https://github.com/carllerche/mio/pull/222).\n+\n+## Setting up the project\n+\n+The first step is getting a new Cargo project setup. In a new\n+directory, run the following:\n+\n+```not_rust\n+cargo new pingpong --bin\n+cd pingpong\n+```\n+\n+Now, open the directory in your favorite text editor. You should see the\n+following files:\n+\n+* src/server.rs","path":"doc/getting-started.md","position":40,"original_position":40,"commit_id":"5ca6af3c9d2b66ad38375ca16bcc873fd71bc535","original_commit_id":"5ca6af3c9d2b66ad38375ca16bcc873fd71bc535","user":{"login":"tanriol","id":1027034,"avatar_url":"https://avatars.githubusercontent.com/u/1027034?v=3","gravatar_id":"","url":"https://api.github.com/users/tanriol","html_url":"https://github.com/tanriol","followers_url":"https://api.github.com/users/tanriol/followers","following_url":"https://api.github.com/users/tanriol/following{/other_user}","gists_url":"https://api.github.com/users/tanriol/gists{/gist_id}","starred_url":"https://api.github.com/users/tanriol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tanriol/subscriptions","organizations_url":"https://api.github.com/users/tanriol/orgs","repos_url":"https://api.github.com/users/tanriol/repos","events_url":"https://api.github.com/users/tanriol/events{/privacy}","received_events_url":"https://api.github.com/users/tanriol/received_events","type":"User","site_admin":false},"body":"`src/main.rs`?","created_at":"2015-09-01T14:39:51Z","updated_at":"2015-09-01T14:39:51Z","html_url":"https://github.com/carllerche/mio/pull/222#discussion_r38425981","pull_request_url":"https://api.github.com/repos/carllerche/mio/pulls/222","_links":{"self":{"href":"https://api.github.com/repos/carllerche/mio/pulls/comments/38425981"},"html":{"href":"https://github.com/carllerche/mio/pull/222#discussion_r38425981"},"pull_request":{"href":"https://api.github.com/repos/carllerche/mio/pulls/222"}}},"pull_request":{"url":"https://api.github.com/repos/carllerche/mio/pulls/222","id":40974589,"html_url":"https://github.com/carllerche/mio/pull/222","diff_url":"https://github.com/carllerche/mio/pull/222.diff","patch_url":"https://github.com/carllerche/mio/pull/222.patch","issue_url":"https://api.github.com/repos/carllerche/mio/issues/222","number":222,"state":"open","locked":false,"title":"WIP: Getting started guide & example","user":{"login":"carllerche","id":6180,"avatar_url":"https://avatars.githubusercontent.com/u/6180?v=3","gravatar_id":"","url":"https://api.github.com/users/carllerche","html_url":"https://github.com/carllerche","followers_url":"https://api.github.com/users/carllerche/followers","following_url":"https://api.github.com/users/carllerche/following{/other_user}","gists_url":"https://api.github.com/users/carllerche/gists{/gist_id}","starred_url":"https://api.github.com/users/carllerche/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carllerche/subscriptions","organizations_url":"https://api.github.com/users/carllerche/orgs","repos_url":"https://api.github.com/users/carllerche/repos","events_url":"https://api.github.com/users/carllerche/events{/privacy}","received_events_url":"https://api.github.com/users/carllerche/received_events","type":"User","site_admin":false},"body":"Not actually ready to merge yet... but any comments are welcome. I will keep updating the PR as I continue working on the document.\r\n\r\n[Rendered](https://github.com/carllerche/mio/blob/getting-started/doc/getting-started.md)","created_at":"2015-07-28T04:35:35Z","updated_at":"2015-09-01T14:39:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9123a09b8a9cf623df70ab07b4ed0180bdb9bf81","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/carllerche/mio/pulls/222/commits","review_comments_url":"https://api.github.com/repos/carllerche/mio/pulls/222/comments","review_comment_url":"https://api.github.com/repos/carllerche/mio/pulls/comments{/number}","comments_url":"https://api.github.com/repos/carllerche/mio/issues/222/comments","statuses_url":"https://api.github.com/repos/carllerche/mio/statuses/5ca6af3c9d2b66ad38375ca16bcc873fd71bc535","head":{"label":"carllerche:getting-started","ref":"getting-started","sha":"5ca6af3c9d2b66ad38375ca16bcc873fd71bc535","user":{"login":"carllerche","id":6180,"avatar_url":"https://avatars.githubusercontent.com/u/6180?v=3","gravatar_id":"","url":"https://api.github.com/users/carllerche","html_url":"https://github.com/carllerche","followers_url":"https://api.github.com/users/carllerche/followers","following_url":"https://api.github.com/users/carllerche/following{/other_user}","gists_url":"https://api.github.com/users/carllerche/gists{/gist_id}","starred_url":"https://api.github.com/users/carllerche/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carllerche/subscriptions","organizations_url":"https://api.github.com/users/carllerche/orgs","repos_url":"https://api.github.com/users/carllerche/repos","events_url":"https://api.github.com/users/carllerche/events{/privacy}","received_events_url":"https://api.github.com/users/carllerche/received_events","type":"User","site_admin":false},"repo":{"id":23138984,"name":"mio","full_name":"carllerche/mio","owner":{"login":"carllerche","id":6180,"avatar_url":"https://avatars.githubusercontent.com/u/6180?v=3","gravatar_id":"","url":"https://api.github.com/users/carllerche","html_url":"https://github.com/carllerche","followers_url":"https://api.github.com/users/carllerche/followers","following_url":"https://api.github.com/users/carllerche/following{/other_user}","gists_url":"https://api.github.com/users/carllerche/gists{/gist_id}","starred_url":"https://api.github.com/users/carllerche/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carllerche/subscriptions","organizations_url":"https://api.github.com/users/carllerche/orgs","repos_url":"https://api.github.com/users/carllerche/repos","events_url":"https://api.github.com/users/carllerche/events{/privacy}","received_events_url":"https://api.github.com/users/carllerche/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/carllerche/mio","description":"Metal IO library for Rust","fork":false,"url":"https://api.github.com/repos/carllerche/mio","forks_url":"https://api.github.com/repos/carllerche/mio/forks","keys_url":"https://api.github.com/repos/carllerche/mio/keys{/key_id}","collaborators_url":"https://api.github.com/repos/carllerche/mio/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/carllerche/mio/teams","hooks_url":"https://api.github.com/repos/carllerche/mio/hooks","issue_events_url":"https://api.github.com/repos/carllerche/mio/issues/events{/number}","events_url":"https://api.github.com/repos/carllerche/mio/events","assignees_url":"https://api.github.com/repos/carllerche/mio/assignees{/user}","branches_url":"https://api.github.com/repos/carllerche/mio/branches{/branch}","tags_url":"https://api.github.com/repos/carllerche/mio/tags","blobs_url":"https://api.github.com/repos/carllerche/mio/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/carllerche/mio/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/carllerche/mio/git/refs{/sha}","trees_url":"https://api.github.com/repos/carllerche/mio/git/trees{/sha}","statuses_url":"https://api.github.com/repos/carllerche/mio/statuses/{sha}","languages_url":"https://api.github.com/repos/carllerche/mio/languages","stargazers_url":"https://api.github.com/repos/carllerche/mio/stargazers","contributors_url":"https://api.github.com/repos/carllerche/mio/contributors","subscribers_url":"https://api.github.com/repos/carllerche/mio/subscribers","subscription_url":"https://api.github.com/repos/carllerche/mio/subscription","commits_url":"https://api.github.com/repos/carllerche/mio/commits{/sha}","git_commits_url":"https://api.github.com/repos/carllerche/mio/git/commits{/sha}","comments_url":"https://api.github.com/repos/carllerche/mio/comments{/number}","issue_comment_url":"https://api.github.com/repos/carllerche/mio/issues/comments{/number}","contents_url":"https://api.github.com/repos/carllerche/mio/contents/{+path}","compare_url":"https://api.github.com/repos/carllerche/mio/compare/{base}...{head}","merges_url":"https://api.github.com/repos/carllerche/mio/merges","archive_url":"https://api.github.com/repos/carllerche/mio/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/carllerche/mio/downloads","issues_url":"https://api.github.com/repos/carllerche/mio/issues{/number}","pulls_url":"https://api.github.com/repos/carllerche/mio/pulls{/number}","milestones_url":"https://api.github.com/repos/carllerche/mio/milestones{/number}","notifications_url":"https://api.github.com/repos/carllerche/mio/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/carllerche/mio/labels{/name}","releases_url":"https://api.github.com/repos/carllerche/mio/releases{/id}","created_at":"2014-08-20T06:52:12Z","updated_at":"2015-09-01T00:02:46Z","pushed_at":"2015-08-31T23:39:05Z","git_url":"git://github.com/carllerche/mio.git","ssh_url":"git@github.com:carllerche/mio.git","clone_url":"https://github.com/carllerche/mio.git","svn_url":"https://github.com/carllerche/mio","homepage":"","size":2147,"stargazers_count":751,"watchers_count":751,"language":"Rust","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":96,"mirror_url":null,"open_issues_count":26,"forks":96,"open_issues":26,"watchers":751,"default_branch":"master"}},"base":{"label":"carllerche:v0.4.x","ref":"v0.4.x","sha":"46ab105a3eec7d5597c55325c1f9a857786cb90e","user":{"login":"carllerche","id":6180,"avatar_url":"https://avatars.githubusercontent.com/u/6180?v=3","gravatar_id":"","url":"https://api.github.com/users/carllerche","html_url":"https://github.com/carllerche","followers_url":"https://api.github.com/users/carllerche/followers","following_url":"https://api.github.com/users/carllerche/following{/other_user}","gists_url":"https://api.github.com/users/carllerche/gists{/gist_id}","starred_url":"https://api.github.com/users/carllerche/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carllerche/subscriptions","organizations_url":"https://api.github.com/users/carllerche/orgs","repos_url":"https://api.github.com/users/carllerche/repos","events_url":"https://api.github.com/users/carllerche/events{/privacy}","received_events_url":"https://api.github.com/users/carllerche/received_events","type":"User","site_admin":false},"repo":{"id":23138984,"name":"mio","full_name":"carllerche/mio","owner":{"login":"carllerche","id":6180,"avatar_url":"https://avatars.githubusercontent.com/u/6180?v=3","gravatar_id":"","url":"https://api.github.com/users/carllerche","html_url":"https://github.com/carllerche","followers_url":"https://api.github.com/users/carllerche/followers","following_url":"https://api.github.com/users/carllerche/following{/other_user}","gists_url":"https://api.github.com/users/carllerche/gists{/gist_id}","starred_url":"https://api.github.com/users/carllerche/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carllerche/subscriptions","organizations_url":"https://api.github.com/users/carllerche/orgs","repos_url":"https://api.github.com/users/carllerche/repos","events_url":"https://api.github.com/users/carllerche/events{/privacy}","received_events_url":"https://api.github.com/users/carllerche/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/carllerche/mio","description":"Metal IO library for Rust","fork":false,"url":"https://api.github.com/repos/carllerche/mio","forks_url":"https://api.github.com/repos/carllerche/mio/forks","keys_url":"https://api.github.com/repos/carllerche/mio/keys{/key_id}","collaborators_url":"https://api.github.com/repos/carllerche/mio/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/carllerche/mio/teams","hooks_url":"https://api.github.com/repos/carllerche/mio/hooks","issue_events_url":"https://api.github.com/repos/carllerche/mio/issues/events{/number}","events_url":"https://api.github.com/repos/carllerche/mio/events","assignees_url":"https://api.github.com/repos/carllerche/mio/assignees{/user}","branches_url":"https://api.github.com/repos/carllerche/mio/branches{/branch}","tags_url":"https://api.github.com/repos/carllerche/mio/tags","blobs_url":"https://api.github.com/repos/carllerche/mio/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/carllerche/mio/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/carllerche/mio/git/refs{/sha}","trees_url":"https://api.github.com/repos/carllerche/mio/git/trees{/sha}","statuses_url":"https://api.github.com/repos/carllerche/mio/statuses/{sha}","languages_url":"https://api.github.com/repos/carllerche/mio/languages","stargazers_url":"https://api.github.com/repos/carllerche/mio/stargazers","contributors_url":"https://api.github.com/repos/carllerche/mio/contributors","subscribers_url":"https://api.github.com/repos/carllerche/mio/subscribers","subscription_url":"https://api.github.com/repos/carllerche/mio/subscription","commits_url":"https://api.github.com/repos/carllerche/mio/commits{/sha}","git_commits_url":"https://api.github.com/repos/carllerche/mio/git/commits{/sha}","comments_url":"https://api.github.com/repos/carllerche/mio/comments{/number}","issue_comment_url":"https://api.github.com/repos/carllerche/mio/issues/comments{/number}","contents_url":"https://api.github.com/repos/carllerche/mio/contents/{+path}","compare_url":"https://api.github.com/repos/carllerche/mio/compare/{base}...{head}","merges_url":"https://api.github.com/repos/carllerche/mio/merges","archive_url":"https://api.github.com/repos/carllerche/mio/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/carllerche/mio/downloads","issues_url":"https://api.github.com/repos/carllerche/mio/issues{/number}","pulls_url":"https://api.github.com/repos/carllerche/mio/pulls{/number}","milestones_url":"https://api.github.com/repos/carllerche/mio/milestones{/number}","notifications_url":"https://api.github.com/repos/carllerche/mio/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/carllerche/mio/labels{/name}","releases_url":"https://api.github.com/repos/carllerche/mio/releases{/id}","created_at":"2014-08-20T06:52:12Z","updated_at":"2015-09-01T00:02:46Z","pushed_at":"2015-08-31T23:39:05Z","git_url":"git://github.com/carllerche/mio.git","ssh_url":"git@github.com:carllerche/mio.git","clone_url":"https://github.com/carllerche/mio.git","svn_url":"https://github.com/carllerche/mio","homepage":"","size":2147,"stargazers_count":751,"watchers_count":751,"language":"Rust","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":96,"mirror_url":null,"open_issues_count":26,"forks":96,"open_issues":26,"watchers":751,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/carllerche/mio/pulls/222"},"html":{"href":"https://github.com/carllerche/mio/pull/222"},"issue":{"href":"https://api.github.com/repos/carllerche/mio/issues/222"},"comments":{"href":"https://api.github.com/repos/carllerche/mio/issues/222/comments"},"review_comments":{"href":"https://api.github.com/repos/carllerche/mio/pulls/222/comments"},"review_comment":{"href":"https://api.github.com/repos/carllerche/mio/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/carllerche/mio/pulls/222/commits"},"statuses":{"href":"https://api.github.com/repos/carllerche/mio/statuses/5ca6af3c9d2b66ad38375ca16bcc873fd71bc535"}}}}