{"action":"created","issue":{"url":"https://api.github.com/repos/tue-robotics/dragonfly_speech_recognition/issues/8","labels_url":"https://api.github.com/repos/tue-robotics/dragonfly_speech_recognition/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/tue-robotics/dragonfly_speech_recognition/issues/8/comments","events_url":"https://api.github.com/repos/tue-robotics/dragonfly_speech_recognition/issues/8/events","html_url":"https://github.com/tue-robotics/dragonfly_speech_recognition/issues/8","id":117763651,"number":8,"title":"server.py holds state","user":{"login":"reinzor","id":4176023,"avatar_url":"https://avatars.githubusercontent.com/u/4176023?v=3","gravatar_id":"","url":"https://api.github.com/users/reinzor","html_url":"https://github.com/reinzor","followers_url":"https://api.github.com/users/reinzor/followers","following_url":"https://api.github.com/users/reinzor/following{/other_user}","gists_url":"https://api.github.com/users/reinzor/gists{/gist_id}","starred_url":"https://api.github.com/users/reinzor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reinzor/subscriptions","organizations_url":"https://api.github.com/users/reinzor/orgs","repos_url":"https://api.github.com/users/reinzor/repos","events_url":"https://api.github.com/users/reinzor/events{/privacy}","received_events_url":"https://api.github.com/users/reinzor/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/tue-robotics/dragonfly_speech_recognition/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"Rayman","id":91969,"avatar_url":"https://avatars.githubusercontent.com/u/91969?v=3","gravatar_id":"","url":"https://api.github.com/users/Rayman","html_url":"https://github.com/Rayman","followers_url":"https://api.github.com/users/Rayman/followers","following_url":"https://api.github.com/users/Rayman/following{/other_user}","gists_url":"https://api.github.com/users/Rayman/gists{/gist_id}","starred_url":"https://api.github.com/users/Rayman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rayman/subscriptions","organizations_url":"https://api.github.com/users/Rayman/orgs","repos_url":"https://api.github.com/users/Rayman/repos","events_url":"https://api.github.com/users/Rayman/events{/privacy}","received_events_url":"https://api.github.com/users/Rayman/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2015-11-19T08:14:41Z","updated_at":"2015-11-21T19:48:55Z","closed_at":null,"body":"When `def recognize(spec, choices_values, timeout)` is called immediately multiple times, it does not always return the spec of options from that call. It holds state.\r\n\r\nCan be tested:\r\n    ears.recognize('banana')\r\n    ears.recognize('apple')\r\n    ears.recognize('pear')\r\n\r\nWith sleeps in between this works fine but without it, it mixes the specs and choices."},"comment":{"url":"https://api.github.com/repos/tue-robotics/dragonfly_speech_recognition/issues/comments/158677264","html_url":"https://github.com/tue-robotics/dragonfly_speech_recognition/issues/8#issuecomment-158677264","issue_url":"https://api.github.com/repos/tue-robotics/dragonfly_speech_recognition/issues/8","id":158677264,"user":{"login":"LoyVanBeek","id":709259,"avatar_url":"https://avatars.githubusercontent.com/u/709259?v=3","gravatar_id":"","url":"https://api.github.com/users/LoyVanBeek","html_url":"https://github.com/LoyVanBeek","followers_url":"https://api.github.com/users/LoyVanBeek/followers","following_url":"https://api.github.com/users/LoyVanBeek/following{/other_user}","gists_url":"https://api.github.com/users/LoyVanBeek/gists{/gist_id}","starred_url":"https://api.github.com/users/LoyVanBeek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LoyVanBeek/subscriptions","organizations_url":"https://api.github.com/users/LoyVanBeek/orgs","repos_url":"https://api.github.com/users/LoyVanBeek/repos","events_url":"https://api.github.com/users/LoyVanBeek/events{/privacy}","received_events_url":"https://api.github.com/users/LoyVanBeek/received_events","type":"User","site_admin":false},"created_at":"2015-11-21T19:48:54Z","updated_at":"2015-11-21T19:48:54Z","body":"There's only 1 backend to that server and 1 microphone, so blocking and locking might be OK in this scenario "}}