Doesn’t that imply you still have to open up your phone to temporarily share to your pc whenever you need it?
Doesn’t that imply you still have to open up your phone to temporarily share to your pc whenever you need it?
Is this something like the overseerr but for phones?
If I do all that then my feed is going to be even emptier than it is now
Similar experience here. I have a nicely curated list of people I follow on twitter, they often retweet other users that are similar and I have a nice feed of good content that slowly grows without ever running into toxic assholes. On mastodon I couldn’t get anywhere close to that no matter how much I tried.
I have a mastodon account, I still check it occasionally and I’ve tried making it work a year ago, being active on it and following either people or hashtags. I also tried other networks like bsky and cara, or mastodon through kbin integration. None of them really worked out.
I didn’t have an issue with the technical side as much as with the community and its mentality. They all have this persecution complex where everyone is out to get them and destroy their way of living. They simultaneously claim it’s better and more morally superior than twitter while also responding to any questions or feedback with “if you don’t like it GTFO”. Most of the posts I’ve seen on mastodon seemed masturbatory and/or talking about other social networks and why are they bad than why is mastodon actually good. In many ways it was more toxic and negative than my carefully curated twitter feed. There’s also as much doom and gloom as on twitter, if not more, when it comes to politics (or at least, it’s harder to hide it).
The content in general was bad and boring but I don’t know if this is because of the type of people that are on it or just because the lack of algorithm means I will see any random person’s ramblings next to the biggest breaking news that I’m actually interested in. There is a lack of innovation in this area and it makes discoverability and content curation terrible, I don’t need an algorithm to read my mind but at the very least I wish it could separate trash from actual popular topics.
I found some interesting niches when it comes to FOSS developers and tech but I found next to no actual game devs, artists or content creators on it and even the usual “copy content from twitter” bots were unreliable and uncommon.
TL;DR Mastodon seems very very niche and is not currently viable as a general replacement for other social networks, and IMHO due to the community culture there it’s never going to grow into anything else either.
How will manually retyping git pull
or checkout
30+ times a day, or using the terminal log instead of a nice GUI with VSCode integration, teach me to solve other complicated issues? I just don’t really see the benefit of struggling for most of the time for something that might or might not happen later
When you need more advanced stuff then GUIs tend to become more of a sticking point I find
What’s stopping you just opening the terminal in those rare cases? For 99% of my daily needs I’m good with a good GUI
Git Fork is absolutely amazing. It has a good (unlimited) free trial but it is well worth the one time purchase too.
I wonder what kind of support for development do you get? Honestly I’ve only had obstacles when I switched, for example the docker installation was much more complicated on linux than on windows+wsl. Even installing python was problematic because apparently ‘upgrading it yourself can brick the system’, at least if an older version comes with the OS?
And lastly it’s the simple thing that pretty much all tools work on windows natively but on linux you have to find workarounds, which is definitely a problem when it comes to productivity.
So what are the benefits, what does linux have that windows doesn’t in this context?
Well mocking a repository is pretty much the same process as mocking the dbcontext too, right? If that’s the only purpose then I can see why they would seem unnecessary
Additional question - I said at first that the “Service” should be doing the mandatory checks like uniqueness validation or whether the fields are filled in properly with good values, but is even that a good approach?
Instead of implementing this in every service that might create a new Movie (and it could be from different sources - import from file, different APIs, background worker, etc), wouldn’t it make more sense to add these checks to the repository itself so they always gets called?
Alternatively, do we have to handle a constraint violation in every service or could we just have the repository return a result with failure if it happens?
In short, once I start thinking in this way I start to wonder why even have a separation between repository and service.
Saying I learned it is a stretch, we still dont use it at my workplace and I just read some random guides and tried it on my personal projects. I also wouldn’t know about using it in frontend, I mostly just use it to make it easier to test my backend (c#) methods during development without having to struggle with setting up reproduction steps and go through the entire frontend every time.
Good point, that sounds nicer than just encoding the name for sure, thanks
A bit late to this thread but what helped me a lot was when I started doing TDD. By testing my code against tests before its fully done or even implemented in the main app codebase (so to speak), I could break down individual tasks in it more easily and see how its interior parts work. It seemed easier to separate it into SRP areas since they’d have to stick to the unit test for that responsibility. Do keep in mind you can take it too far and overengineer it in this way but it was a good kick in the butt to get me to think in a different way.
By automating it you mean something a store procedure that returns the ID and increments the count at the same time or is there a more sophisticated way of doing it?
In the context of this small app im writing category is unique by name already so I can just use that if I wanted to go the string route, but agreed - yours is probably the standard way, youtube/reddit do it like that after all.
I’m still wondering about the technical implementation of it - where would you generate the string? Manually in backend before each save, probably using a locking mechanism to prevent accidentally creating 2 identical IDs at the same time? I’d have to do a db hit to make sure it doesn’t exist already every time, right? Maybe I just try to insert and see if it crashes due to the uniqueness index? Maybe I use a store procedure in the database to get a unique ID? Do I just hash the timestamp or sth like that?
Whether I generate a number or a string, feels like I always open it up to many issues.
This is something I’ve been considering too, since the name is in this case unique per user I can just use it for everything in frontend rather than the ID. It’s not always a good solution though so I was wondering how would I solve it with IDs alone
Deletions would work the same way as with a regular autoincrementing ID, it just always goes up. All it matters is that it doesn’t expose how many other IDs are in the DB
It’s no reddit in terms of quantity but honesty I’ve had higher quality topics and discussions here than there. Lemmy/kbin might not have taken off in the mainstream to offer a variety of subjects but when it comes to tech and software I think it’s covered well enough and people are generally nicer about it. The main problem is lack of (remotely) good seach function, I dont think the threads are getting indexed by google and the on-site search is atrocious.
I don’t know of any discord programming communities, I wish forums were still a thing but the only live one I know of is the jellyfin one after they moved from reddit. Other than that it’s here or the various subreddits