●● IRC: #boycottnovell @ Techrights IRC Network: Saturday, July 30, 2022 ●● ● Jul 30 [00:16] *britney has quit (Ping timeout: 2m30s) [00:25] *psydroid2 has quit (connection closed) ● Jul 30 [03:27] schestowitz-TR config'd rianne's barrier, tuxmachines-new (access to site, ssh keys), some other desktop stuff on a dedicated machine ● Jul 30 [04:29] schestowitz-TR config'd rianne's barrier, tuxmachines-new (access to site, ssh keys), some other desktop stuff on a dedicated machine [04:29] schestowitz-TR I've just done another quick post to remind people who Microsoft obstructs Linux booting [04:29] schestowitz-TR it needs to be repeated ad infinitum ● Jul 30 [05:08] schestowitz-TR Over 1,000 Brits Die Each Week With COVID-19 (Far Worse Than Prior Summers), BBC Pretends COVID-19 Ceased to Exist https://schestowitz.com/Weblog/archives/2022/07/30/over-1000-brits-die-each-week-with-covid-19-far-worse-than-prior-summers-bbc-pretends-covid-19-ceased-to-exist/ [05:08] -TechrightsBN/#boycottnovell-schestowitz.com Blog Archive Over 1,000 Brits Die Each Week With COVID-19 (Far Worse Than Prior Summers), BBC Pretends COVID-19 Ceased to Exist ● Jul 30 [07:30] *DaemonFC has quit (Quit: Leaving) [07:32] schestowitz-TR rebooting the HV, I think (maybe not) [07:36] *Disconnected (Remote host closed socket). [07:37] *Now talking on #boycottnovell [07:37] *Topic for #boycottnovell is: TechRights.org | Channel #boycottnovell for http://TechRights.org | Free Software Sentry watching and reporting maneuvers of those who oppose software freedom :: please also join channels #techrights and #boycottnovell-social [07:37] *Topic for #boycottnovell set by schestowitz!~roy@haii6za73zabc.irc at Tue Jun 1 20:22:10 2021 [07:37] *liberty_box (~liberty@hcdms2vr9hu9e.irc) has joined #boycottnovell [07:37] *chunky (~chunky@wa5c3nj9mkua2.irc) has joined #boycottnovell [07:37] *Despatche (~desp@u3xy9z2ifjzci.irc) has joined #boycottnovell [07:37] *viera (~viera@njsz8uc49vydg.irc) has joined #boycottnovell [07:37] *qa2 (~sid145515@frp6gv52kp9fi.irc) has joined #boycottnovell [07:37] *libertybox_ (~schestowitz_log@hcdms2vr9hu9e.irc) has joined #boycottnovell [07:37] *libertybox (~schestowitz_log@hcdms2vr9hu9e.irc) has joined #boycottnovell [07:37] *Noisytoot (~noisytoot@y56qsb6r6yg94.irc) has joined #boycottnovell [07:37] *schestowitz-TR (~acer-box@hcdms2vr9hu9e.irc) has joined #boycottnovell [07:37] *rianne_ (~rianne@hcdms2vr9hu9e.irc) has joined #boycottnovell [07:37] *asusbox (~rianne@hcdms2vr9hu9e.irc) has joined #boycottnovell [07:37] *schestowitz (~roy@hcdms2vr9hu9e.irc) has joined #boycottnovell [07:37] *irc.techrights.org sets mode +q #boycottnovell schestowitz [07:37] *Techrights-sec (~quassel@hcdms2vr9hu9e.irc) has joined #boycottnovell [07:37] *Techrights-sec2 (~quassel@hcdms2vr9hu9e.irc) has joined #boycottnovell [07:38] *spazz (~spazz@urifce6zxwtdi.irc) has joined #boycottnovell [07:38] *TechrightsBN (~b0t@ju4kayhrhsm6a.irc) has joined #boycottnovell [07:38] TechrightsBN Hello World! I'm TechrightsBN running phIRCe v0.77 [07:38] *Seaduck- (~seaduck@ys9kag65kxsiu.irc) has joined #boycottnovell [07:38] *XFaCE (~XFaCE@uzfeivw9fp6ba.irc) has joined #boycottnovell [07:38] *schestowitz[TR2] (~schestowitz[TR]@hcdms2vr9hu9e.irc) has joined #boycottnovell [07:38] *schestowitz[TR] (~schestowitz[TR]@hcdms2vr9hu9e.irc) has joined #boycottnovell [07:38] *wallacer (~quassel@6bsu33ajs4zs4.irc) has joined #boycottnovell [07:40] *u-amarsh04 (~amarsh04@5tcc2vuaj9aks.irc) has joined #boycottnovell [07:41] *mjg59_ (~mjg59@ajm54sra9b86c.irc) has joined #boycottnovell [07:41] *MinceR (~mincer@bringer.of.light) has joined #boycottnovell [07:41] *irc.techrights.org sets mode +a #boycottnovell MinceR [07:54] schestowitz-TR thr reboot ought to have fixed the disk issues, details in irc logs circa 7am today (you probablt want [07:54] schestowitz-TR to read that) [07:54] schestowitz-TR I've decided to wait for you before we make a procedural approach to reconstructing the tmux session [07:54] schestowitz-TR on the new VMs, likely tuxmachines [07:54] schestowitz-TR under uder "tuxmachines" I've started a tmux session which for now has only one pane, for TR [07:54] schestowitz-TR I think we can consoliate nmon, apachetop, firewall, ddos protection etc. in that one session [07:54] schestowitz-TR and make it persistent across reboots by using some settings file ● Jul 30 [08:04] *rianne has quit (Quit: Konversation terminated!) [08:04] *rianne_ has quit (Quit: Konversation terminated!) [08:04] *rianne_ (~rianne@hcdms2vr9hu9e.irc) has joined #boycottnovell [08:04] *rianne (~rianne@freenode-i33.jp8.7132oi.IP) has joined #boycottnovell [08:23] Techrights-sec2 acck [08:23] Techrights-sec2 gm [08:23] Techrights-sec2 the tmux session had only the two scripts [08:23] Techrights-sec2 though I guess the same session could have apachetop [08:23] Techrights-sec2 what dimensions should it be? There might be a way to fix those dimensions [08:23] Techrights-sec2 in the session so that when a wrong sized window is attached it doesn't resize [08:23] Techrights-sec2 but instead waits without changing. [08:24] schestowitz-TR gm [08:24] schestowitz-TR TIL tmux-256color is a thing [08:24] schestowitz-TR and some versions of tmux do not support it [08:24] schestowitz-TR in TR under /root [08:24] schestowitz-TR we have two shell scripts [08:25] schestowitz-TR one for apachetop [08:25] schestowitz-TR one monitor-techrights [08:25] schestowitz-TR the latter creates two panes, with one just running standard top [08:27] Techrights-sec2 one tracks http the other sshd on new TM [08:28] schestowitz-TR inventory: nigel's monitor (nmon,), tuxmachines old and new http, TR http, firewall, ddos protection if turned on [08:34] Techrights-sec2 tmux-3.3a-r0 [08:39] schestowitz-TR yeah [08:39] schestowitz-TR consolidating everything in one session that survives reboots sans remote ssh connections (we can do key-based ssh) [08:39] schestowitz-TR would be ideal [08:39] schestowitz-TR I wish to start adding images, what would you suggest as base dir? we'll reuse these images [08:39] schestowitz-TR I don't want to add imagemagick but I can quickly, e.g. from my machine toss small images from [08:39] schestowitz-TR my machine to news.tuxmachines.org, then 'hotlink' from tuxmachines.org to them [08:39] schestowitz-TR and link locally in news.tuxmachines.org [08:39] schestowitz-TR a lot of images are reusable, e.g. good mug of torvalds for kernel announcments [08:42] Techrights-sec2 Are they site images? Then /Images is where the could go [08:42] Techrights-sec2 If they are for posts, then we should make a subdirectory ther [08:42] Techrights-sec2 It'd be best to keep the content separate from the "infrastructure", it makes [08:42] Techrights-sec2 things easier to manage. [08:42] Techrights-sec2 Yes /Features can work [08:42] Techrights-sec2 Double check that permissions are OK [08:42] schestowitz-TR I don't think subdirs would be needed as many images will be reused and adding more (long) path levels would slow down the linking process [08:42] schestowitz-TR maybe /Features/imagename.jpg [08:42] schestowitz-TR OK [08:42] schestowitz-TR this means tuxmachines.org (old) will not hotlink in new nodes anymore [08:43] schestowitz-TR but use the sister subdomain [08:48] Techrights-sec2 "hotlinking" generally refers to linking to objects on another domain / server [08:52] Techrights-sec2 img.samdomain.suffix [08:52] Techrights-sec2 cdn.xxxxxx.xxxxxx [08:52] Techrights-sec2 bbl in some mins [08:52] Techrights-sec2 testing the workflow [08:52] Techrights-sec2 can you remind me the css button block type/syntax? [08:53] schestowitz-TR img.samdomain.suffix [08:53] schestowitz-TR cdn.xxxxxx.xxxxxx [08:53] schestowitz-TR bbl in some mins [08:53] schestowitz-TR testing the workflow [08:53] schestowitz-TR can you remind me the css button block type/syntax? [08:53] Techrights-sec2 iirc [08:53] Techrights-sec2 ... ● Jul 30 [09:03] schestowitz-TR how does it check for hotlinking? it rejects https://news.... [09:03] -TechrightsBN/#boycottnovell-Could not resolve host: news; Unknown error ( status 0 @ https://news ) [09:03] Techrights-sec2 it checks for absolute links, it can probably be tuned to skip the local [09:03] Techrights-sec2 domain (with a bit of work though) [09:03] Techrights-sec2 relative links would work best and be portable; they are necessary once [09:03] Techrights-sec2 news.tuxmachines.org becomes tuxmachines.org and the former retired or repurposed [09:11] schestowitz-TR i just wanted a domain dpscified that would work across old and new [09:14] Techrights-sec2 absolute paths will break in the near future and possibly again in the more [09:14] Techrights-sec2 distant future [09:15] schestowitz-TR OK, see latest node [09:15] schestowitz-TR uses 30% so it scales as the browser is resized [09:20] schestowitz-TR I seem to recall the button looking different the first time you showed it to me [09:20] schestowitz-TR so I assume you have tweaked it further, esp. padding and colours? [09:21] Techrights-sec2 checking [09:21] Techrights-sec2 yes, it looked different, the gradient is missing from this one though it [09:21] Techrights-sec2 is in the CSS. There may be a conflicting rule in place. [09:26] *psydruid (~psydruid@jevhxkzmtrbww.irc) has joined #boycottnovell [09:29] schestowitz-TR it looked better when I saw it the first time around, I'll make more test pages of this kind now [09:29] schestowitz-TR if Ic an find any news [09:29] Techrights-sec2 [09:29] Techrights-sec2 Found the conflict, ... [09:29] Techrights-sec2 kludge in place [09:30] schestowitz-TR ah, nice, much better now [09:30] schestowitz-TR I'll do a test page shortly, a cluster re raspi [09:30] schestowitz-TR different template type [09:36] schestowitz-TR I retrofit this into "old" site atm [09:36] schestowitz-TR need to bypass caches to test [09:36] schestowitz-TR the css is heavily cached and condensed [09:36] schestowitz-TR --------------------------------------------------- [09:46] schestowitz-TR added a cluster-type node with locally-hosted image [09:46] schestowitz-TR now catching up with tmux here, sorry, was focusing on one thing at a time [09:47] Techrights-sec2 ok slightly less kludgy [09:47] Techrights-sec2 The image floats over too far though. Checking... [09:47] Techrights-sec2 the image has many problems, one is that it is a full image and then "scaled" [09:47] Techrights-sec2 in the browser, instead of a thumbnail. The markup is missing a width and [09:47] Techrights-sec2 height as well. Lacking those, the rendinging goes much more slowly. [09:47] Techrights-sec2 I wonder what, short of Imagemagick, can be used to measuer the width and height? ● Jul 30 [10:04] schestowitz-TR just showed rianne how images are done and 00-README [10:04] schestowitz-TR but she iw working today and tomorrow [10:04] schestowitz-TR not yet ready to post in 2 places [10:04] schestowitz-TR oh, wow [10:04] schestowitz-TR counterpunch [10:04] schestowitz-TR 2 stories again on sat. [10:04] schestowitz-TR they used to do like 51 aka "weekend edition" [10:04] schestowitz-TR so they're cutting [10:04] schestowitz-TR talk about bucking the trend [10:04] schestowitz-TR scheer post is doing ok [10:04] schestowitz-TR it's t he new truthdig [10:04] Techrights-sec2 the new site would render the image much better without the inline styles [10:04] Techrights-sec2 ack [10:04] Techrights-sec2 ok [10:04] Techrights-sec2 ack [10:06] schestowitz-TR the inline stile assumed bland white BG [10:06] schestowitz-TR which is now ahat we have in new [10:06] schestowitz-TR we'll tweak over time.. [10:06] schestowitz-TR I don't want to use "too" advanced CSS [10:06] schestowitz-TR as many browsers do not support that [10:06] schestowitz-TR so you treat some people as "second class" [10:06] schestowitz-TR apropos, with locally hosted images we can reuse them in gemini [10:06] schestowitz-TR e.g. by softlinking them in the gemini dirs [10:11] schestowitz-TR "Running FreshRSS has been a great experience. So much so that I almost forgot that I had Feedly account, despite using it for more than a decade." gemini://warmedal.se/~bjorn/posts/2022-07-30-i-just-left-feedly.gmi [10:11] schestowitz-TR RSS is garlic to the GAFAM vampire [10:21] Techrights-sec2 ack [10:34] *u-amarsh04 has quit (Quit: Konversation terminated!) [10:34] *u-amarsh04 has quit (Quit: Konversation terminated!) [10:37] *u-amarsh04 (~amarsh04@5tcc2vuaj9aks.irc) has joined #boycottnovell [10:37] *u-amarsh04 (~amarsh04@freenode-rmogvn.g0d7.dtdf.mc4289.IP) has joined #boycottnovell [10:40] schestowitz-TR sooo.... the tmux on alpine has colour in tmux itself, but programs like nmon and [10:40] schestowitz-TR apachetop do not seem to work [10:40] schestowitz-TR they want tmux-256color [10:40] schestowitz-TR I alreayd tried workaround [10:40] schestowitz-TR wait, this is strange, even htop and top won't run [10:40] schestowitz-TR if I hope to another machines from TM-new over ssh [10:42] Techrights-sec2 If you're doing it that way, you should run tmux on your local computer and [10:42] Techrights-sec2 then in each of the various panels SSH into the remote systems. [10:42] Techrights-sec2 That ought to work a bit more reliably [10:43] schestowitz-TR 1) many are running locally on the server [10:43] schestowitz-TR 2) I shsare them with you sometimes [10:43] schestowitz-TR 3) lcoally I have lots of screenspace, no need for multiplexer [10:43] Techrights-sec2 ok [10:52] Techrights-sec2 apachetop is not available in Alpine [10:53] schestowitz-TR that's OK, I originally installed it from a third party source to better understand patterns and block accordingly [10:53] schestowitz-TR in a hurry [10:58] Techrights-sec2 something at ipv4 address 81.154.171.101 is hammering the feed every few seconds [10:58] Techrights-sec2 should we block it ;) [10:59] schestowitz-TR no [10:59] schestowitz-TR this is a checker [10:59] schestowitz-TR I will slow it down ● Jul 30 [11:02] Techrights-sec2 what is it checking for? there is a much better way. [11:02] Techrights-sec2 it has filled the logs, displacing everything else [11:03] schestowitz-TR I started running it some days ago to detect new pages being added and chain it to the "old" style IRC stuff [11:03] schestowitz-TR but forgot to pace it down while testing [11:03] schestowitz-TR hence grep -v feed [11:07] Techrights-sec2 -v won't include records that have been displaced [11:07] Techrights-sec2 we can add a hook to the tm-add-entry-sql.pl or the wrapper script so that [11:07] Techrights-sec2 you can get pinged somehow, [11:07] Techrights-sec2 MQTT might be of use [11:07] Techrights-sec2 ^MQTT over TLS [11:08] schestowitz-TR I've longer wanted to automate these, but that can go horribly wrong after downtime and then flood the channel [11:08] Techrights-sec2 right now the log files consist almost only of the feed queries and we might [11:08] Techrights-sec2 as well turn off logging completely to save space [11:08] Techrights-sec2 similar for Git vs sshd [11:10] schestowitz-TR that typically runs once in 200 seconds, for the old site [11:10] schestowitz-TR some daysago when testing I removed a zero [11:10] schestowitz-TR that was excessive [11:11] Techrights-sec2 yes, and the log rotation is quite short [11:11] Techrights-sec2 Can you use the hook script mentioned the other day? [11:12] schestowitz-TR git is checked every 10 mins [11:12] schestowitz-TR it's about 140 times a day and usually just gets idnetical checksum [11:15] *DaemonFC (~daemonfc@6vrwsc2us544y.irc) has joined #boycottnovell [11:28] schestowitz-TR (i totally agree with you, btw, there's lots of stuff long overdue for improvement, [11:28] schestowitz-TR I'm still undecided on the tmux monitoring as the problem domain changed) [11:28] schestowitz-TR a) tea [11:28] schestowitz-TR v0 did not sleep engough [11:28] schestowitz-TR c) hence slow, soemtimes staring... mindlessly [11:29] schestowitz-TR d) not pressured in terms of time, everything fits this weekend [11:29] schestowitz-TR e) i work monday, once, then off till next weekend [11:29] schestowitz-TR f) trying to think openly while making tea etc [11:29] schestowitz-TR g) WHAT we need to monitor and HOW [11:29] schestowitz-TR h) lots of attention spam wasted seeing things I did not need to see, force of habit [11:29] schestowitz-TR at the moment two panes in tmux on tm-ne are shared across two PCs here, one is more visible [11:29] schestowitz-TR but I don't know what REALLY needs monitoring, apache issues were ages ago [11:29] schestowitz-TR I monitor the DB of tm-old more closely with system bell since the incident [11:29] schestowitz-TR db issues not happpening for over 2 weeks already, i might be wasting my time watching it [11:29] schestowitz-TR will need to check if after this reboot dmesg still shows any xfs errors [11:29] schestowitz-TR just checked and no such error at all since this morning's reboot [11:29] schestowitz-TR scsi/qemu issue, details in irc logs circa 7am today [11:29] schestowitz-TR (still thinking, going bacck to kitchen) [11:29] schestowitz-TR kitchen thought: should we make a tool that takes image url, downloads it, maybe processes it, [11:29] schestowitz-TR then returns its relative url in "/Features"? [11:29] schestowitz-TR just checked, both curl and wget are installed [11:29] schestowitz-TR that an yield $URL" width=$W height="$H" .. [11:29] schestowitz-TR not even checking the original [11:29] schestowitz-TR if it it being resized the parameters fill those blanks [11:29] schestowitz-TR so then copy paste into the hypetext [11:29] schestowitz-TR I'm slow to type, not tired but slow, odd sleep patterns [11:32] *psydruid (~psydruid@jevhxkzmtrbww.irc) has left #boycottnovell [11:33] Techrights-sec2 ack [11:33] Techrights-sec2 ok [11:33] Techrights-sec2 ack [11:33] Techrights-sec2 yes that kind of tool would help, I think [11:33] Techrights-sec2 unfortunately ImageMagick is likely needed for that, but it is usable in [11:33] Techrights-sec2 as shell script [11:33] Techrights-sec2 Or maybe Perl, again [11:33] Techrights-sec2 yes [11:36] schestowitz-TR I think we can CAN apachtop for now, unless we get some surges and attacks again, then it can come in handy [11:36] schestowitz-TR running it 24/7 gives us nothing [11:36] schestowitz-TR I detect downtimes in better ways, if I'm not AFK [11:36] schestowitz-TR nmon was good when we didn't have mitigations for TM [11:36] schestowitz-TR over the past week it has not given any essential alrt [11:36] schestowitz-TR so sod Nigfelk's Monitor too [11:36] schestowitz-TR I got accustomed to thinks that just made noise, like "SEO" or "ego surfing" [11:36] schestowitz-TR or "checking stats"... waste of time, all of them... for a ffirmation [11:36] schestowitz-TR If I get alerted that a site is slow I can fire up those tools and investigate [11:36] schestowitz-TR php has funcions for resizing images, but like many others those are (IIRC) wrappers for imagemagick [11:36] schestowitz-TR or another library [11:36] schestowitz-TR wordpress, drupal, mediawiki uses these... [11:36] Techrights-sec2 I'm not sure there is some CPAN module which refers to GD whatever that is [11:36] schestowitz-TR does perl have something native? webp not essential, png, jpg, maybe gif are common [11:36] schestowitz-TR no bmp, tiff etc. [11:36] schestowitz-TR GD is the common alternative [11:38] schestowitz-TR btw, f* howtoforge, they've blocked me consistently with clownflare for like 4 months already [11:38] schestowitz-TR when lxer and linuxotday link there I cannot even enter [11:38] schestowitz-TR this is the www they tell us is so accessible even blind people can use it [11:38] schestowitz-TR clearly falko isn't running the site [11:38] schestowitz-TR it's run by a total moron [11:38] schestowitz-TR that site did exceptionally well in the digg.com [11:38] schestowitz-TR esp. it's "perfect desktop" series [11:39] Techrights-sec2 ok I'll look in to that, it will requite incron to watch the upload directory [11:40] *psydruid (~psydruid@jevhxkzmtrbww.irc) has joined #boycottnovell [11:44] schestowitz-TR iirc, atm the Features dir contains 2 objects [11:44] schestowitz-TR they're not rescaled [11:44] schestowitz-TR not statically anyway [11:44] schestowitz-TR "old" tuxmachines links to that pair, too [11:44] schestowitz-TR the inline css should not be inline, it can be passed to the css primary file and a class be used instead [11:44] schestowitz-TR it's an old quick 'hack' for rianne and I [11:44] schestowitz-TR with a proper class we can manage it all from one file as we see fit and as firefox reached sub-1% market share [11:44] schestowitz-TR the www is in for a tough time, just like wall street, where standard and poors (s&p) is not hundereds of companies, it's [11:44] schestowitz-TR primarily few like GAFAM and thus a massive bubble [11:45] schestowitz-TR the www is imploding, sites shut down due to a lack of interest from readers and no incentive to write for them [11:45] schestowitz-TR (or no salry for writers)... a vicious cycle [11:45] schestowitz-TR so www will become more webspam and we need to massage tuxmachines into something that can adapt to that [11:45] schestowitz-TR to me, phoronix is a marketing site that occasionally has a useful url in 'articles' [11:49] Techrights-sec2 :( [11:49] Techrights-sec2 inline overrides the others [11:52] schestowitz-TR the old site is not a mess, but it was never elegant either [11:52] schestowitz-TR not even when it was handed over to us back in 2013 [11:52] schestowitz-TR a lot of the enhancements were dirty hacks around drupal's limitations [11:52] schestowitz-TR it's a miracle it stayed in OK shape so long thereafter [11:52] schestowitz-TR with little over 170,000 pages now, not counting Gallery2 [11:52] schestowitz-TR not sure if you noticed, old tuxmachines now scales images with % for new nodes and does the rendering of "Read more" as CSS [11:52] schestowitz-TR I had to unchain css from the combinedd, obfuscated since file [11:52] schestowitz-TR *css file [11:52] schestowitz-TR (mind working slowly) [11:52] Techrights-sec2 ack [11:58] schestowitz-TR I'll take a break too [11:58] schestowitz-TR the moment we divert regulars to the new site the old site's traffic will collapse, as much of the remainign requests will be archives, searches, bots [11:58] schestowitz-TR not new updates [11:58] schestowitz-TR same as when leaving twitter [11:58] schestowitz-TR old stuff does not age well [11:58] schestowitz-TR come to think of it, when alpha goes beta... production [11:58] schestowitz-TR I should let the old one run with the "abd" DB for a few weeks before reverting back and redirecting the pages "missing" [11:58] schestowitz-TR then, tuxmachines.org front page should be something like in techrights.org front page [11:58] schestowitz-TR with many places one can go, inc. gemini [11:58] schestowitz-TR the rss feeds will obv. become a redirect [11:58] schestowitz-TR maybe we'll add a new section with original articles and advocacy of gnu/linux [11:58] schestowitz-TR news.tuxmachines.org will be one of several portions ● Jul 30 [12:27] schestowitz-TR Travel Fatigue and US hospitality gemini://midnight.pub/posts/1088 [12:29] *psydroid2 (~psydroid@memzbmehf99re.irc) has joined #boycottnovell ● Jul 30 [13:14] *Despatche has quit (Quit: Read error: Connection reset by deer) [13:40] *Despatche (~desp@u3xy9z2ifjzci.irc) has joined #boycottnovell ● Jul 30 [14:20] Techrights-sec2 back [14:20] Techrights-sec2 I think it makes more sense to have the images in Images and the site's own [14:20] Techrights-sec2 images can be in some other directory [14:20] Techrights-sec2 instead [14:20] Techrights-sec2 The resizing took only a few minutes to figure out, it uses Image::Scale [14:20] Techrights-sec2 but working out the details for the work flow are taking a bit. I'm not sure [14:20] Techrights-sec2 if a reboot is needed for inotify to finish installing [14:21] schestowitz-TR it makes practical sense to keep these isiolated so backups can skip the directory as it grows larger [14:21] schestowitz-TR (maybe at x10 times higher the rest of the site) [14:25] Techrights-sec2 yes that is part of the reason [14:26] Techrights-sec2 ok now to figure out inotify in Alpine [14:27] schestowitz-TR I thought it waas file system (kernel) feature merely inherited by the OS [14:27] Techrights-sec2 yes, thus I wonder if a reboot is required [14:27] Techrights-sec2 there is also some configuration required too, but I think I have that set [14:27] Techrights-sec2 (perhaps) [14:53] schestowitz-TR Fast-forward [14:53] schestowitz-TR bin/tm-scale-and-process-image.pl | 121 ++++++++++++++++++++++++++++++++++++++ [14:54] schestowitz-TR 1 file changed, 121 insertions(+) [14:54] schestowitz-TR create mode 100755 bin/tm-scale-and-process-image.pl [14:54] schestowitz-TR 2022-07-30 14:35 | Links: 2022-07-30.txt [14:54] schestowitz-TR Git: 2022-07-30 09:20 | Git-TM: 2022-07-30 14:35 | Links: 2022-07-30.txt [14:54] schestowitz-TR :) ● Jul 30 [15:05] Techrights-sec2 np [15:05] Techrights-sec2 incrond started, but not sure if it is enabled after a reboot [15:05] Techrights-sec2 but probably it is starting [15:06] schestowitz-TR sounds like alpine would be very challenging as a desktop :-) [15:06] schestowitz-TR then again, that's not its purpose and target users [15:18] Techrights-sec2 I like it's leanness but taking shortcuts on manual pages is not saving much [15:18] Techrights-sec2 of any space and kind of goes against the nature of things but its mostly [15:18] Techrights-sec2 quite good otherwise [15:18] Techrights-sec2 it's now set up such that image files which are uploaded to /var/www/tuxmachines.org/uploads/ get processed and put in /var/www/tuxmachines.org/htdocs/Images/ [15:18] Techrights-sec2 along with a thumbnail and a matching text file containing the corresponding [15:18] Techrights-sec2 markup [15:18] Techrights-sec2 Perhaps there should be a check to only try to proces files named *.jpeg, *.jpg, [15:18] Techrights-sec2 *.png, and *.gif but for now it tries any which show up in the directory [15:18] Techrights-sec2 and drops out if the file is not a proper image; if it is an image then it is [15:18] Techrights-sec2 processed and moved [15:18] Techrights-sec2 The old images still have to be removed from Images, what should the new [15:18] Techrights-sec2 directory for the site's images be called, I'm kind of at a loss for a moment [15:18] Techrights-sec2 maybe just "I" or "i" or maybe the post images should be in "i" since there [15:18] Techrights-sec2 is an "n" [15:20] schestowitz-TR i seems good [15:20] schestowitz-TR probably lowercase [15:20] schestowitz-TR if I understand correctly, [15:20] schestowitz-TR I wget IMAGE_URL [15:20] schestowitz-TR then wait a bit [15:20] schestowitz-TR thn open a text file with the html in it to the resize image [15:21] Techrights-sec2 ok [15:21] Techrights-sec2 yes, just a sec [15:21] Techrights-sec2 wget --directory-prefix /var/www/tuxmachines.org/uploads/ ... [15:21] Techrights-sec2 then after a few seconds look in /var/www/tuxmachines.org/htdocs/i/ [15:21] Techrights-sec2 wget --directory-prefix /var/www/tuxmachines.org/uploads/ ... [15:21] Techrights-sec2 todo: add provision for recogizing SVGs but skipping the scaling [15:22] schestowitz-TR We very seldom use such files [15:22] schestowitz-TR as they are barely used (they should be used more but sites transform them to raster space) [15:22] schestowitz-TR maybe due to "old" browsers [15:28] schestowitz-TR we add about 15k pages per year, maybe 7k of them have an image, so we can estimate sizes [15:28] schestowitz-TR I still need to figure out the best way to handle page updates [15:28] schestowitz-TR in drupal we used the comments section for updates [15:29] Techrights-sec2 hmm Image::Scale cannot recognize SVG :( [15:29] Techrights-sec2 what kind of page updates? The wrapper script updates the HTML automatically [15:30] schestowitz-TR like, system76 has some product and later 10 more sites write about it [15:30] schestowitz-TR and we add those too to the page [15:32] Techrights-sec2 there is a wrapper script for updating posts, update-and-refresh-from-db.sh [15:32] Techrights-sec2 Of course the new information would have to be part of the body [15:32] Techrights-sec2 the date modified gets updated automatically and that is what is one of the [15:32] Techrights-sec2 criteria for inclusion in the feeds [15:32] Techrights-sec2 Yes the title could also be changed [15:33] schestowitz-TR yes, I'm thinking of the format [15:33] schestowitz-TR and whether to also change the date to bump it back up to the front page [15:33] schestowitz-TR and alter headline with "UPDATE" ststus [15:33] schestowitz-TR I need to practice that some more, as does rianne [15:33] schestowitz-TR I think latest on top, not bottom, for the new updates [15:35] Techrights-sec2 We do not track the hour/minute/second of the update. Just the date. [15:35] Techrights-sec2 So the day's batch is a day's batch. But if it is essential to have a strict [15:35] Techrights-sec2 chronological sequence then a timestamp can be added to the keys table and [15:35] Techrights-sec2 included in the sort [15:35] Techrights-sec2 ^sorting [15:38] schestowitz-TR it's fine as it is [15:38] schestowitz-TR years ago a reader from germany said it was hard to follow the site as he was missing some older stories, which moved to page 2 [15:38] schestowitz-TR if the front page is almost a day's lump [15:38] schestowitz-TR plus summaries/desc [15:38] schestowitz-TR than it'll make skimming easier [15:38] schestowitz-TR inc. newly updated (on the day) news [15:38] schestowitz-TR rss readers treat duplicates differently [15:38] schestowitz-TR and dor xml/rss [15:38] schestowitz-TR some show items with updated titles again [15:38] schestowitz-TR some do not unless the url change [15:38] schestowitz-TR depending on criterion/a for duplicate/new item [15:38] Techrights-sec2 the batch is n days worth of posts or n posts, whichever is the larger size [15:42] *DaemonFC has quit (Quit: Leaving) ● Jul 30 [16:08] Techrights-sec2 ok [16:48] *schestowitz has quit (Ping timeout: 2m30s) [16:49] *schestowitz has quit (Ping timeout: 120 seconds) [16:55] *schestowitz (~roy@hcdms2vr9hu9e.irc) has joined #boycottnovell [16:55] *irc.techrights.org sets mode +q #boycottnovell schestowitz [16:55] *schestowitz (~schestowi@freenode/user/schestowitz) has joined #boycottnovell ● Jul 30 [17:00] *schestowitz has quit (Ping timeout: 2m30s) [17:02] *schestowitz has quit (Ping timeout: 120 seconds) [17:06] *britney (~britney@muarsy2vret2q.irc) has joined #boycottnovell [17:07] *schestowitz (~roy@hcdms2vr9hu9e.irc) has joined #boycottnovell [17:07] *irc.techrights.org sets mode +q #boycottnovell schestowitz [17:07] *schestowitz (~schestowi@freenode/user/schestowitz) has joined #boycottnovell [17:11] *Now talking on #boycottnovell [17:11] *Topic for #boycottnovell is: TechRights.org | Channel #boycottnovell for http://TechRights.org | Free Software Sentry watching and reporting maneuvers of those who oppose software freedom :: please also join channels #techrights and #boycottnovell-social [17:11] *Topic for #boycottnovell set by schestowitz!~roy@haii6za73zabc.irc at Tue Jun 1 20:22:10 2021 [17:11] *schestowitz (~roy@hcdms2vr9hu9e.irc) has joined #boycottnovell [17:11] *irc.techrights.org sets mode +q #boycottnovell schestowitz [17:11] *Now talking on #boycottnovell [17:11] *schestowitz (~schestowi@freenode/user/schestowitz) has joined #boycottnovell [17:26] *psydroid2 has quit (connection closed) [17:28] *psydroid2 (~psydroid@memzbmehf99re.irc) has joined #boycottnovell [17:28] schestowitz-TR first reboot after 102 days [17:28] schestowitz-TR after full system update [17:28] schestowitz-TR will take advantage of this to re-arrange EVERYHTUNG [17:28] schestowitz-TR based on EXISTING workflow [17:28] schestowitz-TR not old habits [17:28] schestowitz-TR this takes a lot of thinking [17:28] Techrights-sec2 it seemed the connection broke [17:28] schestowitz-TR the temptation to run back to the familiar [17:28] Techrights-sec2 ack [17:28] *psydroid2 has quit (connection closed) ● Jul 30 [18:08] *psydroid2 (~psydroid@memzbmehf99re.irc) has joined #boycottnovell [18:09] *schestowitz[TR] has quit (Quit: Ex-Chat) [18:13] schestowitz-TR darn, I mostly came back to the old workflow [18:13] schestowitz-TR it means I'm not improving it [18:13] schestowitz-TR I am goint to abandon tmux @ TR [18:13] schestowitz-TR it had it purpose in the past [18:21] Techrights-sec2 ack [18:21] schestowitz-TR updating the pi fully [18:21] schestowitz-TR now backing it up (/home) [18:21] schestowitz-TR to make best use of this wash-off [18:22] schestowitz-TR WordPress to Gemini gemini://szczezuja.flounder.online/gemlog/2022-07-30-Wordpress-to-Gemini.gmi [18:23] Techrights-sec2 yes reboots and such are an opportunity to ensure that everything is up to date [18:28] *britney has quit (Ping timeout: 2m30s) [18:43] schestowitz-TR ok, almost happy with all the changes [18:43] schestowitz-TR will go show rianne how to post [18:43] schestowitz-TR ok, rianne has just posted her first page [18:44] Techrights-sec2 ack [18:44] Techrights-sec2 excellent, was the workflow and process acceptable? [18:48] *britney (~britney@muarsy2vret2q.irc) has joined #boycottnovell [18:58] *psydruid (~psydruid@jevhxkzmtrbww.irc) has left #boycottnovell [18:58] *psydruid (~psydruid@jevhxkzmtrbww.irc) has joined #boycottnovell ● Jul 30 [19:29] *techrights-news (~techrights-news@hcdms2vr9hu9e.irc) has joined #boycottnovell [19:48] schestowitz-TR is the image resizer operational already? [19:48] schestowitz-TR can I try it? [19:48] schestowitz-TR ah, ok [19:49] Techrights-sec2 not sure, it's untested [19:49] Techrights-sec2 sure try it just look out for mistakes and oversights, such as the [19:49] Techrights-sec2 inability to handle SVG [19:49] Techrights-sec2 THough SVG is XML so it may just be a matter of using an XML parser to [19:49] Techrights-sec2 pull out two attributes from the right element(s) [19:54] schestowitz tuxmachines-new:/var/www/tuxmachines.org/htdocs/i$ ls -la ../../uploads/ [19:54] schestowitz total 12 [19:54] schestowitz drwxr-sr-x 2 tuxmachines webmasters 37 Jul 30 18:52 . [19:54] schestowitz drwxrwsr-x 8 tuxmachines webmasters 101 Jul 30 11:44 .. [19:54] schestowitz -rw-r--r-- 1 tuxmachines webmasters 8825 Jul 30 18:52 terminal-linux-logo.png [19:54] schestowitz-TR ok, so I added a png file to uploads [19:54] schestowitz-TR now I check under i/ [19:55] Techrights-sec2 it is intended to function when a file lands in /uploads the file gets moved [19:55] Techrights-sec2 to /i along with a thumbnail and a text file containing the markup. The text [19:55] Techrights-sec2 file probably ought to be deleted once the markup is collected [19:55] Techrights-sec2 I see the problem, I missed adding the module. It's not in the repository, [19:55] Techrights-sec2 it'll have to be added manually. [19:55] Techrights-sec2 Checking ... [19:55] schestowitz-TR thanks ● Jul 30 [20:13] Techrights-sec2 it'll take quite a while there are some prereqisites which are not easy to [20:13] Techrights-sec2 solve in Alpine [20:13] Techrights-sec2 at least not for me [20:14] schestowitz-TR in the meantime I'll use the Features directory [20:14] schestowitz-TR as a sort of fallback of sorts [20:14] *psydruid (~psydruid@jevhxkzmtrbww.irc) has left #boycottnovell [20:14] *psydruid (~psydruid@jevhxkzmtrbww.irc) has joined #boycottnovell ● Jul 30 [21:53] *psydruid (~psydruid@jevhxkzmtrbww.irc) has left #boycottnovell [21:53] *psydruid (~psydruid@jevhxkzmtrbww.irc) has joined #boycottnovell [21:58] *psydruid (~psydruid@jevhxkzmtrbww.irc) has left #boycottnovell [21:58] *psydruid (~psydruid@jevhxkzmtrbww.irc) has joined #boycottnovell [21:58] *britney has quit (Ping timeout: 2m30s) ● Jul 30 [22:03] *psydruid (~psydruid@jevhxkzmtrbww.irc) has left #boycottnovell [22:03] *psydruid (~psydruid@jevhxkzmtrbww.irc) has joined #boycottnovell [22:05] *DaemonFC (~daemonfc@uc6wq4andxjyk.irc) has joined #boycottnovell [22:25] *u-amarsh04 has quit (Quit: Konversation terminated!) [22:25] *u-amarsh04 has quit (Quit: Konversation terminated!) [22:37] *u-amarsh04 (~amarsh04@5tcc2vuaj9aks.irc) has joined #boycottnovell [22:37] *u-amarsh04 (~amarsh04@freenode-rmogvn.g0d7.dtdf.mc4289.IP) has joined #boycottnovell [22:39] *britney (~britney@muarsy2vret2q.irc) has joined #boycottnovell ● Jul 30 [23:11] *britney has quit (Ping timeout: 2m30s) [23:12] *britney (~britney@muarsy2vret2q.irc) has joined #boycottnovell [23:38] Techrights-sec2 the research won't be so quick but I figure it's solveable [23:48] *psydroid2 has quit (connection closed)