prologic

twtxt.net

"Problems are Solved by Method" 🇦🇺👨‍💻👨‍🦯🏹♔ 🏓⚯ 👨‍👩‍👧‍👧🛥 -- James Mills (operator of twtxt.net / creator of Yarn.social 🧶)

Recent twts from prologic
In-reply-to » @abucci appreciate it if you find the time to update again 🙏

@abucci@anthony.buc.ci No this correctly now responds with:

$ curl 'https://twtxt.net/external?uri=https://google.com&nick=lovetocode999'
Feed Not Found

After nuking that from my cache. I forgot to nuke my own cache myself because it’s quite destructive and takes a few mins to rebuild on my pod 🤣 There’s a tool in tools for deleting a specific feed from the cache that I’ve been using.

⤋ Read More
In-reply-to » Hmm I see this in the cache again 🤦‍♂️ Not sure how tbh -- Job for me later.

Now that’s rolling out, I think that’s it. The only final way I can improve that /external endpoint/view is to refactor how it works a bit and add some HTMX magic™ so it has a nice snappy UX to it as it dynamically tries to validate the feed and provide useful feedback to the user, that way I can avoid injecting it into the cache unnecessarily in the first place!

⤋ Read More
In-reply-to » @prologic see: https://twtxt.net/external?uri=https://google.com&nick=abucci (open it while logged in, or logged out, it doesn't matter.

@bender@twtxt.net https://google.com has been removed from the cache (without nuking the entire cache) @abucci if you need to selectively do this for some reason, there’s a script in the tools directory for this:

$ ./tools/cache_delete_feed.sh 'https://google.com'

Anyway, that’s gone. This is much much harder to exploit now, even if you’re an authenticated user.

⤋ Read More

Time for work™, But I quickly hacked together a bit of a better solution here. Rolling it out to my pod so we’ll see how it actually goes. Still possible to abuse if you’re a logged in user, etc, but at least now we delete the invalid/bad feed afterwards if it a) was not even a text//plain content-type or b) it errored out and was a new fetch of a HTTP feed.

⤋ Read More
In-reply-to » A stopgap setting that would let me stop all calls to /external matching a particular pattern (like this damn lovetocode999 nick) would do the job. Given the potential for abuse of that endpoint, having more moderation control over what it can do is probably a good idea.

@abucci I mean it’s only suppose to do one thing really. What are you thinking here?

⤋ Read More
In-reply-to » There is a bug in yarnd that's been around for awhile and is still present in the current version I'm running that lets a person hit a constructed URL like

But this is super weird, should behave the same as my pod 🤦‍♂️

⤋ Read More
In-reply-to » There is a bug in yarnd that's been around for awhile and is still present in the current version I'm running that lets a person hit a constructed URL like

@abucci Bo worries! If you curl it too it’ll return a proper 494 👌 Should make bots go away 🤞

⤋ Read More
In-reply-to » There is a bug in yarnd that's been around for awhile and is still present in the current version I'm running that lets a person hit a constructed URL like

@abucci Blah my cache was poisoned 🤦‍♂️ it’s fine now! And this is no monger possible to do now.

⤋ Read More
In-reply-to » There is a bug in yarnd that's been around for awhile and is still present in the current version I'm running that lets a person hit a constructed URL like

@abucci This is already in place. It will error, return 404 Feed Not Found for non-browsers and external feeds are never fetched (unless you are an authenticated/valid user of the pod) – I patched that hole a while ago, because I already picked up it was being abused by bots 🤖

⤋ Read More
In-reply-to » Wow! My god spammers really try hard song they? 🤣 Geez 🤦‍♂️ Media Do we need to make the captcha harder? 🙄

Support (and thus abuse reports) are now disabled on this pod. There’s now a new setting in Settings -> Poderator Settings called “Disable Support”.

⤋ Read More
In-reply-to » Wow! My god spammers really try hard song they? 🤣 Geez 🤦‍♂️ Media Do we need to make the captcha harder? 🙄

This happens again today. This is twice just today alone. Hmm I’m reconsidering this feature entirely, rarely used and if it’s just going to be abused by spammer, I don’t see the value in it. I’m certainly not going to try to build some kind of “anti-spam” filters or anything, sounds cool, I’d learn a lot, but smells of effort and time I simply don’t have 😢 #spam #sucks

⤋ Read More
In-reply-to » Far-Right 'Terrorgram' Chatrooms Are Fueling a Wave of Power Grid Attacks An anonymous reader quotes a report from Bloomberg: People in a quiet neighborhood in Carthage, a town in Moore County, North Carolina, heard a series of six loud pops a few minutes before 8:00 p.m. on Dec. 3, 2022. A resident named Michael Campbell said he ducked at the sound. Another witness told police they thought they were he ... ⌘ Read more

@slashdot@feeds.twtxt.net OMG! 😦 What da hell is going on here?! I used to have a friend that came from North Carolina, this is terrible (attacking power grids) 🤬 wtf are these people smoking?! 🚬

⤋ Read More
In-reply-to » Wow! My god spammers really try hard song they? 🤣 Geez 🤦‍♂️ Media Do we need to make the captcha harder? 🙄

Like why does spammers even bother?! Don’t they realize how fucking futile and useless it is to be abuse something like a support form? I mean clearly nothing is going to come of this, except it’s going to be clearly ignored and toss in the bin. 🤣

⤋ Read More
In-reply-to » Yeah, user error on my end, never mind. The persisted settings.yaml overrides the command line arguments. That's surprising to me. I expected the command line options to overrule the config file. Oh well.

@lyse@lyse.isobeef.org to be fair the settings that you can change in the user interface are persisted to the settings YAML file and yes override any environmental command online options. This is always made sense to me because there are subset of settings that can be changed dynamically at runtime without requiring any restart.

⤋ Read More
In-reply-to » I'm happy with the current implementation though, because the only reason you should be hitting the external profile endpoint at all is a) you're logged in and happen to click on someone's profile that is external to the pod or b) you're anonymous and just clicking through the frontpage (see a)

@aelaraji@aelaraji.com It is if he’s turned off open profiles 👌

⤋ Read More
In-reply-to » There is a bug in yarnd that's been around for awhile and is still present in the current version I'm running that lets a person hit a constructed URL like

I’m happy with the current implementation though, because the only reason you should be hitting the external profile endpoint at all is a) you’re logged in and happen to click on someone’s profile that is external to the pod or b) you’re anonymous and just clicking through the frontpage (see a)

⤋ Read More
In-reply-to » There is a bug in yarnd that's been around for awhile and is still present in the current version I'm running that lets a person hit a constructed URL like

@bender@twtxt.net The problem with this is we just don’t know until we try. That’s why if the external feed you’re looking for isn’t found in the cache, it’ll try to fetch it in the background. It’s a bit of a sucky UX really, but its better than the experience of “waiting, waiting waiting and then timeout”.

⤋ Read More
In-reply-to » There is a bug in yarnd that's been around for awhile and is still present in the current version I'm running that lets a person hit a constructed URL like

I’ve pushed a slightly improved version of this that will return a HTTP 404 Not Found if the UserAgent is determined to NOT be a Browser.

⤋ Read More
In-reply-to » There is a bug in yarnd that's been around for awhile and is still present in the current version I'm running that lets a person hit a constructed URL like

Now responds with an error page; but still a 200 OK which I’m not entirely sure I agree with or am happy with? Hmm

Image

Image

⤋ Read More
In-reply-to » There is a bug in yarnd that's been around for awhile and is still present in the current version I'm running that lets a person hit a constructed URL like

@abucci I’ve fixed this and pushed a commit to main. Will test it on my pod and see how it goes. Basically reporting an error if the feed isn’t in the cache and you’re unauthenticated (anonymous).

⤋ Read More
In-reply-to » There is a bug in yarnd that's been around for awhile and is still present in the current version I'm running that lets a person hit a constructed URL like

@abucci Hmmm I’ll have a look at this today, hopefully. 🤞 Thanks for bringing this up! 🙇‍♂️

⤋ Read More
In-reply-to » It cooled off to 20°C today, but mid week is supposed to be crazy hot again. It was a nice walk, also plenty of people around, though. So we decided against going up our backyard mountain to avoid the masses. We finally took a path that we haven't checked out for years. That was pretty cool. I couldn't remember anything on that.

@movq@www.uninformativ.de it looks like it would kill you. 😅

⤋ Read More