{"action":"created","issue":{"url":"https://api.github.com/repos/gmetais/sw-delta/issues/6","repository_url":"https://api.github.com/repos/gmetais/sw-delta","labels_url":"https://api.github.com/repos/gmetais/sw-delta/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/gmetais/sw-delta/issues/6/comments","events_url":"https://api.github.com/repos/gmetais/sw-delta/issues/6/events","html_url":"https://github.com/gmetais/sw-delta/issues/6","id":171127807,"number":6,"title":"Format needs documentation","user":{"login":"Daniel15","id":91933,"avatar_url":"https://avatars.githubusercontent.com/u/91933?v=3","gravatar_id":"","url":"https://api.github.com/users/Daniel15","html_url":"https://github.com/Daniel15","followers_url":"https://api.github.com/users/Daniel15/followers","following_url":"https://api.github.com/users/Daniel15/following{/other_user}","gists_url":"https://api.github.com/users/Daniel15/gists{/gist_id}","starred_url":"https://api.github.com/users/Daniel15/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Daniel15/subscriptions","organizations_url":"https://api.github.com/users/Daniel15/orgs","repos_url":"https://api.github.com/users/Daniel15/repos","events_url":"https://api.github.com/users/Daniel15/events{/privacy}","received_events_url":"https://api.github.com/users/Daniel15/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/gmetais/sw-delta/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-08-15T08:22:50Z","updated_at":"2016-08-27T08:25:22Z","closed_at":null,"body":"Hello!\r\n\r\nThis project is a really interesting idea! I'm trying to write server-side implementations in C# (ASP.NET Core) and PHP, but am having trouble working out the exact format of the delta. \r\n\r\nAs shown in `deltaCalculator.js`, going from \"this is some test. blah blah blah\" to \"this is other text. blah blah blah\" results in this delta:\r\n```\r\n§8-1§2-1§1+th§3+r§4-1§1+x\r\n```\r\nIn the `1+th` segment, what does the \"1\" represent? Does it mean that the addition is offset from the previous removal by one character? Is the offset from the start of the previous substring, or the end? It would be good to write a simple spec for other people wanting to implement the same protocol.\r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/gmetais/sw-delta/issues/comments/242904419","html_url":"https://github.com/gmetais/sw-delta/issues/6#issuecomment-242904419","issue_url":"https://api.github.com/repos/gmetais/sw-delta/issues/6","id":242904419,"user":{"login":"gmetais","id":498031,"avatar_url":"https://avatars.githubusercontent.com/u/498031?v=3","gravatar_id":"","url":"https://api.github.com/users/gmetais","html_url":"https://github.com/gmetais","followers_url":"https://api.github.com/users/gmetais/followers","following_url":"https://api.github.com/users/gmetais/following{/other_user}","gists_url":"https://api.github.com/users/gmetais/gists{/gist_id}","starred_url":"https://api.github.com/users/gmetais/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gmetais/subscriptions","organizations_url":"https://api.github.com/users/gmetais/orgs","repos_url":"https://api.github.com/users/gmetais/repos","events_url":"https://api.github.com/users/gmetais/events{/privacy}","received_events_url":"https://api.github.com/users/gmetais/received_events","type":"User","site_admin":false},"created_at":"2016-08-27T08:25:21Z","updated_at":"2016-08-27T08:25:21Z","body":"You made me realize that the number of added/removed chars was included in the next offset, which was useless.\r\n\r\nHave a look at https://github.com/gmetais/sw-delta-nodejs/pull/1. I believe it's easier to understand now, can you tell me if it still requires a documentation?"}}
{"actor":{"display_login":"gmetais"}}