In-reply-to » Oh boi! 🤦‍♂️ I totally forgot to put this notice up, and the month has flown by so quickly! 😅 Sorry folks! Hope it's not too late! ⏰ for our monthly Yarn.social Online Meetup! 🤞

Anyone coming to today’s meetup? 🤔

⤋ Read More

Just added support for deleting and editing arbitrary Twt(s) at anypoint in your timeline. Some things to note:

  • I’m not really that happy with the code between PostHandler() and DeleteTwtHandler() anymore 😢 It really needs some major refactoring, and better tests.
  • This only works for users (for now), no support for Persona(s) / Feeds sorry.

One side-effect I’ve noticed (which was always the case); an Edited Twt whilst preserves the original timestamp, gets appended to your feed at the bottom of the file. This is counter intuitive when you think about editing text files with a text editor, but it does make sense in the way yarnd treats feeds as append-only (I had just forgotten). I’m not doing anything about this though.

⤋ Read More

b98b9 I think the only holes that get that much traffic and eat that much bandwidth would be floodgap or bitreich. You can maintain a phlog and that shouldn’t be eating that much bandwidth per month.

⤋ Read More

Oh boi! 🤦‍♂️ I totally forgot to put this notice up, and the month has flown by so quickly! 😅 Sorry folks! Hope it’s not too late! ⏰ for our monthly Yarn.social Online Meetup! 🤞

Anything we want to talk about. Twtxt, Yarn, self hosting, cool stuff you’ve been working on. chit-chat, whatever 😅

#Yarn.social #Meetup

⤋ Read More
In-reply-to » @prologic hey mate, all working well here so far. The login issue isn't really an issue as far as actually logging in goes, rather if I get my password wrong it gives the response error code in console, the response of which contains the HTML for the wrong password page if you inspect it, but on the frontend itself nothing actually happens which is the confusion. Just stays on the login page as if it was never submitted. Am I alone in having this issue as well?

@eldersnake@we.loveprivacy.club Fixed!

⤋ Read More
In-reply-to » Even if it might sound a bit overdramatic: Having a “mostly working” dwl Wayland setup now is a huge relief. 😅 It’s quite the weight off my shoulders.

Oh no, don’t tempt me. I’ve been on KDE for a while to not tinker and make it possible for my Windows using partner to use my laptop now and then, I’m trying to avoid the dwm/l addiction 🤣

⤋ Read More

Forlinx’s New SoM Leverages Rockchip RK3562J Quad-Core Processor
Forlinx Embedded has launched the FET3562J-C SoM, a versatile system on module with an optional 1 TOPS NPU, optimized for a broad range of applications including industrial automation, consumer electronics, smart healthcare, energy, and telecommunications. The FET3562J-C SoM, powered by the Rockchip RK3562J processor with advanced 22nm process technology, features four ARM Cortex-A53 cores operating

⤋ Read More

Compex Introduces New Wi-Fi 7 Dual-Band Modules: WLE7002E25D and WLT7002E25D-E
Compex Systems has expanded its range of wireless solutions by introducing two new Wi-Fi 7 modules: the WLE7002E25D and the WLT7002E25D-E. These modules are designed to enhance wireless performance and reliability, offering a cost-effective alternative to Wi-Fi 6 modules according to the company. The WLE7002E25D features a standard MiniPCIe form factor, marking it as one

⤋ Read More
In-reply-to » @prologic hey mate, all working well here so far. The login issue isn't really an issue as far as actually logging in goes, rather if I get my password wrong it gives the response error code in console, the response of which contains the HTML for the wrong password page if you inspect it, but on the frontend itself nothing actually happens which is the confusion. Just stays on the login page as if it was never submitted. Am I alone in having this issue as well?

@prologic@twtxt.net phew 😁

⤋ Read More
In-reply-to » @prologic hey mate, all working well here so far. The login issue isn't really an issue as far as actually logging in goes, rather if I get my password wrong it gives the response error code in console, the response of which contains the HTML for the wrong password page if you inspect it, but on the frontend itself nothing actually happens which is the confusion. Just stays on the login page as if it was never submitted. Am I alone in having this issue as well?

@eldersnake@we.loveprivacy.club Oh! That’s a bug and pure lack of “form validation!” 😅 Thanks for pointing this out, I’ll fix this tonight 🤞

⤋ Read More
In-reply-to » (#p3li7rq) @bender Hmmmm I'm not sure about this... 🧐 Does anyone have any other opinions that know this web/session security better than me?

Could you perhaps just have a check box to do the opposite, like “Don’t remember me”? I’ve seen that a couple of places I think. Sort of an opt in short lived login, if you’re at a public library or something etc.

⤋ Read More

@prologic@twtxt.net hey mate, all working well here so far. The login issue isn’t really an issue as far as actually logging in goes, rather if I get my password wrong it gives the response error code in console, the response of which contains the HTML for the wrong password page if you inspect it, but on the frontend itself nothing actually happens which is the confusion. Just stays on the login page as if it was never submitted. Am I alone in having this issue as well?

⤋ Read More
In-reply-to » (#x7o6hba) @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?) 😂

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

⤋ Read More
In-reply-to » (#x7o6hba) @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@twtxt.net 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. 😄

⤋ Read More
In-reply-to » Should I just code in a work-around? If the Referer is /post then consider that total bullshit, and ignore? 🤔

Okay just pushed:

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

⤋ Read More
In-reply-to » Should I just code in a work-around? If the Referer is /post then consider that total bullshit, and ignore? 🤔

@prologic@twtxt.net 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;
            <a href="https://txt.sour.is/search?tag=proxy_pass">#proxy_pass</a> 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;
    }

}

⤋ Read More
In-reply-to » (#vcpt7gq) Yeah sorry just realised, but just checked again and the referrer is the same (/post) on either the POST or the GET 🤔

@eldersnake@we.loveprivacy.club Yeah no worries!

You can see here, at least, htmx knows what the current URL is:

HX-Current-URL: https://we.loveprivacy.club/conv/vcpt7gq
Referer: https://we.loveprivacy.club/post

But the freak’n browser is setting the wrong value for Referer. There is simply no way to be on the /post endpoint normally anyway.

⤋ Read More
In-reply-to » (#vcpt7gq) Yeah sorry just realised, but just checked again and the referrer is the same (/post) on either the POST or the GET 🤔

@prologic@twtxt.net Sorry, my messages don’t get included in the current convo unless I tag you. Guess something gets lossed in translation with this weird posting issue. ANYWAY, it is rather perplexing. Clearly only an issue on my Pod, but what could the source of it be 🤔

⤋ Read More
In-reply-to » Hmm...

The only way this is possible is if the Referrer is /post and not / or /discover like it should be. Can we confirm/deny this if you inspect the POST /post requests? 🤔

See this code

if htmx.IsHTMX(r) {
  htmx.NewResponse().
  Location(RedirectRefererURL(r, s.config, "/")).
  Write(w)
} else {
  http.Redirect(w, r, RedirectRefererURL(r, s.config, "/"), http.StatusFound)
}

⤋ Read More