{"action":"opened","issue":{"url":"https://api.github.com/repos/andypetrella/spark-notebook/issues/279","labels_url":"https://api.github.com/repos/andypetrella/spark-notebook/issues/279/labels{/name}","comments_url":"https://api.github.com/repos/andypetrella/spark-notebook/issues/279/comments","events_url":"https://api.github.com/repos/andypetrella/spark-notebook/issues/279/events","html_url":"https://github.com/andypetrella/spark-notebook/issues/279","id":97222824,"number":279,"title":"`val data = 1 to 10000` renders Notebook unresponsive","user":{"login":"petervandenabeele","id":55656,"avatar_url":"https://avatars.githubusercontent.com/u/55656?v=3","gravatar_id":"","url":"https://api.github.com/users/petervandenabeele","html_url":"https://github.com/petervandenabeele","followers_url":"https://api.github.com/users/petervandenabeele/followers","following_url":"https://api.github.com/users/petervandenabeele/following{/other_user}","gists_url":"https://api.github.com/users/petervandenabeele/gists{/gist_id}","starred_url":"https://api.github.com/users/petervandenabeele/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petervandenabeele/subscriptions","organizations_url":"https://api.github.com/users/petervandenabeele/orgs","repos_url":"https://api.github.com/users/petervandenabeele/repos","events_url":"https://api.github.com/users/petervandenabeele/events{/privacy}","received_events_url":"https://api.github.com/users/petervandenabeele/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-25T12:27:30Z","updated_at":"2015-07-25T12:27:30Z","closed_at":null,"body":"Naively typing in the very first command from the \"itas workshop\"\r\n(http://stanford.edu/~rezab/sparkclass/slides/itas_workshop.pdf)\r\n`val data = 1 to 10000`\r\nleads to unresponsive script:\r\n<img width=\"1296\" alt=\"screen shot 2015-07-25 at 2 17 40 pm\" src=\"https://cloud.githubusercontent.com/assets/55656/8889373/aea1fa40-32d8-11e5-82c9-0bea93269d4d.png\">\r\n\r\nTesting the same with `1 to 100`, `1 to 1000`, `1 to 2000` leads to increasingly longer wait times. \r\n\r\nIf possible, I suggest that we do not only \"show\" the ellipsis (...) using CSS,  but also cut-off the number of data points sent in the html to some reasonable default max (e.g. 1,000 would have worked here)."}}