{"action":"created","issue":{"url":"https://api.github.com/repos/vicente-gonzalez-ruiz/teaching/issues/18","repository_url":"https://api.github.com/repos/vicente-gonzalez-ruiz/teaching","labels_url":"https://api.github.com/repos/vicente-gonzalez-ruiz/teaching/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/vicente-gonzalez-ruiz/teaching/issues/18/comments","events_url":"https://api.github.com/repos/vicente-gonzalez-ruiz/teaching/issues/18/events","html_url":"https://github.com/vicente-gonzalez-ruiz/teaching/pull/18","id":274961507,"number":18,"title":"Solved issue 6","user":{"login":"sergiocaceres","id":11298508,"avatar_url":"https://avatars2.githubusercontent.com/u/11298508?v=4","gravatar_id":"","url":"https://api.github.com/users/sergiocaceres","html_url":"https://github.com/sergiocaceres","followers_url":"https://api.github.com/users/sergiocaceres/followers","following_url":"https://api.github.com/users/sergiocaceres/following{/other_user}","gists_url":"https://api.github.com/users/sergiocaceres/gists{/gist_id}","starred_url":"https://api.github.com/users/sergiocaceres/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sergiocaceres/subscriptions","organizations_url":"https://api.github.com/users/sergiocaceres/orgs","repos_url":"https://api.github.com/users/sergiocaceres/repos","events_url":"https://api.github.com/users/sergiocaceres/events{/privacy}","received_events_url":"https://api.github.com/users/sergiocaceres/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-11-17T18:52:03Z","updated_at":"2017-11-22T09:39:43Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/vicente-gonzalez-ruiz/teaching/pulls/18","html_url":"https://github.com/vicente-gonzalez-ruiz/teaching/pull/18","diff_url":"https://github.com/vicente-gonzalez-ruiz/teaching/pull/18.diff","patch_url":"https://github.com/vicente-gonzalez-ruiz/teaching/pull/18.patch"},"body":"You need to install the package bitarray. Like this sudo apt-get install python-bitarray\r\n"},"comment":{"url":"https://api.github.com/repos/vicente-gonzalez-ruiz/teaching/issues/comments/346295753","html_url":"https://github.com/vicente-gonzalez-ruiz/teaching/pull/18#issuecomment-346295753","issue_url":"https://api.github.com/repos/vicente-gonzalez-ruiz/teaching/issues/18","id":346295753,"user":{"login":"vicente-gonzalez-ruiz","id":10660795,"avatar_url":"https://avatars0.githubusercontent.com/u/10660795?v=4","gravatar_id":"","url":"https://api.github.com/users/vicente-gonzalez-ruiz","html_url":"https://github.com/vicente-gonzalez-ruiz","followers_url":"https://api.github.com/users/vicente-gonzalez-ruiz/followers","following_url":"https://api.github.com/users/vicente-gonzalez-ruiz/following{/other_user}","gists_url":"https://api.github.com/users/vicente-gonzalez-ruiz/gists{/gist_id}","starred_url":"https://api.github.com/users/vicente-gonzalez-ruiz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vicente-gonzalez-ruiz/subscriptions","organizations_url":"https://api.github.com/users/vicente-gonzalez-ruiz/orgs","repos_url":"https://api.github.com/users/vicente-gonzalez-ruiz/repos","events_url":"https://api.github.com/users/vicente-gonzalez-ruiz/events{/privacy}","received_events_url":"https://api.github.com/users/vicente-gonzalez-ruiz/received_events","type":"User","site_admin":false},"created_at":"2017-11-22T09:39:43Z","updated_at":"2017-11-22T09:39:43Z","author_association":"OWNER","body":"@sergiocaceres, you have done a good job translating the code. But, unfortunately, I have (again) bad news. This code does NOT implement the LZ77 algorithm. I think that is a version of the LZSS algorithm. Try to compress the string of the example and you will see that the code-words are different to the obtained in the example.\r\n\r\nAgain, I think that it could be quite straightforward to convert it into a pure LZ77.\r\n\r\nIn relation to the question about the images, see the notebook `01-gzip.ipynb`. There, there is an example of the compression of the images."}}
{"actor":{"display_login":"vicente-gonzalez-ruiz"}}