(#tuizh4q) @mutefall@twtxt.net @prologic@twtxt.net I donāt understand this answer at all from a technical perspective (leaving any philosophical arguments aside). A twtxt file is literally a flat file containing a list of all of a personās posts. Surely simply displaying all of that personās posts in Yarn should be the easiest possible thing to do, way easier than threading etc. Why would it require āinvesting heavily in infrastructureā or for the protocol to be āredesigned from the ground upā?
Iām guessing Iāve misunderstood what youāre saying; can you help me understand?
#wa3sarq
(#tuizh4q) @prologic@twtxt.net
How do you display this in any reasonable way?
Pagination? Like Yarn uses elsewhere. Or infinite scroll, but from the server side thatās still pagination.
Which is what? To view the entire contents one someoneās feed? š
Exactly. Every other social network has that feature; Iāve missed it here serveral times already and it looks like Iām not the only one.
I still donāt get the difficulty from a technical point of view Iām afraid. š¤
#lzf377a
(#tuizh4q) @prologic@twtxt.net
philosophical reasons [ā¦] design decision
That I can understand (though to the extent that I understand it, I think I disagree with it š). I was asking more about the technical barriers @mutefall@twtxt.net mentioned.
responses are provided from the cache
I see, so weāre taking about an architectural limitation in Yarn, rather than twtxt. Still, I know cache invalidation is famously hard, but surely an intentional page load from a user trying to view a feed that isnāt (fully) cached is about the best signal you could get to fetch that data from the origin? š¤
#23hyvfq
(#tuizh4q) Iām clearly going to have to take a proper look at the code and get a feeling for the data architecture to understand this! From the outside I have to say if something as simple as ādisplay all of a userās postsā is impossible ā especially when a twtxt file is literally a list of all of a userās posts ā it feels like some very strange architectural choices must have been madeā¦ but I am also well aware that a lot of painstaking thought by very clever people has gone into this, and I havenāt even looked at the code, so donāt mind me š
#heqzkuq
(#tuizh4q) I also totally get whet youāre saying about a twtxt file potentially growing to be huge. I guess that, and the fact that itās necessary to work around it with a significant caching architecture, is a major downside to the model of twtxt itself which I hadnāt considered.
#3bwkpna
(#tuizh4q) I guess I should go read the code before asking too many questions, but Iām a little puzzled why the same issues with a feed being huge donāt present an issue every time you want to poll for updates? Particularly with the apparent convention of the newest posts being at the bottom of the file.
As for pagination, sure, it can be hard, but why would it be harder in this case than in the cases where Yarn already does it?
(As for infinite scroll, if you have pagination on the server side already, itās trivial on the client side. Yes you need JS of course, but not a lot)
#aljck6q