Incessant tinkerer since the 70’s. Staunch privacy advocate. SelfHoster. Musician of mediocre talent. https://soundcloud.com/hood-poet-608190196

  • 35 Posts
  • 1.85K Comments
Joined 1 year ago
cake
Cake day: March 24th, 2025

help-circle

  • Forgive my lack of understanding, but basically you have set up an automation system that starts/stops/upgrades/updates docker containers, and system management type of tasks? Do you pipe all this data to some type of monitoring dashboard…maybe something like Grafana? It seems like there would be a lot of data points that could/should be monitored. Do you get text/email alerts that confirm all is copacetic or not?

    It sounds spectacular. Maybe a little too complicated for me to wrap my old head around all at once. One of these days, hopefully, I’m going to get AI into the lab as a useful tool and not as just a oddity that takes forever to compute.

    Rock on with yo’ bad self bro! Thanks for sharing.


  • Well, it’s not super difficult. I sort of mash my way through getting data by api by just using curl and then clumsily filtering the output.

    Just yanking your chain bro. But back to your admonishment about the vault. I’ve often wondered about it. We keep secrets in .env files etc. Of course, if a nefarious actor gained entrance to the server, at that point, would a vault help? Just spitballing. My security is pretty tight in my estimation. Some even have told me it’s overboard. However it has served me well over the years without incident, but it is something always in my mind. You’re a programmer, what would you recommend?


  • Great question. The MOTD on Linux stands for “Message of the Day.” It’s a system text file that’s displayed when you log in usually over SSH or to a local terminal. It’s generated and managed by the distro. It can include server info, warnings, or update notices. The MOTD file is typically / etc / motd or / etc / motd.d /. For instance, my example:

    spoiler

    There are messages about upgrading, and since I did an update yesterday morning, I need a system restart. The MOTD will tell you about updates, if you have any zombies running around your server all willy-nilly etc. Some people customize their MOTD as such:

    spoiler

    They can be simple or very involved.

    spoiler

    I’m sure there are more than likely others here who have custom MOTDs. There used to be a program called neofetch that would assist in this. I haven’t played around with neofetch in quite a long time, it’s probably been superceeded by something better or updated.


  • For security, you may want to look at vault for secrets management so you don’t have to expose plaintext secrets in your script.

    Yes, you are correct. For what I’ve got surrounding it as far as security wise, I feel fairly secure, not 100%, but more prudence would be much better. Would you have any recommendations maybe in which direction I could go in?

    I would have just baked an api call to navidrome in a shell script with an interpreter like js and some bash variable manipulation and called it directly from motd.

    Oh well, see now you’re just showing off. LOL I may do that at some later date. I actually had a good time doing what seems like a simple thing, and I learned a thing or three, so a good time was had all around.










  • Any recipe URL — three engines: schema.org JSON-LD (fast), recipe-scrapers Python library (300+ site-specific extractors), AI Smart mode for sites that block scrapers

    So, I can input a url of a recipe, say: https://ciaoflorentina.com/rustic-crusty-bread-recipe/ (no idea who they are, just first search result) and CookTrace imports it correctly? Or are there specific sites that can be imported. How about TikTok recipes? I know, I know…but my lady friend likes trying recipes off of TikTok. Some actually are very good despite the source. She wouldn’t bookmark them, so of course it was a hassle to go find them. I finally found an app called CookGo that would import the recipe off of TikTok in a format we’re all used to sans all the chatter.








  • Every model would respond to the same prompt, then every model would evaluate every other model’s response for accuracy and completeness

    If I understand correctly I sorta kinda do that. I’ll copy and paste one AI’s response into another and prompt something like 'Validate AI response: and paste it in. HAHA I thought I was being tricky but you’re already on it.