soegaard2
2021-9-20 08:10:32

popa.bogdanp
2021-9-20 08:41:46

Looks like the Utah snapshots no longer include a “current” 64bit macOS BC version:

https://github.com/Bogdanp/setup-racket/runs/3649309725?check_suite_focus=true

Is this expected? I see one on the Northwestern server.



spdegabrielle
2021-9-20 11:10:01

Is this still correct?

> Sometimes you need a virtual display when running racket headless: xvfb-run racket -l handin-server https://github.com/racket/racket/wiki/Headless-with-virtual-display\|https://github.com/racket/racket/wiki/Headless-with-virtual-display


mflatt
2021-9-20 12:42:51

It looks like the build slowed down enough to cross a threshold, and there have been timeouts. (The Racket build doesn’t appear to be getting slower in general, based on http://build-plot.racket-lang.org\|build-plot.racket-lang.org); something about the old machine or its configuration may be making it slower. I’ve upped the timeout, but that won’t fix the problem for another day or so.


jestarray
2021-9-20 15:11:59

yeah, thanks guys! its working now. how do i make it public via domain name/url since students will need to connect to it… its running on localhost on the vps right now, so i suppose its just https://domainname.com:7979 (which is the port it is running on)


spdegabrielle
2021-9-20 15:16:09

did it work?


soegaard2
2021-9-20 15:18:16

@jestarray Is the dns of your domain name set to point to the server?


jestarray
2021-9-20 15:20:05

@soegaard2 yep, already hosting a few websites on there right now


soegaard2
2021-9-20 15:21:01

jestarray
2021-9-20 15:22:07

nope, that is not working


jestarray
2021-9-20 15:23:19

the server is up though, unsure whats causing it… do i have to edit the config file of the handin server with my domain name or something ? reading the docs and its kind of unclear how to set this up beyond localhost


soegaard2
2021-9-20 15:23:32

What did you do to get the other websites running?


jestarray
2021-9-20 15:25:23

i serve some static files using nginx


shu--hung
2021-9-20 15:26:45

I don’t remember anything specific to the handin server. Is the server inside a NAT or requires local/university IP?


soegaard2
2021-9-20 15:26:52

I am using nginx in front of the Racket web-server.


shu--hung
2021-9-20 15:27:34

Can the handin client connect to the server? I think the web needs to be enabled explicitly



soegaard2
2021-9-20 15:28:53

The nginx instance simply forwards the traffic to the racket web-server.


jestarray
2021-9-20 15:31:07

handin client cannot connect to the server no… i edited the server:port correctly but it says it cant connect


jestarray
2021-9-20 15:34:34

https://docs.racket-lang.org/handin-server/server-setup.html A student can download his/her own submissions through the handin dialog. This can also be done through a web server that runs concurrently with the handin server (on the same port) if you set the use-https option in the configuration file to #t (the default). The starting URL is <https://SERVER>:PORT/ to obtain a list of all assignments, or <https://SERVER>:PORT/?handin=ASSIGNMENT


shu--hung
2021-9-20 15:37:41

You are right. The web interface should’ve been on by default. Is the firewall blocking incoming connection to that port?


jestarray
2021-9-20 15:39:56

ohhh right, think i have ufw filrewall enabled


jestarray
2021-9-20 15:40:05

lemmie see if i can let it through


jestarray
2021-9-20 15:42:15

sweet! it seems like i can connect! love you guys :heart:


jestarray
2021-9-20 15:42:27

was gonna make my students learn git and upload their solutions there lol


jestarray
2021-9-20 15:43:37

@shu—hung curious, are you a TA for a racket course?


shu--hung
2021-9-20 15:44:36

Yes. But I moved away from the handin server a long time ago because I want to just use Canvas like other courses.


shu--hung
2021-9-20 15:44:55

Well, not that I’m TAing this quarter.


jestarray
2021-9-20 15:53:44

canvas does have a nicer ui lol… but i dont think can get access to it since im teaching this as an independent instructor non formally…. maybe i should move away from handin server also so that i can integrate it with my main website


shu--hung
2021-9-20 15:59:38

Yeah, for me it’s a trade off between asking the students to learn an entirely separate system (with its various behaviors) versus having instant syntax checks.


shu--hung
2021-9-20 16:03:04

And yes it’s abou the UI too. I just want the submissions and the grading report to be in the same place as the course materials and the grades.


jestarray
2021-9-20 16:10:22

do you guys use autograding tools for the desgin reecipe stuff? e.g checking how many tests they should have and if any steps are missing ?


shu--hung
2021-9-20 16:23:30

Nope. The course I was TAing for is not based on HtDP. I don’t know if there is any auto-grading tool for HtDP.


badkins
2021-9-20 17:43:28

I keep seeing answers to questions I don’t have a the moment, but I’m likely to have in the future, and the Slack message limit is bumming me out. It seems something like https://www.discourse.org/\|Discourse would provide a better knowledge base. It would be nice to combine the relative permanence & searchability of the mailing list with the interaction of Slack, and I think https://www.discourse.org/\|Discourse might be able to do that. It’s free to run the <https://github.com/discourse/discourse|open source version> on your own server.


samth
2021-9-20 17:48:46

I’ve been thinking about using discourse for Racket, but I would say that it’s not really going to change the dynamic you describe. It’s a lot more like a mailing list than like Slack, and using it to replace Racket’s mailing lists would not make Slack (or Discord) go away.


badkins
2021-9-20 17:49:53

Good point - the social/cultural aspect would be as important to change as the technical aspect.


samth
2021-9-20 17:50:39

With that said, I do think mailing lists are no longer a cutting edge discussion platform :slightly_smiling_face: and thus we may move away from them towards something like Discourse.


jestarray
2021-9-20 17:53:03

@samth https://blog.discourse.org/2016/03/free-discourse-forum-hosting-for-community-friendly-github-projects/ I mentioned this before in the past but discourse provides free hosting for open source projects! maybe its time we retire google groups


samth
2021-9-20 17:54:09

Yes, I know about that.


badkins
2021-9-20 17:54:25

And, importantly, “Absolutely zero lock-in! You are free to download a complete Discourse export and migrate away from our free hosting at any time.”


jestarray
2021-9-20 17:54:51

someone from the racket team should try n claim it so we can test if migrating from google groups will go smooth


badkins
2021-9-20 17:57:27

I’d be more excited about the free hosting if it allowed a custom domain for more permanence.


badkins
2021-9-20 17:58:58

Sounds like to import from Google Groups, we’d need to setup a local server, run their import scripts, export the site, and then import to the free hosted site. So maybe the first step is to setup a local server.


badkins
2021-9-20 17:59:34

spdegabrielle
2021-9-20 18:59:44

A more cost effective* approach might be a racket-slack-bot that detects a specific reaction and archives it to the #slack-archive created by @ben.knoble E.g. maybe the :file_cabinet:


samth
2021-9-20 19:00:11

Isn’t everything archived there?


samth
2021-9-20 19:00:26

Why would we need a special reaction?


spdegabrielle
2021-9-20 19:00:40

I thought that stopped?


spdegabrielle
2021-9-20 19:00:47

I’m glad it hasn’t


ben.knoble
2021-9-20 19:21:33

It is ongoing! I dont remember the last time we did an export (within the last month or two). I’m looking to improve the system still, but lacking time (new job). The actual archiver is public oss (mostly racket): https://github.com/benknoble/slack-archive-viewer\|https://github.com/benknoble/slack-archive-viewer (for example i want to make it faster for our large archives, and add a search option, probably through google’s site: queries). The actual archive itself is private, but served to a public website (https://benknoble.github.io/racket-slack-archive\|https://benknoble.github.io/racket-slack-archive).