Fair enough. Sometimes you can’t help but go down these rabbit holes though.
Fair enough. Sometimes you can’t help but go down these rabbit holes though.
How do you account for the duplicate Riker in TNG? Who’s the real one and where did the extra matter come from then to assemble William vs Tom?
(It’s been a long time since I’ve seen that episode so I don’t remember if they covered that but on-screen)
A similar question could be raised for the Rascals episode…
So the builder pattern is supposed to solve the problem of: if you have a large number of optional fields that may or may not need to be set to construct your object. Then once the dev has called all of the setters that they require, they call build to fully realize that object.
Some rules that all builders should follow:
.build()
method that will return the fully realized object. This method should essentially call the constructor for your target object using all of the parameters, regardless if a setter was called or not. Obviously any value where the setter wasn’t called will be null or some default value.With ActivityPub all of the primary ids contain the domain of the hosting server. So if you lose your domain none of the other instances know that you’re the authority on those communities, posts, comments or users. So essentially federation breaks with all of the old data.
I’m also running Ubuntu as my main machine at home. (I have a Mac and do Android development for my day job).
But at home, I do a lot of website and backend dev.
docker buildx
docker compose up -d
Lookup Overseerr. https://overseerr.dev/
Thank for sharing the results.
I can say one of the most requested features I keep getting requests for is a global search as well. I’m just blocked by a bug in Lemmy at the moment.
A tool to see better recommendations on who to follow could be interesting as well. I’ve recently added a new feature that allows for users to search communities (on Lemmy and Kbin) about what posts are actually talking about. I wonder if something similar could be built for users…
But again thanks for sharing.
Anyway I think we can build a search engine that can respect their wishes and keep them out of the index.
I’d love to hear your ideas on this. At least initially I don’t see a way to build a crawler that can ignore select individuals. But I haven’t really dug into the Mastodon APIs just yet.
I don’t run my own instance, at least not publicly, but I’m very curious in the answers to some of those questions and I don’t want to skew your results by voting.
As I’m already working on on search engine, that’s already public for Lemmy but I hope to add Mastodon in the future. So far many Mastodon users seem to be very anti-search, so I’m curious of your results.
Let’s say I just sent a request from my non-existent server with my user id…
Who or what is going to send this request if not some server that implements ActivityPub? This could be a Lemmy or Mastodon or Kbin instance… Or anything else that implements ActivityPub.
…and just every time I wanted to check whether I got replies I would query the other server (which a Lemmy server would do to get notifications about replies or upvotes)
ActivityPub works via pushes. So there’s nothing to query. There HAS to be some server for it to send and store that data.
So you can’t just send data from a domain. There has to be a service running behind that domain name to do something.
Without a server, it’d be like asking “why do I need tires on my car?”. Well it’s not going to go anywhere without them.
Now this could be a private instance with only you as the single user. And it could federated with the rest of the fediverse. But you still have to run some software to do that.
Now in theory someone I guess could come up with a slim version of Lemmy that only has a single user, and you can’t post or comment directly to that instance but again something has to be running on a server behind that domain.
There are APIs that you can use to post and comment, etc… But there has to be an instance at that domain.
That’s how most of the mobile apps work btw, they just send a network request direct to lemmy.world etc… Saying that iopq wants to create a post with this title and this content…
But there’s no need for your own personal domain name in this scenario, you just need an account on the server that you’re trying to post or comment to.
Not sure if that helps.
Not saying a tool like this isn’t helpful for you but personally I don’t think I’d ever trust a service to analyze my code and provide accurate comments. There’s so many little quirks and ultimately nuance in what is written vs what and why it’s doing it that I’d never expect anyone but the original author of the code to get it right.