IRC channel logs
2023-12-28.log
back to list of logs
<apteryx>should the guile-lib logging handlers call flush in their emit methods? <apteryx>it seems unintuitive that log output to rotating-log is buffered as a before being written <apteryx>another approach would be allowing the user to configure the mode of the file port <apteryx>ah, yet another approach, is to access the created port via the 'port' accessor of <rotating-log>, and call setvbuf 'line on that <apteryx>this mostly does it: (setvbuf (slot-ref rotating 'port) 'line) <apteryx>it's still laggy a bit, but doesn't bother me too much <apteryx>can I use SCM_UNDEFINED in Scheme code? <apteryx>maybe (make-undefined-variable) instead <dthompson>apteryx: several ways of acquiring the unspecified value: (values), (if #f #f), or *unspecified* <apteryx>but it's an undefined value I want, not the unspecified one :-) <apteryx>in the sense that SCM_UNBNBP would return true on it <apteryx>hm, make-undefined-variable gave me an undefined object <apteryx>which is not expected by scm_select's usecs <dthompson>I guess I don't understand what you're trying to do