14:23 |
awt |
One problem with named pipes is that only one other process could use a pair of them to communicate with a station. |
14:26 |
signpost |
I thought they could be used by multiple processes, which is why I mentioned the bit about PIPE_BUF and interleaving |
14:28 |
signpost |
socket's also an option. |
14:32 |
awt |
signpost: They can. But once one process reads the contents, the buffer is emptied. I haven't used named pipes before so there may be a way to work around that that I'm not aware of. |
14:32 |
signpost |
ah derp, nah you're right |
14:33 |
* |
signpost even mentioned multiple attached services to the same station. |
14:36 |
* |
asciilifeform can't think of any persuasive reason not to use ordinary sockets for pestron frontend |
14:37 |
asciilifeform |
let'em eat sexprs. |
14:37 |
signpost |
mhm |
| |
~ 17 minutes ~ |
14:54 |
awt |
s-expressions would be good. easy to tell when you've got the whole command. |
14:56 |
awt |
the client could send commands, and the station could send back tree operations. |
14:59 |
awt |
perhaps the initial client should be the irc client |
15:01 |
signpost |
the challenge there would be avoiding letting the constraints of IRC leak into this interface, which was what prompted the effort to split into client and server and define a protocol between 'em. |
15:02 |
signpost |
writing a weechat plugin instead might be worthwhile since 1) allows python and 2) probably lets you rewrite the entire buffer easily, not just append. |
15:05 |
awt |
Hmm yes. Wouldn't hurt to see what's possible in a plugin. |
| |
↖ |
| |
~ 2 hours 5 minutes ~ |
17:10 |
* |
asciilifeform hates weechat with a passion, tho using it currently for pestnet (ye olde xchat has problem connecting to >1 box simult.) |
17:10 |
dulapbot |
(asciilifeform) 2022-01-06 asciilifeform: finds even 'weechat' gnarly, for reason of impossibility of pasting from it anywhere w/out linebreaks pissed into output |
17:16 |
asciilifeform |
!!deed http://www.loper-os.org/pub/tbf/tbf_q2_2022.txt |
| |
~ 1 hours 57 minutes ~ |
19:13 |
awt |
pestbot: ping |
19:13 |
pestbot |
pong |
| |
~ 2 hours 30 minutes ~ |
21:44 |
phf |
pestbot: ping |
21:44 |
pestbot |
pong |
| |
~ 1 hours 5 minutes ~ |
22:49 |
mod6 |
hi |
| |
~ 16 minutes ~ |
23:06 |
signpost |
hey mod6, how's life |
23:06 |
signpost |
incidentally your message appears to have caused a buttload of message replay on my end. |
| |
~ 25 minutes ~ |
23:32 |
phf |
pestbot: ping |
23:32 |
pestbot |
pong |
23:32 |
signpost |
I sees it |