Collacoq seems very nice, but I cannot seem to figure out how to share it with another user. Did anyone have success using it?
https://x80.org/collacoq/
What do you mean "share it with another user"? Since this is code running in the browser, it's not really done for collaborative editing.
Thanks. I misread colla as collaborative ...
So, repl.it could be useful. 8.6 is running now, and they seem to be happy to improve support:
https://repl.it/talk/ask/Adding-the-Coq-language/52498
Colla does indeed refers to the French version of Paste , _à la_ pastebin => collacoq
also there is a non-intended Coq-style pun in the French phonetics of colla for Spanish people :/
Adding collaborative support wouldn't be hard if codemirror does already support it
I don't have the cycles sadly, but any person with web dev skills should be able to add it
It sounds like Bas wanted to use it as pastebin?
But e.g. “save” does not give you a permalink to the code?
nevermind, it does, once you actually add text
e.g. I get https://x80.org/oxegemokej.coq
which however 404s
Oh indeed the url is broken
for some reason the collacoq/ went away
https://x80.org/collacoq/oxegemokej.coq
I thought I had fixed this :S
right, that works
guess the web app must know the URL it runs at, many do for some reason.
yeah it was a silly thing
I dunno why the problem re-appeared
I'll do a fix later
I’m sure you know, but as a reminder, maybe check if the fix survives a reboot and a redeploy
Yup it should, it is a variable
since those usually involve 42 layers of generators feeding generators creating final configurations :-)
maybe I didn't indeed commit the fix
the setup of hastebin is pretty simple fortunately :)
@Emilio Jesús Gallego Arias Thanks. That indeed does what I was looking for.
For my course I'm moving to Github Classroom. That currently uses repl.it, although I'm not entirely sure what kind of integration it supports.
Let me know if you need help to integrate Coq with repl.it
or with jupyter
They have the Debian version of Coqtop running already. jscoq is much nicer!
https://repl.it/talk/ask/Adding-the-Coq-language/52498
Is there anyway to get the imports for SF to work with Collacoq ? I understand it's not the initial use case, but it could be a nice collaborative tool in these corona times...
@Bas Spitters I will push a SF build ASAP to collacoq
we still have to automate jscoq deployment
unfortunately we still do a lot of manual steps, but Shachar has been doing great progress towards an automatic seutp
@Emilio Jesús Gallego Arias They've giving up on Coq integration for now, as they are using an old ubuntu version.
Also, I'm not entirely sure whether repl.it has the right interaction model for Coq.
I guess github will integrate vscode (coqspaces https://github.com/features/codespaces) into classroom when it releases. I imagine integration with vscode should be easier.
I'm preparing for my Coq course this autumn and I'm updating some links. @Emilio Jesús Gallego Arias is CollaCoq still worth mentioning? I seems to be running Coq 8.11
@Bas Spitters You are probably using an outdated link. https://jscoq.github.io/ gives you a Coq 8.15 based-version.
And thanks BTW, because my own course materials also used an outdated link with Coq 8.11! :sweat_smile:
Does jscoq include all the collaborative features of collacoq now?
Oh, that's a good point. I don't see any save/share buttons. Maybe @Shachar Itzhaky can answer.
Hi! Yes, the hastebin functionality has been integrated into the jsCoq scratchpad on the website. You can find instructions here.
@Emilio Jesús Gallego Arias I wonder if we should retire the old collacoq page at https://x80.org/collacoq/ or have it redirect to coq.now.sh/scratchpad.html?share.
Great, although the feature is unfortunately not very discoverable. It could make sense to document the Ctrl+Shift+S keyboard on the jsCoq homepage, wouldn't it?
Or even to provide a link to the ?share
version from the homepage.
@Shachar Itzhaky yes, please open a ticket and I'll add a redirect (eventually)
Théo Zimmermann said:
Great, although the feature is unfortunately not very discoverable. It could make sense to document the Ctrl+Shift+S keyboard on the jsCoq homepage, wouldn't it?
Yes, the keyboard combinations used to be on the homepage. I decided that it's not the place for them so I moved them to the manual. However, what I do intend to do (just never got around to it) is display a quick help screen when opening the scratchpad, and add a "quick help" option to the ellipsis menu so that users can go back to that screen later. That would make it discoverable. We did want to minimize the clutter in the UI, and I agree that it makes the app a bit spartan. There are definitely some tradeoffs to consider going forward.
Remember that perfect is the enemy of good. Maybe in the meantime you could just add a link to the ?share
version from the homepage?
Apparently, collacoq is still better than vscoq with live share, as vscoq will not allow both parties to run coq, IIUC.
https://coq.zulipchat.com/#narrow/stream/237662-VsCoq-devs-.26-users/topic/.E2.9C.94.20VSCoq.20LiveShare.20ProofView/near/270677497
But collacoq does not allow sharing a buffer and having two people edit it, does it?
@Théo Zimmermann Shachar just merged that precise functionality :octopus:
Is it possible to connect hastebin to something more permanent (Google Drive?)
Last updated: Dec 07 2023 at 17:01 UTC