Search
21:59:30
Shinmera
netsplits still happen quite often on freenode :v
21:59:40
SAL9000
Yeah, I know IRC still does sharding
21:59:46
SAL9000
Not 100% sure *why* they still do it, though
22:00:23
SAL9000
reducing apparent end-user latency comes to mind
22:00:41
SAL9000
local server acks (in the tcp sense) faster than remote does
22:00:42
Shinmera
yeah, and I guess being able to load balance is nice.
22:01:13
Shinmera
anyway, considering my tests with exlichat earlier today I don't think I need to work on that extension for a long time :)
22:01:35
SAL9000
still bugs, bugs everywhere?
22:01:54
SAL9000
is chat.tymoon.eu running cl-lichat or exlichat?
22:01:57
Shinmera
I can send 3 million shitposts per second.
22:02:30
Shinmera
and that number might be low because of how I sent them out.
22:03:26
Shinmera
connection establishment is also pretty snappy, seems about 2k per second.
22:03:55
SAL9000
next stop, https://en.wikipedia.org/wiki/C10k_problem ? :-)
22:03:55
Colleen
en.wikipedia.org/wiki/C10k_... Website (HTML), Title: C10k problem - Wikipedia
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.