[-] yo_scottie_oh@lemmy.ml 19 points 3 days ago* (last edited 3 days ago)

OP answered this in another comment: They are getting prompted to sign up for Ubuntu Pro whenever they upgrade.

[-] yo_scottie_oh@lemmy.ml 1 points 1 week ago

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.

[-] yo_scottie_oh@lemmy.ml 4 points 1 week ago

I could watch this all day.

[-] yo_scottie_oh@lemmy.ml 8 points 1 week ago

Take it out and blow on it.

[-] yo_scottie_oh@lemmy.ml 14 points 1 week ago

Floof mode engaged.

[-] yo_scottie_oh@lemmy.ml 3 points 1 week ago

OP says they have no software development skills, so when you recommend for OP to build something they want, make something entirely new, add a feature, etc…how do you mean?

[-] yo_scottie_oh@lemmy.ml 24 points 1 week ago

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!

[-] yo_scottie_oh@lemmy.ml 12 points 3 weeks ago

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)

[-] yo_scottie_oh@lemmy.ml 3 points 3 weeks ago

Would you mind expanding on this? When you say you were watching the locator, did you have like one of those Apple air tags in your bag or something else?

[-] yo_scottie_oh@lemmy.ml 3 points 3 weeks ago* (last edited 3 weeks ago)

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.

[-] yo_scottie_oh@lemmy.ml 2 points 3 weeks ago

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

[-] yo_scottie_oh@lemmy.ml 1 points 3 weeks ago* (last edited 3 weeks ago)

To see what I mean, go to any instance, visit the explore page, and click a hash tag. Then go to a different instance and enter that same tag on the second instance. In every example I’ve tried, the second instance either has a completely different set of photos for the same tag or no photos at all. For example, on https://gram.social/ the tag #carspotting shows 171 posts. Now if I try the same tag on https://pixey.org, 0 posts.

7
submitted 1 month ago* (last edited 1 month ago) by yo_scottie_oh@lemmy.ml to c/lemmy_support@lemmy.ml

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

Actual result

The post is not there.

Expected result

The post should show up in the feed.

46
submitted 1 month ago* (last edited 1 month ago) by yo_scottie_oh@lemmy.ml to c/linux@lemmy.ml

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.

5
submitted 1 month ago* (last edited 1 month ago) by yo_scottie_oh@lemmy.ml to c/opencourselectures

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.
12
submitted 1 month ago* (last edited 1 month ago) by yo_scottie_oh@lemmy.ml to c/python@programming.dev

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.

11
submitted 1 month ago* (last edited 1 month ago) by yo_scottie_oh@lemmy.ml to c/python@programming.dev

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?

14
submitted 1 month ago* (last edited 1 month ago) by yo_scottie_oh@lemmy.ml to c/linux_gaming@lemmy.ml

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
21
submitted 1 month ago* (last edited 1 month ago) by yo_scottie_oh@lemmy.ml to c/linux@lemmy.ml

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.

86

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?

11
submitted 5 months ago* (last edited 5 months ago) by yo_scottie_oh@lemmy.ml to c/datahoarder@lemmy.ml

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!

view more: next ›

yo_scottie_oh

joined 6 months ago