Search
22:05:26
Shinmera
nah, just leaving it be for now, perf seems far more than acceptable for what I need.
22:05:46
SAL9000
"over 2 million connections (Erlang on FreeBSD)" yes... and then "10-12 million connections (Java)"
22:06:06
SAL9000
what contortions did they have to pull for that one...
22:07:18
SAL9000
"This is strictly a Lisp household!"
22:07:59
Shinmera
we say as we consider an elixir server and talk about python and javascript clients
22:08:18
SAL9000
python is "we dragged them halfway to lisp" though :)
22:36:59
SAL9000
loading a trivial weechat script which loads pylichat already causes warning messages :p
22:37:07
SAL9000
"context.c:55: warning: mpd_setminalloc: ignoring request to set MPD_MINALLOC a second time"
22:37:17
SAL9000
dumped directly to stderr, bypassing ncurses
22:37:20
SAL9000
https://stackoverflow.com/questions/49757245/fixing-warning-message-related-to-mpd-setminalloc
22:37:21
Colleen
stackoverflow.com/questions... Website (HTML), Title: python - fixing warning message related to mpd_setminalloc - Stack Overflow
22:37:30
SAL9000
going by ^^ it's a weechat-python fuckup
22:39:02
SAL9000
yeah, dropped it in here so you're aware that it's not us :P
22:39:46
SAL9000
weechat-lichat or lichat-weechat?
22:41:53
Shinmera
not sure what perms I gave you
22:48:38
SAL9000
Shinmera: it begins https://github.com/Shirakumo/weelichat/blob/main/lichat.py
22:48:38
Colleen
github.com/Shirakumo/weelic... Website (HTML), Title: weelichat/lichat.py at main · Shirakumo/weelichat · GitHub
22:52:05
Shinmera
I'll hold off on pushing a new version to pypi until this works so we don't have to bump versions too much.
23:19:10
Shinmera
SAL9000: do you have an idea already how to handle the connection? Does weechat offer some periodic callback you can use or something?
23:19:29
Shinmera
would still introduce latency, but not sure how else to make it "wake up on arrival"
23:19:31
SAL9000
Shinmera: there's periodic callbacks but I'm hoping to hook into the weechat select loop
23:19:44
Shinmera
that sounds better, yeah.
23:39:59
SAL9000
=!= Error: bad file descriptor (6) used in hook_fd
23:40:05
SAL9000
the adventure is off to a good start
23:58:12
SAL9000
looks like it works if I use weechat.hook_connect to make the connection
23:58:20
SAL9000
here I thought an fd was an fd...
0:08:50
SAL9000
Shinmera: if you're still here, filebox upload rights pls?
0:10:17
SAL9000
https://imgur.com/a/SxMWRiS
0:10:17
Colleen
imgur.com/a/SxMWRiS Website (HTML), Title: Imgur: The magic of the Internet
7:35:21
Shinmera
SAL9000: Gah, that was right after I went to bed. But sick!
7:36:01
Shinmera
SAL9000: should be able to upload to filebox now.
7:47:07
Shinmera
Regarding editing, how would one do that from weechat? Something like /edit X .... where X is an offset for your messages?
7:47:41
Shinmera
As in /edit -1 would edit your most recent one or something
7:52:23
Shinmera
Also any ideas on how to handle data updates?
7:52:50
Shinmera
Storing them to disk and posting a file:// link would be one thing but that wouldn't work if you're running weechat remote (like I am)
7:53:12
Shinmera
I suppose could re-up it on a file hosting service, but that's a bit more complicated.
10:02:55
Shinmera
SAL9000: I pushed some more command implementations (untested)