OneCardboardBox

joined 1 year ago
[–] [email protected] 5 points 3 days ago* (last edited 3 days ago) (1 children)

If you want to move your containers to a different location, look into configuring docker's data-root: https://stackoverflow.com/questions/24309526/how-to-change-the-docker-image-installation-directory

You copy /var/lib/docker to a new location and update /etc/docker/daemon.json

I will say: Moving data-root to an NFS mount isn't going to work well. I've tried it, and docker containers rely on filesystem features to run their overlays. On an NFS, this feature isn't present, so your services will duplicate the container's entire filesystem. This will tank your performance and is basically unusable for anything but trivial examples. Docker data-root basically needs to be a "physical" disk.

I've had no issues using NFS shares mounted as docker volumes. It's just the data-root where it'll fail.

[–] [email protected] 2 points 4 days ago (1 children)

If you're doing it from scratch, I'd recommend starting with a filesystem that has parity checks and filesystem scrubs built in: eg BTRFS or ZFS.

The benefit of something like BRTFS is that you can always add disks down the line and turn it into a RAID cluster with a couple commands.

[–] [email protected] 1 points 1 week ago (3 children)

Did you replace your SATA cable when you installed the new SSD? Maybe the failure is there.

[–] [email protected] 8 points 1 week ago* (last edited 6 days ago)

It's similar only in that it's about a "Great man" remaking a society in collapse.

Really none of the themes are there. Nor is there any journey of discovery to understand who Caesar is, like you get in Atlas Shrugged where other characters learn who John Galt is.

Galt is "Self interest and belief in my vision will make society better". Caesar is "McGuffin building materials and belief in my vision will make society better". For all its flaws, one is at least a political statement, while the other is milquetoast hopium.

[–] [email protected] 61 points 1 week ago* (last edited 1 week ago) (7 children)

This movie is so hard to talk about, because the question is: "What is it even about?"

I like movies with abstract themes and strange storytelling, but this was just incomprehensible. Its plot revolves around the machinations of rich men to control the future of their city "New Rome", but the plot is kinda meaningless. There's never any real threat to Caesar's goal. Just plot events that could be obstacles but then are immediately resolved/neutered. Ok, fine! Surely then it's an art-house piece with a deep message? The plot points must be there for the sake of a larger theme. I was waiting for everything to add up in the finale, but it just ends up with Caesar delivering a speech filled with platitudes so bland that I thought it was a joke. Then the credits rolled and the 2 of the other 5 people in the theater with me started laughing.

[–] [email protected] 2 points 1 week ago (1 children)

Yep, the problem was that docker started before the NFS mount. Adding the dependency to my systemd docker unit did the trick!

[–] [email protected] 21 points 1 week ago

isn’t it an annoyance having to connect to your home network all the time?

It's less annoying than the gnawing fear that my network might be an easy target for attackers.

 

I generally let my server do its thing, but I run into an issue consistently when I install system updates and then reboot: Some docker containers come online, while others need to be started manually. All containers were running before the system shut down.

  • My containers are managed with docker compose.
  • Their compose files have restart: always
  • It's not always the same containers that fail to come online
  • Some of them depend on an NFS mount point being ready on the host, but not all

Host is running Ubuntu Noble

Most of these containers were migrated from my previous server, and this issue never manifested.

I wonder if anyone has ideas for what to look for?

SOLVED

The issue was that docker was starting before my NFS mount point was ready, and the containers which depended on it were crashing.

Symptoms: journalctl -b0 -u docker showed the following log lines (-b0 means to limit logs to the most recent boot):

level=error msg="failed to start container" container=fe98f37d1bc3debb204a52eddd0c9448e8f0562aea533c5dc80d7abbbb969ea3 error="error while creating mount source path '/mnt/nas/REDACTED': mkdir /mnt/nas/REDACTED: operation not permitted"
...
level=warning msg="ShouldRestart failed, container will not be restarted" container=fe98f37d1bc3debb204a52eddd0c9448e8f0562aea533c5dc80d7abbbb969ea3 daemonShuttingDown=true error="restart canceled" execDuration=5m8.349967675s exitStatus="{0 2024-10-29 00:07:32.878574627 +0000 UTC}" hasBeenManuallyStopped=false restartCount=0

I had previously set my mount directory to be un-writable if the NFS were not ready, so this lined up with my expectations.

I couldn't remember how systemd names mount points, but the following command helped me find it: systemctl list-units -t mount | grep /mnt/nas

It gave me mnt-nas.mount as the name of the mount unit, so then I just added it to the After= and Requires= lines in my /etc/systemd/system/docker.service file:

[Unit]
Description=Docker Application Container Engine
Documentation=https://docs.docker.com
After=network-online.target docker.socket firewalld.service containerd.service time-set.target mnt-nas.mount
Wants=network-online.target containerd.service
Requires=docker.socket mnt-nas.mount
...
[–] [email protected] 10 points 2 weeks ago (3 children)

Maybe just say "Hey, X isn't running this game. I am". If you're open to their participation, you could add "But if you'd like to join us, would you mind introducing yourself?". If you don't want them to join, you could say "Sorry, but I already have enough players for this campaign"

[–] [email protected] 28 points 2 weeks ago (1 children)

Maybe not for the plot (since it's never referenced or brought up ever again in the film) but I think it does work thematically:

This would be the one real miraculous event in Brian's life. If anything, you would expect that a man who fell from a tower, got picked up by a flaming ball, and returned safely to the ground would be hailed as a holy person by all witnesses.

Instead, nobody gives a fuck and in the next couple of scenes Brian becomes a holy figure through entirely unrelated and mundane means.

[–] [email protected] 4 points 2 weeks ago

Especially gardening tools.

Why does every fucking house in our neighborhood need its own lawnmower, weedwacker, and hedge trimmer? You only need it for an hour or two every month.

[–] [email protected] 7 points 3 weeks ago (1 children)

Maybe they're not mammal nipples, but happen to look like it.

 

I recently got a nice deal on a stereo microscope, and leapt at the chance. I've had a few projects in mind that would entail SMD soldering, and now all I need is a proper soldering station.

My current iron is pretty basic, but gets the job done for splicing wires and DIP work. Now I want something with temp control and a good supply of tips.

It seems like hobbyists are all talking about affordable Chinese T12 stations from brands like KSGER and Quecoo. There are just so many different models, it's hard to understand the features and differences. It also seems like there's a lot of "Reddit folk knowledge" where people just keep repeating what others have said. Eg: People say that some KSGER stations have no case grounding, but nobody says which models do or don't have the issue. All of them? Then people talk about the microcontrollers STM vs STC, but nobody says why it matters.

[–] [email protected] 5 points 1 month ago (1 children)

The Grand Nagus has come to earth in search of profit

 

In our house, we generally go for variety in our coffee beans. That means when we are finishing one bag, we're going to open a different bag with totally different beans inside.

What do you do if there aren't enough old beans to make a full serving of coffee?

It may be heresey, but I mix the final old beans with a few beans from the new bag and call it my "bonus blend".

 

I like coffee. I like Star Trek.

I've had a mild interest in the raktajino, a Klingon coffee drink commonly consumed in DS9. I've looked up a few fan theories and fan recipes. I haven't seen any references to a canonical recipe, so I get that there's a bit of fun and personal preference involved.

The only thing I don't understand is why raktajino is commonly claimed to be made with liquor. On the one hand, I understand why Klingons might want a stiff additive to their caffeine. However, the context in which characters on DS9 drink it does not suggest the presence of intoxicants. I recall at least a few occasions in which bridge officers, while on duty, drink a raktajino. Surely even synthol is not OK when you're on shift for Starfleet.

 

cross-posted from: https://lemmy.sdf.org/post/7524114

I won't say I can't draw (anyone can put a pencil on paper), but I will say I have no practiced skills.

I've never done character art before, but I want to for this game. What alternative ways do you have to represent your character visually?

I've considered AI generators, but I don't want to spend money and time tuning the prompt to match what I want vs what the AI thinks I want.

I've also thought about a collage to represent different aspects of my character, then mashing some elements together with GIMP.

 

I don't mean on the holodeck, shore leave, or when transported to the past and needing to fit in.

Seems like if you're on an away mission to, say, a desert planet, sunglasses might be useful. I don't recall anything wearing them.

 

I think I'm reading this blogpost correctly: Mobian devs working on maintaining Linux kernel support for Pinephone painted themselves into a corner with tech debt, and may not be able to continue porting new kernel updates. Pinephone Pro runs a different chipset with wider community support, so it's not affected.

I didn't see any communities or articles talking about this, so either it's not a big deal, or nobody is talking about it.

 

In TNG, Picard says that the Federation has evolved past a need for money. Indeed, we never see any.

In DS9 though, Quark talks a lot about bar tabs and costs. Surely O'Brien and Bashir don't get free drinks, so how do they pay? I'd assume that any Ferengi worth his lobes won't accept anything that can be replicated, so do Federation officers get a stipend of tradeable "value" when interacting with cultures that still expect payment?

I think there's also a reference to Quark paying rent to Sisko for running the bar. Presumably that's denominated in latinum. I wonder where it goes? Maybe the secret "Garak black ops" fund.

 

Let's assume that Janeway never separated Tuvix and kept him as a crew member. Would the crew have still gotten home?

Assumptions:

  • The subsequent story arc (and episode plots) are generally the same
  • Any episode where the threat is caused by (or related to) the individual personalities of Neelix or Tuvok never happens
  • Any episode where the day is saved by the individual personalities of Neelix or Tuvok is more dangerous
  • We can assume that the strengths/weaknesses of Tuvix remain throughout the series

Do they still make it home? If not, what episodes are likely to end in disaster?

 

cross-posted from: https://beehaw.org/post/7458945

Many mushroom identification and foraging books being sold on Amazon are likely generated by AI with no human authorship. These books could provide dangerous misinformation and potentially lead to deaths if people eat poisonous mushrooms based on the AI's inaccurate descriptions. Two New York mushroom societies have warned about the risks of AI-generated foraging guides. Experts note that safely identifying wild mushrooms requires careful research and experience that an AI system does not have. Amazon has since removed some books flagged as AI-generated, but more may exist. Detecting AI-generated books and authors can be difficult as the systems can fabricate author bios and images. Relying on multiple credible sources, as well as guidance from local foraging groups, is advised for safely pursuing mushroom foraging.

0
submitted 1 year ago* (last edited 1 year ago) by [email protected] to c/[email protected]
 

I have a .ch domain name, but I am not a resident, citizen, or business of Switzerland. For now, this is not a problem, but it's always possible that the rules change and I am ineligible to renew it down the line.

Is there such thing as a domain holding company? I'm thinking of someone in Switzerland who will be the registered owner while I have a legal contract defining my rights to use the domain?

This is all very hypothetical, and I'm happy to just wing it for now (it's mostly hobby/personal stuff). More just curious.

Just for fun, I looked into what it would take to register a business in Switzerland. I'd need a Swiss work permit to file for a sole proprietorship, and then I'd still have to pay ~60 CHF a month for a virtual business address.

1
submitted 1 year ago* (last edited 1 year ago) by [email protected] to c/[email protected]
 

For years, I've gotten by with a desktop at home running Arch and a work laptop running Kubuntu. Now I want a laptop that's not owned by my job, so that I can use a computer outside the house and not have my workplace own the IP rights of whatever I do on it. My workload is basically just going to be emacs and web browsing, so basically any distro can do it.

I've already got the laptop (HP Elitebook 840 G5, secondhand), but now it's time for the distro. I don't plan to use this laptop often, since it'll mostly be when I travel a few times a year. I don't want Arch, because I don't want to install 6 months of software updates the night before a vacation and then hope that everything works.

Thus, I'm looking at Fedora Silverblue, since that can apply updates atomically on the system, and I can always roll back. I'm wondering if anyone else has good recommendations for a distro to serve my needs.

view more: next ›