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

I think you're on to something w/ transition scale or animation scale, even though I'm not seeing them in GrapheneOS settings even after activating developer mode. I may just need to request this feature in GrapheneOS or look for a third party app that unlocks this setting. You've also given me a new phrase to search for, so thank you for that.

EDIT: I found Transition Scale and Animation Scale in GrapheneOS after activating developer mode, not sure what I did differently this time. Alas, neither of those settings solves the problem, so the hunt continues.

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

I think you're on to something w/ transition scale or animation scale, even though I'm not seeing them in GrapheneOS settings even after activating developer mode. I may just need to request this feature in GrapheneOS or look for a third party app that unlocks this setting. You've also given me a new phrase to search for, so thank you for that.

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

I'm not using any screen protector on my new phone (not yet anyway). I don't think it's an issue with screen sensitivity. How I see it, the issue is that in order to advance the screen left or right (say in an image carousel), I have to stretch my thumb really far over to the left side of the screen. If I don't reach really far over, and just do a lazy right flick instead, the screen registers the touch and moves right a little bit, but when I lift my thumb, the current screen just springs back into place instead of advancing to the next screen. It's most noticeable when viewing screenshots in the app store.

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

I've tested with Smooth Display, but still have the same issue. I think that setting has more to do with screen refresh rates and animations. I don't think Touch Sensitivity is it, either. This seems more to do with making it easier to register touches with a screen protector. The problem that I have is not registering touches, it's that when I swipe (e.g. left or right to sift through an image carousel), the original screen springs back into position instead of advancing to the next screen. It happens a lot in the app store when I'm using my thumb to browse the screenshots. I swipe left b/c I want to view the second screenshot, but the first screenshot moves over but not enough to advance to the second screenshot. It just snaps back into place and I'm still looking at the first screenshot. Same issue in reverse when I'm using my thumb to swipe right, it's like it wants me to start the swipe gesture from too far left on the screen where it's not very easy to reach, and it's not ergonomic to have to basically wiggle the phone in my hand to reach that far over to start the swipe gesture. In summary, it's a navigation issue, not a touch screen issue—I hope I'm making sense. Thanks anyway for chiming in, though.

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

I don't see this option on GrapheneOS, even after toggling on developer mode. Thanks anyway for chiming in.

Editing to clarify that there is a setting called Smooth Display, and another called Force Peak Refresh Rate, but neither of these helps with the issue I'm having, which is that I'm constantly having to swipe multiple times to get the gesture to take.

8
submitted 2 days ago* (last edited 2 days ago) by yo_scottie_oh@lemmy.ml to c/askandroid@lemdro.id

Background:

I've recently gotten a new (used) Pixel 7a—upgraded from an iPhone X.

Problem:

I must have short thumbs or something because on my new Android phone, I'm constantly having to swipe multiple times for a gesture to "take." For example, swiping up to unlock or get to home, swiping left/right to cycle through image carousels in the app store—in all use cases, the screen starts sliding over, but when I lift my thumb off the screen, about 50% of the time, the screen slides back to its original position instead of sliding the rest of the way to the next screen.

I understand the need for a threshold to prevent accidental swipes; however, the native swipe lengths are just a wee bit too long for me, and the constant need to swipe multiple times to do what I want is significantly affecting my overall experience. I never had this problem on any of my iPhones.

What I've tried so far:

  • I've poked around in the Settings and done a few internet searches. Came across this Google forums thread from 2018, to which the only reply was essentially tough rocks.
  • In another post, I received the advice that I don’t need long gestures if I make them faster, and I have noticed different results depending on the speed of my flicks, but still find myself having to make multiple flicks to get it to do what I want. Somebody else suggested reducing the “Window Animation” or the “Transition Animation” speed (in developer settings), but alas, there are no such settings in GrapheneOS (I tried the search bar).
  • I've installed an alternate app launcher (PieLauncher), but this is only a partial band-aid solution. I still have the issue w/ left/right swipes on image carousels.

I'll keep exploring apps that allow me to customize gestures, but has anyone else had this problem, and how did you solve it? Or if anyone has any suggestions for apps available in the F-Droid store that might help with this problem, I'd appreciate it. Thank you!

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

Thanks for the tip—I did not know that. I'll give it some more time and practice w/ quicker swipes. I'm on the Pixel 7a.

24

Background: In my quest to migrate from iOS to Android, I’m searching for a way to watch YouTube on my phone, with SponsorBlock (no ads or sponsorship segments), while also signed into Google so that when I switch from android device to desktop computer or SmartTube on my TV, videos I’ve already watched are marked watched.

On my smart TV, the SmartTube app checks both boxes—incorporates SponsorBlock and enables me to sign into my Google account, with usability enhancements to boot. On my desktop computer, Firefox w/ SponsorBlock extension meets my needs just fine.

From digging around android forums, I gather there are several apps that incorporate SponsorBlock (e.g. various invidious/piped clients), but do not have the ability to log into Google. I understand the premise is to protect users’ privacy from Google, but in my case, I actually want to be signed in.

On my android device I’ve tried various Firefox forks with SponsorBlock extension (Fennec, Mull), but in all cases, the SponsorBlock extension does not pull any segments even though I know they exist (verified on another device).

Has anyone else gotten sponsorblock + signed into google working on an android device? If so, how? Thanks in advance!

60

Been lurking for a while, finally pulled the trigger on this today while it's on sale. Can't wait to check it out.

Check the price history.

38
submitted 1 week ago* (last edited 1 week ago) by yo_scottie_oh@lemmy.ml to c/asklemmy@lemmy.ml

I want my next phone to be "unlocked" so I can use it w/ any carrier - Verizon, AT&T, T-Mobile, Mint, etc. I'm based in the US, but if I travel internationally, it would be nice to be able to just pop in a local SIM card and continue using my phone like normal.

What gives me pause is, I see used phones listed as "US Version," and reviewers claiming the phone was not unlocked (for example, this Pixel 7a on Amazon).

Questions:

  1. What am I missing here? Do these reviewers just not know what they're doing, or are they buying from shady resellers?
  2. Does "US Version" imply I would not be able to use the phone internationally by just popping in a local SIM card?

Thank you!

29

Inb4 "analytics" is a bad word in the fediverse, understandably so, but I ask because for one of the communities that I moderate, I noticed the banner image and icon image were nearly 20 MB each, so I replaced them with smaller versions (<1 MB each). On desktop w/ a fast wired connection, it's no biggie, but it's good practice anyway to minimize page weight, if for no other reason than to make the site more usable for people on slow or cellular connections.

I tried searching for traffic data about Lemmy, and the best I could find is this page on similarweb.com, which shows traffic broken out by country and referrals, among other things, but a breakout of mobile vs desktop appears to be locked behind a paywall.

Do we have any analytics on mobile vs desktop traffic for Lemmy?

19

Potential new player here (it's on my wish list). From lurking on social media, I gather that the devs have released several significant updates recently, among them an overhaul of space stations ("Orbital"). I get that they are procedurally generated, which means that no two should be alike, but... how different are they?

I ask b/c, while this might sound silly, during my time in Elite Dangerous, one of my favorite things was approaching stations, lining up my ship with the entrance, avoiding collisions, dealing with all the different axes & what not, and then setting her down on the landing pads. (and then I wish I could get out of my ship and explore on foot)

With space stations being procedurally generated, do they still feel pretty same-y or are they unique enough to keep someone like myself entertained? The wiki page for the Orbital update promises a variety of space station interiors, just wondering if actual players would agree.

Also, does NMS have any sort of "advanced flight mode" where I can enjoy the challenge of steering my ship through the obstacles or is it basically fly within the vicinity of a space station and press X to auto dock?

Sorry for the barrage of questions. Thanks in advance!

2
submitted 1 month ago* (last edited 1 month ago) by yo_scottie_oh@lemmy.ml to c/buildapc@lemmy.world

I have the T.16000M FCS HOTAS (throttle and stick) like this one linked on Amazon. When I search Amazon for "dust cover for hotas" I get listings that say "for Thrustmaster Warthog." Does anyone have the T.16000M, and if so, can you recommend a dust cover for those? Doesn't have to be custom fitting, any generic dust cover will do, my main concern is keeping dust from collecting in the ball joint of the stick and the rail of the thrust slider. Thank you!

EDIT: I'm thinking about getting this or this, or just going cheap with some clear plastic bags.

18
submitted 4 months ago* (last edited 4 months ago) by yo_scottie_oh@lemmy.ml to c/bicycles@lemmy.ca

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.

[-] yo_scottie_oh@lemmy.ml 54 points 4 months ago

In general, I downvote content with shitty or incomplete titles.

[-] yo_scottie_oh@lemmy.ml 47 points 6 months ago

I read the article so you don’t have to.

Excerpt:

A group of 12 Republican US senators sent a letter to International Criminal Court (ICC) Chief Prosecutor Karim Khan, threatening repercussions if the court issues arrest warrants against Israeli Prime Minister Benjamin Netanyahu and other officials, according a Monday report from news organization Zeteo.

The senators allege that the ICC seeks to punish “legitimate actions of self-defense,” citing Khan’s report of the “calculated cruelty” he witnessed following the October 7 attack and making clear that they find “no moral equivalence between Hamas’s terrorism and Israel’s justified response.” They claimed that the arrest warrants “would align the ICC with the largest state sponsor of terrorism.”

The signatories declared they would take any warrant issued as “not only a threat to Israel’s sovereignty but to the sovereignty of the United States.” They threaten, “Target Israel and we will target you” and that any further action will “end all American support for the ICC” and “bar [Khan] and [his] families from the United States.” It ended: “You have been warned.”

The letter, dated April 24, 2024, was signed by Senate Minority Leader Mitch McConnell of Kentucky as well as Senators Tom Cotton of Arkansas; Marsha Blackburn of Tennessee; Katie Boyd Britt of Alabama; Ted Budd of North California; Kevin Cramer of North Dakota; Ted Cruz of Texas; Bill Hagerty of Tennessee; Pete Ricketts of Nebraska; Marco Rubio and Rick Scott of Florida; and Tim Scott of South Carolina.

7
submitted 6 months ago* (last edited 6 months 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.

[-] yo_scottie_oh@lemmy.ml 51 points 6 months ago

nasal congestion intensifies

53
submitted 6 months ago* (last edited 6 months 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.

12
submitted 6 months ago* (last edited 6 months 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 6 months ago* (last edited 6 months 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?

[-] yo_scottie_oh@lemmy.ml 94 points 10 months ago* (last edited 10 months ago)

Not to downplay all the blood, sweat, and tears that have been shed while making the fediverse work, but if I may offer some unsolicited advice to the author of the linked post: Publicly airing out a team’s dirty laundry tends to be… counter-productive. Usually it’s best to “keep it in the family.”

In this case, we don’t know what’s going on in the original project owner’s life right now. The author of this post could have just said “hey all, we apologize for the inconvenience, but the original project appears to be abandoned, so we’ve forked the project with the intention of patching some of the known issues and adding some new features.” (insert GH link here)

Although the original project dies, this new project is born, and who knows—the original project’s owner might even show up again someday and start making meaningful contributions to the new project (or not).

I say all this without knowing the full history of this project, and I don’t mean to downplay the author’s frustration, just my two cents.

All of that said, in my mind this situation makes for an interesting case study on the pros and cons of different ownership structures for public/open projects.

[-] yo_scottie_oh@lemmy.ml 60 points 10 months ago

Great, I’ll be sure not to use that so I don’t lose all my content when Google kills it!

[-] yo_scottie_oh@lemmy.ml 140 points 11 months ago

Thank you for the excerpt. I initially interpreted the title as US government agencies will stop using Firefox, not US government agencies will stop requiring their web masters to test in Firefox.

view more: next ›

yo_scottie_oh

joined 11 months ago