{"id":17597235,"url":"https://github.com/kgashok/qnaelm","last_synced_at":"2026-01-20T15:32:48.029Z","repository":{"id":148847054,"uuid":"77070477","full_name":"kgashok/qnaElm","owner":"kgashok","description":"A REST Elm Client to consume Q\u0026A services from Microsoft ","archived":false,"fork":false,"pushed_at":"2019-05-11T08:20:35.000Z","size":1021,"stargazers_count":0,"open_issues_count":19,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-06T23:42:33.304Z","etag":null,"topics":["elm","microsoft"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kgashok.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-12-21T17:00:29.000Z","updated_at":"2019-05-11T08:20:37.000Z","dependencies_parsed_at":"2023-07-05T11:20:12.186Z","dependency_job_id":null,"html_url":"https://github.com/kgashok/qnaElm","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/kgashok/qnaElm","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kgashok%2FqnaElm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kgashok%2FqnaElm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kgashok%2FqnaElm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kgashok%2FqnaElm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kgashok","download_url":"https://codeload.github.com/kgashok/qnaElm/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kgashok%2FqnaElm/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28606142,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T14:45:23.139Z","status":"ssl_error","status_checked_at":"2026-01-20T14:44:16.929Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["elm","microsoft"],"created_at":"2024-10-22T09:24:30.207Z","updated_at":"2026-01-20T15:32:48.002Z","avatar_url":"https://github.com/kgashok.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# qnaElm\nA REST Elm Client to consume Q and A services from Microsoft \n\nAn improvement over the stock example found in the elm-lang/try list. \nAnd also connecting to Microsoft's cognitive services for Q\u0026A. \n\n# Version 0.x\n![version1](https://github.com/kgashok/qnaElm/blob/master/img/qnaService.png)\n\n# Version 1.x\n![version2](https://github.com/kgashok/qnaElm/blob/master/img/version2.png)\n\nFor a demo, click [this](https://preview.c9users.io/kgashok/qnamicro/index.html?_c9_id=livepreview1\u0026_c9_host=https://ide.c9.io).\n\n## Important Reading \n\nJSON parsing is a minefield https://news.ycombinator.com/item?id=12796556\n\n\n### Resolving Issue #19 \n\nThe moment to do this is after you have received and \nprocessed your last HTTP response. So in a branch in your `update`, \nsomething like\n\n```\ncase msg of\n    ReceivedHttpResponse response -\u003e\n        let\n            newModel = processInModel response model\n        in\n            if (hasLastResponse newModel) then\n                 update SortList newModel\n            else\n                  (newModel, Cmd.none)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkgashok%2Fqnaelm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkgashok%2Fqnaelm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkgashok%2Fqnaelm/lists"}