freenode/#lisp - IRC Chatlog
Search
18:51:56
TruePika
yeah, I understand that, but if I want to add a file downstream, it still recompiles everything
18:53:28
TruePika
the only solutions I can think of involve using multiple .asd files, but I'm not even sure if that would work as desired unless I make multiple different systems
19:14:38
emaczen
So 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: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:25:50
|3b|
(in case you don't think 391 billion years might not be enough, or worry about implementation bugs in edge cases like that)
19:27:44
|3b|
most probably tries to avoid having that particular problem, i assume there is some way to do it 'correctly' in hunchentoot
19:28:01
|3b|
aside from that there is usually also some external component that restarts it if it crashes, etc
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:35
dim
in start-server, I have (hunchentoot:start *acceptor*) (setf *server-is-running* t), obviously, and in stop-server setf to nil
20:45:17
dim
https://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:39
dim
https://github.com/dimitri/pgcharts uses the same trick and might be simpler to approach
20:55:05
emaczen
I 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?
22:51:45
enedil
Let's say I'd like to form a function that is always 2 times smaller that a given one
23:12:54
enedil
Bike: 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"
1:01:54
vydd
Bike: Unfortunately, it's not possible to post issues there (https://github.com/cffi/cffi)