I watched an interesting YouTube video explaining how to install and use the Haskell extension in VS code, but the information appears to be obsolete, because there is no mention of ghcup, and ghcup is now required, along with a new version of the Haskell extension (the old one is labeled "legacy"). Unfortunately, I could not install ghcup on Windows due to obscure PowerShell security issues, or missing libraries in MSYS. While wrestling with this problem I discovered that Unix tools from Rtools must not be in PATH while working with Stack, probably due to incompatible MSYS versions. But removing Rtools from PATH does not resolve the ghcup installation problems. Any tips on ghcup installation under Windows would be appreciated. Thanks, Dominick
Hey Dominick, Apologies if you've tried it or it's not really what you're looking for, but have you given WSL2 a go? It sounds easier to me. Cheers
Sigh. As a college educator who is trying to use Haskell in as many classes as possible, I am still disheartened by how much effort is required by students to get the toolchain and additional libraries installed and working on their various platforms. I usually have to waste time during the first two or three weeks of class (and this semester it has extended to more than four) with students over this, whereas instead I should be able to send out a link before my class begins and expect that almost all of them will have everything installed on the first day. I know this topic has been discussed here and elsewhere, and that there are efforts underway to improve the situation, but I just want to make a plug again for easy Haskell installation for beginners. Diversity in the ecosystem is great, but for people trying to get started, there should be one simple and surefire way to get up and running, with a clear path later for upgrading the environment in any number of different directions. On Tue, Feb 21, 2023 at 3:26 PM Dominick Samperi <djsamperi@gmail.com> wrote:
I watched an interesting YouTube video explaining how to install and use the Haskell extension in VS code, but the information appears to be obsolete, because there is no mention of ghcup, and ghcup is now required, along with a new version of the Haskell extension (the old one is labeled "legacy").
Unfortunately, I could not install ghcup on Windows due to obscure PowerShell security issues, or missing libraries in MSYS. While wrestling with this problem I discovered that Unix tools from Rtools must not be in PATH while working with Stack, probably due to incompatible MSYS versions. But removing Rtools from PATH does not resolve the ghcup installation problems.
Any tips on ghcup installation under Windows would be appreciated.
Thanks, Dominick _______________________________________________ Haskell-Cafe mailing list To (un)subscribe, modify options or view archives go to: http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe Only members subscribed via the mailman list are allowed to post.
Hi Todd, Perhaps you could set everything up once on a server, create accounts for each of your students, and then just have them ssh into it and do their work remotely? It's not ideal, but it would be better than wasting so much time debugging boring install issues. The adventurous ones can try installing everything themselves. Sincerely, Mario J. Hesles On Tue, Feb 21, 2023 at 6:00 PM Todd Wilson <twilson@csufresno.edu> wrote:
Sigh. As a college educator who is trying to use Haskell in as many classes as possible, I am still disheartened by how much effort is required by students to get the toolchain and additional libraries installed and working on their various platforms. I usually have to waste time during the first two or three weeks of class (and this semester it has extended to more than four) with students over this, whereas instead I should be able to send out a link before my class begins and expect that almost all of them will have everything installed on the first day. I know this topic has been discussed here and elsewhere, and that there are efforts underway to improve the situation, but I just want to make a plug again for easy Haskell installation for beginners. Diversity in the ecosystem is great, but for people trying to get started, there should be one simple and surefire way to get up and running, with a clear path later for upgrading the environment in any number of different directions.
On Tue, Feb 21, 2023 at 3:26 PM Dominick Samperi <djsamperi@gmail.com> wrote:
I watched an interesting YouTube video explaining how to install and use the Haskell extension in VS code, but the information appears to be obsolete, because there is no mention of ghcup, and ghcup is now required, along with a new version of the Haskell extension (the old one is labeled "legacy").
Unfortunately, I could not install ghcup on Windows due to obscure PowerShell security issues, or missing libraries in MSYS. While wrestling with this problem I discovered that Unix tools from Rtools must not be in PATH while working with Stack, probably due to incompatible MSYS versions. But removing Rtools from PATH does not resolve the ghcup installation problems.
Any tips on ghcup installation under Windows would be appreciated.
Thanks, Dominick _______________________________________________ Haskell-Cafe mailing list To (un)subscribe, modify options or view archives go to: http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe Only members subscribed via the mailman list are allowed to post.
_______________________________________________ Haskell-Cafe mailing list To (un)subscribe, modify options or view archives go to: http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe Only members subscribed via the mailman list are allowed to post.
After many years of dealing with Haskell install nonsense with student after student, I started using replit. They support nix configuration to install any dependencies you need and haskell language server in their browser based IDE Curtis D'Alves On Tue, Feb 21, 2023 at 9:02 PM Mario J. Hesles <mariojlhm@gmail.com> wrote:
Hi Todd,
Perhaps you could set everything up once on a server, create accounts for each of your students, and then just have them ssh into it and do their work remotely? It's not ideal, but it would be better than wasting so much time debugging boring install issues. The adventurous ones can try installing everything themselves.
Sincerely, Mario J. Hesles
On Tue, Feb 21, 2023 at 6:00 PM Todd Wilson <twilson@csufresno.edu> wrote:
Sigh. As a college educator who is trying to use Haskell in as many classes as possible, I am still disheartened by how much effort is required by students to get the toolchain and additional libraries installed and working on their various platforms. I usually have to waste time during the first two or three weeks of class (and this semester it has extended to more than four) with students over this, whereas instead I should be able to send out a link before my class begins and expect that almost all of them will have everything installed on the first day. I know this topic has been discussed here and elsewhere, and that there are efforts underway to improve the situation, but I just want to make a plug again for easy Haskell installation for beginners. Diversity in the ecosystem is great, but for people trying to get started, there should be one simple and surefire way to get up and running, with a clear path later for upgrading the environment in any number of different directions.
On Tue, Feb 21, 2023 at 3:26 PM Dominick Samperi <djsamperi@gmail.com> wrote:
I watched an interesting YouTube video explaining how to install and use the Haskell extension in VS code, but the information appears to be obsolete, because there is no mention of ghcup, and ghcup is now required, along with a new version of the Haskell extension (the old one is labeled "legacy").
Unfortunately, I could not install ghcup on Windows due to obscure PowerShell security issues, or missing libraries in MSYS. While wrestling with this problem I discovered that Unix tools from Rtools must not be in PATH while working with Stack, probably due to incompatible MSYS versions. But removing Rtools from PATH does not resolve the ghcup installation problems.
Any tips on ghcup installation under Windows would be appreciated.
Thanks, Dominick _______________________________________________ Haskell-Cafe mailing list To (un)subscribe, modify options or view archives go to: http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe Only members subscribed via the mailman list are allowed to post.
_______________________________________________ Haskell-Cafe mailing list To (un)subscribe, modify options or view archives go to: http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe Only members subscribed via the mailman list are allowed to post.
_______________________________________________ Haskell-Cafe mailing list To (un)subscribe, modify options or view archives go to: http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe Only members subscribed via the mailman list are allowed to post.
I tell students about repl.it in case they run into persistent installation issues and need to get an early lab assignment finished by the deadline, but I didn't think it would be easy to scale that to a whole class for the entire semester. I will have to look into it further. How do you find the performance of repl.it compared to native? --Todd On Tue, Feb 21, 2023 at 6:10 PM Curtis D'Alves <curtis.dalves@gmail.com> wrote:
After many years of dealing with Haskell install nonsense with student after student, I started using replit. They support nix configuration to install any dependencies you need and haskell language server in their browser based IDE
My approach to this problem has been to rely on virtualization, via VS Code's remoting extension. So students install VS Code and then either: * Install Haskell locally * Install Docker; VS Code will handle launching the VM and such * And the past semesters, purely online via GitHub Codespaces. In my recent big classes, students have been evenly divided between using Haskell locally or installing Docker. This hasn't completely eliminated configuration issues, but it's minimized them; I'm hoping that moving towards Codespaces will better support those students. For smaller classes, GitHub's educational allowance should be sufficient even if all your students are using CodeSpaces. If you prefer (or are required) to do things locally, there's an alternative via Gitpod and Gitlab. /g On Tue, Feb 21, 2023 at 8:23 PM Todd Wilson <twilson@csufresno.edu> wrote:
I tell students about repl.it in case they run into persistent installation issues and need to get an early lab assignment finished by the deadline, but I didn't think it would be easy to scale that to a whole class for the entire semester. I will have to look into it further. How do you find the performance of repl.it compared to native?
--Todd
On Tue, Feb 21, 2023 at 6:10 PM Curtis D'Alves <curtis.dalves@gmail.com> wrote:
After many years of dealing with Haskell install nonsense with student after student, I started using replit. They support nix configuration to install any dependencies you need and haskell language server in their browser based IDE
_______________________________________________ Haskell-Cafe mailing list To (un)subscribe, modify options or view archives go to: http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe Only members subscribed via the mailman list are allowed to post.
-- Prosperum ac felix scelus virtus vocatur -- Seneca
Thanks, Mario, for that suggestion; it brought back memories! That is, in fact, what we used to do in the "old days," before the BYOD craze took over and we gave up our servers. But you're right: it did have its advantages and would be one solution. I remember having scripts for setting up and archiving the accounts each semester, and automated turn-in scripts that would grab student lab submissions from their home directories each week and run test suites on them. I wonder if I still have copies of all those scripts and how much effort it would take to bring all of that back -- not to mention getting a server I could host it on. Having thus just gone down memory lane, however, it still seems that this problem could be solved for everyone simultaneously if we could just get a single "click-to-install" set-up on haskell.org. --Todd On Tue, Feb 21, 2023 at 6:01 PM Mario J. Hesles <mariojlhm@gmail.com> wrote:
Hi Todd,
Perhaps you could set everything up once on a server, create accounts for each of your students, and then just have them ssh into it and do their work remotely? It's not ideal, but it would be better than wasting so much time debugging boring install issues. The adventurous ones can try installing everything themselves.
Sincerely, Mario J. Hesles
On Tue, Feb 21, 2023 at 6:00 PM Todd Wilson <twilson@csufresno.edu> wrote:
Sigh. As a college educator who is trying to use Haskell in as many classes as possible, I am still disheartened by how much effort is required by students to get the toolchain and additional libraries installed and working on their various platforms. I usually have to waste time during the first two or three weeks of class (and this semester it has extended to more than four) with students over this, whereas instead I should be able to send out a link before my class begins and expect that almost all of them will have everything installed on the first day. I know this topic has been discussed here and elsewhere, and that there are efforts underway to improve the situation, but I just want to make a plug again for easy Haskell installation for beginners. Diversity in the ecosystem is great, but for people trying to get started, there should be one simple and surefire way to get up and running, with a clear path later for upgrading the environment in any number of different directions.
On Tue, Feb 21, 2023 at 3:26 PM Dominick Samperi <djsamperi@gmail.com> wrote:
I watched an interesting YouTube video explaining how to install and use the Haskell extension in VS code, but the information appears to be obsolete, because there is no mention of ghcup, and ghcup is now required, along with a new version of the Haskell extension (the old one is labeled "legacy").
Unfortunately, I could not install ghcup on Windows due to obscure PowerShell security issues, or missing libraries in MSYS. While wrestling with this problem I discovered that Unix tools from Rtools must not be in PATH while working with Stack, probably due to incompatible MSYS versions. But removing Rtools from PATH does not resolve the ghcup installation problems.
Any tips on ghcup installation under Windows would be appreciated.
Thanks, Dominick _______________________________________________ Haskell-Cafe mailing list To (un)subscribe, modify options or view archives go to: http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe Only members subscribed via the mailman list are allowed to post.
_______________________________________________ Haskell-Cafe mailing list To (un)subscribe, modify options or view archives go to: http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe Only members subscribed via the mailman list are allowed to post.
participants (7)
-
Curtis D'Alves -
Dan Dart -
Dominick Samperi -
J. Garrett Morris -
Mario J. Hesles -
Mig Mit -
Todd Wilson