{"action":"created","issue":{"url":"https://api.github.com/repos/derbyjs/derby/issues/544","repository_url":"https://api.github.com/repos/derbyjs/derby","labels_url":"https://api.github.com/repos/derbyjs/derby/issues/544/labels{/name}","comments_url":"https://api.github.com/repos/derbyjs/derby/issues/544/comments","events_url":"https://api.github.com/repos/derbyjs/derby/issues/544/events","html_url":"https://github.com/derbyjs/derby/issues/544","id":281840864,"number":544,"title":"Operational transformation issue on Codemirror example","user":{"login":"bjorno43","id":29444287,"avatar_url":"https://avatars2.githubusercontent.com/u/29444287?v=4","gravatar_id":"","url":"https://api.github.com/users/bjorno43","html_url":"https://github.com/bjorno43","followers_url":"https://api.github.com/users/bjorno43/followers","following_url":"https://api.github.com/users/bjorno43/following{/other_user}","gists_url":"https://api.github.com/users/bjorno43/gists{/gist_id}","starred_url":"https://api.github.com/users/bjorno43/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bjorno43/subscriptions","organizations_url":"https://api.github.com/users/bjorno43/orgs","repos_url":"https://api.github.com/users/bjorno43/repos","events_url":"https://api.github.com/users/bjorno43/events{/privacy}","received_events_url":"https://api.github.com/users/bjorno43/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-12-13T17:54:31Z","updated_at":"2017-12-13T19:53:53Z","closed_at":null,"author_association":"NONE","body":"Started using DerbyJS yesterday. Tried to run the Codemirror example. First problem I had to fix was changing the paths in \"server.js\" because they're wrong:\r\n\r\n```\r\nvar cm = node_modules + \"d-codemirror/node_modules/codemirror/\";\r\nvar showdown = node_modules + \"d-showdown/node_modules/showdown/compressed\";\r\n```\r\n\r\nNeed to change to:\r\n\r\n```\r\nvar cm = node_modules + \"codemirror/\";\r\nvar showdown = node_modules + \"showdown/compressed\";\r\n```\r\n\r\nSecondly, there seems to be an issue with Operational Transformation. Whenever 2 or more users start typing at the same time, it's erasing the last characters from one another. I have no idea why this is happening though.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/derbyjs/derby/issues/comments/351503386","html_url":"https://github.com/derbyjs/derby/issues/544#issuecomment-351503386","issue_url":"https://api.github.com/repos/derbyjs/derby/issues/544","id":351503386,"user":{"login":"rkstedman","id":577644,"avatar_url":"https://avatars3.githubusercontent.com/u/577644?v=4","gravatar_id":"","url":"https://api.github.com/users/rkstedman","html_url":"https://github.com/rkstedman","followers_url":"https://api.github.com/users/rkstedman/followers","following_url":"https://api.github.com/users/rkstedman/following{/other_user}","gists_url":"https://api.github.com/users/rkstedman/gists{/gist_id}","starred_url":"https://api.github.com/users/rkstedman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rkstedman/subscriptions","organizations_url":"https://api.github.com/users/rkstedman/orgs","repos_url":"https://api.github.com/users/rkstedman/repos","events_url":"https://api.github.com/users/rkstedman/events{/privacy}","received_events_url":"https://api.github.com/users/rkstedman/received_events","type":"User","site_admin":false},"created_at":"2017-12-13T19:53:53Z","updated_at":"2017-12-13T19:53:53Z","author_association":"CONTRIBUTOR","body":"Thanks for sharing the additional context! You can check the npm version with `npm --version`. I appreciate the offer but I'm not sure I'll be able to dive into the test server -- if I end up having some time, I'll let you know. One thing that might be helpful for you is using the sharedb-logger to see more what's happening with operational transform: https://github.com/share/sharedb-logger\r\n\r\nIt will log all the ops and then you can see how the conflicts between the two users are being resolved."}}
{"actor":{"display_login":"rkstedman"}}