doosbooxcapjamesg[d]: I'm using my 3 as server right now, but it's kinnda borked. I can't upgrade b/c dependency issues that can't be solved without upgrading... I decided to configure the 2 to take over. A fresh start with less crap (i.e. no damn Rust) and config based on what I've learned from my usage.
doosbooxthe problem is that I start with a fresh image running Debian Buster, upgrade to Bullseye, and then after reboot it can't regain network connection. I have no idea why
doosbooxbut I've replicated that error today, meaning I know there's something in Bullseye that breaks it. Going to try with a different OS this evening. Probably Ubuntu Core
capjamesg[d]I use this formula for calculating relevance: return _score + Math.log((1 + (doc['incoming_links'].value)) * 3.5) + Math.log((1 + (doc['word_count'].value)));
jaylamodoosboox: if you're configuring from scratch anyway give pyinfra a try. All my pis are disposable now. It's like ansible but easier to get into. Supports idempotency etc
hs0ucy, nertzy, chenghiz_, akevinhuang2 and kogepan joined the channel
capjamesg[d]Despite adding all of the features we talked about yesterday -- aside from having an algorithm to determine how often to poll something -- there are still feeds that I have to download and parse every hour.
[KevinMarks]People are neglecting that now? You could also use a sha256 of the content as a proxy etag, though that only really helps after you fetch it again.
ZegnatI do not think I have them either. Probably because the server in front of PHP doesn’t keep track. It would have to be my PHP code regenerating the page and then sending an etag. At that point the server has already done all the work to create the document though, and default setup is to just send it back. It wastes the bandwidth, but does not really waste CPU as the document had to be created anyway.
GWGFor now, based on limited support, I'm going to calculated the last modified date of a feed after parsing it, and if it isn't updated since the stored date, I will just stop, saving the time of updating all feed items.
hendursaga, j12t, [snarfed] and [jeremycherfas] joined the channel
petermolnarso theorecitally if the content changes in the background and that process is unrelated to a request - like a cron job - then it can invalidate the fastcgi cache
akevinhuang, tetov-irc, Seirdy, akevinhuang2 and hs0ucy joined the channel