# I am the Watcher. I am your guide through this vast new twtiverse.
# 
# Usage:
#     https://watcher.sour.is/api/plain/users              View list of users and latest twt date.
#     https://watcher.sour.is/api/plain/twt                View all twts.
#     https://watcher.sour.is/api/plain/mentions?uri=:uri  View all mentions for uri.
#     https://watcher.sour.is/api/plain/conv/:hash         View all twts for a conversation subject.
# 
# Options:
#     uri     Filter to show a specific users twts.
#     offset  Start index for quey.
#     limit   Count of items to return (going back in time).
# 
# twt range = 1 196308
# self = https://watcher.sour.is?offset=164958
# next = https://watcher.sour.is?offset=165058
# prev = https://watcher.sour.is?offset=164858
Hey @movq !! here's an article you might find interesting: Blocking Bots with Nginx ... this person is actually blocking AI Bots based on a list of User Agents in an interesting way. 👍
But what would you prefer if you were rethinking the architectural design of your next web app? A bazillion lines of Javascript™ with all kinds of indirections and acrobatics that are impossible to understand? 🤔 -- Or just write your web application as a normal set of pages in the Hypermedia Driven Application (HDA) style/architecture, than sprinkle a few hx-* attributes and get the same user experience? 😅 #htmx
But what would you prefer if you were rethinking the architectural design of your next web app? A bazillion lines of Javascript™ with all kinds of indirections and acrobatics that are impossible to understand? 🤔 -- Or just write your web application as a normal set of pages in the Hypermedia Driven Application (HDA) style/architecture, than sprinkle a few hx-* attributes and get the same user experience? 😅 #htmx
@aelaraji Yeah it's more along the lines of "everything sucks" at least a bit 🤣
@aelaraji Yeah it's more along the lines of "everything sucks" at least a bit 🤣
@bender Actually the video is a reaction to: HTMX Sucks that is originally an essay by Carson Gross (the creator) in the "The worse-is-better design philosophy" _and what not_ style. So No, it isn't ... or at least not in the sense one would get from such a title. 😄
@bender Actually the video is a reaction to: HTMX Sucks that is originally an essay by Carson Gross (the creator) in the "The worse-is-better design philosophy" _and what not_ style. So No, it isn't ... or at least not in the sense one would get from such a title. 😄
@lyse I'll buy that argument 👌
@lyse I'll buy that argument 👌
@lyse Can you get an AI to summarize this 🤣
@lyse Can you get an AI to summarize this 🤣
@bender Hmmm god question 🤣 @shreyan Can you tell @bender what my Matrix handle is 🤣
@bender Hmmm god question 🤣 @shreyan Can you tell @bender what my Matrix handle is 🤣
@lyse Yeah I'm not a fan of all this YouTube / Discord / Twitch studs 🤣 I was more interested in the presentation itself which is also covered by the cook

https://hypermedia.systems/
@lyse Yeah I'm not a fan of all this YouTube / Discord / Twitch studs 🤣 I was more interested in the presentation itself which is also covered by the cook

https://hypermedia.systems/
Haha yeah that video on htmx sucks is pretty funny really! 🤣 And no it obviously doesn't suck 😅
Haha yeah that video on htmx sucks is pretty funny really! 🤣 And no it obviously doesn't suck 😅
@aelaraji haha! Click bait and all (I didn’t tap it, but you know what I mean)! So, does it truly sucks?
🧮 USERS:1 FEEDS:2 TWTS:1006 ARCHIVED:74203 CACHE:2362 FOLLOWERS:17 FOLLOWING:14
@prologic Watched that one the other day after seeing that much chatter about #HTMX on the feed. And now I'm watching HTMX Sucks - Youtube by the same person (or should I say people?) 😂
@prologic Watched that one the other day after seeing that much chatter about #HTMX on the feed. And now I'm watching HTMX Sucks - Youtube by the same person (or should I say people?) 😂
@bender I agree. For learning, reading is heaps better. There's also the very powerful Ctrl+F that I do not want to miss.
Nice long rant about AI: https://ludic.mataroa.blog/blog/i-will-fucking-piledrive-you-if-you-mention-ai-again/
What’s your Matrix handle, @prologic?
@lyse I am part of the selective “can’t-watch-videos” generation 😅. It has to be something truly exceptional for me to watch it, otherwise I prefer reading.
[47°09′03″S, 126°43′08″W] Transponder malfunction
Can't watch this. What the hell, why would you put a silly chat on the screen!? Distracting af.
@prologic Didn't understand anything. Luckily I don't have to waste my time with this web hipster shit. :-D But that's awesome! https://www.youtube.com/watch?v=ieqsL5NkS6I
@prologic Absolutely! I sure ate it after cleaning up the giant mess from door and floor. The good homemade apple sauce! :-(
@prologic I do NOT claim to be an expert in that realm. I've seen different things being implemented in the guise of "remember me". But I reckon the most common scheme, when this checkbox is activated, is to issue a dedicated, long-lived refresh token in a login cookie. I'm sure it is known under several different names. This "remember me" login cookie is separate from the actual short-lived session cookie.

Part 2 of this answer explains it fairly well: https://stackoverflow.com/a/477578 Also, this was a nice read: https://web.archive.org/web/20180819014446/http://jaspan.com/improved_persistent_login_cookie_best_practice

It depends on your threat model, but the use of public computers in libraries, internet cafés or similar is probably the most relevant here, when arguing against activating "remember me". These days, shared computer use is declining I'd assume. With twtxt being a niche for more computer-affine folks, I'd reckon this threat is not that high up the list. On the hand, you want to bring yarnd to the average non-nerd user, so this threat might actually rank more important.

It's probably okay and safe enough to remove "remember me" entirely and just issue a long-lived session cookie and be done with that. Optionally, power users or the administrator could benefit from configurable cookie lifetime(s).
@lyse Haha, sadly no, that is the version number Firefox is up to 🤣
@lyse Haha, sadly no, that is the version number Firefox is up to 🤣
[47°09′27″S, 126°43′43″W] --white noise--
@prologic Haha, my brain thought, that loopback address is missing a zero. :-D
[Interview with Senior JS Developer 2024 [NEW] - YouTube](https://www.youtube.com/watch?v=aWfYxg-Ypm4) Bahahahahaha 🤣 So funny!
[Interview with Senior JS Developer 2024 [NEW] - YouTube](https://www.youtube.com/watch?v=aWfYxg-Ypm4) Bahahahahaha 🤣 So funny!
@lyse 10s rule? 🤔
@lyse 10s rule? 🤔
Oh come on. The waffle fell off the plate and hit the door and then the floor. Of course with the apple sauce side each.
@movq True! Complexity Budget 👌
@movq True! Complexity Budget 👌
Creator of HTMX Talks HTMX - YouTube
Creator of HTMX Talks HTMX - YouTube
@prologic And it won’t be the last. 😅 It’s inevitable at this level of complexity …
@prologic And it won’t be the last. 😅 It’s inevitable at this level of complexity …
@prologic And it won’t be the last. 😅 It’s inevitable at this level of complexity …
@prologic And it won’t be the last. 😅 It’s inevitable at this level of complexity …
@eldersnake No worries! Any time 🤗 Sorry it took this long to sort out, I'm not happy about how we did it (_work around et all_) but yeah if that's what we have to do, so be it 🤣
@eldersnake No worries! Any time 🤗 Sorry it took this long to sort out, I'm not happy about how we did it (_work around et all_) but yeah if that's what we have to do, so be it 🤣
@movq Oh come now, this isn't the first Browser bug we've seen right? 😅
@movq Oh come now, this isn't the first Browser bug we've seen right? 😅
@prologic Yes very very strange! I truly don't know where to start on that one 🤣 Must be one of those really weird edge cases. Thanks for your help on this, I can at least post normally now.👌

I'll check logging in etc tomorrow, time for bed lol 😴
@prologic I’ll grab my popcorn. 🍿
@prologic I’ll grab my popcorn. 🍿
@prologic I’ll grab my popcorn. 🍿
@prologic I’ll grab my popcorn. 🍿
@eldersnake Good good 👍
@eldersnake Good good 👍
@eldersnake But not me against your pod, so that's even weirder right? 🤔
@eldersnake But not me against your pod, so that's even weirder right? 🤔
Test

EDIT: Okay, convo works properly now at least
@prologic It's weird though cos I could reproduce it on any of my browsers on either my laptop or phone 🤔
@movq You wouldn't believe it, but I'm pretty sure @eldersnake and I found a nasty little bug in Firefox 126.0.1 🤣
@movq You wouldn't believe it, but I'm pretty sure @eldersnake and I found a nasty little bug in Firefox 126.0.1 🤣
Lot of testing going on here today. 🤣
Lot of testing going on here today. 🤣
Lot of testing going on here today. 🤣
Lot of testing going on here today. 🤣
@eldersnake I just installed 127.0.1 (64-bit) tonight and tested and it worked just fine. Try upgrading and roll that commit back and see if it still repros? 🤔 I'm almost willing to bet this is a bug 🐛
@eldersnake I just installed 127.0.1 (64-bit) tonight and tested and it worked just fine. Try upgrading and roll that commit back and see if it still repros? 🤔 I'm almost willing to bet this is a bug 🐛
@prologic Firefox 126.0.1 is my primary
@eldersnake Test
@eldersnake Test
What browser and version is this btw? Not sure if you mentioned?
What browser and version is this btw? Not sure if you mentioned?
@eldersnake Fuck'n hell 🤣 This has to be a browser bug!
@eldersnake Fuck'n hell 🤣 This has to be a browser bug!
@prologic Fix works!
Test
@eldersnake Looks legit 👌
@eldersnake Looks legit 👌
Okay just pushed:


* aa2f3ae9 - (HEAD -> main, origin/main) Workaround for this invalid Referer BS (6 seconds ago) <James Mills>
Okay just pushed:


* aa2f3ae9 - (HEAD -> main, origin/main) Workaround for this invalid Referer BS (6 seconds ago) <James Mills>
@prologic Woops my blockquote got mangled but you get the gist haha
@prologic I was wondering if my reverse proxy could cause something but it's pretty standard...


>server {
listen 80;
server_name we.loveprivacy.club;

location / {
return 301 https://$host$request_uri;
#proxy_pass http://127.0.0.1:8000;
}
}
server {
listen 443 ssl http2;
server_name we.loveprivacy.club;

ssl_certificate /etc/letsencrypt/live/we.loveprivacy.club/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/we.loveprivacy.club/privkey.pem;

client_max_body_size 8M;

location / {
proxy_pass http://127.0.0.1:8000;
}
}


>
Should I just code in a work-around? If the Referer is /post then consider that total bullshit, and ignore? 🤔
Should I just code in a work-around? If the Referer is /post then consider that total bullshit, and ignore? 🤔
Why would a Web Browser set the Referer header incorrectly?! 🤔
Why would a Web Browser set the Referer header incorrectly?! 🤔
Can't reproduce with Iridium either.
Can't reproduce with Iridium either.
Can't reproduce with Firefox.
Can't reproduce with Firefox.
Test
A initial post, reply and conv -> post (_bottom of page_) and nothing 🤔 All 6 requests are POST /post followed by a GET <from> where ever I was coming from. Hmmm 🧐 This is nuts 🌰
A initial post, reply and conv -> post (_bottom of page_) and nothing 🤔 All 6 requests are POST /post followed by a GET <from> where ever I was coming from. Hmmm 🧐 This is nuts 🌰
Test
Test
Test
Test