Skip Navigation
Updates vs. version pinning in Docker-based homelab
  • Do you mind sharing how you handle backups?

  • Updates vs. version pinning in Docker-based homelab
  • I don't believe Portainer can notify of available updates. I can achieve this with Diun, but only within the tag specified in my docker-compose.

  • homelab @lemmy.ml RadDevon @lemmy.zip
    Updates vs. version pinning in Docker-based homelab

    I'm running a Docker-based homelab that I manage primarily via Portainer, and I'm struggling with how to handle container updates. At first, I had all containers pulling latest, but I thought maybe this was a bad idea as I could end up updating a container without intending to. So, I circled back and pinned every container image in my docker-compose files.

    Then I started looking into how to handle updates. I've heard of Watchtower, but I noticed the Linuxserver.io images all recommend not running Watchtower and instead using Diun. In looking into it, I learned it will notify you of updates based on the tag you're tracking for the container, meaning it will never do anything for my containers pinned to a specific version. This made me think maybe I've taken the wrong approach.

    What is the best practice here? I want to generally try to keep things up to date, but I don't want to accidentally break things. My biggest fear about tracking latest is that I make some other change in a docker-compose and update the stack which pulls latest for all the container in that stack and breaks some of them with unintended updates. Is this a valid concern, and if so, how can I overcome it?

    8
    What are the most capitalist things you've heard about?
  • My brother used to work for an SEO company. They charged clients to have their web sites on directories which would improve their Google pagerank… until Google updated the algorithm to penalize sites listed in these directories. The company quickly pivoted to charging the same clients to have them removed from the directories they had just charged them to be listed in.

  • [SOLVED] No HDR option in Bazzite/KDE after connecting computer directly to display
  • Oh, that’s helpful. Thank you for sharing that!

  • [SOLVED] No HDR option in Bazzite/KDE after connecting computer directly to display
  • Turns out this was my goof. I was trying to set up auto-login on my user account. In doing so, I set it to automatically log in to Plasma (X11) instead of Plasma (Wayland). Odd that the default option in that dropdown is not the one you're currently using, but 🤷‍♂️.

    What I'm now trying to figure out is why I can't set auto-login for Plasma (Wayland). The Apply button is disabled. 🤔

    Thanks to everyone who shared ideas.

  • [SOLVED] No HDR option in Bazzite/KDE after connecting computer directly to display
  • HDMI switcher is an interesting idea. Will it do more than just forward on the EDID? (Hope I have that right. 😅) Will it sorta translate it and push out its own EDID?

    The cable is one of the two cables that previously completed the chain between the display and computer. Could it still be a problem in spite of that?

  • [SOLVED] No HDR option in Bazzite/KDE after connecting computer directly to display
  • The monitor definitely is. Like I said, it was working when connected through the soundbar. It seems to be that it isn't reporting capabilities the same way the soundbar did when connected directly to the computer.

  • [SOLVED] No HDR option in Bazzite/KDE after connecting computer directly to display

    I am running Bazzite 40 on a system with an RTX 4080. Up until yesterday, I was connecting computer -> Samsung HW-Q900C soundbar -> Samsung Q90C TV. I learned that the soundbar doesn't have HDMI 2.1 ports which is why I hadn't been able to get 120Hz, so I changed my setup to computer -> TV + soundbar -> TV (eARC).

    Now, I do have 120Hz, but I lost a bunch of other options in my display settings, including HDR. The only options I can set there now are resolution, orientation, refresh rate, and scale. I suspect this is an issue with the TV communicating its capabilities in a way the OS doesn't understand, but I'm not sure how to fix or work around it. Can anyone suggest a fix? Is there a setting I can change on the TV or maybe an app I can run on the computer to manually set the TV's capabilities?

    Update: Just discovered kscreen-doctor. Here's the output:

    Output: 445 HDMI-0 enabled connected priority 1 HDMI Modes: 446:3840x2160@60! 447:4096x2160@120 448:4096x2160@100 449:4096x2160@60 450:4096x2160@50 451:4096x2160@30 452:4096x2160@24 453:4096x2160@24 454:3840x2160@144 455:3840x2160@120* 456:3840x2160@100 457:3840x2160@60 458:3840x2160@50 459:3840x2160@30 460:3840x2160@25 461:3840x2160@24 462:3840x1600@144 463:3840x1600@120 464:3840x1600@60 465:3840x1080@144 466:3840x1080@120 467:3840x1080@60 468:2560x1440@120 469:2560x1080@144 470:2560x1080@120 471:2560x1080@60 472:1920x1080@144 473:1920x1080@120 474:1920x1080@100 475:1920x1080@60 476:1920x1080@60 477:1920x1080@50 478:1920x1080@30 479:1920x1080@25 480:1920x1080@24 481:1680x1050@60 482:1600x900@60 483:1440x900@60 484:1280x1024@75 485:1280x1024@60 486:1280x800@60 487:1280x720@60 488:1280x720@60 489:1280x720@50 490:1152x864@75 491:1024x768@75 492:1024x768@70 493:1024x768@60 494:800x600@75 495:800x600@72 496:800x600@60 497:720x576@50 498:720x480@60 499:640x480@75 500:640x480@73 501:640x480@60 Geometry: 0,0 3840x2160 Scale: 1 Rotation: 1 Overscan: 0 Vrr: incapable RgbRange: unknown HDR: incapable Wide Color Gamut: incapable ICC profile: incapable Color profile source: incapable

    SOLUTION: Turns out this was my goof. I was trying to set up auto-login on my user account. In doing so, I set it to automatically log in to Plasma (X11) instead of Plasma (Wayland). Odd that the default option in that dropdown is not the one you’re currently using, but 🤷‍♂️.

    What I’m now trying to figure out is why I can’t set auto-login for Plasma (Wayland). The Apply button is disabled. 🤔

    Thanks to everyone who shared ideas.

    9
    Keyboard customization in profile not working until manually sourced
  • For anyone who happens to find this later, putting it in ~/.xprofile did not work for me, so I'll still with the other solution I posted here for now.

  • Keyboard customization in profile not working until manually sourced
  • Ah, OK. I'll give this a shot. I found a solution (posted in the comments), but I don't love it because it depends on a sleep and isn't deterministic. Thanks!

  • Keyboard customization in profile not working until manually sourced
  • I found a solution that seems to be working. Forgot where I saw this, or I'd give credit. Maybe StackOverflow?

    Anyway, the solution was to write a separate shell script for my keymaps with a sleep 2 at the top. The, I run it as a startup application with this command: /bin/bash -c "sh /home/me/.keymaps.sh"

    Apparently, the desktop environment must be loaded in order for the keymaps to take, so having it in my profile was running the command too early.

  • Keyboard customization in profile not working until manually sourced
  • Hmm. I don't seem to have that file, so I guess that means I'm not using gdm? I haven't changed the login manager, so it's whatever comes out of the box with current Pop_os.

  • Keyboard customization in profile not working until manually sourced

    I have a little one-line keyboard customization in my ~/.profile that is intended to make my caps lock key function as escape when pressed or ctrl when held.

    ```

    Map Caps Lock to Esc/Ctrl

    setxkbmap -option 'caps:ctrl_modifier' && xcape -e 'Control_L=Escape;Caps_Lock=Escape' ```

    It works… but only if I manually run source ~/.profile. The weird thing is that it kinda works without the manual intervention, but the caps lock also activates. This does not happen after manually sourcing.

    I thought this file was automatically sourced at login. If that's the case, shouldn't the customization work automatically without the file having to be manually sourced? Is there some service that needs to be running before this command fires that is not yet running when the file is automatically sourced? Struggling to understand what's happening here… 🤔

    6
    Dealing with games that just won't run on Linux
  • Ah, that’s very helpful. Thanks!

    Do you virtualize or dual boot?

  • Dealing with games that just won't run on Linux
  • aside from leaving them behind

  • Dealing with games that just won't run on Linux

    How are people coping with games that just won't run on Linux (aside from leaving them behind)? Do you dual boot Windows? Virtualize? What's your strategy for this?

    This will be extremely rare for me since I don't play a lot of competitive stuff, but I'd love to find a solution. I have a large library, and it's bound to happen from time to time.

    61
    This farming sim sits at the bottom of your screen while you kid yourself you're doing other things
  • When I saw this, I thought it sounded really cool! That is, until I remembered that I literally never touch my Windows machine except for gaming, so, unless I’m going to try to play two games at once (spoiler: I’m not), I will unfortunately never have a use for this. 😅

  • How are slavery reparations fair?
  • Ending slavery doesn't reset everything back to zero. Imagine if you're running a race against someone else. The person officiating the race (no clue what this kind of person is called 😅) lets your opponent start running the race and keeps you back at the start line. Then, they have a moment of clarity and say to themselves, "Wait a second… This isn't fair!" So, they stop that person where they are, apologize to you, say they promise never to do it again, and blow the whistle so that you can both start the race.

    But wait! That person still ended up starting way ahead! But we already ended head starts before the race started so it's OK, right? Well, no, because the person who got the head start still got to start from their advantaged position.

    But this isn't quite the same because your issue crosses generations. So, a better analogy might be a relay race. Maybe the head start is stopped just as the second person on the opposing team receives the… thing you pass in a relay race. (Why am I making an analogy to a thing I know nothing about? 😅) They didn't personally get the head start. So, it's OK to go ahead and start the race now with one relay team already on their second runner while the other is on their first, right? It wouldn't be fair to punish that person who didn't directly gain the advantage of the head start.

    Well, no, because that team still got an advantage and the other team still started at a disadvantage. Reparations are less about punishing an individual and more about leveling a playing field.

  • Why is it frowned upon here to 'steal' content from reddit?
  • Yeah, I get it, but I figure if someone doesn't understand why it's a problem to blame someone for having their content stolen, they probably won't understand why it's wrong to blame them for having other intangibles stolen either. The transition to tangible object was intentional in hopes of bridging that gap. The only right that is exactly the same as copyright is copyright, but that analogy wouldn't really work for someone who doesn't understand how copyright works. 😅 It's kinda the point of an analogy: to highlight the similarities between two things that are similar in some ways but necessarily different in others for the benefit of someone who understand the subject but not the object of the analogy.

    But again, the point isn't that car ownership is the same as copyright. That's a (intentional, I think) misunderstanding of how analogies work. They don't claim that every attribute of the two things being compared is the same; only that there may be enough similarity to bridge a gap in understanding. I can't see anything so wrong with this analogy that it invalidates the point I was making with it. The point was that having the law commonly ignored doesn't open the door for victim blaming if they don't jump through all the hoops armchair lawyers define for them. That's often the case when the law grants us rights: we just have them at a certain point and don't have to do anything else. I have a right to continue owning a car that I bought. I have a right not to be punched in the face. I have a right to be involved in my children's lives. I have a right to continue to own the works I create. These are different rights which apply to different sorts of things, but the principle is the same. If I had made any of these analogies (or any analogy period), a bad faith argument could certainly have found a trivial difference between the two… but it would have been just that: a bad faith argument based on a trivial (for the purposes of this analogy) difference.

    Is stealing a Reddit post the same as stealing a car? No, because as everyone has pointed out, the car cannot easily be copied, but is violating someone's copyright the same as violating their ownership rights over some item they purchased? Yes. When you violate someone's right to own the car, they do not retain an identical un-violated copy of their right to own it, just the same that way when you violate their copyright, they cannot retain an identical un-violated copy of that right somehow. Both of these rights have been violated equally, and the tangibility of the object they applied to doesn't change that.

  • Why is it frowned upon here to 'steal' content from reddit?
  • I guess my example is that, isn't it? 😅 My point is that you generally don't have to remind people of your rights in order to enjoy them, and that's true for copyright. Pick your own favorite right and replace my car analogy with it.

    Now, I just need to find a way to compare cross-posting Reddit content without permission to the Nazis and describe Lemmy as "the Uber of ," and I'll have achieved the triple crown of cliche analogies. 😆

  • Why is it frowned upon here to 'steal' content from reddit?
  • Cars are frequently stolen when parked outside. Private ownership of cars is ignored if not openly mocked by car thieves. If you park your own car outside, you should assume it will be stolen. So make sure to always post a sign on your car whenever you park it outside reading "This car is mine. Please do not steal it," if you don't want it to be stolen, or better yet, don't park it outside at all.

    It's a bad take. It's not how ownership works. You have copyright protection by nature of the fact that you created a piece of content. You're not required to remind people of that fact in order to be protected, even if random internet person asserts that you should in their social media post.

    That's not the only reason it's bad though. The idea that "I don't like the way Reddit is treating their users, so to get back at Reddit… I'm going to violate the rights of the very same users I claim have been wronged by copying their content and posting it somewhere without their consent" is just baffling to me. You're banking on the fact that random internet user probably won't sue you… and you're probably right! By taking advantage of that situation, you're not "pwning Reddit." You're taking advantage of the person who created it in the first place. Ironically, if Reddit had further abused the situation by not just creating the honeypot where people would create free content for them but also by claiming ownership of that content, you'd have a cease and desist in a matter of days once your bot went live and we wouldn't have to see this same question posted 2-3x a week on Lemmy.

    I'm no intellectual property crusader. It's messed up that corporations can consolidate intellectual property to the extent they have and extend copyrights for generations. It's wild that we grant trademarks on vague ideas and then allow trolls to build businesses that do nothing but hold them and use them as weapons against people trying to actually make things. But if anyone should have the benefit of copyright protection, it's the lowly internet user who posts content for free on social media for your entertainment.

  • Visualized: $300B of Video Gaming Revenue, by Source
  • These "categories" are only superficially the same thing. Here's what social/casual games and PC/console games have in common:

    • Both show (usually) moving images to a player
    • Both accept input that is (usually) reflected through an impact on the game's outcome

    Here's a couple of things that are very different:

    • social/casual games monetize by letting you pay to make the game less bad or by preying on psychology. PC/console games monetize by dangling the promise of some kind of experience you couldn't otherwise have.
    • social/casual games are useful for destroying time. PC/console games are useful to stoke imagination and elicit emotions.

    I know I'm being reductive here, but I think the point is valid. They're superficially the same but used for very different purposes. Putting them side-by-side on a chart like this is like comparing revenue across all car makers and determining that, because McLaren made $280 million in 2020 while Kia made $44 billion, sports cars are going away soon.

    If McLaren did go away, the McLaren driver is not going to replace the McLaren with a Kia, because those are not the same thing, even though they are in the same way that a pair of scissors and a Hattori Hanzo sword are both blads, or maybe in the same way that both brass knuckles and a bazooka are weapons even though one cannot replace the other. If Baldur's Gate 3 were never released, I wouldn't have dumped my $60 into Fortnite skins because I'm looking for something particular out of a game. My goal isn't just to burn $60 on anything that shows me moving pictures and maps my inputs onto those pictures. Those attributes of a video game may be what make it a video game, but they aren't the attributes that will make me enjoy it or want to spend money on it.

    If McLaren and all sports car makers go away, most of the money spent on those is not going to funnel into compact cars. It's going to stay in people's pockets. $280 million dollars doesn't hold a candle to $44 billion… but someone is going to want to take that $280 million! So, someone will probably keep making sports cars… just like someone will probably keep making the games that will take the remaining ~$73 billion slice of the video games pie.

    Some public companies may jump ship to chase the social/casual dollars… but these are the companies that have been trying to blur the lines anyway (think EA), so we're really not losing much. The talent who delivered PC/console games we used to enjoy from EA have mostly moved on to other studios or to form their own studios so they can keep making what they like.

  • Does anyone know if creating a content-"sharing" bot for Lemmy(, from reddit subs and elsewhere,) would be illegal ?
  • Sure! Here's one more thing I wish you would consider before you go forward with it: if you didn't get sued for doing this, it wouldn't be because you didn't break the law. It would be because the people whose rights you violated can't afford to sue (or maybe it's just that they don't have teams of lawyers scouring the internet to make sure all their rights are protected and haven't noticed as a result). If Reddit claimed ownership over all content posted on the platform, it would be no less illegal, but you'd get a cease-and-desist in a heartbeat, followed by a lawsuit if you didn't comply. Trying it only because the people whose rights you're violating can't protect themselves makes the whole thing feel like punching down.

    The justification I hear for this sort of activity is usually to damage Reddit in some way… but it's not actually Reddit that's being damaged. It's other people like all of us who ultimately have been used by Reddit for free labor for the last nearly two decades now. These bots are now victimizing them again in the interest of getting back at the entity who first victimized them… but that should really be their choice since it was their content. It just doesn't feel justified to me.

    Now if you wrote a script that a Reddit user could use that would grab all of their own Reddit posts, post them to an appropriate Lemmy community, and delete them from Reddit (not sure if deleting a Reddit post is even possible at this point 😅), and convinced a bunch of them to use it, that seems to me like the right approach. The users have full agency to decide whether or not their content gets moved, but you're making it easy for them to do the thing you want them to do.

    I'm no staunch defender of copyright, but it sucks that because access to the legal system is expensive, corporations like Reddit get the benefit of the law while regular people like you and me don't get that if we can't afford tens or hundreds of thousands of dollars in legal bills. If we're going to have copyright law, it should definitely protect regular people who take the time to share things with others online for virtually no benefit to themselves just as much if not more than it does massive corporations.

  • Why do most gaming laptops have vents on the bottom?

    If you're using the laptop as intended (i.e., on your lap), wouldn't those be almost entirely blocked?

    67
    OldWeb @lemmy.ml RadDevon @lemmy.zip
    Tiny Awards
    tinyawards.net Tiny Awards

    Tiny awards, tiny prize, tiny trophy, big love

    Tiny Awards
    0
    RadDevon RadDevon @lemmy.zip

    Still figuring things out here. In the world, I mean.

    • 🏡 Personal site: https://devon.lol
    • 🐭 Previous Lemmy profile: https://lemmy.ml/u/RadDevon
    • 🦣 Mastodon: https://techhub.social/@RadDevon
    • 📈 Tildes: https://tildes.net/user/RadDevon
    Posts 7
    Comments 53