●● IRC: #techbytes @ FreeNode: Wednesday, November 18, 2020 ●● ● Nov 18 [03:11] schestowitz Re: IRC [03:11] schestowitz > While the time must be at the beginning of each line, the date only [03:11] schestowitz > needs to be posted periodically in the log. Printing the date once an [03:11] schestowitz > hour and at the change of day would make the text-only logs a lot more [03:11] schestowitz > readable. [03:11] schestowitz I still don't think they add anything substantial, seeing their output. For now I've decided to just release html, not text or raw. [03:18] schestowitz > Try the attached on the XHTML version of the IRC logs. It does not [03:18] schestowitz > colorize or truncat+indent but either would be easy to add. [03:18] schestowitz I've just had a go at it, bit it has no output argument and I cannot find any output file. standard output is empty. [03:20] schestowitz > It's probably not optimal to use the SD card on the RPi for storage, [03:20] schestowitz > due to size, speed, and wear constraints. Though the system would be [03:20] schestowitz > otherwise useful for storage if something is added to a USB port or two. [03:20] schestowitz > [03:20] schestowitz > $ uname -srn [03:20] schestowitz > Linux raspberrypi 5.4.51-v7l+ [03:20] schestowitz > [03:20] schestowitz > $ df -h / [03:20] schestowitz > Filesystem Size Used Avail Use% Mounted on [03:20] schestowitz > /dev/root 12G 9.1G 2.3G 81% / [03:20] schestowitz > [03:20] schestowitz > However, without modification, it is still quite good for processing and [03:20] schestowitz > networking. [03:20] schestowitz I asked about this in IRC. One thing we can do is delete local storage of older files and other things I can do include attaching older external drives (4tb each). [03:20] schestowitz I still have not properly assembled the raspi. ● Nov 18 [04:46] schestowitz https://twitter.com/jrobertson/status/1328430980777054211 [04:46] -TechBytesBot/#techbytes-@jrobertson: @schestowitz I meant 'main' not 'master'. ● Nov 18 [06:34] *GNUmoon has quit (Ping timeout: 240 seconds) ● Nov 18 [08:59] *Condor (~freenode@e1.nixmagic.com) has joined #techbytes ● Nov 18 [09:27] schestowitz http://techrights.org/irc-archives/irc-log-techrights-161120.html#tNov%2016%2012:33:48 [09:27] -TechBytesBot/#techbytes-techrights.org | IRC: #techrights @ FreeNode: Monday, November 16, 2020 [09:27] schestowitz # make sure that the Amperes will be within spec for the wall's wiring [09:31] *GNUmoon (~GNUmoon@gateway/tor-sasl/gnumoon) has joined #techbytes [09:33] schestowitz = [09:33] schestowitz x https://redmondmag.com/articles/2020/11/17/azure-hybrid-benefit-program-for-linux.aspx [09:33] -TechBytesBot/#techbytes-redmondmag.com | Microsoft Goes Live with Azure Hybrid Benefit Program for Linux -- Redmondmag.com ● Nov 18 [11:36] *Akee has quit (Quit: Bye, loosers !) [11:37] *Akee (~Akee@217.ip-137-74-196.eu) has joined #techbytes [11:55] *Akee has quit (Quit: Bye, loosers !) [11:56] *Akee (~Akee@217.ip-137-74-196.eu) has joined #techbytes ● Nov 18 [16:50] *oiaohm has quit (Ping timeout: 246 seconds) [16:57] *oiaohm (~oiaohm@unaffiliated/oiaohm) has joined #techbytes ● Nov 18 [17:08] *oiaohm_ (~oiaohm@unaffiliated/oiaohm) has joined #techbytes [17:11] *oiaohm has quit (Ping timeout: 246 seconds) ● Nov 18 [21:06] *GNUmoon has quit (Ping timeout: 240 seconds) [21:33] *schestowitz has quit (Read error: Connection reset by peer) [21:33] *schestowitz (~schestowi@unaffiliated/schestowitz) has joined #techbytes [21:52] schestowitz >>> Try the attached on the XHTML version of the IRC logs. It does not [21:53] schestowitz >>> colorize or truncat+indent but either would be easy to add. [21:53] schestowitz >> I've just had a go at it, bit it has no output argument and I cannot [21:53] schestowitz >> find any output file. standard output is empty. [21:53] schestowitz >> [21:53] schestowitz >> [21:53] schestowitz > Maybe I can make it smart enough to determine if a pipe is being used [21:53] schestowitz > and automatically process stdin too. However, for now it expects a file [21:53] schestowitz > name for input, specifically one of the XHTML files produced from the [21:53] schestowitz > logs. e.g. ~/public_html/irc-archives/irc-log-techrights-310819.html or [21:53] schestowitz > similar. [21:53] schestowitz > [21:53] schestowitz > I put a modified version of the script on TR in ~/bin/ Try passing it [21:53] schestowitz > the name of a file or files containing the XHTML rendering of the logs. [21:53] schestowitz > [21:53] schestowitz > However the raw logs should be used instead of scraping. Where are the [21:53] schestowitz > raw IRC logs kept? [21:53] schestowitz Those are periodically being deleted from my machines, but they're just slice from the very large log files that I keep for xchat. [21:53] schestowitz > [snip] [21:53] schestowitz > [21:53] schestowitz > It now handles piped input too. [21:53] schestowitz > [21:53] schestowitz > If you wonder about the \xA0 characters, those are the non-breaking [21:53] schestowitz > spaces which were previously escaped as   in the XHTML. [21:53] schestowitz I'll give that a go. ● Nov 18 [22:26] *GNUmoon (~GNUmoon@gateway/tor-sasl/gnumoon) has joined #techbytes gemini://gemini.techrights.org/tr_text_version/irc-log-techbytes-181120.txt

-- Leo's gemini proxy

-- Connecting to gemini.techrights.org:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/plain;lang=en-GB

-- Response ended

-- Page fetched on Sat May 18 03:51:49 2024