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

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/


Maybe you're thinking of BlueChi[0]? It used to be Red Hat project called 'hirte' and was renamed[1] and moved to the Eclipse foundation for whatever reason. It lets you control systemd units across nodes and works with the normal systemd tools (D-bus etc).

[0] https://github.com/eclipse-bluechi/bluechi

[1] https://www.redhat.com/en/blog/hirte-renamed-eclipse-bluechi


Oh that might be it! Of course I couldn't find it, what with the rename and now it's part of Eclipse (?)

Seemed quite promising to me at the time, though it seem they've changed the scope of the project a little bit. Here's an old post about it: https://www.redhat.com/en/blog/introducing-hirte-determinist...


> the Bible (lots of really dry stuff about begetting and knowing)

I'd suggest replacing the Bible with just the Gospels (Matthew, Mark, Luke[0], and John). Removing it entirely seems like a mistake since you'd lose a lot of the literary and moral underpinnings of Western culture, but having to read the bible in its entirely sounds exhausting. I did it (reading all four gospels) recently and can attest even outside of the religious aspects the retelling of the same tragic story in four different was is a fascinating literary experience.

[0] Technically we should through Acts in there too since Luke-Acts are essentially one book, but it's not a gospel so I left it out. Plus quite frankly while I did read it I found it way more boring than the others; turns out that Jesus fellow is a way more interesting main character than Paul :)


I think the Bible can mostly be distilled to Genesis, Exodus and the Gospels without losing too much. Each of those books is eminently legible in its own right. You could arguably make the sermon on the mount its own book, “communist manifesto” style.

I think those individual chapters would be super compelling to modern readers with or without a religious background, but their legibility is held back by the rest of the Bible’s contents. How is someone non-religious supposed to figure out that it’s ok to start reading a book at section 2, chapter 1? :)


It's argued that God had a plan (all-knowing). The compelling argument to read the Old Testament in full before the New Testament is that this whole thing was a deliberate sequence. That's if you are willing to entertain the notion on a literary level (forget about belief). Take the story of Samson for example, one argument is that God showed that humans would persecute a man whom humanity couldn't even contemplate could have gotten his powers from God. It's a setup for Christ.

You can distill if you are looking for moral teachings, but you can't if you want to know this guys (that guy up in the sky) full plan, in which case you have to entertain that it was a sequence of events. It's very weird, but almost makes going through the whole Bible fascinating as a serial drama. One thing led to another.


I totally agree. I think for theological reasons (if your goal is to convince yourself that Jesus is the Messiah of the Abrahamic religions), then it can’t be distilled.

However, I do think the abrahamic origin stories (genesis), the tribulations of the Jewish people in Egypt and reception of the Ten Commandments (exodus), and the moral teachings of Christ that replace those commandments (gospels) are more or less self-contained and free-standing, if you’re trying to understand them at face value.

The gospels in particular contain a good moral teachings that are arguably more valuable than anything else in the book. Like really clear directives on how to live and carry yourself.

In my Weird Bible, I’d cold open with the sermon on the mount, followed by the Pharisees and the passion, and recursively hyper-link to every New Testament or Old Testament thing that supports those “primary” stories. I feel like if you arranged the Bible into a neat “tree” structure that way, the main load-bearing trunks would be the books mentioned.


I appreciate your points. Morality is what most people want to take away from all of these books, but the thing they want to leave behind is one requirement that God seems to have, and that's straight up obedience. Obedience doesn't really fit inside morality, and in fact if you just distill morality out, obedience won't make it. The Old Testament hammers home the need for obedience to God's laws in story after story, until finally God just kinda lets us know that "hey you guys really cannot follow the law, so lets shift to a relationship framework with Christ". That's how I've been making sense of WHAT the Old Testament is in the context of the sequence, and further, why I don't ignore it because it seems to be he values both morality and obedience (and again, obedience doesn't fit into morality - Just the story of Abraham and his son, there's nothing moral about it).

It's a thoroughly Christian view, that being humans lack the capacity to follow God's laws because we're inherently sinners - but that's a whole nother' can of worms. It's kind of like a Kindergarten teacher (God) letting the kids run the show for a day (Old Testament), just to make it clear, they can't manage it. It's quite a thing to believe such a supreme being would run a sequence like that on us (in fact, that's how I make sense of a lot of the craziness in the world, that God would in fact let things run its course, however messed up (even in modern times, e.g - the narcissistic scale of social media, wars, factory slavery in China, migrant slavery in Mideast construction projects, abject poverty in the third world, pure greed and gluttonous abundance in the west, drug epidemics that rival plagues, etc, where all of these things are just as Biblically fucked up as parts of the Bible)). It's my only case for why the Old Testament is quite relevant to understanding the fullness of God. In short, the desire to understand how and why God would work in this way leads me to consider the entirety of the Bible, beginning to end.

Fun topic!


I appreciate yours! And agreed it’s a fun topic :)

I don’t have much more to add but I’d really recommend you to read Tolstoy’s “Confession / What I Believe”, because I think you’d find it fascinating even if you don’t agree with it completely.

He has a metaphor (in a very Tolstoy-esque way), in which the world is like this bountiful, picturesque farm filled with sharp, durable tools, beasts of burden, rich soil, and so on. It was given to us and filled with people who each have their own slice of it, who eventually grow jealous and guard their slice and think themselves better than everyone else. The garden overflows with weeds, the well runs dry, so on. And then God rolls up and is like “how did you guys manage to mess it up so bad this time??”, fixes everything, and then tries to give us rules to prevent the disarray from occurring again. People start off ok, but then we invent new rules or ignore the existing rules in our own self interest, backslide, rinse and repeat.

Tolstoy’s thesis is basically that we’ve done the same thing to Jesus and the sermon on the mount that the Pharisees did to the Ten Commandments. i.e. constructed all these artifices and dogma that somehow allow Christianity to coexist with authoritarian, hierarchical, violent structures in our own self interests. We’ve let the garden spoil. No wonder the world is biblically messed up :)

Anyways that’s the core thesis but there are many other fascinating ideas in there, I really recommend giving it a try!


Right up my alley (very much aligns with I've been thinking), will absolutely check it out!


Yes, but the Gospels are "complete." You obviously gain much by reading the OT before it—not to mention the apocrypha like Enoch and Jubilees which are quoted directly and indirectly in the NT—but the Gospels have the entire "message" contained within them.


Isaiah for the poetic language and imagery deeply embedded in Western culture. Psalms for raw expression of the emotions at the heart of the human condition: suffering, rejection, abandonment, joy, and praise.


I'm inclined to agree, except to add that Ecclesiastes stands on its own as a great piece of philosophy, and Revelations is pretty influential as well as having some pretty entertaining madness.


Considering the book is about "crap towns" in the UK, I imagine it could be a very different demographic than the one you're thinking of


hmm, maybe. In the U.S you have often the person who moved from a 'crap' town to some place they consider great, who gets really emotional about the crappiness they escaped to be able to think freely and the like. And often these people are the ones I would think of as customers for a book like this, and if their new town isn't in the book they certainly won't be offended.


If you're like me and the $75 price for something strange scares you a bit, you can also take a look at WHITIN "yoga socks" on Amazon which are the cheap Chinese knock off for $20 version. They're not as good as the Skinners (material is thicker and rubbery feeling) but they're good for testing the concept out. I've ran in them on the treadmill and occasionally outside for the past year. Also nice on trips as an emergency shoe.


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

Search: