cs3110 / textbook

The CS 3110 Textbook, "OCaml Programming: Correct + Efficient + Beautiful"
Other
720 stars 132 forks source link

Live Code does not work #182

Closed ethanuppal closed 4 months ago

ethanuppal commented 5 months ago

Steps to Reproduce

  1. Go to https://cs3110.github.io/textbook/chapters/preface/about.html
  2. Press the following button: Screenshot 2024-04-12 at 9 13 20 PM
  3. Press the run button in the code example.

It will say Waiting for kernel and remove all CSS styling, as shown below:

Screenshot 2024-04-12 at 9 14 28 PM
clarksmr commented 5 months ago

Hm, I can't reproduce.

Screenshot 2024-04-12 at 10 43 56 PM

Live Code is TBH finicky because it depends on the public BinderHub which itself is finicky.

It would be great if we could host a Cornell BinderHub someday to make this less problematic.

ethanuppal commented 5 months ago

Maybe this would be worth looking into? Or maybe there is a wasm target for the OCaml compiler?