libera/#commonlisp - IRC Chatlog
Search
10:34:58
louis77
Josh_2: is there something in CL like Clojure's EDN for remote process-to-process communication?
11:00:07
patrix
I've seen 2 attempts at EDN libraries on Github.. one is a skeleton with no code, one I haven't managed to load properly, and appears to be quite complex .. I also wish there was a simple EDN reader/emitter for CL.. still surprised there's none..
11:02:23
hayley
EDN doesn't capture interesting CL types adequately; vectors can have element types, and hash tables can have different test functions.
11:04:53
patrix
well I ended up converting my file from EDN to JSON and was able to read it in my CL code. so I'm not making use of anything fancy in EDN
11:36:14
Demosthenex
ok, so i want to "tail -f" a file, is there a way to make read-line wait for input?
11:40:54
Demosthenex
hrm, i was reading from a FIFO before, that hung properly. now i'm reading a file and need to wait for it like tail -f
11:48:53
Demosthenex
https://stackoverflow.com/questions/6460500/using-stdout-from-shell-script-in-common-lisp has an example
11:50:45
jackdaniel
if you are interested in non-portable solutions then you may force fd-stream in sbcl to "hang" by setting (setf (sb-sys:fd-stream-listen stream) t)
12:13:08
jackdaniel
it is not that it is an exported interface, more a hack so don't get attached to it too much :)
14:08:19
_death
you can see how tail does it.. my guess is this is a good starting point: https://github.com/coreutils/coreutils/blob/master/src/tail.c#L1158
17:07:03
jfloren
Anybody here still use beirc? I've been fooling around with CLIM, like what I see, wanted to check out some applications using it
17:07:40
jfloren
But it drops into the debugger as soon as I start to join a channel. Wondering if the cl-irc library has changed since beirc was last touched
17:07:52
jackdaniel
scymtym has some kind of a chat client in clim but I don't think it is open source
17:25:39
beach
It is my impression that scymtym uses beirc often, but I may be wrong of course. He is here as Brucio-61.
18:01:50
NotThatRPG_away
I used to use beirc a lot, but had to give up on it at some point, many years ago.
18:04:51
jackdaniel
jfloren: if you have clim-specific questions you may also discuss them on #clim (this channel is perfectly fine too)
18:25:21
jfloren
NotThatRPG: errors along the lines of "There is no applicable method for the generic function #<STANDARD-GENERIC-FUNCTION CL-IRC:NICKNAME (1)> when called with arguments (NIL)." perhaps?
18:29:48
NotThatRPG
jfloren: I wish I could help, but it's so long ago that I have forgotten what stopped working.
18:41:08
jfloren
https://gitlab.common-lisp.net/charmon/beirc/-/commit/641b6864ce5ee26eed5edcdc5c65f82ff01872ce looks like this commit was all it took
18:44:25
Brucio-58
definitely going to cherry-pick that into the master branch because the other changes are all about setting colors in the UI... and the colors are ugly as sin :)
20:58:14
aeth
Besides, everyone knows that the most elegant programming language is Perligata, the Latin translation of Perl.