• 0 Posts
  • 253 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.



  • Wouldn’t be a huge change at this point. Israel has been using AI to determine targets for drone-delivered airstrikes for over a year now.

    https://en.m.wikipedia.org/wiki/AI-assisted_targeting_in_the_Gaza_Strip gives a high level overview of Gospel and Lavender, and there are news articles in the references if you want to learn more.

    This is at least being positioned better than the ways Lavender and Gospel were used, but I have no doubt that it will be used to commit atrocities as well.

    For now, OpenAI’s models may help operators make sense of large amounts of incoming data to support faster human decision-making in high-pressure situations.

    Yep, that was how they justified Gospel and Lavender, too - “a human presses the button” (even though they’re not doing anywhere near enough due diligence).

    But it’s worth pointing out that the type of AI OpenAI is best known for comes from large language models (LLMs)—sometimes called large multimodal models—that are trained on massive datasets of text, images, and audio pulled from many different sources.

    Yes, OpenAI is well known for this, but they’ve also created other types of AI models (e.g., Whisper). I suspect an LLM might be part of a solution they would build but that it would not be the full solution.


  • Unless something has changed, it did. The page linked reads:

    And, obviously, this POC is open source, the code is publish here on our forge.

    The link takes you to their repos. The server repo has instructions on self-hosting directly on your server or with Docker. The app repo has code for both the iOS and Android apps. That’s good, because the iOS app at least doesn’t have a built-in way to select a different backend server.

    Whisper is by OpenAI and as far as I know they have not shared the training code, much less the data sets, so the best you can do is fine-tune the models they’ve provided.

    If use of Whisper is a problem, but the project is otherwise interesting to you, you could ask them to consider using a different STT solution (or allowing the user to choose between different options). I’m not aware of any fully open STT applications that are considered to be as capable as Whisper, but if you do, that would be great info to share with them.



  • Depends on your perspective. Would it be fine for Meta Threads to replace it? Threads supports ActivityPub, so in some ways it likely interacts better with the fediverse.

    If we agree that Threads isn’t a suitable replacement, then clearly there’s some criteria a replacement should meet. A lot of the things that make Threads unpalatable are also true of Bluesky, particularly if your concern relates to the platform being under the control of a corporation.

    On the other hand, from the perspective of “Twitter 2.0 is now a toxic, alt-right cesspool where productive conversations can’t be had,” then both Threads and Bluesky are huge improvements.


  • 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



  • I gather you’re from the US.

    Yes, but also the prison abolition movement is US specific. I’m not affiliated with it, to be clear - not that I oppose it or anything, but I certainly don’t speak for any of its activists.

    If we “only” reduce the prison population to 5% or 1% of its current count in the process

    Then why call it abolish prisons?

    Have you ever heard the quote “Shoot for the moon. Even if you miss, you’ll land among the stars?” “Abolition” is a goal, an ideal - and even if it isn’t accomplished fully, working toward that end goal and considering everything necessary to get there along the way is the point.

    Along those lines, I posit that if 90% of prisons are torn down or repurposed and the remaining 10% are drastically changed - holding fewer prisoners; not being privately owned and operated; focusing on rehabilitation, like learning new job skills, when possible, and otherwise simply being more humane, then the prison abolition movement would have succeeded.

    But if you disagree with the name, what would you call it? “Prison Reform” is already taken and means something drastically different.

    And to be clear, for some the goal is to eliminate prisons entirely. The movement isn’t monolithic. Abolishing the “prison institution” as it exists today is a pretty common goal, though, and using “prison” to mean “the prison institution” is a pretty common literary technique called “Synecdoche,” which you likely use every day.

    I see now that you’re trying trying to trigger an additional emotional response. Working on association, rather than logic.

    It’s a logical association, though. If the name evokes feelings of slavery, that’s a good thing, as the situation is similar enough to slavery to warrant that.

    Slavery in the US is still legal (so long as the person is in prison). Black Americans are 5 times as likely to be in prison as white Americans. A black man born in 2001 has a 20% chance of being in prison at some point in his life.

    The systemic oppression of black Americans is obviously because of racism, and the parallels between slavery and the prison institution aren’t accidental. For example, here’s a quote from Slavery and the U.S. Prison System:

    Gary Webb’s famous investigation revealed that the CIA was operating a gun-running and drug-smuggling operation that brought guns to the Nicaraguan contras that the U.S. was using to destabilize the popular government in that country, while bringing cocaine into the U.S. and funneling it to street-level dealers with access to black inner-city neighborhoods.  The history of black street gangs is part of the afterlife of COINTELPRO, the FBI’s counter-intelligence program that actively sabotaged black social movement throughout the long civil rights era.  Bobby Lavender, one of the founders of the Bloods in Los Angeles, explained that the COINTELPRO assassinations of black leaders, and the terrorizing of rank-and-file civil rights activists, left an organizational vacuum in many communities that youth like him filled with their “own brand of leadership.”  COINTELPRO established a pattern of law enforcement interference and sabotage of black self-determination, including gang truces, from the 1970s through to the present.

    Such manipulation, especially, is something I would not want to be a part of. It’s vile.

    Personally, I think the systemic sabotage of black people’s livelihood, communities, and families is vile, but you’re welcome to your opinion.


  • hedgehog@ttrpg.networktoAsklemmy@lemmy.mlOn prison abolition
    link
    fedilink
    arrow-up
    3
    arrow-down
    1
    ·
    2 months ago

    The name is important because of the parallels between slavery and modern day prisons.

    At minimum, the movement is about completely rethinking our approach to dealing with crime. If we “only” reduce the prison population to 5% or 1% of its current count in the process, we won’t have abolished all prisons, but we will have succeeded in abolishing many parts of the current criminal justice system.


  • Understandably frustrating, especially if you’re new to investing. But it’s expected that the market will have both ups and downs.

    The best advice I can give is to choose a good investment allocation and then stick to it. Contribute as much as you can each pay period or month and avoid looking at your balance as much as possible. You should figure out a rebalancing strategy, and you’ll probably need to look at your account to do that. Also, see The Best Order of Operations For Saving For Retirement.

    Right now you have unrealized losses, but you haven’t actually lost any money (i.e., you have no “realized losses”) until you withdraw it. As it’s a retirement account and you just started it, I assume you aren’t planning to retire in the next decade, much less the next three years.

    Is this your only retirement account? If so, why have you not been continuing to add money to it? If you wait to do that until the market recovers, you’ll lose out on all the gains between now and then.

    I know you haven’t said you’re considering selling, but I recommend you check out the “Maintain Discipline” section of the Bogleheads investment philosophy, just in case that’s on your mind. I also recommend that you read up on dollar cost averaging (if you’re investing in a retirement plan every pay period, you’re already doing this).

    You pointed out that the entire market has been impacted. I haven’t personally been paying attention in enough detail to confirm that (and my accounts that I just checked have gone up about 10% over the past three years, not down), but if so, that means you could change your asset allocation without selling low and buying high. I’m not saying you should change it, but if you take the time to learn about different investment strategies and decide a different one works for you, it’s nice to not have to sell your current investments while they’re underperforming relative to your new investments. (On the other hand, you can always change the allocation for your future investments without worrying about that.)



  • Are you thinking of something like Stack Overflow’s reputation system? See https://stackoverflow.com/help/whats-reputation for a basic overview. See https://stackoverflow.com/help/privileges for some examples of privileges unlocked by hitting a particular reputation level.

    That system is better optimized for reputation than the threaded discussions that we participate in here, but it has its own problems. However, we could at minimum learn from the things that it does right:

    • You need site (or community) staff, who are not constrained by reputation limits, to police the system
    • Upvoting is disabled until you have at least a little reputation
    • Downvoting is disabled until you have a decent amount of reputation and costs you reputation
    • Upvotes grant more reputation than downvotes take away
    • Voting fraud is a bannable offense and there are methods in place to detect it
    • The system is designed to discourage reuse of content
    • Not all activities can be upvoted or downvoted. For example, commenting on SO requires a minimum amount of reputation, but unless they’re reported as spam, offensive, fraudulent, etc. (which also requires a minimum reputation), they don’t impact your reputation, even if upvoted.

    If you wanted to have upvoted and downvoted discourse, you could also allow people to comment on a given piece of discourse without their comment itself being part of the discourse. For example, someone might just want to say “I’m lost, can someone explain this to me?” “Nice hat,” “Where did you get that?” or something entirely off topic that they thought about in response to a topic.

    You could also limit the total amount of reputation a person can bestow upon another person, and maybe increase that limit as their reputation increases. Alternatively or additionally, you could enable high rep users to grant more reputation with their upvotes (either every time or occasionally) or to transfer a portion of their rep to a user who made a comment they really liked. It makes sense that Joe Schmo endorsing me doesn’t mean much, but King Joe’s endorsement is a much bigger deal.

    Reputation also makes sense to be topic specific. I could be an expert on software development but be completely misinformed about hedgehogs, but think that I’m an expert. If I have a high reputation from software development discussions, it would be misleading when I start telling someone about hedgehogs diets.

    Yet another thing to consider, especially if you’re federating, is server-specific reputations with overlapping topics. Assuming you allow users to say “Don’t show this / any of my content to <other server> at all,” (e.g., if you know something is against the rules over there or is likely to be downvoted, but in your community it’s generally upvoted) there isn’t much reason to not allow a discussion to appear in two or more servers. Then users could accrue reputation on that topic from users of both servers. The staff, and later, high reputation users of one server could handle moderation of topics differently than the moderators of another, by design. This could solve disagreements about moderation style, voting etiquette, etc., by giving users alternatives to choose from.