• 1 Post
  • 145 Comments
Joined 1 year ago
cake
Cake day: July 14th, 2023

help-circle
  • Giphy has a documented API that you could use. There have been bulk downloaders, but I didn’t see any that had recent activity. However you still might be able to use one to model your own script after, like https://github.com/jcpsimmons/giphy-stacks

    There were downloaders for Gfycat - gallery-dl supported it at one point - but it’s down now. However you might be able to find collections that other people downloaded and are now hosting. You could also use the Internet Archive - they have tools and APIs documented

    There’s a Tenor mass downloader that uses the Tenor API and an API key that you provide.

    Imgur has GIFs is supported by gallery-dl, so that’s an option.

    Also, read over https://github.com/simon987/awesome-datahoarding - there may be something useful for you there.

    In terms of hosting, it would depend on my user base and if I want users to be able to upload GIFs, too. If it was just my close friends, then Immich would probably be fine, but if we had people I didn’t know directly using it, I’d want a more refined solution.

    There’s Gifable, which is pretty focused, but looks like it has a pretty small following. I haven’t used it myself to see how suitable it is. If you self-host it (or something else that uses S3), note that you can use MinIO or LocalStack for the S3 container rather than using AWS directly. I’m using MinIO as part of my stack now, though for a completely different app.

    MediaCMS is another option. Less focused on GIFs but more actively developed, and intended to be used for this sort of purpose.



  • As it is, you only see new comments if you scroll past the post again (and your client has refreshed it) or if you open it directly. If your client hasn’t updated the comment count or if you refresh your feed and the post falls off, you’ll never see it anyway.

    A “Watch” feature would solve this better. If you watch a post, you get aggregated notifications for edits and comments on the post. If you watch a comment, you get aggregated notifications for replies to it or any of its children.

    By aggregated notifications, I mean that you’d get one notification that said “The post you watched has been edited; 5 new comments” rather than a notification for each new comment.

    Then, in addition to exposing a “Watch” action on posts and comments, clients could also enable users to automatically hide posts that are watched, either by marking them as hidden or by hiding watched posts without updates.

    If the latter approach were taken, notifications might not even be necessary - the post could just get added back into the user’s feed when changes were made. It would result in a similar experience to forums, where new activity in a topic would bump it to the front, but it would only impact the people who were watching it.

    You can kinda get that behavior by sorting your feed by Active, but this could be used with other sorting methods.




  • White straight able bodied men age 25-64

    25-36 is still “young” by their definition.

    and a union doesn’t exist in their industry (as far as they know)

    It doesn’t matter what industry you’re working in if you’re interested in that industry having a union. Making unions more commonplace was part of the point. The second sentence in the Union Members and Families section reads “Democrats will make it easier for workers, public and private, to exercise their right to organize and join unions.”

    But sure, if you don’t believe unions have value, this wouldn’t include you.

    Fuck 'em lol. Wait are they religious, rural, a business owner, or a veteran? No? Ok yeah fuck 'em!

    You and I must have different definitions of “fuck ‘em,” because I clearly said:

    Economically, Democratic policies favor poor and middle class people, which statistically makes up the majority of all white men. And there aren’t any policies that oppress white people or men the way that Republican policies oppress women or reduce support for all of the groups that Democratic policies help support.

    So sure, if you’re a white man with wealth that puts you in the top 1%, the Republican’s economic policies will be better for you. For the other 99% of white men - no. And for the specific issues called out in the original post linked (on Reddit):

    1. Men account for 75% of suicides in the US
    2. 70% of opioid overdose deaths are men
    3. Men are 8 times more likely to be incarcerated than women
    4. Young men are struggling in schools and are increasingly the minority at universities, opting out of higher education
    • 1 is addressed under “Investing in Mental Health” in the Party Platform as well as indirectly by gun safety policies (since 50% of suicides are by gun, 60% of gun deaths are suicides, and 87% of gun suicides are committed by men)
    • 2 is explicitly addressed under “Faith Community (“respond to the opioid crisis”) and under “Beating the Opioid Epidemic” in the Party Platform.
    • 3 is addressed under “Criminal Justice” in the Party Platform
    • 4 is addressed in multiple ways, under “Good Jobs” (“you shouldn’t have to go to a four-year college to live a good, middle-class life.”) and under “Education” (investing in K-12 education, providing free, universal preschool, investing in other forms of secondary education - e.g., trade schools, community college, registered apprenticeships)

    Democrats need to work on their messaging, obviously (and the comments on the Reddit post touch on that), but the problem isn’t that their policies don’t help white men, because they obviously do.


    • Young white men are included under “Young People and Students.”
    • Old white men are included under “Seniors and Retirees.”
    • Many white men have disabilities and are covered under “Americans with Disabilities.”
    • Many white men are covered under “LGBTQ+” - trans men, gay and queer men. Heck, some even include allies under the umbrella.
    • Many white men who are neither young nor old (or members of their family) are members of unions, or would like to be, and thus covered under “Union Members and Families.”
    • Likewise, many white men are covered under:
      • Faith Community
      • Rural Americans
      • Small Business Community
      • Veterans and Military Families

    Economically, Democratic policies favor poor and middle class people, which statistically makes up the majority of all white men. And there aren’t any policies that oppress white people or men the way that Republican policies oppress women or reduce support for all of the groups that Democratic policies help support.

    In other words, unless you get off on the oppression of those groups, almost all white men are served by the Democratic party, even if they can’t find themselves on the list you shared.

    “Black Lives Matter” was a response to black men and women being murdered by police at higher rates, of the news stories of those deaths being under-reported by comparison, and of the victims being blamed more than people of other races, particularly white people.

    “All Lives Matter” as a response to “Black Lives Matter” missed the point. It’s “Black Lives Matter, too.” If all lives mattered, people wouldn’t have needed to protest the killings of black people in the first place.

    Imagine if you were at a restaurant and everyone around you got their order but you, so you said “Hey, I need my order.” If the server responded with “Yes, everyone needs their order” and walked off, that would be about the equivalent to saying “All Lives Matter.”

    So, is there a parallel between thinking that white men should be pandered to and saying “White Lives Matter?” Absolutely.



  • You can use yt-dlp to download Tiktok videos, and you can use it on both iOS (e.g., via aShell or Pythonista) and Android (e.g., via Termux).

    Once yt-dlp is installed, you can run this command in the terminal app. It’ll be downloaded into your current directory:

    yt-dlp https://www.tiktok.com/@r_o_b__b_a_r_b_e_r/video/7392630187063627040
    

    Just replace the URL with the one for your desired video. The video URL should like the one I have below, though you don’t need to remove the query parameters - if it doesn’t you may need to Share, Copy Link, and use the copied link instead of the URL bar. This is especially true if navigating among tabs on the web or something.

    You may need to wrap the url in double quotes. IME it varies by device.

    On iOS there are Shortcuts that integrate with yt-dlp, and on Android you can do the same with Tasker and the Tasker - Termux plugin. Make sure to install the F-Droid versions.

    You can also save many Tiktok videos through the app’s Share dialog, though creators can disallow that content wide.


  • From https://join-lemmy.org/docs/users/02-media.html#images-and-video

    Lemmy also allows sharing of images and videos. To upload an image, go to the Create post page and click the little image icon under the URL field. This allows you to select a local image. If you made a mistake, a popup message allows you to delete the image. The same image button also allows uploading of videos in .gif format. Instead of uploading a local file, you can also simply paste the URL of an image or video from another website.

    Note that this functionality is not meant to share large images or videos, because that would require too many server resources. Instead, upload them on another platform like PeerTube or Pixelfed, and share the link on Lemmy.

    That said, the more important thing I wanted to say was that you should report that officer. Here’s an infographic with state-specific hotline numbers to do so. See also https://www.usa.gov/voter-fraud





  • If I were talking about Passkeys and comparing them to client certificates, even though I don’t know much about client certificates in practice, I would say:

    • Passkeys can be installed in your password manager, which handles securely syncing it to all of your devices
    • Websites can make it very easy to create or log in with a passkey
    • Far more websites support passkeys
    • Websites can support multiple passkeys per user
    • The user experience is far better with passkeys
    • Even if your password manager isn’t installed on a given machine, you can still log in with a passkey via your phone, so long as both devices have bluetooth enabled. This allows you to log in on an untrusted device, like a library computer, without exposing your password (though unfortunately that would still result in that computer having access to the session and being able to modify account settings - best practice would be to log out when you’re done and then, from a trusted device, confirm that you were logged out / log out of all devices.)

  • Can I store a passkey in a platform agnostic way?

    If by “platform” you mean OS, then yes - and the best way to do that is to use a dedicated password manager instead of something that’s tightly integrated with an OS.

    That said, iCloud keychain is available on Windows, but not Android. Likewise with Google Password Manager - it supports Macs, but not yet support iPhones or iPads.

    However you can also use a password manager like one of these and use it across every platform:

    Based on my experience (with Bitwarden) or research, all support passkeys in browser extensions for Firefox and Chromium browsers and/or desktop apps on Linux, Mac, and Windows, as well as in apps for iOS and Android.

    Keepass also might be an option, as KeePassXC supports passkeys and is available on Mac, Windows, and Linux, but I didn’t see any mobile clients that advertise support for passkeys.

    Even with the more open password managers, there isn’t a built-in way to transfer passkeys from one password manager to another. However, the FIDO Alliance is working on a spec for securely transferring passkeys so hopefully that’ll change soon and you’ll be able to transfer passkeys from one ecosystem to another.

    Also, you can generally still log in on a device that your passkey service doesn’t support by scanning a QR code displayed on the target device on your phone, so long as both devices have Bluetooth (used for confirming physical proximity). I’ve only done that once and it wasn’t super streamlined, but it also wasn’t terrible. You can also save passkeys to your phone or security key (like a Yubikey) though be aware that a YubiKey 5 can only store 100 passkeys. And you can have multiple passkeys to a given service, so if you use a Mac but use an Android phone, you can save a passkey to iCloud Keychain on your Mac and to Google Password Manager on your phone.

    EDIT: Looked up and added the correct limit for YubiKey passkeys