• 5 Posts
  • 44 Comments
Joined 2 months ago
cake
Cake day: October 6th, 2024

help-circle









  • 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.



  • 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.





  • 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.





  • 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.