{"action":"created","comment":{"url":"https://api.github.com/repos/mbraceproject/MBrace.StarterKit/pulls/comments/39188344","id":39188344,"diff_hunk":"@@ -0,0 +1,51 @@\n+﻿(*** hide ***)\n+#load \"Thespian.fsx\"\n+#load \"Azure.fsx\"\n+\n+open System\n+open System.IO\n+open MBrace.Core\n+open MBrace.Azure\n+open MBrace.Flow\n+\n+// Initialize client object to an MBrace cluster:\n+let cluster = \n+//    getAzureClient() // comment out to use an MBrace.Azure cluster; don't forget to set the proper connection strings in Azure.fsx\n+    initThespianCluster(4) // use a local cluster based on MBrace.Thespian; configuration can be adjusted using Thespian.fsx\n+\n+(**\n+# Using Cloud Queues\n+\n+This tutorial illustrates creating and using cloud channels, which allow you to send messages between\n+cloud workflows.\n+ \n+Before running, edit credentials.fsx to enter your connection strings.\n+*)\n+\n+(** Create an anonymous cloud channel: *) \n+let queue = CloudQueue.New<string>() |> cluster.RunOnCloud\n+\n+(** Send to the channel by scheduling a cloud process to do the send: *)\n+CloudQueue.Enqueue (queue, \"hello\") |> cluster.RunOnCloud","path":"HandsOnTutorial/400-using-cloud-channels.fsx","position":29,"original_position":29,"commit_id":"6cf71203510c75a7640ca2b42b4efef3ea71fcd9","original_commit_id":"6cf71203510c75a7640ca2b42b4efef3ea71fcd9","user":{"login":"dsyme","id":7204669,"avatar_url":"https://avatars.githubusercontent.com/u/7204669?v=3","gravatar_id":"","url":"https://api.github.com/users/dsyme","html_url":"https://github.com/dsyme","followers_url":"https://api.github.com/users/dsyme/followers","following_url":"https://api.github.com/users/dsyme/following{/other_user}","gists_url":"https://api.github.com/users/dsyme/gists{/gist_id}","starred_url":"https://api.github.com/users/dsyme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dsyme/subscriptions","organizations_url":"https://api.github.com/users/dsyme/orgs","repos_url":"https://api.github.com/users/dsyme/repos","events_url":"https://api.github.com/users/dsyme/events{/privacy}","received_events_url":"https://api.github.com/users/dsyme/received_events","type":"User","site_admin":false},"body":"Why don't you use instance notation?  Using static methods just doesn't give clean code for these kind of abstractions.","created_at":"2015-09-10T17:31:38Z","updated_at":"2015-09-10T17:31:38Z","html_url":"https://github.com/mbraceproject/MBrace.StarterKit/pull/34#discussion_r39188344","pull_request_url":"https://api.github.com/repos/mbraceproject/MBrace.StarterKit/pulls/34","_links":{"self":{"href":"https://api.github.com/repos/mbraceproject/MBrace.StarterKit/pulls/comments/39188344"},"html":{"href":"https://github.com/mbraceproject/MBrace.StarterKit/pull/34#discussion_r39188344"},"pull_request":{"href":"https://api.github.com/repos/mbraceproject/MBrace.StarterKit/pulls/34"}}},"pull_request":{"url":"https://api.github.com/repos/mbraceproject/MBrace.StarterKit/pulls/34","id":44014917,"html_url":"https://github.com/mbraceproject/MBrace.StarterKit/pull/34","diff_url":"https://github.com/mbraceproject/MBrace.StarterKit/pull/34.diff","patch_url":"https://github.com/mbraceproject/MBrace.StarterKit/pull/34.patch","issue_url":"https://api.github.com/repos/mbraceproject/MBrace.StarterKit/issues/34","number":34,"state":"open","locked":false,"title":"Migrate to MBrace 0.10","user":{"login":"eiriktsarpalis","id":2813363,"avatar_url":"https://avatars.githubusercontent.com/u/2813363?v=3","gravatar_id":"","url":"https://api.github.com/users/eiriktsarpalis","html_url":"https://github.com/eiriktsarpalis","followers_url":"https://api.github.com/users/eiriktsarpalis/followers","following_url":"https://api.github.com/users/eiriktsarpalis/following{/other_user}","gists_url":"https://api.github.com/users/eiriktsarpalis/gists{/gist_id}","starred_url":"https://api.github.com/users/eiriktsarpalis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eiriktsarpalis/subscriptions","organizations_url":"https://api.github.com/users/eiriktsarpalis/orgs","repos_url":"https://api.github.com/users/eiriktsarpalis/repos","events_url":"https://api.github.com/users/eiriktsarpalis/events{/privacy}","received_events_url":"https://api.github.com/users/eiriktsarpalis/received_events","type":"User","site_admin":false},"body":"This PR migrates the code samples to make use of the latest MBrace.Core/Azure version 0.10. These upgrades incorporate many changes to the core api, so many of the demos are no longer functional and/or irrelevant. \r\n\r\nThis is the first release to incorporate the common runtime foundations of MBrace.Core, so code samples can now be used interchangeably between MBrace.Azure and MBrace.Thespian.\r\n\r\nI will be pushing more commits that improve and update the samples in the next few days, merging to the master branch as soon as this becomes the default version used in brisk.\r\n\r\nAs always, please feel free to review the changes.","created_at":"2015-09-02T16:45:16Z","updated_at":"2015-09-10T17:31:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6469493f7500b0c2cff216126734d5a0ea937558","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mbraceproject/MBrace.StarterKit/pulls/34/commits","review_comments_url":"https://api.github.com/repos/mbraceproject/MBrace.StarterKit/pulls/34/comments","review_comment_url":"https://api.github.com/repos/mbraceproject/MBrace.StarterKit/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mbraceproject/MBrace.StarterKit/issues/34/comments","statuses_url":"https://api.github.com/repos/mbraceproject/MBrace.StarterKit/statuses/6cf71203510c75a7640ca2b42b4efef3ea71fcd9","head":{"label":"mbraceproject:mbrace-0.10","ref":"mbrace-0.10","sha":"6cf71203510c75a7640ca2b42b4efef3ea71fcd9","user":{"login":"mbraceproject","id":9674757,"avatar_url":"https://avatars.githubusercontent.com/u/9674757?v=3","gravatar_id":"","url":"https://api.github.com/users/mbraceproject","html_url":"https://github.com/mbraceproject","followers_url":"https://api.github.com/users/mbraceproject/followers","following_url":"https://api.github.com/users/mbraceproject/following{/other_user}","gists_url":"https://api.github.com/users/mbraceproject/gists{/gist_id}","starred_url":"https://api.github.com/users/mbraceproject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbraceproject/subscriptions","organizations_url":"https://api.github.com/users/mbraceproject/orgs","repos_url":"https://api.github.com/users/mbraceproject/repos","events_url":"https://api.github.com/users/mbraceproject/events{/privacy}","received_events_url":"https://api.github.com/users/mbraceproject/received_events","type":"Organization","site_admin":false},"repo":{"id":13122504,"name":"MBrace.StarterKit","full_name":"mbraceproject/MBrace.StarterKit","owner":{"login":"mbraceproject","id":9674757,"avatar_url":"https://avatars.githubusercontent.com/u/9674757?v=3","gravatar_id":"","url":"https://api.github.com/users/mbraceproject","html_url":"https://github.com/mbraceproject","followers_url":"https://api.github.com/users/mbraceproject/followers","following_url":"https://api.github.com/users/mbraceproject/following{/other_user}","gists_url":"https://api.github.com/users/mbraceproject/gists{/gist_id}","starred_url":"https://api.github.com/users/mbraceproject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbraceproject/subscriptions","organizations_url":"https://api.github.com/users/mbraceproject/orgs","repos_url":"https://api.github.com/users/mbraceproject/repos","events_url":"https://api.github.com/users/mbraceproject/events{/privacy}","received_events_url":"https://api.github.com/users/mbraceproject/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mbraceproject/MBrace.StarterKit","description":"A collection of demos and tutorials for MBrace","fork":false,"url":"https://api.github.com/repos/mbraceproject/MBrace.StarterKit","forks_url":"https://api.github.com/repos/mbraceproject/MBrace.StarterKit/forks","keys_url":"https://api.github.com/repos/mbraceproject/MBrace.StarterKit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mbraceproject/MBrace.StarterKit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mbraceproject/MBrace.StarterKit/teams","hooks_url":"https://api.github.com/repos/mbraceproject/MBrace.StarterKit/hooks","issue_events_url":"https://api.github.com/repos/mbraceproject/MBrace.StarterKit/issues/events{/number}","events_url":"https://api.github.com/repos/mbraceproject/MBrace.StarterKit/events","assignees_url":"https://api.github.com/repos/mbraceproject/MBrace.StarterKit/assignees{/user}","branches_url":"https://api.github.com/repos/mbraceproject/MBrace.StarterKit/branches{/branch}","tags_url":"https://api.github.com/repos/mbraceproject/MBrace.StarterKit/tags","blobs_url":"https://api.github.com/repos/mbraceproject/MBrace.StarterKit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mbraceproject/MBrace.StarterKit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mbraceproject/MBrace.StarterKit/git/refs{/sha}","trees_url":"https://api.github.com/repos/mbraceproject/MBrace.StarterKit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mbraceproject/MBrace.StarterKit/statuses/{sha}","languages_url":"https://api.github.com/repos/mbraceproject/MBrace.StarterKit/languages","stargazers_url":"https://api.github.com/repos/mbraceproject/MBrace.StarterKit/stargazers","contributors_url":"https://api.github.com/repos/mbraceproject/MBrace.StarterKit/contributors","subscribers_url":"https://api.github.com/repos/mbraceproject/MBrace.StarterKit/subscribers","subscription_url":"https://api.github.com/repos/mbraceproject/MBrace.StarterKit/subscription","commits_url":"https://api.github.com/repos/mbraceproject/MBrace.StarterKit/commits{/sha}","git_commits_url":"https://api.github.com/repos/mbraceproject/MBrace.StarterKit/git/commits{/sha}","comments_url":"https://api.github.com/repos/mbraceproject/MBrace.StarterKit/comments{/number}","issue_comment_url":"https://api.github.com/repos/mbraceproject/MBrace.StarterKit/issues/comments{/number}","contents_url":"https://api.github.com/repos/mbraceproject/MBrace.StarterKit/contents/{+path}","compare_url":"https://api.github.com/repos/mbraceproject/MBrace.StarterKit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mbraceproject/MBrace.StarterKit/merges","archive_url":"https://api.github.com/repos/mbraceproject/MBrace.StarterKit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mbraceproject/MBrace.StarterKit/downloads","issues_url":"https://api.github.com/repos/mbraceproject/MBrace.StarterKit/issues{/number}","pulls_url":"https://api.github.com/repos/mbraceproject/MBrace.StarterKit/pulls{/number}","milestones_url":"https://api.github.com/repos/mbraceproject/MBrace.StarterKit/milestones{/number}","notifications_url":"https://api.github.com/repos/mbraceproject/MBrace.StarterKit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mbraceproject/MBrace.StarterKit/labels{/name}","releases_url":"https://api.github.com/repos/mbraceproject/MBrace.StarterKit/releases{/id}","created_at":"2013-09-26T13:04:57Z","updated_at":"2015-09-10T11:50:13Z","pushed_at":"2015-09-10T16:58:25Z","git_url":"git://github.com/mbraceproject/MBrace.StarterKit.git","ssh_url":"git@github.com:mbraceproject/MBrace.StarterKit.git","clone_url":"https://github.com/mbraceproject/MBrace.StarterKit.git","svn_url":"https://github.com/mbraceproject/MBrace.StarterKit","homepage":"http://m-brace.net/","size":16450,"stargazers_count":12,"watchers_count":12,"language":"F#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":5,"forks":5,"open_issues":5,"watchers":12,"default_branch":"master"}},"base":{"label":"mbraceproject:master","ref":"master","sha":"693010938012e6b42435889505c2cb24b40765ca","user":{"login":"mbraceproject","id":9674757,"avatar_url":"https://avatars.githubusercontent.com/u/9674757?v=3","gravatar_id":"","url":"https://api.github.com/users/mbraceproject","html_url":"https://github.com/mbraceproject","followers_url":"https://api.github.com/users/mbraceproject/followers","following_url":"https://api.github.com/users/mbraceproject/following{/other_user}","gists_url":"https://api.github.com/users/mbraceproject/gists{/gist_id}","starred_url":"https://api.github.com/users/mbraceproject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbraceproject/subscriptions","organizations_url":"https://api.github.com/users/mbraceproject/orgs","repos_url":"https://api.github.com/users/mbraceproject/repos","events_url":"https://api.github.com/users/mbraceproject/events{/privacy}","received_events_url":"https://api.github.com/users/mbraceproject/received_events","type":"Organization","site_admin":false},"repo":{"id":13122504,"name":"MBrace.StarterKit","full_name":"mbraceproject/MBrace.StarterKit","owner":{"login":"mbraceproject","id":9674757,"avatar_url":"https://avatars.githubusercontent.com/u/9674757?v=3","gravatar_id":"","url":"https://api.github.com/users/mbraceproject","html_url":"https://github.com/mbraceproject","followers_url":"https://api.github.com/users/mbraceproject/followers","following_url":"https://api.github.com/users/mbraceproject/following{/other_user}","gists_url":"https://api.github.com/users/mbraceproject/gists{/gist_id}","starred_url":"https://api.github.com/users/mbraceproject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbraceproject/subscriptions","organizations_url":"https://api.github.com/users/mbraceproject/orgs","repos_url":"https://api.github.com/users/mbraceproject/repos","events_url":"https://api.github.com/users/mbraceproject/events{/privacy}","received_events_url":"https://api.github.com/users/mbraceproject/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mbraceproject/MBrace.StarterKit","description":"A collection of demos and tutorials for MBrace","fork":false,"url":"https://api.github.com/repos/mbraceproject/MBrace.StarterKit","forks_url":"https://api.github.com/repos/mbraceproject/MBrace.StarterKit/forks","keys_url":"https://api.github.com/repos/mbraceproject/MBrace.StarterKit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mbraceproject/MBrace.StarterKit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mbraceproject/MBrace.StarterKit/teams","hooks_url":"https://api.github.com/repos/mbraceproject/MBrace.StarterKit/hooks","issue_events_url":"https://api.github.com/repos/mbraceproject/MBrace.StarterKit/issues/events{/number}","events_url":"https://api.github.com/repos/mbraceproject/MBrace.StarterKit/events","assignees_url":"https://api.github.com/repos/mbraceproject/MBrace.StarterKit/assignees{/user}","branches_url":"https://api.github.com/repos/mbraceproject/MBrace.StarterKit/branches{/branch}","tags_url":"https://api.github.com/repos/mbraceproject/MBrace.StarterKit/tags","blobs_url":"https://api.github.com/repos/mbraceproject/MBrace.StarterKit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mbraceproject/MBrace.StarterKit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mbraceproject/MBrace.StarterKit/git/refs{/sha}","trees_url":"https://api.github.com/repos/mbraceproject/MBrace.StarterKit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mbraceproject/MBrace.StarterKit/statuses/{sha}","languages_url":"https://api.github.com/repos/mbraceproject/MBrace.StarterKit/languages","stargazers_url":"https://api.github.com/repos/mbraceproject/MBrace.StarterKit/stargazers","contributors_url":"https://api.github.com/repos/mbraceproject/MBrace.StarterKit/contributors","subscribers_url":"https://api.github.com/repos/mbraceproject/MBrace.StarterKit/subscribers","subscription_url":"https://api.github.com/repos/mbraceproject/MBrace.StarterKit/subscription","commits_url":"https://api.github.com/repos/mbraceproject/MBrace.StarterKit/commits{/sha}","git_commits_url":"https://api.github.com/repos/mbraceproject/MBrace.StarterKit/git/commits{/sha}","comments_url":"https://api.github.com/repos/mbraceproject/MBrace.StarterKit/comments{/number}","issue_comment_url":"https://api.github.com/repos/mbraceproject/MBrace.StarterKit/issues/comments{/number}","contents_url":"https://api.github.com/repos/mbraceproject/MBrace.StarterKit/contents/{+path}","compare_url":"https://api.github.com/repos/mbraceproject/MBrace.StarterKit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mbraceproject/MBrace.StarterKit/merges","archive_url":"https://api.github.com/repos/mbraceproject/MBrace.StarterKit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mbraceproject/MBrace.StarterKit/downloads","issues_url":"https://api.github.com/repos/mbraceproject/MBrace.StarterKit/issues{/number}","pulls_url":"https://api.github.com/repos/mbraceproject/MBrace.StarterKit/pulls{/number}","milestones_url":"https://api.github.com/repos/mbraceproject/MBrace.StarterKit/milestones{/number}","notifications_url":"https://api.github.com/repos/mbraceproject/MBrace.StarterKit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mbraceproject/MBrace.StarterKit/labels{/name}","releases_url":"https://api.github.com/repos/mbraceproject/MBrace.StarterKit/releases{/id}","created_at":"2013-09-26T13:04:57Z","updated_at":"2015-09-10T11:50:13Z","pushed_at":"2015-09-10T16:58:25Z","git_url":"git://github.com/mbraceproject/MBrace.StarterKit.git","ssh_url":"git@github.com:mbraceproject/MBrace.StarterKit.git","clone_url":"https://github.com/mbraceproject/MBrace.StarterKit.git","svn_url":"https://github.com/mbraceproject/MBrace.StarterKit","homepage":"http://m-brace.net/","size":16450,"stargazers_count":12,"watchers_count":12,"language":"F#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":5,"forks":5,"open_issues":5,"watchers":12,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mbraceproject/MBrace.StarterKit/pulls/34"},"html":{"href":"https://github.com/mbraceproject/MBrace.StarterKit/pull/34"},"issue":{"href":"https://api.github.com/repos/mbraceproject/MBrace.StarterKit/issues/34"},"comments":{"href":"https://api.github.com/repos/mbraceproject/MBrace.StarterKit/issues/34/comments"},"review_comments":{"href":"https://api.github.com/repos/mbraceproject/MBrace.StarterKit/pulls/34/comments"},"review_comment":{"href":"https://api.github.com/repos/mbraceproject/MBrace.StarterKit/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mbraceproject/MBrace.StarterKit/pulls/34/commits"},"statuses":{"href":"https://api.github.com/repos/mbraceproject/MBrace.StarterKit/statuses/6cf71203510c75a7640ca2b42b4efef3ea71fcd9"}}}}