smart fans

2021-08-21 Thread Emanuel Berg
o/ Is there a way to have "smart fans" that only go as fast as needed? Or, lacking that, is there a way to manually switch them off when one isn't using the computer? I do $ sudo hibernate -v 0 but that seems to kill the Internet connection as well :( I managed to output the GPU/CPU tempera

Re: smart fans

2021-08-21 Thread Emanuel Berg
Polyna-Maude Racicot-Summerside wrote: > Maybe you are playing in something you don't really master > the ins and out of the consequence of what you may do. > And this is proven by the simple sentence that *hibernation > cut Internet*. Unless you have a good reason to risk frying > your CPU then l

Re: smart fans

2021-08-22 Thread Emanuel Berg
Polyna-Maude Racicot-Summerside wrote: > You compare something running with a USB power supply versus > something requiring hundred of watts of power. ? Ah, you mean _you_ are comparing. The power supply. > Other than this, they are happy as they are. You mean there is no way to disable or set

Re: smart fans

2021-08-22 Thread Emanuel Berg
Polyna-Maude Racicot-Summerside wrote: > I'll add. the CPU in a Raspberry Pi is meant to be used in > embedded application and other stuff like a cellular phone > for example. Well, I used the RPi3 as my main computer for a long time. One had to use omxplayer, a special media player, tho, and whe

FOSS "BIOS" (UEFI) (was: Re: smart fans)

2021-08-22 Thread Emanuel Berg
> There is fancontrol (pwdconfig(1)) but I don't get it to > work ... The BIOS (UEFI) can maybe be used but I don't > have/use a mouse and I dislike the UI ... > > $ sudo dmidecode [...] This made me think, is there a FOSS "BIOS" (UEFI) that you can install/flash to replace the manufacturer's? --

Re: FOSS "BIOS" (UEFI) (was: Re: smart fans)

2021-08-22 Thread Emanuel Berg
Reco wrote: >> This made me think, is there a FOSS "BIOS" (UEFI) that you >> can install/flash to replace the manufacturer's? > > Coreboot is what you're thinking of. Supported motherboard's > list is extremely limited though. There is a grub-coreboot package, is that it? And how do you know if

Re: smart fans

2021-08-22 Thread Emanuel Berg
tomas wrote: > Start here [1]. Enjoy. > > [1] https://wiki.archlinux.org/title/Fan_speed_control Yes, but ... $ sudo pwmconfig # pwmconfig version 3.6.0 This program will search your sensors for pulse width modulation (pwm) controls, and test each one to see if it controls a fan on your motherbo

Re: smart fans

2021-08-22 Thread Emanuel Berg
David Christensen wrote: > If you throttle your CPU, it will not generate as much heat: > > https://wiki.debian.org/CpuFrequencyScaling You mean permanently or when I'm not using the computer? > Some motherboards have temperature sensors The GPU seems to be always 41C while the CPU shows a

Re: smart fans

2021-08-22 Thread Emanuel Berg
tomas wrote: >> There are no working fan sensors, all readings are 0. >> Make sure you have a 3-wire fan connected. > ^^ > Well? I'm sure! > This would be the first thing to clear. If your hardware > doesn't play along... game over :-/ Yeah, but if so, why doesn't it?

Re: smart fans

2021-08-22 Thread Emanuel Berg
Polyna-Maude Racicot-Summerside wrote: >>> This would be the first thing to clear. If your hardware >>> doesn't play along... game over :-/ >> >> Yeah, but if so, why doesn't it? > > Why doesn't it? Because it is not implemented, because the > builder of your motherboard made this choice... > > A

Re: FOSS "BIOS" (UEFI) (was: Re: smart fans)

2021-08-22 Thread Emanuel Berg
BIOS seems to be: $ sudo dmidecode -t bios # dmidecode 3.3 Getting SMBIOS data from sysfs. SMBIOS 3.2.0 present. Handle 0x, DMI type 0, 26 bytes BIOS Information Vendor: American Megatrends Inc. Version: 2801 Release Date: 09/18/2019 Address: 0xF Ru

Re: smart fans

2021-08-22 Thread Emanuel Berg
tomas wrote: > Whether three-pin fans can be even be RPM controlled is an > open question (the DC feed could be modulated, I guess, but > I don't know whether it is actually done). But then wouldn't pwmconfig ask for something other than 3-pin, perhaps something I don't have? -- underground exp

Re: smart fans

2021-08-22 Thread Emanuel Berg
Polyna-Maude Racicot-Summerside wrote: > I think you got all the information at hand now. pwmconfig fails but the error message doesn't add up. Or what's this about fan-divisors? You may also need to increase the fan divisors. See doc/fan-divisors for more information. -- underground expe

Re: smart fans

2021-08-22 Thread Emanuel Berg
Polyna-Maude Racicot-Summerside wrote: > You can only throttle it when you go into a close to stop. > But this is really ineffective way of trying to control the > speed. You'll be running at at most a hundred rpm. But then why doesn't pwmconfig ask for 4-pin fans? It asks for 3-pin fans so while

Re: smart fans

2021-08-22 Thread Emanuel Berg
Polyna-Maude Racicot-Summerside wrote: > The significant difference in practice is that 4-pin fans > allow for RPM to change based on the need for cooling > temperature, this reduces noise and power consumption. > While 3-pin can control the voltage, but the voltage can't > turn to change the fan

Re: smart fans

2021-08-22 Thread Emanuel Berg
didier gaumet wrote: > Here is your motherboard user manual [...] > https://rog.asus.com/us/motherboards/rog-strix/rog-strix-b450-f-gaming-model/helpdesk_manual > Look at 3.2.3 section for fan control OK! > I could be entirely wrong but what I would imagine is that > fan control is by default ma

Re: smart fans

2021-08-22 Thread Emanuel Berg
didier gaumet wrote: >> Okay, but is that even possible? > > Yes. If you want more details, read the previous link to an > explanation of differences between 3 and 4 pins connectors: > there are pictures to illustrate different possible > combinations between 3 or 4 pins fan connectors and 3 or 4

Re: FOSS "BIOS" (UEFI)

2021-08-22 Thread Emanuel Berg
The Wanderer wrote: >> There is a grub-coreboot package, is that it? > > No. If you look at the output of > > $ apt-cache show coreboot > > you'll see that it says > > "This is a dependency package for a version of GRUB that has > been built for use with platforms running the > Coreboot firmware."

Re: smart fans

2021-08-22 Thread Emanuel Berg
Polyna-Maude Racicot-Summerside wrote: >> Or what's this about fan-divisors? >> >> You may also need to increase the fan divisors. >> See doc/fan-divisors for more information. >> > See *doc/fan-divisors* for more information. Yeah, but is that supposed to be a path? Or button? What does it

Re: smart fans

2021-08-22 Thread Emanuel Berg
tomas wrote: > I disagree. The thing poses [1] as a DC motor (2 pins power, > one tacho). I don't think you get too much control over RPM That's what you get with the 4th wire/pin? A sensor to read RPM? "What you can't measure, you can't control" -- underground experts united https://dataswamp

Re: smart fans

2021-08-22 Thread Emanuel Berg
The Wanderer wrote: >>> See *doc/fan-divisors* for more information. >> >> Yeah, but is that supposed to be a path? Or button? >> What does it mean? > > It's clearly a reference to a path in the source, or native > non-Debian-packaged build, tree of some relevant package. OK, didn't know this no

Re: FOSS "BIOS" (UEFI) (was: Re: smart fans)

2021-08-22 Thread Emanuel Berg
Polyna-Maude Racicot-Summerside wrote: > Google "Coreboot supported motherboard" ? > > And going to see this page as the first choice > > https://coreboot.org/status/board-status.html Great, so was it on the list? It wasn't, right? Bummer... -- underground experts united https://dataswamp.org

Re: smart fans

2021-08-22 Thread Emanuel Berg
rhkramer wrote: > +1. A voltage controlled DC (computer fan) motor can be > controlled / regulated down to about 40% of full rated speed > (depending on the motor). A PWM (computer fan) motor can be > controlled down to about 20% of full rated speed. I found some web pages that describe the indiv

Re: smart fans

2021-08-22 Thread Emanuel Berg
OK, I was wrong, I just checked the motherboard with a flashlight and there are fan connectors with 4 pins! I also checked my sock drawer and - holy socks! - I found a computer fan from AMD, it comes with a cooling tower as well so I think it's for the CPU, anyway it has a 4-wire! So I'll just conn

Re: smart fans

2021-08-22 Thread Emanuel Berg
It took an even closer look at the motherboard and discovered _all_ connectors are 4-pin. Inside the computer, 3/5 fans are 4-pin and the two on the CPU cooling tower (which are 4-pin, so it checks out) even have "PWM" in their sticker text. If the BIOS/UEFI setting is already PWM, and the connect

Re: smart fans

2021-08-22 Thread Emanuel Berg
David Christensen wrote: > Some of my other machines offer additional governors -- > "powersave" and "userspace". Run "cpufreq-info -g" to see > what Debian offers on your motherboard. $ cpufreq-info -g conservative userspace powersave ondemand performance schedutil > The user's manual: > > http

Re: smart fans

2021-08-22 Thread Emanuel Berg
David Christensen wrote: > The motherboard user's manual says all of the fan connectors > are 4-pin. Indeed, I looked at one of the fan's wires instead of the connector :$ > Changing the supply voltage of a old-school 2-wire fan will > change the speed. These typically have 4-pin power supply >

Re: smart fans

2021-08-22 Thread Emanuel Berg
David Christensen wrote: > I would disconnect the fan wire splitter, disconnect > projector extra fan, and connect the Corsair fan directly to > CHA_FAN1 [...] > > CHA_FAN1 - location? - Corsair, 120 mm 3-pin This fan is at the rear end of the computer, high, air goes out. This is 3-pin so should

Re: smart fans

2021-08-22 Thread Emanuel Berg
didier gaumet wrote: > I would think that pwmconfig complains that it finds 3-pins > fans set up to PWM mode (4-pins required) > > Your UEFI propose either to setup your fans globally or > individually and I think that by default the setup is > global. This would probably be fine il all your fans

Re: smart fans

2021-08-22 Thread Emanuel Berg
David Christensen wrote: > Some of my other machines offer additional governors -- > "powersave" and "userspace". Run "cpufreq-info -g" to see > what Debian offers on your motherboard. I did install and did set it to different governors but the fans seem to go on like the always do regardless? C

Re: smart fans

2021-08-22 Thread Emanuel Berg
David Christensen wrote: > I would figure out what Setup can do with the fans before > messing with the Linux CPU governor. Install software to > display temperatures, to display fan speeds, and to put the > CPU under load. Temperatures of the CPU and GPU I have, #! /bin/zsh # # this file: # h

Re: smart fans

2021-08-22 Thread Emanuel Berg
> Temperatures of the CPU and GPU I have, > > #! /bin/zsh > # > # this file: > # http://user.it.uu.se/~embe8573/conf/.zsh/misc-hw > # https://dataswamp.org/~incal/conf/.zsh/misc-hw > > temperature () { > local gpu=$(sensors -j | jq -a '.["nouveau-pci-0100"].temp1.temp1_input') > local c

Re: smart fans

2021-08-22 Thread Emanuel Berg
OK, I did check out the BIOS/UEFI/Setup and all five fans can be configured individually. There are five options. Control can be disabled, auto (the default), DC, or PWM. Wind-up time is set to 0. Minimum speed is 200 RPM. Profiles were Standard (the default), Silent, Turbo, and Manual. I set

Re: smart fans

2021-08-22 Thread Emanuel Berg
> OK, I did check out the BIOS/UEFI/Setup and all five fans > can be configured individually. There are five options. I spoke to soon, there seems to be only one set of options for the CPU fan, so I guess the CPU_OPT and CPU_FAN are the same in terms of options. Anyway now I've set all 5 to "Sile

Re: smart fans

2021-08-23 Thread Emanuel Berg
David Christensen wrote: > - Set the Linux CPU governor to "powersave". Nothing happens when I do that. > Try the QFan "Silent" profile Same. > What about GPU fan(s)? Power supply fan(s)? > What about HDD's? Yeah, I thought about that. I listened to the fan I had outside of the computer, put

Re: smart fans

2021-08-23 Thread Emanuel Berg
Polyna-Maude Racicot-Summerside wrote: > If you take the option for let say "performance" then it > will be at max speed so the system is the coolest possible > all the time. But changing the profile (governor) doesn't produce any (noticable?) sound level change and also the temperature of the CP

Re: smart fans

2021-08-23 Thread Emanuel Berg
David Christensen wrote: > Changing settings and making measurements at idle is > a starting point. You should also put the machine under load > and make measurements. Yes, but I know already that even with all fans (2*CPU cooling tower, 3*case) at "Silent" and with the powersave governor it stil

Re: smart fans

2021-08-23 Thread Emanuel Berg
tomas wrote: > I say "back then" above, but there seem to be design > parameters which still favour brushes. My reasonably recent > power drill still has brushes. The 18V cordless power tools from Ryobi that I like come in several versions each and the most expensive ones are brushless, often. -

Re: smart fans

2021-08-23 Thread Emanuel Berg
With the 'powersave' governor and all 5 fans "Silent", the CPU temperature, for random/normal computer use, is in (33.25 51.125) and ditto GPU (40 42), and with the 'performance' governor it is ... exactly the same. https://dataswamp.org/~incal/conf/.zsh/misc-hw -- underground experts united htt

Re: smart fans

2021-08-23 Thread Emanuel Berg
Thomas Schmitt wrote: > If nothing else helps to find the culprit, then consider to > unplug all case fans to prove that it's not them. A bit more > adventurous is to run the CPU without fan for a few seconds. Maybe there is an adaptor so one can run them from an USB charger or something ... > (

Re: smart fans

2021-08-23 Thread Emanuel Berg
David Christensen wrote: >> But changing the profile (governor) doesn't produce any >> (noticable?) sound level change and also the temperature of >> the CPU and the GPU seem unaffected. > > You will not notice a change in CPU fan temperature or speed > profiles as a function of the Linux governor

Re: smart fans

2021-08-23 Thread Emanuel Berg
David Christensen wrote: > Nice case. :-) Yeah, I guess :) > The purpose of the plate at the bottom is to form > a thermally isolated chamber for the the power supply. > The unperforated portions of the top surface could be > covered with sound absorbing material. What material would that be?

Re: smart fans

2021-08-23 Thread Emanuel Berg
> db(A): 14.9, 15.9 (2), 14.7 [...] > > Here is the HDD BTW > > $ sudo lshw -class disk > *-disk >description: ATA Disk >product: SAMSUNG HD204UI [...] Here [1] it says "Acoustics – Idle 2.5/2.6 Bel, Performance Seek 2.8/2.9 Bel" So what does that mean, the maximum is 2.9 Bel or

Re: smart fans

2021-08-24 Thread Emanuel Berg
David Christensen wrote: > Doubling the sound energy adds 3 db. So, the two loudest > fans are around 19 dB. > > The HDD is 2.9 Bel = 29 dB. So the total worse-case is 35.4 dB? (With the GPU, PSU and one fan still unaccounted for.) ;;; -*- lexical-binding: t -*- ;;; ;;; this file: ;;; https:/

Re: smart fans

2021-08-24 Thread Emanuel Berg
David Christensen wrote: > For a CPU with N cores (N=4 for an AMD Ryzen 3 3200G?) and > an otherwise unloaded system, your test procedure should be > something like: > >loop over governor choices > set governor > loop 3 times > sleep 60 seconds > print statistics >

Re: smart fans

2021-08-24 Thread Emanuel Berg
The unaccounted for fan is a Corsair A1225M12S. It's noise is 18.9 db(A). So now all mounted fans and the HDD are accounted for, it lands on 37.3 dB if the dB algorithm is correctly understood and implemented (start with the highest, then add 3 dB every time it is doubled). So, that means only th

Re: smart fans

2021-08-24 Thread Emanuel Berg
David Christensen wrote: > These are the equations and conversion factors needed: > > Bel = log10(power) > > power = 10 ** Bel > > 1 Bel = 10 dB > > So, your calculation should be: > > 2021-08-23 23:42:34 dpchrist@dipsy ~ > $ perl -e '$p=0; $p += 10**($_/10) for @ARGV; print > 10*log

Re: smart fans

2021-08-24 Thread Emanuel Berg
> OK, so then the data is > > 5 fans: 23.3 dB > 5 fans and HDD: 30.0 dB OK, so if the HDD is 29 dB and all the five fans just add 1 dB maybe one shouldn't even care about the fan noise ... -- underground experts united https://dataswamp.org/~incal

Re: smart fans

2021-08-24 Thread Emanuel Berg
David Christensen wrote: > I would output a header line and then output each set of > statistics on a single line [...] > > I would avoid doing any math on the data. Save raw values > and deal with math in post-processing [...] > > I would put units into the headers. Save raw values and deal > wit

Re: smart fans

2021-08-28 Thread Emanuel Berg
David Christensen wrote: > You want to watch the test run, so that you can monitor > progress, make adjustments, and/or stop it if things > go badly. Don't worry about it... Here are the 20 first lines of the output: time, governor, processes, CPU temperature C, system load, CPU fan speed RPM,

Re: smart fans

2021-09-03 Thread Emanuel Berg
David Christensen wrote: > Feeding the raw data into LibreOffice Calc was problematic > -- header line field names do not have a one-to-one with > data line field values. I reworked the header line as > follows: > > time, governor, processes, CPU_temperature, system_load, > CPU_fan_spe

Re: smart fans

2021-09-03 Thread Emanuel Berg
David Christensen wrote: >> OK, changed. > > Your data format still has issues. You seem to have got the old file again, check it out again, because some of those issues have already been mentioned/fixed: https://dataswamp.org/~incal/ebchw/cpu.txt -- underground experts united https://datasw

'sudo apt-get update' stall/error

2021-09-05 Thread Emanuel Berg
$ sudo apt-get update ... ? Nothing happens, when I do C-c C-c it says on stderr: Got SIGINT, quitting. Traceback (most recent call last): File "/usr/share/squid-deb-proxy-client/apt-avahi-discover", line 126, in address = get_proxy_host_port_from_avahi() File "/usr/share/squ

static photo album generator

2021-09-26 Thread Emanuel Berg
Is there a static photo album generator in the Debian repos? I.e., you have a bunch of photos in a dir, neat with good filenames etc, you execute the generator program and get a HTML file with thumbnails etc, all done and compliant with good standards and conventions? TIA -- underground experts

Re: static photo album generator

2021-09-26 Thread Emanuel Berg
tomas wrote: > apt search "photo.*album" > > yields 17 hits for me. There are a few among them which > might fit your description. Hm, one of these perhaps album- HTML photo album generator with theme support fgallery - static HTML+JavaScript photo album generator This pelican - blo

Re: static photo album generator

2021-09-26 Thread Emanuel Berg
> fgallery - static HTML+JavaScript photo album generator Hm, HTML and JavaScript, doesn't sound so static ... Maybe it is just the HTML part that is static? Ha. -- underground experts united https://dataswamp.org/~incal

Re: static photo album generator

2021-09-26 Thread Emanuel Berg
Eduardo M KALINOWSKI wrote: >> fgallery - static HTML+JavaScript photo album generator Hm, >> HTML and JavaScript, doesn't sound so static ... > > Static means no server side processing is required (no CGI, > PHP or similar), any web server that can just serve files > is enough. Yeah, but JavaScr

Re: static photo album generator

2021-09-26 Thread Emanuel Berg
Charles Curley wrote: >> Hm, one of these perhaps >> >> album- HTML photo album generator with theme support >> fgallery - static HTML+JavaScript photo album generator >> >> This >> >> pelican - blog aware, static website generator >> >> was recommended to my on #debian at Libe

Re: static photo album generator

2021-09-28 Thread Emanuel Berg
Jonathan Dowland wrote: >> Is there a static photo album generator in the Debian repos? > > Many! > > The last one I used and liked was "lazygal", so called > because if you re-invoke it, it tries to only do the work > necessary to update the generated files to reflect changes, > unlike "llgal" fo

repeated system mail, /etc/.pwd.lock ?

2021-05-04 Thread Emanuel Berg
I get system mail all the time - I've got 2757 at the moment - that tells me that [ 4/Apr/2021 22:11:33] IN_CLOSE_WRITE /etc/.pwd.lock * /etc/.pwd.lock is closed Any clues what that problem might be? TIA -- underground experts united https://dataswamp.org/~incal

IPFS tools not in the repos?

2021-05-04 Thread Emanuel Berg
Uhm... why aren't the IPFS tools in the Debian repos? Very interesting stuff! https://ipfs.io/ -- underground experts united https://dataswamp.org/~incal

Re: repeated system mail, /etc/.pwd.lock ?

2021-05-04 Thread Emanuel Berg
Darac Marjal wrote: >> I get system mail all the time - I've got 2757 at the >> moment - that tells me that >> >> [ 4/Apr/2021 22:11:33] >> IN_CLOSE_WRITE /etc/.pwd.lock >> * /etc/.pwd.lock is closed >> >> Any clues what that problem might be? > > The "IN_" prefix tells you that this is an i

Re: repeated system mail, /etc/.pwd.lock ?

2021-05-04 Thread Emanuel Berg
Darac Marjal wrote: > The "IN_" prefix tells you that this is an inotify event. > IN_CLOSE_WRITE fires when a process _had_ the specified file > open for writing, but has just closed it. Perhaps you have > an "incron" job somewhere? I have cron do two very short scripts every @midnight, these run

Re: IPFS tools not in the repos?

2021-05-04 Thread Emanuel Berg
Celejar wrote: >>> Uhm... why aren't the IPFS tools in the Debian repos? >>> >>> Very interesting stuff! >>> >>> https://ipfs.io/ >>> >> >> Well, most likely because nobody found it useful enough and >> also because it is go and js based which are not really >> friendly for packaging with thei

Re: IPFS tools not in the repos?

2021-05-04 Thread Emanuel Berg
>>> Well, most likely because nobody found it useful enough >>> and also because it is go and js based which are not >>> really friendly for packaging with their tendency to >>> introduce the dependency hell. >> >> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=779893 > > Oh, OK, so it is Go. >

Re: repeated system mail, /etc/.pwd.lock ?

2021-05-04 Thread Emanuel Berg
>> The "IN_" prefix tells you that this is an inotify event. >> IN_CLOSE_WRITE fires when a process _had_ the specified >> file open for writing, but has just closed it. Perhaps you >> have an "incron" job somewhere? > > I have cron do two very short scripts every @midnight, these > run fine indivi

Re: repeated system mail, /etc/.pwd.lock ?

2021-05-04 Thread Emanuel Berg
Kushal Kumaran wrote: > The manpage at > https://manpages.debian.org/buster/iwatch/iwatch.1.en.html > shows log output similar to what you see. Check your iwatch > configuration and see what it is doing. Thanks, but I've never heard of iwatch, so I haven't mucked around with its config file. But

Re: repeated system mail, /etc/.pwd.lock ?

2021-05-04 Thread Emanuel Berg
David Wright wrote: > $ aptitude why iwatch i openssh-client Suggests monkeysphere i A monkeysphere Suggests monkeysphere-validation-agent i A msva-perl Provides monkeysphere-validation-agent i A msva-perl Recommends liblinux-in

Re: repeated system mail, /etc/.pwd.lock ?

2021-05-04 Thread Emanuel Berg
David Wright wrote: > might help determine why you installed iwatch. Oh, so I did? Well then, I'll just remove it! -- underground experts united https://dataswamp.org/~incal

Re: repeated system mail, /etc/.pwd.lock ?

2021-05-05 Thread Emanuel Berg
David Wright wrote: > Myself, I find inotify-tools more useful: I use inotifywait > in a loop, waiting for a browser to close files in its > cache. I then examine their filetype and copy the ones > I want, giving them sensible (timestamp) names. Very useful > for capturing (typically, live) video.

Re: repeated system mail, /etc/.pwd.lock ?

2021-05-05 Thread Emanuel Berg
Greg Wooledge wrote: > I interpreted it as literally being thousands of instances > of the *same* file, the one shown in the Subject: header and > in the original message body. They were all from iwatch, but they were so many I don't know if they were exactly the same, and now I don't get any (ma

Re: repeated system mail, /etc/.pwd.lock ?

2021-05-05 Thread Emanuel Berg
David Wright wrote: > Yes, it was an assumption, and perhaps now we shall never > know. (Sampling the emails didn't appeasr to be an option.) > We also were not told whether 2757 notifications came in > over a week, a month, a year, or since openssh-client was > installed, whenever that was (possi

Re: repeated system mail, /etc/.pwd.lock ?

2021-05-09 Thread Emanuel Berg
Jonathan Dowland wrote: > On Wed, May 05, 2021 at 03:51:16PM +0200, Emanuel Berg wrote: > >> I learned something as well, how to delete mails. First see >> how many mails there are, say there are 756, then type >> t 1-756 RET and then hold down q :) > > That's

Re: repeated system mail, /etc/.pwd.lock ?

2021-05-09 Thread Emanuel Berg
David Wright wrote: > FYI: > > I installed iwatch, and that immediately generated two messages from > /etc/.etckeeper. Then I upgraded: > > apt apt-doc apt-utils bind9-host curl dnsutils exim4 > exim4-base exim4-config exim4-daemon-light > firefox-esr firefox-esr-l10n-en-gb gstreamer1.0-gl > g

generate a rss.xml from a bunch of HTML files

2021-05-09 Thread Emanuel Berg
How can I generate a rss.xml from a bunch of HTML files? Tho one would think this to be quite a simple tool of parsing the HTML and outputting the RSS XML dialect, I can't find any tool... tt-rss maybe, but when I install it it tries to setup a MySQL database which fails. I don't know why, but i

Re: generate a rss.xml from a bunch of HTML files

2021-05-09 Thread Emanuel Berg
Dan Ritter wrote: >> I don't know why, but it seems too involved anyway, there >> isn't a webpile2rss tool like this or something: >> >> $ webpile2rss *.html > rss.xml # sweet > > There isn't one packaged in Debian, but there are libraries > packaged which would allow you to build one. ... no

Re: generate a rss.xml from a bunch of HTML files

2021-05-09 Thread Emanuel Berg
Dan Ritter wrote: > hugo, jekyll, lektor, nanoc, staticsite, pelican ... unless they can be told by way of options perhaps to do just the HTML-to-RSS part? -- underground experts united https://dataswamp.org/~incal

Re: generate a rss.xml from a bunch of HTML files

2021-05-09 Thread Emanuel Berg
Andrei POPESCU wrote: >> ... no one did it? :O > > In FLOSS this usually means nobody else needed it. Impossible in this, basic case. The static generator guys who also did the RSS as mentioned already needed it, and did it, only not modular to fit this purpose (IIUC from reading here). > Why do

Re: generate a rss.xml from a bunch of HTML files

2021-05-09 Thread Emanuel Berg
> I have a blog, just a bunch of HTML5/CSS files, absolutely > nothing advanced, and I'd like an RSS file which is > generated from the HTML files (not the CSS, so even simpler > actually) so I for example can submit it [to Gwene] and read > it with Gnus Speaking of Emacs (Emacs Gnus), in GNU ELPA

Re: generate a rss.xml from a bunch of HTML files

2021-05-09 Thread Emanuel Berg
Dan Ritter wrote: ... no one did it? :O >>> >>> In FLOSS this usually means nobody else needed it. >> >> Impossible in this, basic case. The static generator guys who >> also did the RSS as mentioned already needed it, and did it, >> only not modular to fit this purpose (IIUC from reading he

Re: generate a rss.xml from a bunch of HTML files

2021-05-09 Thread Emanuel Berg
The Wanderer wrote: > One possible difference is that the ones I've looked at > (admittedly nowhere near all of them) seem to expect the > input to be in some other format, to be translated into HTML > etc., rather than letting you write the HTML etc. > directly and doing [whatever other things] w

Re: generate a rss.xml from a bunch of HTML files

2021-05-09 Thread Emanuel Berg
Charles Curley wrote: > Right. However, as I found out asking elsewhere, you can > include HTML in Markdown. Hehehe, let's see, first write HTML, then include it in Markdown, then have the static site generator generate HTML... brilliant :) -- underground experts united https://dataswamp.org/~i

Re: generate a rss.xml from a bunch of HTML files

2021-05-09 Thread Emanuel Berg
davidson wrote: >> How can I generate a rss.xml from a bunch of HTML files? >> >> Tho one would think this to be quite a simple tool of >> parsing the HTML and outputting the RSS XML dialect, >> I can't find any tool... > > XSLT is a language that is sort of made for describing this > kind of tran

Re: generate a rss.xml from a bunch of HTML files

2021-05-10 Thread Emanuel Berg
Andrei POPESCU wrote: > Except that an HTML to RSS converter is is basically useless > by itself. Well, it is (would be) useful in my setting which thanks heaven includes other tools and programs :) -- underground experts united https://dataswamp.org/~incal

Re: generate a rss.xml from a bunch of HTML files

2021-05-10 Thread Emanuel Berg
Andrei POPESCU wrote: >> let's see, first write HTML, then include it in Markdown, >> then have the static site generator generate HTML > > Surely there must be some site generator with RSS support > that takes "plain" HTML as input. I don't know, if so one would like to know what tool they use t

Re: generate a rss.xml from a bunch of HTML files

2021-05-10 Thread Emanuel Berg
Dan Ritter wrote: > The static refers to this: the pile of data is processed > when you assemble it, not when a viewer asks for it Well, of course not... -- underground experts united https://dataswamp.org/~incal

Re: generate a rss.xml from a bunch of HTML files

2021-05-10 Thread Emanuel Berg
davidson wrote: > ...and this somewhat more complex-looking one... > > "W3C RSS 1.0 News Feed Creation How-To" > https://www.w3.org/2001/10/glance/doc/howto Great, but stops on and , these are HTML5 tags: http://html5doctor.com/the-figure-figcaption-elements/ so either we must change the X

Re: generate a rss.xml from a bunch of HTML files

2021-05-10 Thread Emanuel Berg
>> ...and this somewhat more complex-looking one... >> >> "W3C RSS 1.0 News Feed Creation How-To" >> https://www.w3.org/2001/10/glance/doc/howto > > Great, but stops on and , these are > HTML5 tags: > > http://html5doctor.com/the-figure-figcaption-elements/ > > so either we must change the XSL

Re: generate a rss.xml from a bunch of HTML files

2021-05-10 Thread Emanuel Berg
After having limited success with XSLT after a lot of work, and after failing doing a grammar that would add two ints, I don't feel like doing all HTML to RSS :D LOL - have a look https://dataswamp.org/~incal/rss/parser/add.grm What's wrong? Looks right to me! That's SML BTW, maybe it's the ver

Re: generate a rss.xml from a bunch of HTML files

2021-05-10 Thread Emanuel Berg
David Wright wrote: > AFAICT no trees will be destroyed or animals be harmed when > you throw away any output that is generated in excess of > what you want. Haha :) -- underground experts united https://dataswamp.org/~incal

Re: generate a rss.xml from a bunch of HTML files

2021-05-10 Thread Emanuel Berg
The Wanderer wrote: > I parsed the question as being about whether the resulting > rss.xml would be compatible with the input data, rather than > with the rest of the output data generated by the > static generator. > > That is: if you write a set of HTML files completely by hand > (using no gener

Re: generate a rss.xml from a bunch of HTML files

2021-05-10 Thread Emanuel Berg
>> I parsed the question as being about whether the resulting >> rss.xml would be compatible with the input data, rather >> than with the rest of the output data generated by the >> static generator. >> >> That is: if you write a set of HTML files completely by >> hand (using no generators at all),

Re: generate a rss.xml from a bunch of HTML files

2021-05-11 Thread Emanuel Berg
David Wright wrote: > BTW I downloaded one of the pages [...] just out of > interest, the code looked laid out very clearly — quite > unlike so many web pages I see. Well, thank you, pretty simple HTML I'd imagine but I guess one can screw up even simple tasks... > Having read through the rather

Re: generate a rss.xml from a bunch of HTML files

2021-05-12 Thread Emanuel Berg
David Wright wrote: > Here you go Thanks! -- underground experts united https://dataswamp.org/~incal

Re: generate a rss.xml from a bunch of HTML files

2021-05-12 Thread Emanuel Berg
Greg Wooledge wrote: > Going directly to https://interglacial.com/tpj/26/ > gives 403. Now it is 403 but the other day I got 404 so it seems the webmaster is working on the situation... -- underground experts united https://dataswamp.org/~incal

cannot mount smartphone anymore

2021-06-11 Thread Emanuel Berg
I use to use this little zsh #! /bin/zsh mount-smartphone () { jmtpfs $(mktemp -d phone.XX) } alias smph=mount-smartphone to mount the Samsung Galaxy Note 2 LTE GT-N7105 16GB (t0lte, Android 4.4.2) smartphone filesystem in my $HOME. But suddenly it doesn't work, it says: Dev

Re: cannot mount smartphone anymore

2021-06-12 Thread Emanuel Berg
deloptes wrote: >> But suddenly it doesn't work, it says: >> >> Device 0 (VID=04e8 and PID=6860) is a Samsung Galaxy models (MTP). >> libusb_get_active_config_descriptor(1) failed: No data available >> no active configuration, trying to set configuration >> libusb_get_active_config_descriptor(2)

Re: cannot mount smartphone anymore

2021-06-12 Thread Emanuel Berg
deloptes wrote: >> I don't remember this was anything one had to do but no, how >> do you do that? > > I don't use iphone/android, but last time I did (2-3 months > ago), when I plugged the cable it prompted on the phone and > asked if I allow the access for this device. If it is not > prompted I

Re: cannot mount smartphone anymore

2021-06-12 Thread Emanuel Berg
deloptes wrote: >> "Device is not authorized for usage", that's probably the >> problem, right? > > google says in context of Ubuntu - USBGuard the package is > also in debian - could be you have it installed? I did, and when I removed it, it works again! Thanks a lot! Straight expert advice!

Re: cannot mount smartphone anymore

2021-06-13 Thread Emanuel Berg
l0f4r0 wrote: > Removing usbguard is maybe a drastic decision, isn't? > Or maybe you don't want this package anymore for > other reasons? No, why do I need it for? Anyway it is removed now... -- underground experts united https://dataswamp.org/~incal

  1   2   3   4   5   6   >