Hacker Newsnew | past | comments | ask | show | jobs | submit | stryan's commentslogin

You could try setting it up as a Podman Quadlets, those hook into systemd so you can treat them like a normal service.

> bat it's a useless cat. Cat concatenates files. ANSI colour breaks that.

From the README:

>Whenever bat detects a non-interactive terminal (i.e. when you pipe into another process or into a file), bat will act as a drop-in replacement for cat and fall back to printing the plain file contents

bat works as normal cat for normal uses of cat and a better cat for all those "useless cat" situations we find ourselves in.


I've been working on a tool called Materia[0] for managing Podman Quadlets on hosts; I released a new version last month (and posted it on the September thread) and just merged automatic volume data migration the other day. Next goal is to design a system for downloading and loading remote components, similar to ansible roles. Hopefully I can tie it into the new podman quadlet install/etc commands.

[0] https://github.com/stryan/materia and/or https://primamateria.systems/


There's a (apparently un-substantiated[0]) claim that Plato was buff; "Plato" was apparently a nickname and meant "broad" in Classical Greek, referring to his wrestlers physique.

[0] I heard this claim a long time ago, but according to Wikipedia (https://en.wikipedia.org/wiki/Plato#Life) it's apocryphal. The Talk page has a decent argument for it not being the case.


I've been working on a tool called Materia[0] for managing Podman Quadlets on hosts, GitOps style and I think it's really starting to hit its stride. I just released a new version yesterday: https://github.com/stryan/materia/releases/tag/v0.3.0 .

There's been a couple attempts in this space before but they usually seem to peter out after a while. I'm hoping to avoid that by staying flexible and focusing on just managing files instead of creating a new compose-like DSL. But even if it doesn't become popular I'm just happy I don't have to manage my homelab with Ansible anymore :) .

[0] https://primamateria.systems/


This is really cool! Does it take care of the 'deletion' of everything it creates if you remove config blocks/files etc.?


Yep! Everything is designed to be atomic/deterministic so you don't need to worry about materia itself causing any state drift.


> Seriously, can someone explain to me the actual experienced difference between 2 people having a conversation, and 1 person having a conversation on loudspeaker?

Loudspeaker/speaker phone is a harsh, artificial sound which can be grating to hear. Two people having a conversation while physically present can also automatically adjust their volume, tone, and subject matter depending on the area around them. This often happens unconsciously and is affected by cultural and social norms i.e. some cultures (famously "latin" ones) are louder than others.

If the conversation is happening over loud speaker, the above does not occur. The person on the phone can not adjust their volume/conversation topics to react to the surroundings of the conversation, is solely dependent on the person holding the phone to modulate their volume or change subject matter. The person speaking also can not modulate their volume properly since they need to talk in a certain way to be intelligible over the phone.

I'd assume most people would get annoyed at 2 people loudly talking and arguing in an area where it's expected to be quieter, or even in public at all since the human brain is good at picking out speech among other sounds, since it would be distracting if not second hand embarrassing. But this happens significantly less frequently then the loudspeaker problem due to the aforementioned automatic speech adjustments.


The whole section around DC is..questionable. PG, Fairfax, and Loudoun counties are all in the Tidewater group that extends down to the NC triangle. Meanwhile Montgomery County, which is right over the Potomoc from Fairfax/Loudoun, is in a separate group that's shared with Philadelphia and Ohio? MoCo, Fairfax, and Loudoun are all incredibly similar both culturally and economically (i.e. wealthy DC suburbanites) and should either all be in the Tidewater category or in some separate "Capital Area" nation.


Federal entity should extend to the Rappahanock River


I'm not sure I'd extend it that far, but personally I could see at least to Woodbridge.

Another comment mentions this is based at least partially off original settlement/immigration patterns so I'm willing to be more leniant now, but at the very least inside the Beltway should be Federal entity/Capital area.


Not OP but "podman-systemd.unit.5" used to be the primary Quadlet documentation (a remnant of when it was podman-generate-systemd perhaps?) with every Quadlet file type (.container, .volume, .network, etwc) documented on one page.

The new docs split that out into separate podman-container/volume/etc.unit(5) pages, with quadlet.7 being the index page. So they're still linking to the same documentation, just the organization happened to change underneath them.

If you must see what they linked to originally, the versions docs are still the original organization (i.e. all on one page): https://docs.podman.io/en/v5.6.0/markdown/podman-systemd.uni...


Not podman user (but currently trying to install to give it a shot), this comment stream shows how even the documentation "randomly disappearing" on a project that claims in production-ready or stable state. (Or lack thereof)

On the contrary, docker documentation *is* stable, I had bookmarks from 10-years ago on the *latest* editions, that still work today. The final link may have changed, but at least, there is a redirect (or a text showing that has been moved) instead of plain 404/not-found.

This is a crucial part of the quality applications offer. There might've been 100s of podmans probably since Docker was launched more than 10 years ago, but none came close to maintain high-quality of documentation and user-interface (ie. cli commands, switches). Especially in the backward-compatible way.


The Podman reference section, which is what OP linked to, is a direct web version of the man pages. The main method of accessing it, the man pages, has not changed.

It's a different style of documentation organization: if you want to link to a specific version you should link to the specific version not latest. I won't argue it's necessarily a better way of doing things than Docker, but knowing it's the same thing as what's with the package is nice.


You can tell users that "you are holding it wrong" or fix the actual problem that exists in the first place. Good luck telling millions of people to not to bookmark certain version, instead use this or that... Maybe, add just a redirect, a simple page with the link that says "Hey, this documentation has moved to there, click here".

Just put this thread into a whatever LLM. I overall see 2 major themes here. Compatibility and stability issues, all over the place. Not just documentation, but with other tools. Compose schema v2 does not match the current/latest one, missing functionality (although this one is acceptable at certain level), etc.

Also, as soon as the docs were "posted", it became obsolete/useless/deprecated. I mean, what sort of quality are we talking about here?


I'm lazy by nature so I don't like learning new tools if I don't have to. I've stuck with make, direnv, and my distros package manager instead of learning just or asdf so that I don't need to learn anything new. But mise hits that sweet spot of being a better direnv and a (mostly) better Make that it became worth the effort to try it out and I'm glad I did. It also helps that jdx (the author) really cares about the ergonomics of use and it shows; the documentation is up to date, the commands make sense, and every time I start to get annoyed some paper cut with it I discover there's already a fix for it (like `mise task run task-name` and `mise task-name` being equivalent commands so you don't have to type as much).

If you try to stick to the classic POSIX tools since they're installed everywhere, I urge you to give mise a try anyway. It and fzf are the only programs I've found that are truly worth the extra effort it takes to install them, even if it is just grabbing a binary.


By ”a better Make”, do you mean Mise does phony target task-like recipes better?

Or is it better than Make at actually making things, tracking file and recipe dependencies, detecting what needs to be rebuilt etc?


Sorry, yes I should have clarified I meant as a task-runner! It's also been pretty good at the actual software building part too, but I haven't compared it quite as in-depth yet to make a public comment.


I'll add the 'dtrx' (Do The Right Extraction) as one of those tools that are worth to learn compared to the more basic alternatives


I have a similar thing in my WFH office where Home Assistant will play a chime during at canonical hour[0], plus it plays the Westminster Quarters[1] at 5pm to remind me when the normal work day is ending. I find the chunks of time match up well to work/eat periods[2] versus the granularity of each hour.

[0] https://en.wikipedia.org/wiki/Canonical_hours#Western_rites ; for the work day the main chimes are at 7am, 10am, 12pm, 2pm, 7pm

[1] https://en.wikipedia.org/wiki/Westminster_Quarters

[2] I originally stole the idea from the game Pentiment, which uses the canonical hours as it's in game time system since you're working in a 16th monastery. A web app version of the clock is at https://pentiment-clock.vercel.app/


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: