{"action":"created","issue":{"url":"https://api.github.com/repos/sagemathinc/cocalc/issues/2324","repository_url":"https://api.github.com/repos/sagemathinc/cocalc","labels_url":"https://api.github.com/repos/sagemathinc/cocalc/issues/2324/labels{/name}","comments_url":"https://api.github.com/repos/sagemathinc/cocalc/issues/2324/comments","events_url":"https://api.github.com/repos/sagemathinc/cocalc/issues/2324/events","html_url":"https://github.com/sagemathinc/cocalc/issues/2324","id":252654327,"number":2324,"title":"Install cling jupyter kernel for interactive C++","user":{"login":"nthiery","id":545328,"avatar_url":"https://avatars0.githubusercontent.com/u/545328?v=4","gravatar_id":"","url":"https://api.github.com/users/nthiery","html_url":"https://github.com/nthiery","followers_url":"https://api.github.com/users/nthiery/followers","following_url":"https://api.github.com/users/nthiery/following{/other_user}","gists_url":"https://api.github.com/users/nthiery/gists{/gist_id}","starred_url":"https://api.github.com/users/nthiery/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nthiery/subscriptions","organizations_url":"https://api.github.com/users/nthiery/orgs","repos_url":"https://api.github.com/users/nthiery/repos","events_url":"https://api.github.com/users/nthiery/events{/privacy}","received_events_url":"https://api.github.com/users/nthiery/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"haraldschilly","id":207405,"avatar_url":"https://avatars0.githubusercontent.com/u/207405?v=4","gravatar_id":"","url":"https://api.github.com/users/haraldschilly","html_url":"https://github.com/haraldschilly","followers_url":"https://api.github.com/users/haraldschilly/followers","following_url":"https://api.github.com/users/haraldschilly/following{/other_user}","gists_url":"https://api.github.com/users/haraldschilly/gists{/gist_id}","starred_url":"https://api.github.com/users/haraldschilly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haraldschilly/subscriptions","organizations_url":"https://api.github.com/users/haraldschilly/orgs","repos_url":"https://api.github.com/users/haraldschilly/repos","events_url":"https://api.github.com/users/haraldschilly/events{/privacy}","received_events_url":"https://api.github.com/users/haraldschilly/received_events","type":"User","site_admin":false},"assignees":[{"login":"haraldschilly","id":207405,"avatar_url":"https://avatars0.githubusercontent.com/u/207405?v=4","gravatar_id":"","url":"https://api.github.com/users/haraldschilly","html_url":"https://github.com/haraldschilly","followers_url":"https://api.github.com/users/haraldschilly/followers","following_url":"https://api.github.com/users/haraldschilly/following{/other_user}","gists_url":"https://api.github.com/users/haraldschilly/gists{/gist_id}","starred_url":"https://api.github.com/users/haraldschilly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haraldschilly/subscriptions","organizations_url":"https://api.github.com/users/haraldschilly/orgs","repos_url":"https://api.github.com/users/haraldschilly/repos","events_url":"https://api.github.com/users/haraldschilly/events{/privacy}","received_events_url":"https://api.github.com/users/haraldschilly/received_events","type":"User","site_admin":false}],"milestone":null,"comments":6,"created_at":"2017-08-24T16:15:03Z","updated_at":"2018-02-01T13:31:49Z","closed_at":null,"author_association":"NONE","body":"[cling](https://root.cern.ch/cling) is a C++ interpreter based on clang/llvm. Would it be possible to install it on cocalc, together with its kernel?\r\nI'll be using it for teaching C++ this coming semester. We will be using Jupyter locally on the university's machines, but having a backup solution on cocalc would be helpful!\r\n\r\n@SylvainCorlay implemented a [Jupyter kernel implemented in C++](https://github.com/QuantStack/xeus-cling) which is more robust than the one provided by cling. And will soon enable widgets and plots!\r\n\r\nInstallation instructions with conda:\r\n\r\n         conda install cling xeus-cling notebook -c QuantStack -c conda-forge\r\n\r\nOne should be able to install the kernel in another Jupyter deployment, but I haven't tried that.\r\n"},"comment":{"url":"https://api.github.com/repos/sagemathinc/cocalc/issues/comments/362266484","html_url":"https://github.com/sagemathinc/cocalc/issues/2324#issuecomment-362266484","issue_url":"https://api.github.com/repos/sagemathinc/cocalc/issues/2324","id":362266484,"user":{"login":"nthiery","id":545328,"avatar_url":"https://avatars0.githubusercontent.com/u/545328?v=4","gravatar_id":"","url":"https://api.github.com/users/nthiery","html_url":"https://github.com/nthiery","followers_url":"https://api.github.com/users/nthiery/followers","following_url":"https://api.github.com/users/nthiery/following{/other_user}","gists_url":"https://api.github.com/users/nthiery/gists{/gist_id}","starred_url":"https://api.github.com/users/nthiery/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nthiery/subscriptions","organizations_url":"https://api.github.com/users/nthiery/orgs","repos_url":"https://api.github.com/users/nthiery/repos","events_url":"https://api.github.com/users/nthiery/events{/privacy}","received_events_url":"https://api.github.com/users/nthiery/received_events","type":"User","site_admin":false},"created_at":"2018-02-01T13:31:49Z","updated_at":"2018-02-01T13:31:49Z","author_association":"NONE","body":"Hi,\r\n@slel forwarded me your exchange. I updated the installation instructions above. In a fresh miniconda install, nothing else is required: the kernels get installed automatically in the Jupyter of that miniconda's environment.\r\n\r\nNow I don't know how cocalc's Jupyter setup works; maybe something additional is required to install it in Jupyter, if it lives outside of the conda environnement. Presumably something like running\r\n```\r\n      <cocalc>/bin/jupyter kernelspec install\r\n```\r\nfrom within the kernel directory `<conda-dir>/share/jupyter/kernels/xeus-cling-cpp11`.\r\n\r\nCheers,\r\n\r\n"}}
{"actor":{"display_login":"nthiery"}}