{"action":"opened","issue":{"url":"https://api.github.com/repos/fabulousduck/smol/issues/31","repository_url":"https://api.github.com/repos/fabulousduck/smol","labels_url":"https://api.github.com/repos/fabulousduck/smol/issues/31/labels{/name}","comments_url":"https://api.github.com/repos/fabulousduck/smol/issues/31/comments","events_url":"https://api.github.com/repos/fabulousduck/smol/issues/31/events","html_url":"https://github.com/fabulousduck/smol/issues/31","id":499651312,"node_id":"MDU6SXNzdWU0OTk2NTEzMTI=","number":31,"title":"Use hashes for function table entries and not just a random number.","user":{"login":"fabulousduck","id":9714566,"node_id":"MDQ6VXNlcjk3MTQ1NjY=","avatar_url":"https://avatars0.githubusercontent.com/u/9714566?v=4","gravatar_id":"","url":"https://api.github.com/users/fabulousduck","html_url":"https://github.com/fabulousduck","followers_url":"https://api.github.com/users/fabulousduck/followers","following_url":"https://api.github.com/users/fabulousduck/following{/other_user}","gists_url":"https://api.github.com/users/fabulousduck/gists{/gist_id}","starred_url":"https://api.github.com/users/fabulousduck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fabulousduck/subscriptions","organizations_url":"https://api.github.com/users/fabulousduck/orgs","repos_url":"https://api.github.com/users/fabulousduck/repos","events_url":"https://api.github.com/users/fabulousduck/events{/privacy}","received_events_url":"https://api.github.com/users/fabulousduck/received_events","type":"User","site_admin":false},"labels":[{"id":1100680935,"node_id":"MDU6TGFiZWwxMTAwNjgwOTM1","url":"https://api.github.com/repos/fabulousduck/smol/labels/bug","name":"bug","color":"d73a4a","default":true},{"id":1100680937,"node_id":"MDU6TGFiZWwxMTAwNjgwOTM3","url":"https://api.github.com/repos/fabulousduck/smol/labels/enhancement","name":"enhancement","color":"a2eeef","default":true},{"id":1100680939,"node_id":"MDU6TGFiZWwxMTAwNjgwOTM5","url":"https://api.github.com/repos/fabulousduck/smol/labels/good%20first%20issue","name":"good first issue","color":"7057ff","default":true},{"id":1582260790,"node_id":"MDU6TGFiZWwxNTgyMjYwNzkw","url":"https://api.github.com/repos/fabulousduck/smol/labels/hacktoberfest","name":"hacktoberfest","color":"a31d0e","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2019-09-27T21:07:50Z","updated_at":"2019-09-27T21:07:50Z","closed_at":null,"author_association":"OWNER","body":"Currently, to make ID's for function on the function table, we use a random number between 0 and 1000. This is very bad as it is collision prone. This should ideally be done in a way that uses hashes. the line of code that is the culprit can be found [here](https://github.com/fabulousduck/smol/blob/e92ef5e83429c80de80a7ceeefe619dfac923826/ir/ir.go#L122)."}}
{"actor":{"display_login":"fabulousduck"}}