I’m just this guy, you know?

  • 4 Posts
  • 105 Comments
Joined 2 years ago
cake
Cake day: June 12th, 2023

help-circle
  • I don’t use my computers for modern gaming. Like OP, I prefer tabletop games, though I do speed run crossword puzzles and play some PixelDungeon on my phone when I have spare time. I also built a Retropie, and play some old Atari and PS2 roms on a bored Sunday. My stuff can run Civ IV, which is probably the last title I bought.

    My main systems are for work, or for supporting self-hosted services including local infrastructure, home lab stuff, email, blogs, home automation, media servers, etc, etc. Lately I’ve been getting into SDR projects using RPi or old laptops.

    So, uh… Yeah. Fun stuff, but not so much gaming.





  • As someone on semaglutide therapy, I can share that a large calorie deficit hits you in the wills to live. At some point even just eating feels like a stop at the gas station to fuel up, and it hardly matters whether it’s 87 or 95 octane. Hell, rancid fry oil would even work. At some point, you stop caring whether you eat because it feels like another chore.

    Eventually your metabolism syncs up again with your energy demand and you start getting interested in food, except you’re way more selective about how you’re (edit: spending) acquiring those calories. I almost can’t abide by junk food, fast food, or breaded fried crap anymore. But neither do I want salad or vegetables because they’re “fluffy.” Too much volume, not enough calories. I want about 6 or 10 forks full of food, and then that’s it. And it’d best taste good, or I can’t be bothered. Restaurants easily stop looking like a good deal.

    Anyway that’s a digest of my diary for the last 22 months. Do with the info as you will.



  • Termux (on F-droid) is a userland environment that runs on top of your Android device’s kernel. It has Debian/Ubuntu-like package management system that pulls from repos maintained by the termux team. If the package is available for aarch64, its probably available in the termux repos. Its not so much of an app as it is an alternate userland that runs on top of the same kernel, but can interact with Android a couple of different ways.

    The main Termux app gets you a basic command line environment with the usual tools included in a headless Linux install. From there you can select your preferred repos, do package updates, installs, etc, just like on a desktop or laptop. You could even install a desktop environment and use RDP to access it.

    Then there are some companion apps that are useful:

    • Termux:boot is like a primitive rc.d feature that executes upon boot up any scripts found in the termux ~/.termux/boot directory. You could use the feature to launch an SSH server, or perhaps start your syncthing service when the phone starts up.
    • Termux:Tasker is a Tasker plugin that allows Tasker to launch scripts in .termux/tasker based on whatever triggers or profiles you define in Tasker. For example, stop or start selected services when connected to your home WiFi
    • Termux:API is a set of termux utilities to interact with the Android API, and do things like send messages, interact with the camera or battery, and manipulate system settings.

    So you could install the syncthing package in Termux and (after setting up Termux access for your internal storage) configure it to sync folders from your phone to wherever syncthing syncs. You’d set up a start script under Termux:boot to launch it when your phone starts, or Tasker to start/stop the service on your home WiFi.


  • For the F-droid enabled users, it seems there’s a Syncthing app in the Termux repos:

    ~ $ apt show syncthing
    Package: syncthing
    Version: 1.28.0
    Maintainer: @termux
    Installed-Size: 26.4 MB
    Homepage: https://syncthing.net/
    Download-Size: 7857 kB
    APT-Sources: https://packages.termux.dev/apt/termux-main stable/main aarch64 Packages
    Description: Decentralized file synchronization
    

  • It’s from Latin in- (meaning “in” or “on”) and dorsum (meaning “back”). Indorse comes to English through medieval Latin, and changed forms in the 15th century to endorse, around the time the roots of our modern court system took roots in Florence during the Inquisition.

    The Florentine republic relied heavily on maritime trade, and so the court system was generally modeled around adjudication of Maritime law. Using the older Latin form lets creditors and courts know that the Sovereign is asserting Commerce law, the Law of the Land.

    Am I making this up? Maybe.







  • No worries, the other poster was just wasn’t being helpful. And/or doesn’t understand statistics & databases, but I don’t care to speculate on that or to waste more of my time on them.

    The setting above maxes out at 24h in stock builds, but can be extended beyond that if you are willing to recompile the FTL database with different parameters to allow for a deeper look back window for your query log. Even at that point, a second database setting farther down that page sets the max age of all query logs to 1y, so at best you’d get a running tally of up to a year. This would probably at the expense of performance for dashboard page loads since the number is probably computed at page load. The live DB call is intended for relatively short windows vs database lifetime.

    If you want an all-time count, you’ll have to track it off box because FTL doesn’t provide an all-time metric, or deep enough data persistence. I was just offering up a methodology that could be an interesting and beneficial project for others with similar needs.

    Hey, this was fun. See you around.


  • #### MAXLOGAGE=24.0
    Up to how many hours of queries should be imported from the database and logs? Values greater than the hard-coded maximum of 24h need a locally compiled `FTL` with a changed compile-time value.
    

    I assume this is the setting you are suggesting can extend the query count period. It still will only give you the last N hours’ worth of queries, which is not what OP asked. I gather OP wants to see the cumulative total of blocked queries over all time, and I doubt the FTL database tracks the data in a usable way to arrive at that number.