I agree with that. It’s similar to if someone loads the post in their browser. If the site isn’t actively polling the API to check if the content is deleted, they will continue to see it until they reload the page. The difference is the cache lives longer. I can probably have it poll the API when they reopen a cached article, and if it’s been deleted, purge it from the cache. The result is they may see it flicker as it’s purged quickly, and if they’re offline I wouldn’t be able to poll the API.
I have experience doing YouTube embeds. It’s not hard. It’s just a question of all the different types of media embeds I also choose to support.
That’s amazing! I’ll reach out to some of the devs.
I’m very new to Lemmy and I need to read through their API. Whatever settings they allow me to save, I’m happy to lean on their API. I just want to avoid writing my own backend.
Thank you! Will 100% use this as inspiration.
I’m a seasoned developer with experience in both React on the web and React Native. I’m looking for an excuse to dive into Tamagui, which is designed the tackle cross platform. So I’m excited to tackle this challenge.
I assume you mean when my app caches a post, but that post is deleted from Lemmy. That’s a good question. Off the top of my head, I would say as soon as I know a post is deleted, I would likely want to purge it from the cache.
I guess it’s a question of whether I should respect the API saying the post is deleted or act like a temporary archive. I’m open to either. From a technical perspective, it would be simpler to act as an archive.
As far as the type of cache I use, I may use a LRU cache, which will effectively prevent something from being deleted every time you view it. So even if something was cached a long time ago, if you pull up that post again, it will reset the timer.
Again, I plan to add moderation features. But I am one person with a full-time job. I need to prioritize the features that will please the most users. Prioritizing everything initially could mean lots of bugs in the app, and I would lose users quickly due to a crappy app. I would rather build features slower but correctly.
That being said, if most Lemmy users moderate, then that would make this more of a core feature. But again, I want to also build an app that appeals to incoming Reddit users, and those people won’t be moderators. I’m hoping this will be a tool that can help grow Lemmy.
I kinda want to avoid building a backend for this if I can. That would also mean your app wouldn’t depend on any infrastructure that I own, preventing any centralization around my backend. And it would mean a very low cost for me to maintain this app.
One way to solve sync could be to have a QR code you scan to sync settings. But it might only sync when you scan it and not continually. I can also look into any Apple or Android APIs that might make this possible, but that would leave out web, and I really want feature parity between all platforms.
But this would fall under a nice-to-have feature that I would likely not prioritize. I really want to nail down the core functionality first.
I’m not sure what percentage of Lemmy users moderate, but I would likely prioritize features that benefit the most users. Moderation might come a little later, but my goal is to allow you to do everything through my app eventually, including moderation.
My goal is to store everything offline for a period of time. Likely, it will be more complicated than this, but let’s say for now everything you see will be automatically cached offline for 30 days. Instead of a number of days, I will probably set a max size for the offline cache and drop the oldest data in the cache as new data comes in.
The only issue here is I’m not sure how easy it will be to cache images offline. They will take up more storage, and I’m not as familiar with image caching mechanisms for apps.
Do you know if Lemmy tends to have good alt text for images? That would be easier to cache offline instead of images.
Maybe after the initial version, I can add the ability to pin a post to your cache so it doesn’t get cleaned up automatically.
The most open operating system
…to being bricked by kernel level security software and video game anti cheats
He’s proud fucking men. Good for him.
He is “men”? As in multiple? So we should refer to him as they/them?
I agree with the politics. I just think drinking from a political fire hose is terrible for your mental health. Especially with all the doom and gloom after the election. What we need is for people to feel empowered against the incoming administration. I don’t think consuming an unhealthy amount of doomsday political content makes people feel free and empowered.
I think it’s less specific to Lemmy and more specific to the current US political situation. Before the election, there was a lot more hope, and I think I could have consumed much more political content without it negatively impacting me.
To be clear, I don’t want to switch off. We need to stay informed, and we need to know there are other people that want change. I guess what I’m trying to say is we need to take care of our own mental health so we can show up for the next battle.
So it’s less about “gentrification” of Lemmy and more about fostering a rich community that discusses more than just politics. Politics can be part of it, but not all of it.
Name checks out
Love it! Subscribing
Yeah, that is what I’ve heard! I’m actually a software developer by day, and I’ve even written a Homebridge plugin for IR control— though I didn’t publish it. Idk, maybe I’m just burnt out coding after my day job, and I’m happy to keep things simple. I also like that my partner can do everything I can without diving into another app.
If I did Home Assistant, I would want direct thread control from both Apple Home and Home Assistant. I want to minimize hops that any request has to take within the network. For example, I’m testing out a Nanoleaf Sense+ switch which has direct control of their lights over Thread without needing to touch a border router.
I also mess around with WLED, which is way more DIY and satisfies the side of me that wants to do more DIY.
I guess maybe the reason I fell into niche communities on Reddit was that I liked the smaller feel. So I do appreciate how many people actually see my comments. But I also appreciate communities that are focused on specific topics. Maybe I need to consider broader categories on Lemmy.
U