{"action":"created","issue":{"url":"https://api.github.com/repos/AutoScout24/toguru-scala-client/issues/27","repository_url":"https://api.github.com/repos/AutoScout24/toguru-scala-client","labels_url":"https://api.github.com/repos/AutoScout24/toguru-scala-client/issues/27/labels{/name}","comments_url":"https://api.github.com/repos/AutoScout24/toguru-scala-client/issues/27/comments","events_url":"https://api.github.com/repos/AutoScout24/toguru-scala-client/issues/27/events","html_url":"https://github.com/AutoScout24/toguru-scala-client/pull/27","id":293720910,"number":27,"title":"Fix default uuid to int projection","user":{"login":"bdadam","id":603809,"avatar_url":"https://avatars1.githubusercontent.com/u/603809?v=4","gravatar_id":"","url":"https://api.github.com/users/bdadam","html_url":"https://github.com/bdadam","followers_url":"https://api.github.com/users/bdadam/followers","following_url":"https://api.github.com/users/bdadam/following{/other_user}","gists_url":"https://api.github.com/users/bdadam/gists{/gist_id}","starred_url":"https://api.github.com/users/bdadam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bdadam/subscriptions","organizations_url":"https://api.github.com/users/bdadam/orgs","repos_url":"https://api.github.com/users/bdadam/repos","events_url":"https://api.github.com/users/bdadam/events{/privacy}","received_events_url":"https://api.github.com/users/bdadam/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-02-01T23:27:19Z","updated_at":"2018-02-07T00:05:07Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/AutoScout24/toguru-scala-client/pulls/27","html_url":"https://github.com/AutoScout24/toguru-scala-client/pull/27","diff_url":"https://github.com/AutoScout24/toguru-scala-client/pull/27.diff","patch_url":"https://github.com/AutoScout24/toguru-scala-client/pull/27.patch"},"body":"IMHO the default projection should be to calculate (uuid modulo 100) + 1 without any tricks. This would allow any technology to recreate this logic for compatibility reasons.\r\n\r\nPS: some tests will fail, please fix them before merging. Thanks."},"comment":{"url":"https://api.github.com/repos/AutoScout24/toguru-scala-client/issues/comments/363609146","html_url":"https://github.com/AutoScout24/toguru-scala-client/pull/27#issuecomment-363609146","issue_url":"https://api.github.com/repos/AutoScout24/toguru-scala-client/issues/27","id":363609146,"user":{"login":"bdadam","id":603809,"avatar_url":"https://avatars1.githubusercontent.com/u/603809?v=4","gravatar_id":"","url":"https://api.github.com/users/bdadam","html_url":"https://github.com/bdadam","followers_url":"https://api.github.com/users/bdadam/followers","following_url":"https://api.github.com/users/bdadam/following{/other_user}","gists_url":"https://api.github.com/users/bdadam/gists{/gist_id}","starred_url":"https://api.github.com/users/bdadam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bdadam/subscriptions","organizations_url":"https://api.github.com/users/bdadam/orgs","repos_url":"https://api.github.com/users/bdadam/repos","events_url":"https://api.github.com/users/bdadam/events{/privacy}","received_events_url":"https://api.github.com/users/bdadam/received_events","type":"User","site_admin":false},"created_at":"2018-02-07T00:05:07Z","updated_at":"2018-02-07T00:05:07Z","author_association":"MEMBER","body":"Thanks Andi for your comment, but it still doesn't work for me.\r\nLet's take an example:\r\n`92cccc65-3ee8-4fa8-a663-632dd282f42f` is `10010010110011001100110001100101001111101110100001001111101010001010011001100011011000110010110111010010100000101111010000101111` in binary. If I switch the first 64 bits with the last 64 bits I get `10100110011000110110001100101101110100101000001011110100001011111001001011001100110011000110010100111110111010000100111110101000` which is `221167896278259223048552865873187590056` in decimal. So the modulo 100 + 1 should be 57. But the code calculates 1 for this input.\r\n\r\nI also tried to reverse the bits in a lot of combinations but then again I get some different results but never 1.\r\n\r\nCan you please check it again?"}}
{"actor":{"display_login":"bdadam"}}