søren peter mørch

Timeline

Recent posts from feeds followed by sorenpeter@darch.dk

prologic (twtxt.net)

@movq Yeah, we've seen how this plays out in practice 🤣 @dce My advice, do what @movq has hinted at and don't change the 1st # url = field in your feed. I'm not sure if you had already, but the first url field is kind of important in your feed as it is used as the "Hashing URI" for threading.

In reply to: #olsdv7a 1 year ago
kat (yarn.girlonthemoon.xyz)

@lyse that's alright haha! i don't expect anyone to listen/watch in full or with full attention bc it's so long lmao

the thing with PHP for me is that i... feel like it hits a kind of simplicity that i can understand? it's so plain but can be very powerful. i quite like that. as much as i can learn something infinitely more powerful, PHP hits a comfortable thing where i can handle things like backend sqlite DBs AND how a page is rendered, without requiring a complex frontend with its own quirks (like ruby on rails, which as much as i know and love it, can be heavy).

but i totally get you! PHP security is very scary. i'm always worried that i'm messing something up. it's why the PHP application i'm working on i have dockerized by default for a small but extra layer of protection

i'll try to not get discouraged <3 tysm for your advice

In reply to: #z27c4ya 1 year ago
bender (twtxt.net)

@prologic whichever works for you. Just about everyone is offering “great” advice these days; “ancient wisdom”. Many trying to inspire others. You know what? You be you, yo do you. 😅

In reply to: #yntvv7a 1 year ago
prologic (twtxt.net)

@andros It's good advice 😅 I try to do this myself (please call me out if you ever catch me NOT doing this 🤣)

In reply to: #6zhwv7a 1 year ago
eapl.me (eapl.me)

ok, sounds like a 'large' project to me. Is it more an API (more oriented to developers), more oriented to UI/UX/Frontend? Perhaps both?

I'd go with prologic's advice of measuring and prioritizing. Perhaps you have a budget or at least something like "let's see how far can we reach in 6 months", and possibly you won't finish in the time you have (just guessing).

Something that has helped me was defining "Why do you we want to refactor this project?". Could it be to make it compile on newer versions, or making it easier to grow and scale, or perhaps they are trying to sell that product to another company. Every reason has a different path, IMO.

In reply to: #iiqpj5a 1 year ago
jcolag (john.colagioia.net) Read replies 1 year ago
falsifian (www.falsifian.org)

@prologic Thanks for writing that up!

I hope it can remain a living document (or sequence of draft revisions) for a good long time while we figure out how this stuff works in practice.

I am not sure how I feel about all this being done at once, vs. letting conventions arise.

For example, even today I could reply to twt abc1234 with "(#abc1234) Edit: ..." and I think all you humans would understand it as an edit to (#abc1234). Maybe eventually it would become a common enough convention that clients would start to support it explicitly.

Similarly we could just start using 11-digit hashes. We should iron out whether it's sha256 or whatever but there's no need get all the other stuff right at the same time.

I have similar thoughts about how some users could try out location-based replies in a backward-compatible way (append the replyto: stuff after the legacy (#hash) style).

However I recognize that I'm not the one implementing this stuff, and it's less work to just have everything determined up front.

Misc comments (I haven't read the whole thing):

  • Did you mean to make hashes hexadecimal? You lose 11 bits that way compared to base32. I'd suggest gaining 11 bits with base64 instead.

  • "Clients MUST preserve the original hash" --- do you mean they MUST preserve the original twt?

  • Thanks for phrasing the bit about deletions so neutrally.

  • I don't like the MUST in "Clients MUST follow the chain of reply-to references...". If someone writes a client as a 40-line shell script that requires the user to piece together the threading themselves, IMO we shouldn't declare the client non-conforming just because they didn't get to all the bells and whistles.

  • Similarly I don't like the MUST for user agents. For one thing, you might want to fetch a feed without revealing your identty. Also, it raises the bar for a minimal implementation (I'm again thinking again of the 40-line shell script).

  • For "who follows" lists: why must the long, random tokens be only valid for a limited time? Do you have a scenario in mind where they could leak?

  • Why can't feeds be served over HTTP/1.0? Again, thinking about simple software. I recently tried implementing HTTP/1.1 and it wasn't too bad, but 1.0 would have been slightly simpler.

  • Why get into the nitty-gritty about caching headers? This seems like generic advice for HTTP servers and clients.

  • I'm a little sad about other protocols being not recommended.

  • I don't know how I feel about including markdown. I don't mind too much that yarn users emit twts full of markdown, but I'm more of a plain text kind of person. Also it adds to the length. I wonder if putting a separate document would make more sense; that would also help with the length.

In reply to: #zqpkfla 2 years ago
jcolag (john.colagioia.net) Read replies 2 years ago
mckinley (mckinley.cc)

A word of advice: Never swing and grind at the same time.

Read replies 2 years ago
fredg (galusik.fr)

Following some advices, playing with fedora 39beta sway spin. I have to say that I don't have nor bugs nor bad surprises.

Read replies 3 years ago
Reply via email