19:14:38emaczenSo my executable seems to be working, it calls the toplevel function, loads the 20MB file, starts the server, but then terminates. How do I get it to not terminate?
19:16:41|3b|either run the server directly instead of starting a new thread, or wait for the server thread to exit
19:17:17emaczen|3b|: I'm just calling #'hunchentoot:start
19:17:21|3b|join-thread or similar, or run a repl, or just SLEEP a really long time
19:20:27|3b|sleeping indefinitely would be easiest solution, not sure how to ask hunchentoot which thread to wait on, and which function runs the normal repl is implementation specific
19:23:14emaczenis there such thing as sleep indefinitely?
19:24:08|3b|(sleep 12345678901234567890) will sleep for a long time :p
19:28:33emaczen|3b|: I guess i'll be reading hunchentoot documentation then
19:29:49|3b|ACTION usually just runs a repl and starts hunchentoot manually from that, but i'm the only user so if it crashes i can just restart it next time i want to use it :p
20:43:35dimin start-server, I have (hunchentoot:start *acceptor*) (setf *server-is-running* t), obviously, and in stop-server setf to nil
20:44:17emaczenwhat is the name of the REPL function for SBCL?
20:45:17dimhttps://github.com/dimitri/pginstall is an hunchentoot based web application that ships as an self-contained binary image and does the trick, emaczen, if you want to have a look
20:45:39dimhttps://github.com/dimitri/pgcharts uses the same trick and might be simpler to approach
20:46:55Bikeemaczen: i think sb-impl:toplevel-repl, why?
20:55:05emaczenI have a file which contains (asdf:load-system my-system) and I am executing "sbcl -load file" in the terminal but it doesn't load the system -- what am I doing wrong?
20:55:25emaczenI also tried (ql:quickload ...) instead of (asdf:load-system ...)
22:52:08enedilbit it doesn't work. I get message that the return value is not a function
22:52:32Bikeyour problem isn't returning, your problem is that you meant (funcall f x)
22:52:40Bikeyou probably get a warning like "undefined function F"
23:12:54enedilBike: in fact it doesn't help if I use funcall, clisp shows "EVAL: (TR (LAMBDA (X) X)) is not a function name; try using a symbol instead"