●● IRC: #boycottnovell @ Techrights IRC Network: Sunday, July 25, 2021 ●● ● Jul 25 [01:12] *liberty_box has quit (Ping timeout: 2m30s) [01:12] *rianne_ has quit (Ping timeout: 2m30s) [01:15] *rianne_ (~rianne@qhduu73fcjmdn.irc) has joined #boycottnovell [01:16] *liberty_box (~liberty@qhduu73fcjmdn.irc) has joined #boycottnovell [01:32] *DaemonFC has quit (Quit: Leaving) [01:37] *rianne_ has quit (Ping timeout: 2m30s) [01:38] *liberty_box has quit (Ping timeout: 2m30s) [01:45] *rianne_ (~rianne@qhduu73fcjmdn.irc) has joined #boycottnovell [01:46] *liberty_box (~liberty@qhduu73fcjmdn.irc) has joined #boycottnovell [01:49] *DaemonFC (~DaemonFC@fikan3mv9ig6u.irc) has joined #boycottnovell ● Jul 25 [02:24] *rianne_ has quit (Ping timeout: 2m30s) [02:24] *liberty_box has quit (Ping timeout: 2m30s) [02:46] *rianne_ (~rianne@qhduu73fcjmdn.irc) has joined #boycottnovell [02:47] *liberty_box (~liberty@qhduu73fcjmdn.irc) has joined #boycottnovell [02:58] *job (~job@x8rgw55ea3yqk.irc) has joined #boycottnovell ● Jul 25 [03:03] *psydruid (~psydruid@jevhxkzmtrbww.irc) has joined #boycottnovell [03:23] *liberty_box has quit (Ping timeout: 2m30s) [03:23] *rianne_ has quit (Ping timeout: 2m30s) [03:57] *DaemonFC has quit (Quit: Leaving) ● Jul 25 [04:55] schestowitz-TR https://nitter.actionsack.com/ServisOficial/status/1419140413827522560#m [04:55] -TechrightsBN/#boycottnovell-nitter.actionsack.com | Oficial (@ServisOficial): "Why never work?, #techrights http://techrights.org" | nitter ● Jul 25 [05:00] schestowitz-TR https://joindiaspora.com/posts/21250832 [05:00] -TechrightsBN/#boycottnovell-@schestowitz@joindiaspora.com: TIL (and wasted nearly an hour learning) that chaining or piping grep into sed with tail -f and vice versa isn't a good idea. I still don't know why though... [05:00] Techrights-sec I often pipe tail -f into grep, awk, or perl [05:00] Techrights-sec Where did you get stuck? [05:01] schestowitz-TR did you then pipe that into sed too? [05:04] Techrights-sec not often, so I can't recall buffering problems or not with sed [05:04] Techrights-sec -u, --unbuffered [05:07] schestowitz-TR did not solve the issue I was having [05:18] schestowitz-TR just a se [05:18] schestowitz-TR c [05:18] schestowitz-TR tail -f ~/.xchat2/xchatlogs/FreeNode-#* \ [05:18] schestowitz-TR | sed -n -u "/ /roy/.xchat2/xchatlogs\/FreeNode-| |p" [05:18] schestowitz-TR that should do what it looks like the other formula was intended to do [05:18] schestowitz-TR maybe / /roy/.xchat2/xchatlogs\/FreeNode-| |;p}" [05:19] Techrights-sec if all of the / /roy/.xchat2/xchatlogs/FreeNode-| |p" [05:22] Techrights-sec tail -f ~/.xchat2/xchatlogs/FreeNode-#* \ [05:22] Techrights-sec | sed -n -u "/ /roy/.xchat2/xchatlogs/FreeNode-| |;p}" [05:22] Techrights-sec the pattern may need work [05:22] Techrights-sec also if the tracked file closes and reopens, you might need -F instead of -f [05:22] Techrights-sec for tail [05:25] schestowitz-TR test [05:26] *rianne_ (~rianne@qhduu73fcjmdn.irc) has joined #boycottnovell [05:26] schestowitz-TR it seems like it might be working now, but I cannot do extensive testing [05:27] *liberty_box (~liberty@qhduu73fcjmdn.irc) has joined #boycottnovell [05:27] schestowitz-TR because I am working, will not mpost publicly with more of the usual/edge cases [05:28] Techrights-sec ack [05:32] schestowitz-TR btw, freenode now imposes rather arbitrary limits on # of connections from given IP, so some machines of mine cannot connect to it. No idea whose idea this was -- I did not have such issues before [05:34] Techrights-sec strange limit, what's the point? [05:34] schestowitz-TR rhetorical questions was the point :-D :-D [05:36] schestowitz-TR btw, for the first time in ages ipfs seems to have crashed or something, so I had to restart the process when I woke up. The pi lights up brightly and blinks endlessly if ipfs is not running, but I've not seen such visual alarm in months. [05:37] Techrights-sec I am not tracking IPFS at all :/ [05:38] schestowitz-TR we can write the tail program from within a pane in ytalk? [05:39] schestowitz-TR or rather, a pane in tmux alongsie ytalk [05:41] Techrights-sec not ytalk itself but within tmux [05:41] Techrights-sec yes, but the vertical lines are maxed out so it could be a horizontal pane or [05:41] Techrights-sec another window [05:41] Techrights-sec however, which machine are the logs found on? [05:41] Techrights-sec It would be best to run tail | sed there [05:43] schestowitz-TR I can use a socket for the output ● Jul 25 [06:30] *rianne_ has quit (Ping timeout: 2m30s) [06:31] *rianne_ (~rianne@qhduu73fcjmdn.irc) has joined #boycottnovell [06:35] *psydroid_ (~psydroid@cqggrmwgu7gji.irc) has joined #boycottnovell [06:36] Techrights-sec 183x50 is about the widest I can conveniently have a termnal in that context [06:36] Techrights-sec so that's more than enough for a second 80 column pane [06:36] Techrights-sec supposedly SSH can forward sockets but I have not tried [06:36] Techrights-sec See the -L option for the client [06:36] Techrights-sec Or -R [06:38] schestowitz-TR I'm back. Do you want that iu tmux @TR? ● Jul 25 [07:01] Techrights-sec maybe in a separate window on TR [07:01] Techrights-sec ] [07:07] Techrights-sec there are already so many panes in atop:0 [07:08] schestowitz-TR very high latency with 4 ssh hops, but it's not interactive anyway [07:11] schestowitz-TR OK, try tmux at TR now, it's experimental with security caveats (my desktop) [07:16] Techrights-sec I see it, but logging in to any other machine from TR is 'unsanitary' so to speak [07:17] Techrights-sec Ideally the connections from your desktop should only be outgoing and those [07:17] Techrights-sec to TR only incoming. [07:19] schestowitz-TR Think of this as temporary sandbox [07:19] schestowitz-TR I was thinking more along the lines of limiting the number of channels [07:20] schestowitz-TR Then I can periodically upload for some tools to gobble up and display, a bit like the scrollback but broader and from another source [07:21] schestowitz-TR gemini:// is one trasnsport possibility, but the server (agate) does not run on my desktop [07:24] Techrights-sec Well, sockets over SSH might be an option? [07:25] schestowitz-TR I was thinking about extending this feature outwards as those channels are public anyway [07:26] *tr-amarsh04_ (~amarsh04@v9v3ma4w4dizc.irc) has joined #boycottnovell [07:28] schestowitz-TR now it shows all the channels without their contents [07:30] Techrights-sec The aged version of tmux on TR is crippling. Newer versions allow [07:30] Techrights-sec piping directly into a pane over stdin. So your desktop could [07:30] Techrights-sec SSH to TR and feed the pane and not have these circular logins. [07:31] schestowitz-TR the aim right now is to show you what I see at my end while I work out how to expose this over gemini or other [07:32] schestowitz-TR oh! now I know... [07:46] *job has quit (Ping timeout: 2m30s) [07:47] *job (~job@x8rgw55ea3yqk.irc) has joined #boycottnovell [07:50] schestowitz-TR ack [07:50] schestowitz-TR ? [07:50] schestowitz-TR if you create an empty pane in tmux on TR using '' as a command: [07:50] schestowitz-TR tmux split-window '' [07:50] schestowitz-TR then you can pass stdin to it from outside: [07:50] schestowitz-TR tail -F status ~boycottn/public_html/irc-archives/irc-status.t | ssh boycottn@tr 'stdbuf -o [07:50] schestowitz-TR L tmux display-message -I -t tr:0.1' [07:50] schestowitz-TR The pane number has to match, of course. [07:51] *rianne_ has quit (Ping timeout: 2m30s) [07:52] *liberty_box has quit (Ping timeout: 2m30s) [07:53] *rianne_ (~rianne@qhduu73fcjmdn.irc) has joined #boycottnovell [07:53] *liberty_box (~liberty@qhduu73fcjmdn.irc) has joined #boycottnovell [07:58] schestowitz-TR This is now in tmux and also http/s [07:59] schestowitz-TR The next min-challange is, how to omit the bits on the right except when they appear one single line at a time ● Jul 25 [08:00] schestowitz-TR so basically, if line starts with a space and the next one also starts with a space, omit both. I think awk can do that... [08:05] schestowitz-TR alternatively, we can just let joins and quits be shown, but that's mostly a waste of space I think (as that's most of what we're omitting) [08:08] *rianne_ has quit (Ping timeout: 2m30s) [08:08] *liberty_box has quit (Ping timeout: 2m30s) [08:09] *rianne_ (~rianne@qhduu73fcjmdn.irc) has joined #boycottnovell [08:10] *liberty_box (~liberty@qhduu73fcjmdn.irc) has joined #boycottnovell [08:11] Techrights-sec joins and quits can be omitted, that is a gain [08:12] Techrights-sec sed < awk < perl [08:12] Techrights-sec see man perlrun [08:14] schestowitz__[TR] http://techrights.org/irc-archives/irc-status.txt [08:16] schestowitz-TR better than social control media :D [08:17] schestowitz-TR it updates every 5 mins [08:21] *MinceR has quit (Ping timeout: 2m30s) [08:29] schestowitz__[TR] added to (top) http://techrights.org/irc-channel/ [08:29] -TechrightsBN/#boycottnovell-techrights.org | IRC Channels | Techrights [08:34] schestowitz__[TR] will probably add length contained some time later, though tail might be confused by such a think, so not sure... [08:34] schestowitz__[TR] *constraint [08:36] *liberty_box has quit (Ping timeout: 2m30s) [08:36] *rianne_ has quit (Ping timeout: 2m30s) [08:36] *MinceR (~mincer@bringer.of.light) has joined #boycottnovell [08:36] *irc.techrights.org sets mode +a #boycottnovell MinceR [08:38] *rianne_ (~rianne@qhduu73fcjmdn.irc) has joined #boycottnovell [08:38] *liberty_box (~liberty@qhduu73fcjmdn.irc) has joined #boycottnovell [08:45] schestowitz-TR tail is already being confused on the server side by the rsync, but on the desktop side I have another process running which does not get confused, so many I can trim the file each time I rsync is e.g. tail -n50 ... rsync [08:45] Techrights-sec *maybe [08:49] schestowitz-TR I think, upon closer scrutiny, a better approach would be to trim down the file a few times a day or at midnight [08:50] Techrights-sec what if any part of it needs to be kept, as far as copies go? [08:50] Techrights-sec If it's just for display, the SSH formula (or a variant with sudo) [08:50] Techrights-sec ought to be enough [08:51] schestowitz-TR tackling the limitation inherent in IRC (like ircloud does, among others), it gives people scrollback for other channels too [08:51] Techrights-sec (oops, even that is too new for TR's tmux. so forget the above formula) [08:54] schestowitz__[TR] I will start posting links shortly. shift over in 5 mins. [08:58] Techrights-sec The empty panes feature of tmux is very useful for tracking logs. [08:58] schestowitz-TR I am not familiar with it ● Jul 25 [09:02] *job has quit (connection closed) [09:08] Techrights-sec an empty pane has no process in it but can receive and display input [09:08] Techrights-sec sent to it via the display-message option. [09:08] schestowitz-TR I use send-notify a lot [09:08] *job (~job@x8rgw55ea3yqk.irc) has joined #boycottnovell [09:10] Techrights-sec tmux has no send-notify option. There is a send-keys command in it though. [09:11] *rianne_ has quit (Ping timeout: 2m30s) [09:11] *liberty_box has quit (Ping timeout: 2m30s) [09:16] Techrights-sec and display-message. [09:17] schestowitz-TR with all those logistical things done the past 2 months, inc. IRC, hopefully soon we can resume 10 articles/day. The biggest technical debt remaining is the sites' software, but that's a perpetual thing. [09:22] Techrights-sec I still see the site's OS as being high up on the technical debt list. [09:22] Techrights-sec There's not a reason to chase versions. However, a lot has moved on in [09:22] Techrights-sec the many years since CentOS was relevant. [09:24] schestowitz-TR this is further complicated when you consider php versions, mysql/mariadb, and various bits and pieces at the web application level. I keep CMS stuff patched and restrict direct access to some things. [09:33] *liberty_box (~liberty@qhduu73fcjmdn.irc) has joined #boycottnovell [09:33] *rianne_ (~rianne@qhduu73fcjmdn.irc) has joined #boycottnovell [09:46] Techrights-sec I looked into that a few years ago when we had that spare machine running [09:46] Techrights-sec for the summer. ● Jul 25 [10:09] *rianne_ has quit (Ping timeout: 2m30s) [10:10] *liberty_box has quit (Ping timeout: 2m30s) [10:15] *rianne_ (~rianne@qhduu73fcjmdn.irc) has joined #boycottnovell [10:16] *liberty_box (~liberty@qhduu73fcjmdn.irc) has joined #boycottnovell [10:51] *rianne_ has quit (Ping timeout: 2m30s) [10:51] *liberty_box has quit (Ping timeout: 2m30s) ● Jul 25 [11:01] *DaemonFC (~DaemonFC@c3u36vcnrkska.irc) has joined #boycottnovell [11:34] *rianne_ (~rianne@qhduu73fcjmdn.irc) has joined #boycottnovell [11:34] *liberty_box (~liberty@qhduu73fcjmdn.irc) has joined #boycottnovell [11:42] *activelow has quit (connection closed) [11:54] *liberty_box has quit (Ping timeout: 2m30s) [11:54] *rianne_ has quit (Ping timeout: 2m30s) [11:59] *rianne_ (~rianne@qhduu73fcjmdn.irc) has joined #boycottnovell ● Jul 25 [12:00] *liberty_box (~liberty@qhduu73fcjmdn.irc) has joined #boycottnovell [12:11] *activelow (~activelow@uyycfdpcfwkrc.irc) has joined #boycottnovell [12:26] *DaemonFC has quit (Quit: Leaving) [12:52] *rianne_ has quit (Ping timeout: 2m30s) [12:52] *liberty_box has quit (Ping timeout: 2m30s) [12:54] *rianne_ (~rianne@qhduu73fcjmdn.irc) has joined #boycottnovell [12:59] *liberty_box (~liberty@qhduu73fcjmdn.irc) has joined #boycottnovell ● Jul 25 [13:05] schestowitz__[TR] in the midst of all the work I think you forgot to post IRC logs to the site ^_^ [13:26] *DaemonFC (~DaemonFC@srhaeidszs544.irc) has joined #boycottnovell [13:42] *rianne_ has quit (Ping timeout: 2m30s) [13:42] *liberty_box has quit (Ping timeout: 2m30s) [13:46] *liberty_box (~liberty@qhduu73fcjmdn.irc) has joined #boycottnovell [13:46] *rianne_ (~rianne@qhduu73fcjmdn.irc) has joined #boycottnovell [13:57] Techrights-sec yep [13:57] Techrights-sec just a minute [13:59] Techrights-sec ok they should be in place now [13:59] Techrights-sec that task is mostly automated, but the final steps depend on getting [13:59] Techrights-sec past some quirks with wordpress. I'm not sure that's easily solved. [13:59] Techrights-sec back in an hour or so ● Jul 25 [14:24] *liberty_box has quit (Ping timeout: 2m30s) [14:24] *rianne_ has quit (Ping timeout: 2m30s) [14:53] *liberty_box (~liberty@qhduu73fcjmdn.irc) has joined #boycottnovell [14:54] *rianne_ (~rianne@qhduu73fcjmdn.irc) has joined #boycottnovell ● Jul 25 [15:29] *liberty_box has quit (Ping timeout: 2m30s) [15:29] *rianne_ has quit (Ping timeout: 2m30s) [15:44] *rianne_ (~rianne@qhduu73fcjmdn.irc) has joined #boycottnovell [15:45] *liberty_box (~liberty@qhduu73fcjmdn.irc) has joined #boycottnovell ● Jul 25 [16:01] schestowitz-TR do you think it would be worthwhile echo '' > irc status file every day around midnight to ensure it doesn't get too big? Should we instead archive for each day before empying the file? [16:05] *job has quit (connection closed) [16:07] *rianne_ has quit (Ping timeout: 2m30s) [16:07] *liberty_box has quit (Ping timeout: 2m30s) [16:12] *rianne_ (~rianne@qhduu73fcjmdn.irc) has joined #boycottnovell [16:13] *liberty_box (~liberty@qhduu73fcjmdn.irc) has joined #boycottnovell [16:43] *liberty_box has quit (Ping timeout: 2m30s) [16:43] *rianne_ has quit (Ping timeout: 2m30s) [16:48] *rianne_ (~rianne@qhduu73fcjmdn.irc) has joined #boycottnovell [16:49] *liberty_box (~liberty@qhduu73fcjmdn.irc) has joined #boycottnovell ● Jul 25 [17:13] Techrights-sec not sure. By default, I'd say to archive. [17:13] Techrights-sec Is it something that logrotate could manage? [17:14] schestowitz-TR it is really just a combination/fusion of local files with some processing done. Hard to envision any use for such data... [17:18] *DaemonFC has quit (Ping timeout: 2m30s) [17:21] *liberty_box has quit (Ping timeout: 2m30s) [17:21] *rianne_ has quit (Ping timeout: 2m30s) [17:24] *rianne_ (~rianne@qhduu73fcjmdn.irc) has joined #boycottnovell [17:26] *liberty_box (~liberty@qhduu73fcjmdn.irc) has joined #boycottnovell [17:46] Techrights-sec Ok. Then it should just be zapped if there is nothing worth saving or if [17:46] Techrights-sec it is merely an aggregate of data saved elsewhere. ● Jul 25 [18:48] *schestowitz__[TR] is now known as schestowitz [18:48] schestowitz-TR https://nitter.actionsack.com/ANFILOLI/status/1419344679351377921#m [18:48] -TechrightsBN/#boycottnovell-nitter.actionsack.com | Ann Nguyen, Ph.D. (@ANFILOLI): "We did not have serious problems of lies & misinfo until Trump, as a President, used it extensively as a role model empowering many to especially exploit lies and misinfo for internally & internationally political, financial & power gains! Thanks @SenateDems for legislations!" | nitter ● Jul 25 [20:35] *DaemonFC (~DaemonFC@dt83skrb77ms6.irc) has joined #boycottnovell [20:38] *schestowitz-TR has quit (connection closed) [20:42] *schestowitz-TR (~acer-box@qhduu73fcjmdn.irc) has joined #boycottnovell ● Jul 25 [22:02] *psydroid_ has quit (connection closed)