Feedack from Emacs Matrix room:
The code will fail if a sequence contains duplicates
Also, seq-* implies that it is assuming to work on any sequence type, not just lists
Now that I know which endpoints I'm interested in and which arguments I need to pass, exporting them to Prometheus is my next step. Though I wasn't sure where to begin w/ - I was thinking about writing the HTTP requests in Java or Python and export the results from there.
Blackbox exporter is definitely easier and cleaner. Thanks for the tip 💯
Thanks all for the input 🙏
I did a quick experiment w/ the APIs and I think I have identified the ones I'd need. Obviously, all is open source (GPLv3) available on github: lemmy-clerk
As the next step, I'm going to expose that data to Prometheus for scraping.
I still haven't made up my mind as to what is a good interval. But I think I'll take a per-endpoint approach, hitting more expensive ones less frequently.
So far I can only think of 4-5 endpoints/URLs that I should hit in every iteration as outlined in the post above.
web/mobile home feed
web/mobile create post/comment
web/mobile search
I think those will cover most of the usecases.
OK, I think I see your point more clearly now. I suppose that's what many others do (apparently I don't represent the norm ever 😂.)
So tags can be useful for not only listening but also discovery.
I guess my concern RE tag & community competing. But I've got no prior experience designing a social/community based application to be confident to take my case to the RFC.
Hopefully time will prove me wrong.
Thanks. Yes, lemmy-status.org was where I got the initial idea 💯
automatic list
For the website I'm thinking about, I'd rather keep it exclusively opt-in. I don't wish to add any extra load since most of the instances are running off of enthusiasts' pockets.
That's a fair point 👍 I just wanted to point out that I'm not the author.
As I said, I very much like the idea. It helps raise awareness around the current trend of switching licenses to curb competition/make $$$.
I articulated my thoughts on the topic in a separate post: [DISCUSS] Website to monitor Lemmy servers' performance/availability
Please share your thoughts/feedback over there.
That's a fair use-case.
You see memes in your feed (despite not subscribing to meme'y communities). Three things come to my mind, thinking out loud here:
(1) Could it be b/c the community is not granular enough? Remember we're in the early stages of Lemmy w/ big "holistic" communities. I'd suppose as we grow, a overarching community will specialise and be split into several more specific ones?
(2) Creating "filters" based on tag/content is a fair usecase and I would second the idea as long as the main dimension of organisation remains "community." I'm a bit over-attached to "community" b/c I feel that's a defining element of Lemmy experience & am afraid that touching that balance may change the essence.
(3) Tags can be used to achieve (2) indeed but is the added complexity (❓) to the codebase and UI/UX worth it?
a list or database of projects that were open but then closed down
That's a great idea! Esp if the list is actively maintained & updated.
Since I am NOT the author of this extension, do you think you could write down your thoughts on the project's issue tracker?
I'm not sure I understand the value of tags for Lemmy (or Reddit in a similar vein.)
Lemmy's main (& sole?) dimension of organisation is the concept of "community." You subscribe to communities to automatically receive their updates on your feed.
Now, tags are going to add another dimension for organisation which allows one to curate their feed w/o subscribing.
The good thing about tags is that they simplify "listening." No need to keep searching for communities or keep scrolling through your feed to find the content you're interested in.
The downside of tags, IMO, is that it fundamentally competes w/ the concept of "communities" in the sense that, why would I bother w/ finding communities and "explore", and consequently, potentially contribute to the content of a community where I can simply listen to tags I'm interested in and forget about the rest.
IMO, the reason that tags (moderated or not) are working so beautifully on Mastodon is the lack of communities: listening is the only option.
I stand to be corrected, but it (tags and communities) very much feels like an either/or situation.
PS: Despite its quality and friendliness, Lemmy's user base and the content they creates is still small. That means, for the time being, communities may work just fine. As we grow and so does our volume of content, we'd probably need new strategies to augment communities. Though I wouldn't call that a concern of now or near future.
My 2 cents.