●● IRC: #boycottnovell @ Techrights IRC Network: Monday, September 13, 2021 ●● ● Sep 13 [00:54] *rianne_ (~rianne@qhduu73fcjmdn.irc) has joined #boycottnovell [00:54] *liberty_box (~liberty@qhduu73fcjmdn.irc) has joined #boycottnovell ● Sep 13 [02:20] *activelow has quit (Ping timeout: 2m30s) [02:24] *activelow (~activelow@254g4tq7df99e.irc) has joined #boycottnovell ● Sep 13 [04:37] *DaemonFC has quit (connection closed) ● Sep 13 [08:26] Techrights-sec What was the last day with the Gemini links in the IRC posts? [08:26] schestowitz-TR I think about a week ago [08:32] Techrights-sec I see them in the older posts. I'll dig into what changed. [08:33] schestowitz-TR at one point you needed to change the script to get an earlier (missing) date [08:41] Techrights-sec Ok. The script is repaired and today's IRC post has been updated. [08:42] schestowitz-TR excellent, thank you. I made further improvements to the gemini stats page and some of the git portal ● Sep 13 [09:31] schestowitz As Prison Staff Try to Erase Queer and Trans Folks, We Assert Our Right to Exist https://truthout.org/articles/as-prison-staff-try-to-erase-queer-and-trans-folks-we-assert-our-right-to-exist/ "X" Isn't Enough: We Must Abolish All Gender Markers on IDs https://truthout.org/articles/x-isnt-enough-we-must-abolish-all-gender-markers-on-ids/ [09:31] -TechrightsBN/#boycottnovell-truthout.org | As Prison Staff Try to Erase Queer and Trans Folks, We Assert Our Right to Exist [09:31] -TechrightsBN/#boycottnovell-truthout.org | "X" Isn't Enough: We Must Abolish All Gender Markers on IDs [09:31] schestowitz So now biology has no right to exist? [09:31] schestowitz These people have a right to exist [09:32] schestowitz what's challenged is the ideology, not the people themselves [09:32] schestowitz or rather, the idea that gender is still a thing [09:32] schestowitz sorry that biology offends some people ● Sep 13 [10:07] *psydroid2 (~psydroid@cqggrmwgu7gji.irc) has joined #boycottnovell [10:43] Techrights-sec On the main page for Gemini, the "Latest Articles" ought to be much [10:43] Techrights-sec higher up and closer to the beginning. [10:45] schestowitz-TR I thought the exact some thing and daemonfc said the same. Also, ipfs and syndication should be level 2 headlines. fancy shuffling? We're still in the stages of improvement. 6.6k requests in first 10 hours today. I added a cron job to show top requested pages. It is run as 'pi'. [10:46] Techrights-sec Ok, I'll move the menu around slightly. [10:48] Techrights-sec All, set, I think. Try now. [10:52] Techrights-sec Should that cron job not run as ~gemini instead of ~pi? [10:52] schestowitz-TR gemini would need to be in sudoers for that (I don't think it is) [10:54] schestowitz-TR the structure of the front page makes a lot more sense now. thanks! it was well overdue too, but I wasn't sure how to get about doing the reordering best. [10:56] Techrights-sec NP [10:56] Techrights-sec I wish there were an easier way to generate the lastest feeds. [10:56] Techrights-sec The current method is a braindead shell script which looks for the last [10:56] Techrights-sec two calendar days. It would be nice to have the latest, regardless of date, [10:56] Techrights-sec but that would requite a lot of work in perl or rakulang [10:57] schestowitz-TR I can relate to the date thing. Between 2:30am and 6am I cannot post anything in wordpress without it being dropped from the daily bulletin, mostly because of timezone settings and workflow in those hours. ● Sep 13 [11:06] Techrights-sec Yes, some of the timezone are still not on UTC. [11:54] *techrights_guest|10 (~2d74e833@54n9xgft8g6u2.irc) has joined #boycottnovell [11:55] *techrights_guest|10 has quit (Quit: Connection closed) ● Sep 13 [14:13] schestowitz-TR just tackled a lack of git pull from git-update.sh -- this resulted it the capsule not showing the very latest changeset [14:15] schestowitz-TR funny side story: I was going to test this thing after the cron job at 12pm, then forgot that I was supposed to do this, did not even know I was planning to (it slipped my mind, but I knew I was SUPPOSED to do SOMETHING), took a one-hour nap and it came back to me as soon as I woke up with a fresh mind [14:24] Techrights-sec clearing the mind works like that often [14:24] Techrights-sec find Desktop-Utils/ -type f | grep -v index.gmi [14:24] Techrights-sec -> [14:24] Techrights-sec find Desktop-Utils/ -type f -not -name index.gmi ... [14:25] schestowitz-TR yes, it was very quick and dirty, we'll probably make many improvements over time. I'm trying to 'sell' this idea that geeks should use gemini for a lot more things and this is one... [14:25] schestowitz-TR there is lots of room for 'innovation' in gemini while it is still young and many gaps exist [14:25] schestowitz-TR someone made a chat client in gemini [14:27] schestowitz-TR the git pull line can be taken out of the conditional statement, turning two identical line into just one...? [14:46] Techrights-sec yes, it is redundant when preceeded by clonew [14:46] Techrights-sec I've made a tweak, is esktop-Utils/index.gmi [14:46] Techrights-sec the right output still? [14:47] schestowitz-TR despite the clone, it did not get the latest changes until I ran pull. maybe my git fu is just far too awful, but it took me a while to realise how to get around it... [14:49] schestowitz-TR In desktop utils something went wrong [14:57] schestowitz-TR Ok, will compare. [14:57] schestowitz-TR Working. [14:57] Techrights-sec Ok, will compare. [14:57] Techrights-sec Working. ● Sep 13 [15:07] schestowitz-TR https://nitter.actionsack.com/BrideOfLinux/status/1437408342788485124#m [15:07] -TechrightsBN/#boycottnovell-nitter.actionsack.com | Christine Hall (@BrideOfLinux): "Linus says, "While this is not up there with some larger releases, it's actually been one of the messier merge windows": Linux 5.15-rc1 | Tux Machines https://buff.ly/3C37MzC" | nitter [15:11] schestowitz-TR I have noticed some requests for gemini.techrights.org/year [15:11] schestowitz-TR I am guessing those come via web proxies [15:11] schestowitz-TR and those return an error page [15:12] schestowitz-TR one simple fix would be to cat, for each year, all the monthly archives gemini.techrights.org/year/month and this can be automated. any thoughts? [15:13] schestowitz-TR (for most years it's about 1000-2000 posts in total, so not too much for a single page to load OK) [15:14] Techrights-sec Is there a way to fix the error instead? [15:15] schestowitz-TR No, because the proxy has a breadcrumb trail that includes year. I can tackle this for all past year quite fast. I shall do this now.. [15:15] schestowitz-TR *years [15:16] Techrights-sec I think it is only a matter of enabling directory indexing for the server. [15:17] schestowitz-TR I've decided a better solution would be to copy index of first month of year (january for all except 2006) to the dir one level up, as at the end it has "next month" link already [15:17] *activelow has quit (Ping timeout: 2m30s) [15:19] schestowitz gemini://gemini.techrights.org/2006/ [15:20] schestowitz-TR I noticed that from yesterday's stats the yearly archives page (which does not exist) gets accessed enough to reach top 20 (top result was 300+ views for the day) [15:20] *activelow (~activelow@kmujm4s8xqrtu.irc) has joined #boycottnovell [15:21] Techrights-sec That's just the one month in there. Maybe it should list the months only [15:21] Techrights-sec and not the contents of the actual days. [15:21] schestowitz-TR that would be a better approach but require more code? [15:22] schestowitz gemini://gemini.techrights.org/archive/ is currently hand-crafted [15:23] schestowitz-TR for some reason I thought you had automated it, but then I noticed it was not changing, so kept adding one month at a time [15:24] schestowitz-TR desktop-utils sems to be fixed now :D [15:26] Techrights-sec still working on it -- refactoring [15:37] schestowitz-TR am backing up the whole pi in the background over rsync to laptop, which is in turn backed up to magnetic disks in case recoveries will be needed [15:55] Techrights-sec Ok but at the moment I am changing /home/gemini/bin/git-update.sh [15:55] Techrights-sec Refactoring of /home/gemini/bin/git-update.sh is now complete for now. [15:56] schestowitz-TR looks good. regardless, I rsync it across arround once a week, even more when we made big changes just in case it refuses to boot or the sd card is fried or something... ● Sep 13 [16:09] Techrights-sec Thanks. [16:09] Techrights-sec Regular rsync backups are important. [16:10] schestowitz-TR what to do about domain/year/ ? They're wrongly access, to quick-and-dirty ad hoc is copy january index.gmi one level up and leave it at that... [16:10] schestowitz-TR *accessed [16:13] Techrights-sec Is there a redirection action possible in the Gemini protocol, can Agate do that [16:13] Techrights-sec ? [16:14] schestowitz-TR The closest thing is softlinking [16:20] schestowitz Sep 12 22:37:54 raspberrypi agate.armv7-unknown-linux-gnueabihf[27376]: [2021-09-12T21:37:54Z INFO agate] [::ffff:192.168.1.82]:1965 - "gemini://gemini.techrights.org/2021/" 51 "Directory index disabled." [16:20] schestowitz Sep 12 23:08:06 raspberrypi agate.armv7-unknown-linux-gnueabihf[27376]: [2021-09-12T22:08:06Z INFO agate] [::ffff:192.168.1.82]:1965 - "gemini://gemini.techrights.org/2021/" 51 "Directory index disabled." [16:20] schestowitz Sep 12 23:38:17 raspberrypi agate.armv7-unknown-linux-gnueabihf[27376]: [2021-09-12T22:38:17Z INFO agate] [::ffff:192.168.1.82]:1965 - "gemini://gemini.techrights.org/2021/" 51 "Directory index disabled." [16:23] schestowitz /home/gemini/bin $ cat see-errors.sh [16:23] schestowitz cat /var/log/syslog.1 | grep ' 51 ' [16:24] Techrights-sec cd /home/gemini/gemini; [16:24] Techrights-sec find 2??? -maxdepth 0 -type d -exec sh -c "(echo '# {}'; ls -d {}/?? | sed -re 's/(.*)/=> \1 \1/') > {}/ [16:24] Techrights-sec index.gmi" \; [16:25] Techrights-sec $ grep 51 /var/log/syslog [16:25] Techrights-sec grep: /var/log/syslog: Permission denied [16:25] schestowitz-TR yes, I am aware [16:26] schestowitz-TR I run it with sudo as 'pi'; [16:28] schestowitz I assume this is in progress as the links repeat the 2021 (twice) [16:28] schestowitz gemini://gemini.techrights.org/2021/ [16:31] schestowitz /home/gemini/bin $ sudo ./see-errors.sh | wc -l [16:31] schestowitz 160 [16:31] schestowitz (for yesterday alone) [16:31] Techrights-sec ack [16:31] Techrights-sec find 2??? -maxdepth 0 -type d -exec sh -c "(echo '# {}'; ls -d {}/?? | sed -re 's|^.*/||; s|(.*)|=> \1/ [16:31] Techrights-sec \1|') > {}/index.gmi" \; [16:32] schestowitz nb; only 4:30pm and we've crossed 10k requests for the day already, it's not bortzmeyer [16:33] schestowitz script changed to check today and yesterday [16:34] schestowitz sudo ./see-errors.sh | wc -l [16:34] schestowitz 278 [16:34] Techrights-sec see ~gemini/bin/gemini-index-years-only.sh [16:34] schestowitz-TR chercking [16:36] schestowitz-TR makes sense, the sed line tantalises me :-) [16:36] Techrights-sec One shouldn't parse ls, but ... [16:37] schestowitz-TR at least python3 or python11 or python x+1 won't break ls :) [16:38] schestowitz-TR https://nitter.actionsack.com/kaddourkardio/status/1437418397323735044#m [16:38] -TechrightsBN/#boycottnovell-nitter.actionsack.com | Kaddour Kardio #FreeNabilMellah (@kaddourkardio): "i noticed the emphasis about "smb3 kernel driver" and "NTFS kernel driver" in the announcements." | nitter [16:41] Techrights-sec should it go into cron now? [16:41] schestowitz-TR it is probably taking under a second to run, so even though past years need not be rerun I guess this is hardly the bottleneck. :-) [16:43] schestowitz-TR in fact, it probably needs to be run just every month or week (to be safe), or first of each year if having the latest month listed is not crucial [16:44] Techrights-sec Wrong key. [16:45] schestowitz-TR you said, before disconnection, that running it once a day is current plan but maybe once a month would be enough. I'm thinking of situation of powerdown on the monthly time slot, hence I said every week :-) [16:45] Techrights-sec Ok, I'll set it for once a week. [16:45] *DaemonFC (~DaemonFC@v4w8awqh59gyw.irc) has joined #boycottnovell [16:46] schestowitz-TR the more adoption grows, the more motivation I have to shift efforts to it, and what's more we have less "competition" there and can innovate there [16:46] Techrights-sec $ crontab -l | grep -B1 years [16:46] Techrights-sec # index years [16:46] Techrights-sec 15 01 * * 1 /home/gemini/bin/gemini-index-years-only.sh [16:47] Techrights-sec yes [16:47] Techrights-sec It's still mostly early adopters until the clients show up in the [16:47] Techrights-sec mainstream distros' repositories. ● Sep 13 [18:16] schestowitz for some reason these did not get converted into clickable links gemini://gemini.techrights.org/2021/09/13/irc-log-120921/index.gmi [18:18] Techrights-sec http://techrights.org/2021/09/13/irc-log-120921/ [18:18] Techrights-sec has clickable Gemini links [18:18] -TechrightsBN/#boycottnovell-techrights.org | IRC Proceedings: Sunday, September 12, 2021 | Techrights [18:20] Techrights-sec i see now. Will look. [18:20] schestowitz-TR thanks, I reckon better to catch that fast as it did work last week, e.g. [18:22] schestowitz actually, two weeks ago: gemini://gemini.techrights.org/2021/08/25/irc-log-240821/ [18:29] *Techrights-sec has quit (Ping timeout: 2m30s) [18:29] *libertybox has quit (Ping timeout: 2m30s) [18:29] *schestowitz-TR has quit (Ping timeout: 2m30s) [18:36] *schestowitz-TR (~acer-box@qhduu73fcjmdn.irc) has joined #boycottnovell [18:36] schestowitz-TR I left out a key CSS class [18:36] *Techrights-sec (~quassel@qhduu73fcjmdn.irc) has joined #boycottnovell [18:37] Techrights-sec I left out a key CSS class [18:37] Techrights-sec Ok. It's all set going foward. The last week or so would [18:37] Techrights-sec have to be updated manually though. Perhaps let it be? [18:37] Techrights-sec gemini://gemini.techrights.org/2021/09/13/irc-log-120921/ [18:37] *libertybox (~schestowitz_log@qhduu73fcjmdn.irc) has joined #boycottnovell [18:38] schestowitz-TR yes, it's no big deal at all; but assuming hundreds are to come, was better to have it sorted. all the other posts are usable already./ ● Sep 13 [20:37] *activelow has quit (connection closed) [20:37] *activelow (~activelow@77ji9rtgsrhts.irc) has joined #boycottnovell [20:39] *psydroid3 has quit (connection closed) ● Sep 13 [21:30] *psydroid2 has quit (connection closed) ● Sep 13 [22:03] *psydroid2 (~psydroid@cqggrmwgu7gji.irc) has joined #boycottnovell [22:13] *activelow has quit (Ping timeout: 2m30s) [22:34] *activelow (~activelow@ekxkqb93kydms.irc) has joined #boycottnovell