{"action":"created","issue":{"url":"https://api.github.com/repos/MicrosoftResearch/Naiad/issues/22","labels_url":"https://api.github.com/repos/MicrosoftResearch/Naiad/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/MicrosoftResearch/Naiad/issues/22/comments","events_url":"https://api.github.com/repos/MicrosoftResearch/Naiad/issues/22/events","html_url":"https://github.com/MicrosoftResearch/Naiad/issues/22","id":56986303,"number":22,"title":"Using the min function in Naiad","user":{"login":"tmalhotra003","id":10916536,"avatar_url":"https://avatars.githubusercontent.com/u/10916536?v=3","gravatar_id":"","url":"https://api.github.com/users/tmalhotra003","html_url":"https://github.com/tmalhotra003","followers_url":"https://api.github.com/users/tmalhotra003/followers","following_url":"https://api.github.com/users/tmalhotra003/following{/other_user}","gists_url":"https://api.github.com/users/tmalhotra003/gists{/gist_id}","starred_url":"https://api.github.com/users/tmalhotra003/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tmalhotra003/subscriptions","organizations_url":"https://api.github.com/users/tmalhotra003/orgs","repos_url":"https://api.github.com/users/tmalhotra003/repos","events_url":"https://api.github.com/users/tmalhotra003/events{/privacy}","received_events_url":"https://api.github.com/users/tmalhotra003/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-09T03:54:56Z","updated_at":"2015-02-09T13:23:30Z","closed_at":null,"body":"Hi Team Naiad,\r\n\r\nI am fairly new to Naiad (and must say that it sounds really cool!). I was trying to write a simple Console Application in Visual Studio, where given a set of words, I can find the length of the smallest word. With each epoch of data, I want to calculate and return the length of the smallest word. To do so in Naiad,I wrote the following snippet:\r\n\r\nvar words = computation.NewInputCollection<string>();\r\nwords.SelectMany(x => x.Split(' '))\r\n        .Min(w => w, w => w.Length )  \r\n        .Subscribe(l => { foreach (var element in l) Console.WriteLine(element); });\r\n\r\nWith this snippet, I am not getting any word lengths at all, and I wanted to ask if I am using the functions right. Any advise/ help would be greatly appreciated!\r\nThanks in advance!\r\n\r\nBest Regards,\r\nTanya"},"comment":{"url":"https://api.github.com/repos/MicrosoftResearch/Naiad/issues/comments/73507320","html_url":"https://github.com/MicrosoftResearch/Naiad/issues/22#issuecomment-73507320","issue_url":"https://api.github.com/repos/MicrosoftResearch/Naiad/issues/22","id":73507320,"user":{"login":"frankmcsherry","id":5741500,"avatar_url":"https://avatars.githubusercontent.com/u/5741500?v=3","gravatar_id":"","url":"https://api.github.com/users/frankmcsherry","html_url":"https://github.com/frankmcsherry","followers_url":"https://api.github.com/users/frankmcsherry/followers","following_url":"https://api.github.com/users/frankmcsherry/following{/other_user}","gists_url":"https://api.github.com/users/frankmcsherry/gists{/gist_id}","starred_url":"https://api.github.com/users/frankmcsherry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frankmcsherry/subscriptions","organizations_url":"https://api.github.com/users/frankmcsherry/orgs","repos_url":"https://api.github.com/users/frankmcsherry/repos","events_url":"https://api.github.com/users/frankmcsherry/events{/privacy}","received_events_url":"https://api.github.com/users/frankmcsherry/received_events","type":"User","site_admin":false},"created_at":"2015-02-09T13:23:30Z","updated_at":"2015-02-09T13:23:30Z","body":"Hi Tanya,\r\n\r\nThis snipped looks good to me. The other culprit may be the snippet of code where you introduce data into the dataflow (the above just describes what happens once it is introduced). Would you be willing to share that snippet also so we can see if there is an obvious culprit?\r\n\r\nThanks,\r\nFrank"}}