OneCardboardBox

joined 1 year ago
MODERATOR OF
[–] [email protected] 1 points 14 minutes ago* (last edited 5 minutes ago)

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 1 day 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] 7 points 5 days ago* (last edited 5 days ago) (2 children)

Thing is: There's nothing there

The only businesses I saw in those towns were a lunch counter, the prison, and a shop selling "souvenirs" made by prisoners. Without the prison, there goes 2/3 of your economy (well, probably a lot more than 2/3 unless you pull a serious lunch crowd). So now your town is just a lunch counter in the middle of the desert. If you're lucky, maybe there's a tourist attraction further down the highway bringing travelers who will keep your restaurant open.

[–] [email protected] 19 points 5 days ago* (last edited 5 days ago) (4 children)

I've been to those towns in AZ. The world would lose nothing if they went away.

I don't see any similar outcry about places like Jerome that went to shit when their mines disappeared. Of course, in those cases, the only people hurt were the mine workers.

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

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

[–] [email protected] 8 points 6 days ago* (last edited 3 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 6 days ago* (last edited 6 days 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 6 days 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] 14 points 1 week ago

The unfinished basement is the only interior photo with warm, inviting colors

 

cross-posted from: https://midwest.social/post/18604056

I'm playing for the first time in my life now.

I've recently had my first kid, and as such, I need a game that I can quickly pick up and put down. Ideally, the game is also playable in long form as well.

Enter openmw for android. The only on screen controls that have ever been usable. Convenient quick save. Minimal load times.

I can hop on, play a little, and get off in a hurry if I need to. I thought I'd be stuck playing old Pokemon ROMs with save states until she hit an age of independence.

[–] [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] 47 points 1 week ago* (last edited 1 week ago) (2 children)

This is exactly the same "problem" as when open-source projects started enforcing codes of conduct: Any organization is an inherently political entity and is entitled to make political decisions about who can or can't be a member of that organization.

I've seen lots of $word-$number named-accounts claiming that this "puts in jeopardy the future of open source". Fuck off. There's no evidence that these people are banned from submitting patches to the kernel, just that they've been removed from a particular role of authority within an organization.

And to the people saying "But why U trust NSA to submit patches?!"... motherfucker if you're only worrying about that now, you're many years too late. I've been told by an angel in a dream that TempleOS is still free from CIA interference.

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

So many bad-faith arguments being made about this.

Independent of any arguments about who asked for this to happen and why: A free software project always has the right to choose which contributors it trusts and which it doesn't. I've seen no evidence that these people are banned from submitting patches due to their nationality. They've been remove from a particular role in the project due to political reasons. An organization is an inherently political entity.

Remember when codes of conduct destroyed all of free software and nothing ever got built again? Me neither. It's the same thing.

 

Can't we just toss some C4 at it?

 

Anyone know of any realtime menu mods for OpenMW? Specifically, I'd like to have dialog take place in real time. It always feels strange that I can have a whole conversation with someone, but never recuperate my fatigue level.

22
submitted 3 weeks ago* (last edited 3 weeks ago) by [email protected] to c/malelivingspace
 

Not even sure if my posts will be federated with this community.

Once I get some furniture back from the repair shop (fuck you, shipping company), I'll have something to share.

 

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.

 

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".

 
 

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

What cool stuff is going on with IP over ham radio? I want to build simple services accessible to other hams in my area, and would love to learn about what's out there.

  • New Packet Radio: This looks pretty cool, although until the FCC makes a decision on updated VHF/UHF bandwidth and symbol rate restrictions, I'll hold off on buying any dedicated hardware

  • Broadband HamNet: I'm not sure if there's any existing network in my area. Since it's 802.11 with yagis and amplifiers, I feel like you'd need a good density of local users for anything cool to develop.

  • AX.25 with TCP/IP: I might play around with this. It doesn't require equipment except a UHF/VHF radio, antenna, and a computer, so it might be easier to convince others to try it too. Obviously you're very limited in bitrate, but it would be fun to set up a gohper hole or a BBS.

Are there other technologies or projects worth looking into? Even though I'm not personally interested in buying new equipment for it, I'd still like to hear what's out there.

 

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

What cool stuff is going on with IP over ham radio? I want to build simple services accessible to other hams in my area, and would love to learn about what's out there.

  • New Packet Radio: This looks pretty cool, although until the FCC makes a decision on updated VHF/UHF bandwidth and symbol rate restrictions, I'll hold off on buying any dedicated hardware

  • Broadband HamNet: I'm not sure if there's any existing network in my area. Since it's 802.11 with yagis and amplifiers, I feel like you'd need a good density of local users for anything cool to develop.

  • AX.25 with TCP/IP: I might play around with this. It doesn't require equipment except a UHF/VHF radio, antenna, and a computer, so it might be easier to convince others to try it too. Obviously you're very limited in bitrate, but it would be fun to set up a gohper hole or a BBS.

Are there other technologies or projects worth looking into? Even though I'm not personally interested in buying new equipment for it, I'd still like to hear what's out there.

 

What cool stuff is going on with IP over ham radio? I want to build simple services accessible to other hams in my area, and would love to learn about what's out there.

  • New Packet Radio: This looks pretty cool, although until the FCC makes a decision on updated VHF/UHF bandwidth and symbol rate restrictions, I'll hold off on buying any dedicated hardware

  • Broadband HamNet: I'm not sure if there's any existing network in my area. Since it's 802.11 with yagis and amplifiers, I feel like you'd need a good density of local users for anything cool to develop.

  • AX.25 with TCP/IP: I might play around with this. It doesn't require equipment except a UHF/VHF radio, antenna, and a computer, so it might be easier to convince others to try it too. Obviously you're very limited in bitrate, but it would be fun to set up a gohper hole or a BBS.

Are there other technologies or projects worth looking into? Even though I'm not personally interested in buying new equipment for it, I'd still like to hear what's out there.

 

I work in a basement office. There is a below-grade egress window, with a 3-4ft ladder and a large plexiglass dome that you can push out of the way.

I noticed a terrible smell when I opened my window the other day, and it was because of a dead mouse that presumably couldn't get out of the recess. On inspection, I found the remains of several more dead rodents there, so this has been a problem in the past too.

Any ideas on how to prevent this? I both feel bad for the dead animals and am disgusted by the smell when they decay. The plexiglass dome has chicken wire for airflow, so I can't necessarily block those off. Maybe there's some method to repell them, or help them escape?

view more: next ›