libera/#shirakumo - IRC Chatlog
Search
10:08:42
scymtym
Shinmera: i wanted to use depot to create a zip archive in memory. i had to make a few changes to get it working. is that expected or am i doing something wrong?
10:11:31
scymtym
what i do is (let* ((depot (make-instance 'depot.in-memory:depot)) (zip-file (depot:make-entry depot :id "outer.zip")) (zip (make-instance 'depot.zip:zip-archive :depot entry)) (inner (depot:make-entry zip :id "inner.txt"))) (depot:write-to inner "text") (depot:commit zip))
10:12:27
scymtym
this failed initially because ZIP-ARCHIVE didn't have a COMMIT method. adding that method, i had to add stream support to the in-memory transactions
10:14:09
Colleen
<shinmera> Aha. I haven't actually used the in-memory depot, it was more a proof-of-concept kinda thing
16:37:38
Colleen
<shinmera> Radiance is not a Javascript framework. It only handles server-side stuff. If you want client-side scripting, you have to do that with Javascript.
16:38:10
Colleen
<shinmera> so aside from what you have there you could emit, say, a script tag which does the updating and whatnot.
16:38:59
Colleen
<shinmera> and/or you could use some JS ui framework like Vue or whatever else is popular these days.