{"action":"created","issue":{"url":"https://api.github.com/repos/garybernhardt/dotfiles/issues/29","labels_url":"https://api.github.com/repos/garybernhardt/dotfiles/issues/29/labels{/name}","comments_url":"https://api.github.com/repos/garybernhardt/dotfiles/issues/29/comments","events_url":"https://api.github.com/repos/garybernhardt/dotfiles/issues/29/events","html_url":"https://github.com/garybernhardt/dotfiles/pull/29","id":84671479,"number":29,"title":"soup up compressibility","user":{"login":"rschmitt","id":3725049,"avatar_url":"https://avatars.githubusercontent.com/u/3725049?v=3","gravatar_id":"","url":"https://api.github.com/users/rschmitt","html_url":"https://github.com/rschmitt","followers_url":"https://api.github.com/users/rschmitt/followers","following_url":"https://api.github.com/users/rschmitt/following{/other_user}","gists_url":"https://api.github.com/users/rschmitt/gists{/gist_id}","starred_url":"https://api.github.com/users/rschmitt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rschmitt/subscriptions","organizations_url":"https://api.github.com/users/rschmitt/orgs","repos_url":"https://api.github.com/users/rschmitt/repos","events_url":"https://api.github.com/users/rschmitt/events{/privacy}","received_events_url":"https://api.github.com/users/rschmitt/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-03T17:17:57Z","updated_at":"2015-06-03T23:18:54Z","closed_at":"2015-06-03T23:06:52Z","pull_request":{"url":"https://api.github.com/repos/garybernhardt/dotfiles/pulls/29","html_url":"https://github.com/garybernhardt/dotfiles/pull/29","diff_url":"https://github.com/garybernhardt/dotfiles/pull/29.diff","patch_url":"https://github.com/garybernhardt/dotfiles/pull/29.patch"},"body":"I like the `compressibility` script, so I souped it up with additional statistics and added the lzma compression format. The latter is included in the Python 3 standard library, so I also migrated the script to Python 3. I figured I'd throw these changes over your cyber-transom in case you like them too.\r\n\r\n```\r\n~/src/grb-dotfiles # find . -type f -follow -exec cat {} \\+ | bin/compressibility\r\nfile size: 4,893,460\r\ngzip size: 2,733,060 (55%); 0.20 seconds (24,301,069 bytes per second)\r\nbz2 size: 2,699,447 (55%); 0.65 seconds (7,518,545 bytes per second)\r\nxz size: 2,542,544 (51%); 1.58 seconds (3,097,495 bytes per second)\r\n```"},"comment":{"url":"https://api.github.com/repos/garybernhardt/dotfiles/issues/comments/108643616","html_url":"https://github.com/garybernhardt/dotfiles/pull/29#issuecomment-108643616","issue_url":"https://api.github.com/repos/garybernhardt/dotfiles/issues/29","id":108643616,"user":{"login":"rschmitt","id":3725049,"avatar_url":"https://avatars.githubusercontent.com/u/3725049?v=3","gravatar_id":"","url":"https://api.github.com/users/rschmitt","html_url":"https://github.com/rschmitt","followers_url":"https://api.github.com/users/rschmitt/followers","following_url":"https://api.github.com/users/rschmitt/following{/other_user}","gists_url":"https://api.github.com/users/rschmitt/gists{/gist_id}","starred_url":"https://api.github.com/users/rschmitt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rschmitt/subscriptions","organizations_url":"https://api.github.com/users/rschmitt/orgs","repos_url":"https://api.github.com/users/rschmitt/repos","events_url":"https://api.github.com/users/rschmitt/events{/privacy}","received_events_url":"https://api.github.com/users/rschmitt/received_events","type":"User","site_admin":false},"created_at":"2015-06-03T23:18:54Z","updated_at":"2015-06-03T23:18:54Z","body":"Easy enough to fix, I suppose: https://github.com/rschmitt/dotfiles-1/commit/871ccb6909b7c1085cfd4b3c348504dabe3453a1\r\n\r\n```\r\n~/src/grb-dotfiles # python3 bin/compressibility bin/compressibility\r\nfile size: 1,394\r\ngzip size: 644 (46%); 0.00 seconds (12,440,127 bytes per second)\r\nbz2 size: 708 (50%); 0.00 seconds (4,318,212 bytes per second)\r\nxz size: 740 (53%); 0.01 seconds (101,388 bytes per second)\r\n\r\n~/src/grb-dotfiles # python bin/compressibility bin/compressibility\r\nfile size: 1,394\r\ngzip size: 644 (46%); 0.00 seconds (6,736,013 bytes per second)\r\nbz2 size: 708 (50%); 0.00 seconds (1,930,293 bytes per second)\r\n```"}}