Toots for algernon@trunk.mad-scientist.club account

Written by ... (FKA Gergely Nagy 🐁) on 2024-12-22 at 09:42

The last character of my username is gone, and this account can now be found over at @algernon@come-from.mad-scientist.club.

Come say hi.

=> More informations about this toot | View the thread

Written by ... (FKA Gergely Nagy 🐁) on 2024-12-20 at 23:13

Casual reminder that this account is migrating over to @algernon@come-from.mad-scientist.club in the very near future.

The process will try to migrate followers, but it is not a 100% reliable process. If you wish to continue seeing me toot, preemptively following the new account would ensure you do.

=> More informations about this toot | View the thread

Written by ... (FKA Gergely Nagy 🐁) on 2024-12-18 at 13:01

Notification bot moved over to the new instance. My display name here is getting dangerously short.

=> More informations about this toot | View the thread

Written by ... (FKA Gergely Nagy 🐁) on 2024-12-15 at 00:50

Hrm. This @FediTree thing sounds interesting. I wonder how my tree looks?

=> More informations about this toot | View the thread

Written by ... (FKA Gergely Nagy 🐁) on 2024-12-07 at 15:01

For the record: I am moving to @algernon@come-from.mad-scientist.club. It's going to take a bit, because I want to make sure the new place is comfy and nice, before I fully commit.

My last migration was in 2017, and I migrated off of mastodon dot social, I wasn't leaving much behind. It's different now, so I'm being more careful.

=> More informations about this toot | View the thread

Written by ... (FKA Gergely Nagy 🐁) on 2024-12-05 at 05:52

I need #readeck in my #tusky.

=> More informations about this toot | View the thread

Written by ... (FKA Gergely Nagy 🐁) on 2024-12-05 at 03:26

Like, anything behind Cloudflare. Without a user agent, it never considers me a human. I dunno about anyone else, but I find this hilarious.

In my head, the scenario is like this: there's a place everyone wants to go to. A lot of robots go there, say "I AM HUMAN", and are admitted in. A lot of cyborgs, and people staring at their phones, not even bothering with responding to the prompts just walk by, entering freely.

When I arrive, bare naked as I was born, no machinery in sight, the guards look at me like a freak. How is this person without computers? That's not a real person. Go away.

=> More informations about this toot | View the thread

Written by ... (FKA Gergely Nagy 🐁) on 2024-12-05 at 03:21

I accidentally cleared my browser's user agent. Surprisingly many places suddenly stopped working.

=> More informations about this toot | View the thread

Written by ... (FKA Gergely Nagy 🐁) on 2024-12-04 at 23:49

sighs at rspamd

goes and writes an exception

=> View attached media

=> More informations about this toot | View the thread

Written by ... (FKA Gergely Nagy 🐁) on 2024-12-04 at 22:36

Someone on an instance that federated with Threads, and has followers from there, please boost this toot, so Meta will block my instance: :female_presenting_nipple:

Thank you!

=> More informations about this toot | View the thread

Written by ... (FKA Gergely Nagy 🐁) on 2024-12-04 at 14:30

Nice.

=> View attached media

=> More informations about this toot | View the thread

Written by ... (FKA Gergely Nagy 🐁) on 2024-12-04 at 12:51

Cursed.

Could be improved further, to use DynamicUser=true. I'd just need to LoadCredentials the secret files first. But that's a task for another day.

=> More informations about this toot | View the thread

Written by ... (FKA Gergely Nagy 🐁) on 2024-12-04 at 02:33

Setting up Attic to cache my package builds has sped up my CI quite a bit.

Compare these two runs:

Oh, and this also means that eventually, all of the things I build in CI, and are public, will be available from my binary cache. That will be neat, too.

=> More informations about this toot | View the thread

Written by ... (FKA Gergely Nagy 🐁) on 2024-12-04 at 01:59

In this current case I've been banging my head against, I'm doing some funky #systemd & #NixOS magic.

The idea is that the NixOS module for this particular app will have a config and a secret-files option set for the services.$program attribute. The latter is something to fill with sops-nix file paths and stuff.

At build time, I will replace any values in secret-files with #path.to.key (eg, secret-files.something.token = "blah" will become secret-files.something.token = "#something.token#).

Then, the systemd service fille will have an ExecStartPre=, which calls a script that replaces all the #blah# tokens in the config file template, and shoves it in $RUNTIME_DIR/etc/config.toml, and the program will use that.

This way the secrets aren't in the store, aren't in environment variables, and the config file only lives as long as the service is running, and is pretty much bound to it in every possible way.

I wouldn't have to do this, if said app would be able to load secrets from files itself, but alas... I could just encrypt the entire configuration file, but that's going to be a big fat nope.

Working with encrypted files is a pain in the ass, and I want most of my configuration in the clear, and documented - not something I can reasonably do when the entire config file is encrypted. Not in a way I want to, anyway (embedded comments are not documentation).

=> More informations about this toot | View the thread

Written by ... (FKA Gergely Nagy 🐁) on 2024-12-04 at 01:14

Services that can't pull secrets from files referenced in their configuration are my bane. Especially those that don't use environment variables either.

I don't want to put credentials in a config file which I plan to version control. I'd prefer not to put secrets in environment variables either, but I can compromise on that.

But when the service does not support either that makes me very sad.

=> More informations about this toot | View the thread

Written by ... (FKA Gergely Nagy 🐁) on 2024-12-02 at 13:23

Neat. The statusbar is now updating with totals collected via libnethogs.

I "just" need to figure out how to handle the cards themselves. I have a few ideas, will see which one sticks.

=> More informations about this toot | View the thread

Written by ... (FKA Gergely Nagy 🐁) on 2024-12-02 at 09:00

Ok, this is going pretty well so far, and I think I like where it is going.

=> View attached media

=> More informations about this toot | View the thread

Written by ... (FKA Gergely Nagy 🐁) on 2024-12-02 at 00:50

Thanks to @jankatins, I'm now aware that nethogs has a libnethogs library, and it does pretty much everything I need from it. It's reasonably comfortable to use, too. So much so that I made a Nix derivation for it, and have a tiny tool that just prints the updates as they come.

So the data collection part is taken care of! Now to figure out what kind of UI I want.

I definitely do not want a Column View. That would be pretty much the same as nethogs, but with more pixels and without a terminal. I'm not looking to translate the TUI app to GNOME.

No, I'll take a different approach. What do I want to see? I want to see which applications are hogging my network. I'm usually interested in the top few. I'm not interested in an overview, I don't want to see all of them, just the top ones.

So I first considered a Grid View, where each item is just the application name, and the download speed. Clicking on an item would show more details about the process (owner, pid, totals, that kinda stuff). However, this would still display too much information, and... I just didn't like how it looked.

So I browsed the GTK4 and Adwaita widgets, and... I think I found something interesting: Adwaita's Carousel!

I know, I know, sacrilege! A carousel! ARE YOU MAD?!

Why, yes, I am, but hear me out! A carousel (vertical, with bars for navigation) shows one item a time, where I can immediately list all the info I need. It would show the worst offender by default, but I'd add a toggle button somewhere to pin it to whatever I'm currently viewing. If I want to look for the second or third offender, I'd just... scroll.

I think I'm liking this idea.

=> More informations about this toot | View the thread

Written by ... (FKA Gergely Nagy 🐁) on 2024-12-01 at 14:15

Hrm. If I want to move @doctor over to my GtS instance, I will have to promote myself to admin here, which means losing my fancy "Luddite" "rank".

Or... I can create a dedicated admin account. I will be keeping this instance running for a good while, even after I migrated my main accounts.

=> More informations about this toot | View the thread

Written by ... (FKA Gergely Nagy 🐁) on 2024-12-01 at 09:37

Is there something like nethogs, but with a GUI? (preferably GTK/GNOME)

=> More informations about this toot | View the thread

=> This profile with reblog | Go to algernon@trunk.mad-scientist.club account

Proxy Information
Original URL
gemini://mastogem.picasoft.net/profile/14284
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
438.471197 milliseconds
Gemini-to-HTML Time
4.915043 milliseconds

This content has been proxied by September (ba2dc).