19:15:00gendl__Hi, is there a way from inside a CL to detect whether swank is running and if so, on what port it's listening
19:23:17semariegendl__: swank::*servers* might be a way. => "A list ((server-socket port thread) ...) describing the listening sockets. Used to close sockets on server shutdown or restart."
19:58:05Josh_2yitzi: with shasht how can I dynamically append keys to a json object? I have a hash table and I want to serialize that as part of an object, not as separate object
19:58:58yitziYou'd probably have to write your own write-json method...
19:59:46Josh_2I have (shasht:with-json-object stream (shasht:print-json-key-value ...) ;;my hash (maphash (lambda (key val) (shasht:print-json-key-value ..))) .. next hash ..) but I get no output from the hash tables
20:11:13Josh_2I am currently only doing it for this one class
20:11:17yitziIf you look in write.lisp there is a print-json-mop function that you could tweak. Just an idea.
20:11:52Josh_2There is a lot of variable information for that class so I decided I'd store it as JSON in postgres rather than tweak my db everytime I come up with a new key
20:14:03Josh_2Each slot is a column and the hash tables are jsonb, but when the end user receives a serialized version of the class I wanted the key/vals from those 3 hash tables appended rather than as slot name -> object pairs
21:38:36Josh_2When telling another service about the current configured timezone in my system, whats the best way? Should I just use the offset relative to UTC? Along with the location used?
21:38:59Josh_2Ie -6:00 America/Winnipeg or something
21:39:06Josh_2I dont see a convenient way to do this with local-time
21:40:52pjbIt's better to use a symbolic timezone, because of summer-time/winter-time offsets.