admiralpatrick

joined 2 years ago
MODERATOR OF
[–] admiralpatrick@lemmy.world 5 points 15 hours ago (1 children)

Seems more like a genuine feature to me.

I don't know how many requests I've seen for Lemmy apps to be able to swipe between posts in the feed.

Dr Cox saying "The answer is ' lot'"

Seems that's basically what they're doing here.

But also, gesture navigation is terrible, I hate it, and always turn on 3-button navigation when I get a new phone anyway.

[–] admiralpatrick@lemmy.world 5 points 1 day ago* (last edited 1 day ago)

I shouldn't say this, but whatever: It's a "troll" tactic to do that since mods/admins can't ban with content removal if the account is deleted (unless that's fixed in .13?) . Admins can remove the deleted flag in the DB for the user and then do so, but mods can only remove items individually. Not that any of these necessarily warrant removal on their own, but not doing so in this case encourages this kind of "hit it and quit it" behavior, and this user is clearly ban evading.

I'm not saying this as an instruction manual but merely as a statement of fact about how stupid Lemmy's behavior is with regard to deleted accounts.

[–] admiralpatrick@lemmy.world 5 points 1 day ago (1 children)

They've had many, many alts over the last 6+ months with the same posting pattern. Not one has been marked as a bot.

[–] admiralpatrick@lemmy.world 16 points 1 day ago* (last edited 1 day ago) (7 children)

Ok, I just gotta ask: what is your motive here?

You get banned every other day for spamming out a massive number of posts. And you just make a new account the next day, start the exact same thing again like...you've learned nothing?

I'm tired of my feed being an entire page of just you, and I'm tired of blocking you. Can you not just post things at a normal rate?

[–] admiralpatrick@lemmy.world 2 points 2 days ago (1 children)

but I send you a PM

Oh, sorry. One of the new features in this dev branch is the ability to disable PMs and mentions. I've been running with those turned off. Seems like that feature is working lol.

I turned DMs back on and found the message - will try to join here when I'm back on desktop. Dunno how active I can be right now, but I am eventually going to start on Piefed so would be nice to have a sounding board.

Some of the devs are already working on shared logic/libraries between apps.

Nice!

[–] admiralpatrick@lemmy.world 2 points 3 days ago (3 children)

Oh, I meant just if the instance isn't know, I thought resolving would make it "aware" of that instance. I could be wrong. But yeah, the instance would have to federate with the other one for it to be able to resolve, though. e.g. it won't resolve an object from an instance that is on the current instance's "block" list.

[–] admiralpatrick@lemmy.world 2 points 4 days ago (5 children)

I believe you can, yeah, and I also think that "bootstraps" that instance to yours if it doesn't already know about it. But in that case, the way I have the search written, it'll "fall back" to regular search which also does resolveObject. That just takes longer.

The ap_id check is just to short-circuit that behavior to avoid the lengthy, often unnecessary, search and quickly redirect you to your instance's local copy.

Have had that working for about a week now, and it's pretty nice. Please do steal this feature lol.

[–] admiralpatrick@lemmy.world 1 points 4 days ago (7 children)

At startup, it calls /api/v3/federated_instances and stores the result to a lookup variable. Then I've got a couple of helper functions that accept either an instance ID or a domain name which looks them up from the lookup variable.

[–] admiralpatrick@lemmy.world 16 points 5 days ago

Email on your own domain: Yep, super easy.

Email from home IP or from the IPv4 you get assigned with a VPS: Super difficult

[–] admiralpatrick@lemmy.world 6 points 6 days ago (1 children)

Yeah, that's a very common thing with Mlmym, and a lot of instances have that issue. It's also hard to rate-limit because all client connections to the API come from Mlmym's server rather than the users.

[–] admiralpatrick@lemmy.world 1 points 6 days ago* (last edited 6 days ago) (1 children)

I think you would be better served by checking for the Link header

Can't really do that, client-side, in a browser application. CORS is a perpetual cockblock (though I understand why it is), and I'd rather not make an internal API endpoint to do the lookup.

The application polls Lemmy's getFederatedInstances API endpoint at startup, so it has a list of every activity pub server your instance knows about. That's the first and primary check for the URL that's being searched.

The second check is just to rule out non activity pub URLs that point to a federated instance (e..g. https://lemmy.world/modlog, https://lemm.world/pictrs/image/blah.webp, etc).

Goal isn't to "catch 'em all" but to catch the most used ones. If there's one I don't account for, either by omission or because the federated platform didn't exist when I made the patterns, then it will just fall back to a regular search which also includes trying to resolve it as a federated URL (which is the current behavior in all prior versions).

The goal is just to simply short-circuit the search behavior if the query is a known ap_id URL in order to avoid a lengthy search process and quickly redirect you to your instance's local copy.

[–] admiralpatrick@lemmy.world 4 points 1 week ago

I'm making an "omnisearch" box.

Paste in an AP_ID into the search field, and it auto-resolves it and redirects you to your instance's local copy (which is very fast) instead of going through the whole search process (which is slow). To prevent false positives, I'm matching the various ap_id formats and only doing the resolution on those; anything else gets passed to search.

Anything else that falls through the cracks just gets passed to search as usual (which also does a resolveObject lookup).

It's to make life easier.

 

TL;DR: Any of you who are more familiar with Fediverse platforms that aren't Lemmy/Piefed, can you let me know what the AP_IDs look like for users, posts, comments, and, if applicable, communities?

So, I've rewritten the search / search boxes in Tesseract to skip the search and directly resolve activity pub URLs for users, posts, comments, and communities. I'm loving this as it makes things so much faster and easier.

To make that work, and reduce false positives/negatives, I have to do some pre-flight checks on the URL that's submitted to the search.

Currently, it checks if the domain is to a known federated instance and looks for specific paths in the URL. If it detects the URL is an AP_ID URL, it will only resolve the object and redirect you to it (skipping the lengthy search step). For false negatives, it will pass it to the regular search but still try a federated lookup along with the search.

For Lemmy and Piefed, those are:

  • /u/ for users
  • /c/ for communities
  • /post/ for posts
  • /comment/ for comments.

For Mbin, I think it's the same except it uses /m/ for communities (they call them "magazines" I believe).

I think mastoon uses /user or maybe /username/ in the AP identifiers?

Any of you who are more familiar with Fediverse platforms that aren't Lemmy/Piefed, can you let me know what the AP_IDs look like for users, posts, comments, and, if applicable, communities?

 

Edit: Fixed typos, added alt text.

1
submitted 3 weeks ago* (last edited 3 weeks ago) by admiralpatrick@lemmy.world to c/30rock@dubvee.org
 

My phone has been blowing up in all the best ways today.

Jen's been out of extended-care ICU for about 3- 4 weeks and has been recovering at home. Since she's been awake and out of the regular ICU, she's not wanted visitors, so we've only gotten updates from her husband and sisters.

Today, she's finally got enough dexterity back in her hands to start using her phone again and joined our group chat!!

Also, we finally got an answer to "what the fuck happened?" and I've been authorized to share the following:

Jen: Got downed by choking on a grape. That's what started this whole thing 😩

Me: LOL. The one time you ate a grape instead of drinking them from a box.

Jen: I know right?? Only liquid grapes from now on

So, she's definitely still all there (which wasn't a given when this all went down), is in good spirits, and doing better.

Also, I guess this community can stay open. I've had to leave dubvee partially online in a parking orbit in order to do development on Tesseract, so I guess c/30Rock can keep on going.

Also also, if you see any grapes, give them a good squish and let them know who the dominant life form is.

 

"Antiyanks" is back at it again and has switched tactics to spamming a massive number of comments in a short period of time. In addition to being annoying (and sad and pathetic), it's having a deleterious effect on performance and drowns out any discussions happening in those posts. That spam also federates as well as the eventual removals, so it's not limited to just the posts being targeted.

Looking at the site config for the home instance of the latest ~~two~~ three alts, the rate limits were all 99999999. 🤦‍♂️

Rate limits are a bit confusing, but they mean: X number of requests per Y seconds per IP address.

The comment API endpoint has its own, dedicated bucket. I don't recall the defaults, but they're probably higher than you need unless you're catering to VPN users who would share an IP.

Assuming your server config is correctly passing the client IP via the XFF header, 20 calls to the /create_comment endpoint per minute (60 seconds) per client IP should be sufficient for most cases, though feel free to adjust to your specific requirements.

Edit: A couple of instances accidentally set the "Messages" bucket too low. That bucket is a bit of a catch-all for API endpoints that don't fit a more specific bucket. You'll want to leave that one relatively high compared to the rest. It's named "Messages" but it covers far more than just DMs.

 

After some back-and-forth with a few people, some very generous drinking about it, and, quite frankly, just not having a new hobby lined up yet, I've decided to un-archive the repo and continue limited development of Tesseract.

What do I mean by limited?

  • By and large, it'll be in maintenance mode only.
  • I'm no longer spending time here on the platform (this announcement notwithstanding). This means I will not notice annoyances and bugs like I used to. Any bug/annoyance must be user-reported in detail on Github.
  • Mod tooling will likely not see any changes except maybe bugfixes. I have stepped down as mod in all communities and self-destructed my instance, so there is no longer any way for me to test privileged API calls.
  • There will probably never be support for Lemmy 1.0 or anything beyond the current 0.19.x API
  • Piefed support is still up in the air; if/when Piefed support happens, it will be in place of Lemmy and not concurrent with.
  • The Matrix rooms ~~and support/announcement community~~ are not coming back. All bugs, questions, etc will need to be submitted via Github. New versions will not be announced other than in the "Releases" list on Github
  • ~~The unlocked, hosted instance formerly at "tesseract.dubvee.org" will not be coming back; you will need to self-host or ask your instance admin(s) to offer it as an alternative UI.~~
  • I'm more likely to remove features and fine tune what's left than add anything new.
  • I am taking a more opinionated approach to options, settings, etc. The codebase has become a fustercluck, so some options are likely on the chopping block in favor of "this is just how it is"

1.4.42 is in development.

 

NBC New York obtained exclusive video that shows the torture victim running down the street after his escape, 17 days into captivity, and seeking help from a police officer.

What to Know

  • An Italian man escaped from a house on Prince Street in New York City last week, where he said he had been held captive for 17 days and allegedly tortured by two business partners
  • Two NYPD members, including a detective on Mayor Eric Adams' security detail have been placed on modified desk duty after links surfaced to the two crypto businessmen charged with kidnapping an Italian tourist, sources tell News 4
  • The detective allegedly provided security for the Prince Street townhouse where the Italian man was held and it's believed he may have picked up the tourist from the airport and brought him to SoHo, sources tell News 4
  • City Hall said it is "disturbed by these allegations" and the investigation into the officer's behavior is ongoing
  • John Woeltz, was arrested in his bathrobe outside the scene; he is expected in court on kidnap and torture charges, among others, on Wednesday. A second suspect, William Duplessie, surrendered in connection with the case a day ago

Note: There are two headlines for this, one on the actual article page and a different one in the embed description. The post title is the one from the article. The headline from the embed description is "Crypto king torture investigation takes shocking turn".

 

“I would not acknowledge reproduction as a human right, but instead as a form of rape,” IndictEvolution wrote on Lemmy.World in July 2023. “I am also not bothered by infanticide as long as it is done humanely...”

 

Preface: I'm neither equipped nor here to diagnose anyone with body dysphoria or anything like that.

I totally get the appeal of working out, getting a nice summer/beach body, staying fit/healthy and all that. That's all well and good. But the degree to which bodybuilders intentionally overdo it just looks awful to me. Like, to me, they all look like tiny little heads atop roided-out, spray-tanned, lumpy, disproportionate looking bodies.

That just looks gross to me, and I can't see the appeal of wanting to do that to yourself.

 

Just added rule 6 to the sidebar that reduces some ambiguity between rules 4 and 5. 99% of posts here already do this, so there shouldn't be much change other than it being required now.

Rule 6: Defend your position

This is a bit of a mix of rules 4 and 5 to help foster higher quality posts. You are expected to defend your unpopular opinion in the post body. We don't expect a whole manifesto (please, no manifestos), but you should at least provide some details as to why you hold the position you do.

This won't be applied retroactively, but anything from here on out is expected to include some exposition to go along with the opinion itself

 

Edit 2025-01-13: LW has indicated they will be clarifying these rules soon. In the mean time, the community will remain locked until those are updated and deemed acceptable.


So the LW Team put out an announcement on new, site-wide moderation policy (see post link). I've defended, to many a downvote, pretty much every major decision they've made, but I absolutely cannot defend this one. In short, mods are expected to counter pretty much every batshit claim rather than mod it as misinformation, trolling, attack on groups, etc.

My rebuttal (using my main account) to the announcement: https://dubvee.org/comment/3541322


We're going to allow some "flat earth" comments. We're going to force some moderators to accept some "flat earth" comments. The point of this is that you should be able to counter those comments with words, and not need moderation/admin tools to do so.

(emphases mine)

Me: What if, to use the recent example from Meta, someone comes into a LGBT+ community and says they think being gay is a mental illness and /or link some quack study? Is that an attack on a group or is it "respectful dissent"?

LW: A lot of attacks like that are common and worth refuting once in awhile anyway. It can be valuable to show the response on occasion


I understand what they're trying to address here (highly encourage you to read the linked post), but the way they're going about it is heavy handed and reeks of "both sides"-ing every community, removing agency from the community moderators who work like hell to keep these spaces safe and civil, and opening the floodgates for misinformation and "civil" hate speech. How this new policy fits with their Terms of Service is completely lost to me.

I'll leave the speculation as to whether Musk dropped LW a big check as an exercise to the reader.

For now, this community is going dark in protest and I encourage other communities who may disagree with this new policy to join. Again, I understand the problem that is trying to be addressed, but this new policy, as-written, is not the way to do it.

1
submitted 9 months ago* (last edited 9 months ago) by admiralpatrick@lemmy.world to c/music@dubvee.org
view more: next ›