Arc Forumnew | comments | leaders | submitlogin
5 points by brett 4527 days ago | link | parent

I've been running (source behind apache on ubuntu with mzscheme 360. It gets virtually no traffic but has been up without problems since I started it a month or so ago. I launched it using screen so I can get back to the REPL whenever I want. The server uses some globals that are interesting to look at like optimes*.

It's still on arc0. The main gotcha is that it thinks all requests are from because it does not pay attention to apaches's X-Forwarded-For header.

4 points by lojic 4527 days ago | link

Thanks for the reminder about screen, that seems like a good approach.

So to be able to access the repl, did you start asv in a separate thread?


3 points by brett 4527 days ago | link



4 points by lojic 4526 days ago | link

Thanks - I had forgotten about the repl operator that pg mentioned in that thread. I'll have to try that out.

I love the quote from Ron Garret about the benefits of a REPL.

  "Debugging a program running on a $100M piece of hardware
  that is 100 million miles away is an interesting experience. Having a
  read-eval-print loop running on the spacecraft proved invaluable in
  finding and fixing the problem."