Skip Navigation
Tried to dual boot W11 & Ubuntu & bricked my PC
  • Do you have backup copies of your important files? If so, nuke that shizzle and try again starting from scratch.

    Editing to clarify: Nuke that shizzle = nuke the installation device, not the backup. 😉

  • Need help routing the cable on my Shimano Deore XT front derailleur (FD-M739) [SOLVED]
  • Look on the underside of the crank housing. Is there a plastic track for the cable to go around and point up?

    I'm not sure if I understand your question correctly, but here's what the cable fixing thingie looks like with and without the bolt.

    Without the bolt, a vertical track for the cable to run through is visible left of the screw hole:

    Operate the derailleur by hand to see which way it needs to be pulled, cable pills one way, spring pulls other way.

    When I pull the derailleur to the right by hand, the cable bolt moves upward - this means it's a top pull, yeah?

    Does this all mean that just running the cable straight down to the left of the bolt (the way I have it) might actually be the correct configuration?

  • Need help routing the cable on my Shimano Deore XT front derailleur (FD-M739) [SOLVED]

    Edit: The way I had it in the photos is correct. Thanks for helping me out, those who chimed in!

    Original question:

    I replaced the straight handlebars with risers on my mountain bike, and because of the slightly longer distances involved, I have to replace the brake and gear cables with slightly longer ones.

    Unfortunately, I did not take a picture of the cable clamp for the front derailleur before I undid it. Now I'm clueless as to how to route the replacement cable - basically the same problem as this poster on RetroBike, except their derailleur is different from mine.

    I have super old parts, so I've had a hard time finding documentation online. The best documentation I've found is the following:

    In the service instructions, third column, "SIS adjustment" section, three-quarters of the way down, it says:

    • Cut off any unnecessary cable, attach an end cup, and hook it onto the pin.
    • Note: Pass the cable through as shown in the illustration.

    What is absolutely throwing me for a loop is the illustration seems to show the cable running from the bottom upward, but... how? Can anyone help me figure out what I'm missing? I feel like a dumb dumb.

    5
    Case recommendations? Mid/full. Looking for something easy to get in and lift.
  • I don’t have a specific case to recommend, but I’d suggest browsing case reviews at Gamers’ Nexus. They specifically test air flow and temps, which should matter to you since you’re not interested in water cooling (I’m the same way, btw).

    Let us know what you decide on.

  • DayZ Update 1.25
    dayz.com DayZ

    DayZ is a gritty, authentic, open-world survival horror hybrid-MMO game, players follow a single goal: Survive by any mean necessary.

    DayZ

    Read the full release notes for PC and console.

    1
    Audio crackling in Helldivers 2
  • After I installed my new graphics card, I started having audio issues in games, crackling, stuttering, etc. Had been using X without issue prior to the upgrade. Switching to Wayland fixed it. Never figured out why. Was (still am) on Nobara 38 I believe.

  • Need a good resource to learn linux
  • Since you chose Linux Mint—good choice btw—something to keep in mind is that Mint is based on Ubuntu. While you’re learning and searching the interwebs for how to do x, y, and z, if you don’t find an article or guide specifically about Mint, try searching the same phrase replacing “mint” with “ubuntu.” There’s far more content out there about Ubuntu than Mint, but since Mint is based on Ubuntu, 9 times out of 10 the same solution on an Ubuntu forum works in Mint.

    Good luck!

  • Ideas to build a federated StackExchange alternative
  • Honest question: Why?

    IMHO stack exchange is basically reddit/lemmy with hand cuffs because no threaded discussions and every other question is closed as off topic. I don’t understand what another stack exchange would buy anybody.

    I guess one thing stack exchange does well is “related questions” and tagging, but… I dunno. (shrugs)

  • Selecting a CFP - not just the basics
  • Separate from my initial generic response:

    Retirement savings beyond the standard 401k and IRA options

    I believe the typical advice is to max out your HSA contributions and save your health care receipts but don’t reimburse yourself yet because there is no deadline for reimbursements. Instead, just treat your HSA like a double tax advantaged retirement investment account.

    Beyond that, you’re looking at a regular taxable brokerage account. Look into which asset types are most tax efficient—those are the ones you’ll wanna allocate in your regular taxable brokerage account. Careful, it’s a rabbit hole and you will hit against the law of diminishing marginal returns, but it might be worth it to broad strokes put international funds in your taxable brokerage while your bonds are live in your tax advantaged accounts. There’s more info on this if you search the boglehead wiki.

  • dansup: "I don't want to run FediDB, Loops, Sup, Pixelfed,…" - Mastodon
  • I think what I’m looking for on Pixelfed is a toggle similar to what Lemmy has, where the user can choose between Local or All. Local would show photos from just that instance, whereas All would include photos from all instances (that aren’t blocked ofc).

  • Lemmy Support @lemmy.ml yo_scottie_oh @lemmy.ml
    Why can't I see a specific post in !caps@lemmy.world from lemmy.ml when the same post is visible on other instances? [SOLVED]

    EDIT: After discussing this on Matrix, I believe the answer is in the mod logs. The author of the post in question was issued a temporary ban in another community on lemmy.ml, which I suspect is affecting the display of this user’s content across all of lemmy.ml even though the post in question is in a different community from the one that issued the ban (which is kinda screwy tbh).

    Description of the problem

    The last several months, I've been trying to build up the community over at !caps@lemmy.world. It's going mostly well, but one thing that has me scratching my head lately is that when I'm browsing from lemmy.ml (i.e. <https://lemmy.ml/c/caps@lemmy.world>), which is 99% of the time, I can't see the most recent post. Oddly enough, the author is also from lemmy.ml, and I have previously interacted w/ the same user in the comments of older posts, so I know it's not a user-specific issue. I've double checked my profile settings and haven't blocked the community, instance, or user. This issue seems specific to lemmy.ml because I can see it when I browse to the community from other instances.

    Any ideas why this could be happening and what I can do to resolve it? Thanks.

    Steps to reproduce the issue

    • Visit <https://lemmy.world/c/caps> and sort by Active or New. You'll see a post called "Thanks for the chats guys" with one comment.
    • Visit <https://lemm.ee/c/caps@lemmy.world> - again, the post is visible.
    • Now head over to <https://lemmy.ml/c/caps@lemmy.world> and look at the feed.

    Actual result

    The post is not there.

    Expected result

    The post should show up in the feed.

    2
    How to make it so frequently used sites don't constantly require 2FA? [SOLVED]

    EDIT: After reading all the responses, I’ve decided to allow cookies to persist after they close the browser, which I expect will make it so that 2FA doesn’t kick in as often, at least not on their most frequently used web sites. I may also look into privacy oriented browser extensions that might offer some protection, such as Privacy Badger. Thanks, all!

    OP: I know two factor authentication is considered more secure than just passwords, but here’s the deal: One of my family members uses Linux Mint on their laptop (at my recommendation and yes, they are aware that it’s not a Mac), and while they’ve mostly adapted to the different workflows (coming from a macbook), one of their biggest pain points is that web sites are constantly challenging them because they don’t recognize their machine. It’s frustrating to them because they used to just allow all cookies in Safari, whereas I’ve configured Firefox on their Linux laptop not to keep any cookies after the browser is closed. I know this isn’t a Linux/Firefox issue, but I think they might not see it that way and I worry they’ll get frustrated to the point that they’ll go out and splurge on a new macbook air when they already have a perfectly functional laptop with functional OS.

    Right now I’m thinking of adding their most frequently used web sites as exceptions in Firefox settings so at least those cookies would persist after closing the browser, making them easier to log into. Or maybe I’ll just allow all cookies indefinitely, although I’d rather not just throw in the towel on Big Surveillance. Is there another way to walk that line between convenience and security that I’m not thinking of? Should I just remove my tin foil hat and allow all cookies indefinitely?

    Thanks in advance for your advice.

    33
    Python Tutorials by Socratica | YouTube Playlist

    cross-posted from: https://lemmy.ml/post/14647640

    > Not sure if this is allowed here, and it's not my playlist, but I thought I'd post these tutorials since I've found them helpful for learning the basics.

    • Institution: Socratica
    • Subject: #python
    • Description (copied from Socratica's YT channel): Our Python Tutorials will help you learn Python quickly and thoroughly. We start with "Hello World" and then move on to data structures (sets, lists, tuples and dictionaries). Next we'll cover classes, and give a variety of in-depth examples and applications.
    0
    Python Tutorials by Socratica | YouTube Playlist

    Not sure if this is allowed here, and it's not my playlist, but I thought I'd post these tutorials since I've found them helpful for learning the basics.

    0
    Why won't my Python unit tests run? [SOLVED]

    Hello! I'm attempting to follow some tutorials on unit testing with Python. One of them is a video tutorial Unit Tests in Python on the Socratica channel. Everyone in the comments seems to be making out just fine, and I’m following the instructor’s directions to the letter, yet I get a different result. It’s driving me mad lol.

    In the video, the instructor creates two text files, one called circles.py in which she defines a function circle_area(r), and another called test_circles.py in which she writes some unit tests. In my attempt to follow along, I've ended up with two files structured like so:

    /home/yo_scottie_oh/Projects/PythonTutorials/Socratica/Circles ├── circles.py └── test_circles.py

    circles.py:

    ``` from math import pi

    def circle_area(r): return pi*(r**2)

    Test function

    radii = [2, 0, -3, 2 + 5j, True, "radius"] message = "Area of circles with r = {radius} is {area}."

    for r in radii: A = circle_area(r) print(message.format(radius=r,area=A)) ```

    test_circles.py:

    ``` import unittest from circles import circle_area from math import pi

    class TestCircleArea(unittest.TestCase): def test_area(self): # Test areas when radius >=0 self.assertAlmostEqual(circle_area(1),pi) self.assertAlmostEqual(circle_area(0),0) self.assertAlmostEqual(circle_area(2.1),pi*2.1**2) ```

    Where I'm getting tripped up is at 4:32 in the video, the instructor says to run the unit tests by opening a shell, going to the directory that contains both the circles and test_circles modules, and issuing the following command: python -m unittest test_circles.

    Instructor's result (it runs the unit test):

    ``` Ran 1 test in 0.000s

    OK ```

    My result (it seems to execute circles.py itself):

    [yo_scottie_oh@nobara Circles]$ python -m unittest test_circles Area of circles with r = 2 is 12.566370614359172. Area of circles with r = 0 is 0.0. Area of circles with r = -3 is 28.274333882308138. Area of circles with r = (2+5j) is (-65.97344572538566+62.83185307179586j). Area of circles with r = True is 3.141592653589793. Traceback (most recent call last): File "<frozen runpy>", line 198, in _run_module_as_main File "<frozen runpy>", line 88, in _run_code File "/usr/lib64/python3.11/unittest/__main__.py", line 18, in <module> main(module=None) File "/usr/lib64/python3.11/unittest/main.py", line 101, in __init__ self.parseArgs(argv) File "/usr/lib64/python3.11/unittest/main.py", line 150, in parseArgs self.createTests() File "/usr/lib64/python3.11/unittest/main.py", line 161, in createTests self.test = self.testLoader.loadTestsFromNames(self.testNames, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/unittest/loader.py", line 232, in loadTestsFromNames suites = [self.loadTestsFromName(name, module) for name in names] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/unittest/loader.py", line 232, in <listcomp> suites = [self.loadTestsFromName(name, module) for name in names] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/unittest/loader.py", line 162, in loadTestsFromName module = __import__(module_name) ^^^^^^^^^^^^^^^^^^^^^^^ File "/home/yo_scottie_oh/Projects/PythonTutorials/Socratica/Circles/test_circles.py", line 4, in <module> from circles import circle_area File "/home/yo_scottie_oh/Projects/PythonTutorials/Socratica/Circles/circles.py", line 14, in <module> A = circle_area(r) ^^^^^^^^^^^^^^ File "/home/yo_scottie_oh/Projects/PythonTutorials/Socratica/Circles/circles.py", line 6, in circle_area return pi*(r**2) ~^^~ TypeError: unsupported operand type(s) for ** or pow(): 'str' and 'int' [yo_scottie_oh@nobara Circles]$

    I've been banging my head against the wall for hours now trying to figure out why when I execute the same command as the instructor, it appears to execute my Python scripts themselves instead of running the unit tests.

    Other things I've tried:

    I've read the Python documentation on unit testing. I tried adding this to the end of the test_circles.py document, but that did not change anything.

    if __name__ == '__main__': unittest.main()

    I've tried following this other written tutorial. After I create the text documents and organize them in the separate shapes and tests folders and run the command python -m unittest discover -v, again I get a different result from the author.

    Author's result:

    ``` test_area (test_circle.TestCircle) ... ok test_circle_instance_of_shape (test_circle.TestCircle) ... ok test_create_circle_negative_radius (test_circle.TestCircle) ... ok test_area (test_square.TestSquare) ... ok test_create_square_negative_length (test_square.TestSquare) ... ok test_square_instance_of_shape (test_square.TestSquare) ... ok

    ---------------------------------------------------------------------- Ran 6 tests in 0.002s

    OK ```

    My result:

    ``` [yo_scottie_oh@nobara test]$ python -m unittest discover -v test_circle (unittest.loader._FailedTest.test_circle) ... ERROR test_square (unittest.loader._FailedTest.test_square) ... ERROR

    ====================================================================== ERROR: test_circle (unittest.loader._FailedTest.test_circle) ---------------------------------------------------------------------- ImportError: Failed to import test module: test_circle Traceback (most recent call last): File "/usr/lib64/python3.11/unittest/loader.py", line 419, in _find_test_path module = self._get_module_from_name(name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/unittest/loader.py", line 362, in _get_module_from_name import(name) File "/home/yo_scottie_oh/Projects/PythonTutorials/PythonUnitTesting/test/test_circle.py", line 4, in <module> from shapes.circle import Circle ModuleNotFoundError: No module named 'shapes'

    ====================================================================== ERROR: test_square (unittest.loader._FailedTest.test_square) ---------------------------------------------------------------------- ImportError: Failed to import test module: test_square Traceback (most recent call last): File "/usr/lib64/python3.11/unittest/loader.py", line 419, in _find_test_path module = self._get_module_from_name(name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/unittest/loader.py", line 362, in _get_module_from_name import(name) File "/home/yo_scottie_oh/Projects/PythonTutorials/PythonUnitTesting/test/test_square.py", line 3, in <module> from shapes.square import Square ModuleNotFoundError: No module named 'shapes'

    ---------------------------------------------------------------------- Ran 2 tests in 0.000s

    FAILED (errors=2) ```

    So yeah… this brings me to my question: What’s the obvious thing that everybody else gets that I'm missing? Is the tutorial outdated? Is it because the instructor is on Windows and I’m on Linux? Why won’t my unit tests run?

    4
    [HELP] Option for Variable Refresh is gone after installing new graphics card (PowerColor 6750 XT)

    EDIT: The audio issue on Wayland seems to have magically resolved itself after several reboots, so while I never figured out why the option for VRR disappeared in the Xorg session, I’ve resorted to using Wayland and everything seems to be as it should.

    OP: Howdy. I just installed a new graphics card in my gaming rig, and now the option for Variable Refresh Rate is gone from the Display Settings when I log into a Gnome Xorg session. I swapped out my trusty Vega 64 for a new PowerColor 6750 XT. Before the swap, I always signed into an Xorg session and the option for Variable Refresh Rate was there. After the swap, the option for VRR is there only in Wayland. So why don't I just use Wayland, you ask? The problem is, on Wayland, the audio is distorted and I cannot figure out how to get clear audio. This audio issue seems specific to Steam b/c I can listen to music videos on YouTube crystal clear.

    So now I have this dilemma where I have to choose between clear audio (Xorg session) vs variable refresh (Wayland).

    Is this a known thing where Xorg doesn't support VRR for newer graphics cards? Is there some trick for getting clear audio in a Wayland session? Do I need a newer kernel or something?

    What I've tried so far:

    • I've tried all three DP outs on the new graphics card.
    • Double checked that VRR is toggled on in my monitor's settings, and I can tell if VRR is working or not by turning on the monitor's FPS overlay. I know it was working in Xorg sessions before I swapped out the Vega 64.
    • Updated my motherboard to the latest BIOS.
    • Searched the interwebs for nobara 38 xorg vrr option gone, but alas, not much is coming up.

    Display settings in Xorg:

    !

    Display settings in Wayland:

    !

    System info:

    yo_scottie_oh@nobara ------------ OS: Nobara Linux 38 (Thirty Eight) x86_64 Kernel: 6.5.9-201.fsync.fc38.x86_64 Uptime: 29 mins Packages: 3122 (rpm), 10 (flatpak) Shell: bash 5.2.15 Resolution: 2560x1440 DE: GNOME 44.2 WM: Mutter WM Theme: Adwaita Theme: adw-gtk3-dark [GTK2/3] Icons: Papirus-Dark [GTK2/3] Terminal: gnome-terminal CPU: AMD Ryzen 7 5800X3D (16) @ 3.400GHz GPU: AMD ATI Radeon RX 6700/6700 XT/6750 XT / 6800M/6850M XT Memory: 4726MiB / 32002MiB

    2
    Unable to install updates on Nobara 38 b/c the operation would result in removing the following protected packages: nobara-amdgpu-config [SOLVED]

    I'm trying to install system updates on my gaming PC, which runs on Nobara 38. Typically I'd accomplish this in the command line by issuing dnf upgrade, but it refuses to update because doing so would remove the protected package nobara-amdgpu-config. Trying --skip-broken produces the same result.

    How do I get past this issue or work around it so that I can install updates?

    Command line output:

    ``` [yo_scottie_oh@nobara ~]$ sudo dnf upgrade Last metadata expiration check: 0:33:19 ago on Sat 06 Apr 2024 05:57:10 PM EDT. Error: Problem: The operation would result in removing the following protected packages: nobara-amdgpu-config (try to add '--skip-broken' to skip uninstallable packages) [yo_scottie_oh@nobara ~]$ sudo dnf upgrade --skip-broken Last metadata expiration check: 0:33:42 ago on Sat 06 Apr 2024 05:57:10 PM EDT. Error: Problem: The operation would result in removing the following protected packages: nobara-amdgpu-config [yo_scottie_oh@nobara ~]$ sudo dnf update nobara-login [sudo] password for scott: Last metadata expiration check: 0:43:46 ago on Sat 06 Apr 2024 05:57:10 PM EDT. Error: Problem: The operation would result in removing the following protected packages: nobara-amdgpu-config (try to add '--skip-broken' to skip uninstallable packages) [yo_scottie_oh@nobara ~]$ nobara-sync

    Option “-x” is deprecated and might be removed in a later version of gnome-terminal.

    Use “-- ” to terminate the options and put the command line to execute after it.

    [yo_scottie_oh@nobara ~]$ ```

    EDIT: I'm still attempting to solve this on my own. Trying solutions found in this Super User thread and this Reddit thread, which points to this documentation on the Nobara project site.

    EDIT 2: Issuing nobara-sync seems to have done the trick. The Nobara project documentation that I linked to above explains why they recommend nobara-sync instead of dnf upgrade.

    2
    Is the Piped Link Bot down? No activity in the last two weeks.

    This would make me sad. 😢

    Judging from its profile, it seems there's been no activity in the last two weeks, plus I messaged it yesterday trying to get it to join a community, and the documentation says I should receive a reply confirming the new subscription, but alas, radio silence.

    I don't see an issue on GitHub, which makes me think it might be user error, although it also seems highly unlikely that no video links have been posted in the last two weeks.

    Does anyone know what's up?

    17
    datahoarder @lemmy.ml yo_scottie_oh @lemmy.ml
    How do I archive a podcast I've already downloaded in Playapod (iOS) that has since gone offline?

    Hello c/datahoarder! I need your help. Not sure whether this has been asked before—I've tried searching the web, but the only advice I can find is how to download episodes for podcasts whose feeds are still active.

    The problem I'm trying to solve is that one of my favorite podcasts, Endless Boundaries Jam Radio, went offline during the pandemic. All the usual feed aggregators still show up in internet searches, but as they are not file hosts, just feed aggregators, all the episodes are now dead links (e.g. Podbay, Tunein, etc).

    Thing is, I had already downloaded several episodes using the Playapod app on my iPhone. It's usable for now, but I'm very concerned about when I need to upgrade to a new phone.

    Is there a trick for access the individual files on my iPhone that were downloaded through a third party app such as Playapod? TIA

    EDIT: I figured out how to do what I wanted. Once I had installed ifuse and related dependencies (e.g. libimobiledevice) on my Linux PC, I could connect my iPhone to my PC via USB and browse the files on my iPhone in my distro's default file browser. Many folders are named as GUIDs, making it harder to tell what's what by just looking at their names, but I narrowed down the right folder by opening up the Disk Usage Analyzer app in Linux. In my case, the Playapod app is one of very few apps with more than a gigabyte of data. I still have to go through and figure out which episode each mp3 file is, but that's still better than having nothing at all.

    Thanks to everyone who responded. I hope this info helps anyone else in a similar predicament!

    5
    InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)YO
    yo_scottie_oh @lemmy.ml
    Posts 11
    Comments 219