Skip Navigation
Posts
19
Comments
258
Joined
7 mo. ago
  • Cleans your butt and the toilet at the same time. I’m not seeing the problem here

  • OOOOOO I MEMEBER

  • It’s the other way around for me. Opens bag of chips. Cat hears plastic bag. Cat “that food is for me 👀”

  • It’s giving ET

  • Finally they rewrote playstation in rust

  • What about Lemmy’s rate limiting?

    I’m working on a client, and I would be worried that making too many requests for a nice to have feature would rate limit a request for a core feature of the app. Though I supposed some sort of throttle queue would solve that.

    I’m already using a throttle queue to slow down refreshing stale data in my app. That way data that I’m asking for right now takes priority over refreshing a bunch of old data.

  • My cat tried to swat a sandwich out of my had yesterday. He’s 17 and very slow, but for sandwich, he’s fast.

  • I’m not a recycling list expert, but I think the more keys you use the less react is able to reuse components in the list. So this is one area where keys are actually worse. You may be able to use them only on the image part of the post, but packages like expo-image have a recyclingKey prop you are supposed to use instead. But I found expo image to not work very well so 🤷

    But I think think the app we were referring to isn’t react native? Idk how native recycling lists work tbh so maybe you’re right about the key thing.

  • 100% guessing here, but native apps sometimes use recycling virtualized lists. That means as you scroll the list will reuse the container that renders the post title and image. Often the image is still being fetched but you already know the title. So as you scroll, it reuses a post you previously saw, instantly swaps in the new title, but the new image is still loading, so an image from a previously post in the list is displayed.

    the result is you many only need to render and reuse 10 posts in the list, even if the list contains hundreds of posts.

    Idk if that made any sense at all, but keep an eye out if the title is new but the image was previously seen.

  • Too true

  • Hmmm there seems to be a vscode in my vim.

  • Wait really? Shit I’m like 1 year into learning vim. What editor should I switch to that will magically make me a good coder?

  • My app is very early stages, but it already supports web, iOS and Mac. Android will be launching in a couple weeks, and hopefully Linux not too long after that. My goal is to build a truly cross platform lemmy app and one that doesn’t feel like it’s designed primarily for small or large screen sizes but rather takes advantage of the space available. Offline support is already decent, and multi account imo is more intuitive then other lemmy clients.

  • Permanently Deleted

  • I use Apple products which are definitely more closed source. I would prefer open source but there are unfortunately more variables in play then just “is it open source”.

  • Permanently Deleted

  • I’m using brave lol. As a web developer I really need to test the work I do on a chromium based browser. Brave seems to be the best chromium based browser that still supposed ad blocking after the whole manifest v3 thing.

    So let me pose this question to you. As someone that needs to use Chromium for work, what’s the best Chromium based browser that still supports ad blocking?

    I get that Firefox is better. Heck Tor is even better. But realistically what is something I can actually use to get real work done?

    Edit: ok I read the article. That is kinda bad. So please find me a chromium based alternative that I can use for work

  • Feed bug

  • I don’t use Photon, but I glanced at the source code and it looks like they are also using Tanstack Virtual, which my Lemmy client uses. My app is in beta an doesn’t have many users, but I think I solved this feed issue.

    You need to do a few things:

    1. On scroll, save the first item being rendered in the virtual list + the offset of that item from the top (offset can be negative or positive)
    2. Pause the virtualization when the list is no longer visible (use IntersectionObserver)
    3. When the user returns to the list, reenable virtualization while simultaneously recalculating initalOffset to be passed to the virtual list.

    You have to recalculate initalOffset when returning to the list, NOT when you are scrolling through the list. If you try to calculate it while scrolling the feed, you will drift a few posts upwards/downwards. Using initial item + offset yields a much more stable result.

    It’s all pretty messy, but take a look at my spaghetti code.

  • Towels

  • Why are you using towel on dirty anything? Do you towel before you wash?

  • cats @lemmy.world
    moseschrute @lemmy.world

    Hawaii cat that loves surfing and can swim

    Ubiquiti @lemmy.ml
    moseschrute @lemmy.world

    What does everyone think of the AI Key?

    I'm not buying one. But the G4 Pro sucks at package detection. I wonder if this would fix it.

    Lemmy Apps @lemmy.world
    moseschrute @lemmy.world

    Really sucks that theres no Lemmy client for tablets that isn't just a scaled up phone app

    ...👀

    Edit: should also mention this is only one of the key features. The client will also have a website version that functions - hopefully - near identical to the mobile app. It will be offline first allowing you to browse cached content without internet.

    HomeKit @lemmy.ml
    moseschrute @lemmy.world

    WiFi Issues with ATV 18.2.1 and HomePods on 18.2

    My Apple TV updated overnight to 18.2.1. I don’t see a 18.2.1 update for my HomePods yet, so they’re on 18.2. My ATV drops WiFi constantly unless I disconnect the HomePods as an audio source output.

    The solution was to update the ATV to 18.3 beta 3 and leave the HomePods on 18.2.

    This is mostly a PSA in case anyone else experiences the same issue. Reset my ATV before identifying the issue.

    Fediverse @lemmy.world
    moseschrute @lemmy.world

    My attempt at explaining the fediverse in a way that is more fun and engaging

    The email analogy is really… boring.

    Full disclosure, this idea is for a Lemmy client I’ve been toying around with making. I’ve gotten a bit in my head and would to run an idea by everyone.

    The challenge:

    Onboard people onto Lemmy in a way that makes sense to people that understands Fediverse and explains it well enough that typical social media users will understand it too

    My onboarding flow idea.

    As you read this, think of CARROT weather, an app with a funny personality.

    You are an alien creature exploring the Lemmy Verse, a federation of social planets. You must chose a home planet, then you are free to explore its local communities or any of the communities in the lemmy federation of planets

    I might give the alien creature a name. TBD.

    Is this stupid?

    Remaining challenges:

    • I suspect a guiding the user to select the same “home planet” if they log out could be an issue.
    • Should I explain that not all planets live in the same Federation? I’m thinking no.
    HomeKit @lemmy.ml
    moseschrute @lemmy.world
    Lemmy Apps @lemmy.world
    moseschrute @lemmy.world

    What are some fediverse apps that need contributors?

    cross-posted from: https://sh.itjust.works/post/29038131

    I'm a decent developer, but with only a couple years' professional experience and no formal training. I'm looking for open source projects to contribute to (ideally pick one or two and get dedicated to them).

    I'm open to small or large projects.

    I'm using this as my source of options:

    https://fediverse.party/en/miscellaneous/

    But I'm curious if there are other ones, or if you all have ideas about which ones are needing and deserving help.

    Thanks!

    ErgoMechKeyboards @lemmy.world
    moseschrute @lemmy.world

    Building a custom keyboard to match my Kinesis Advatage 360 Pro

    Recently picked up a Kinesis Advantage 360 Pro and I love it! I also love bringing my laptop to the coffee shop to do work.

    I’m wondering how difficult and expensive it would be to build a custom split keyboard to match the Kinesis as closely as possible. I would want this keyboard to be flat and use low-profile keys, but have the same thumb clusters and ortholinear layout allowing me to utilize the same muscle memory. I would also like it to be flat enough that I can fit it in a laptop sleeve case.

    I have no idea how difficult it is to build custom keyboards. I’ve watched a few videos, but I would love some tips. I have some very basic soldering skills and I would love a fun project!

    I want something designed to last, but I would love to do this for under $200 if possible. I have no idea if that’s remotely realistic.

    If there are prebuilt split keyboard that match the Kinesis closely, I’m happy for recommendations but I figured this is specific enough it would need to be custom.

    ErgoMechKeyboards @lemmy.world
    moseschrute @lemmy.world

    First ergonomic keyboard

    Just got my first ergonomic keyboard! Coming from a Keychron K2 and now using a Kineses Advantage 360 Pro, which I picked up refurbished for a nice discount.

    I’ve been using it exclusively to type for a week, and today I used my M2 MacBook Pro keyboard for the first time in a week.

    To the person that decided computer keyboards should be staggered instead of ortholinear, I hate you.

    I know there is history to the keyboards being adapted from typewriters, but I realized I’ve been hitting the entire bottom row of keys with the wrong finger. For example, I’ve been hitting Z with my ring finger instead of my little finger.

    I could give up the thumb clusters, but I really wish Apple would give you an ortholinear keyboard option in their laptops.

    I also keep hitting the wrong key on the Kineses because all the keys are so much closer now than I’m used to. It takes so much less movement and I love it!

    Fediverse @lemmy.world
    moseschrute @lemmy.world

    Thinking about making my own lemmy client, but I could use some feedback

    Here are the problems I want to solve:

    The same app everywhere

    It will run as a website, iOS app (also on macOS), and Android app. It will be responsive, supporting phone, tablet, and computer screen sizes along with everything in between.

    And I’m not talking about simply resizing the interface. Navigation (e.g. sidebar or on mobile bottom tab bar) will match what you would expect to see on the device size you’re using. But everything else (e.g. posts) will look the same, which I hope will make it really easy to jump from mobile to desktop.

    Onboarding and configuration

    The app will allow you to configure it to look like a typical Reddit or Lemmy app. During the onboarding process, I will prompt you, asking which style of interface you prefer. Consider these presets, which change a bunch of more granular configuration options. I will also give you the ability to fully customize each option instead of picking a preset.

    Caching and offline support

    This is where it start

    HomeKit @lemmy.ml
    moseschrute @lemmy.world

    Not strictly related to HomeKit, but this blew my mind

    I’ve spent some time messing with WLED, which is a DIY addressable LED light solution. For example, an addressable light strip means you can control individual LEDs— instead of just the strip as a whole— which unlocks patterns and animations.

    Govee is an off-the-shelf plug-and-play solution. This is pretty next level, especially considering “stage scene” is a new feature they added.

    The 2min video is worth the watch if you enjoy sick lighting.

    Technology @lemmy.world
    moseschrute @lemmy.world

    Optimus robot is less off putting than Elon 😂

    smarthome @lemmy.ml
    moseschrute @lemmy.world

    My Nanoleaf Sense+ impression after using Wemo Stage

    cross-posted from: https://lemmy.world/post/22399282

    Wemo Stage is one of those devices that has a horrible rating if you check Amazon. However, it fills a device category that up until now has essentially had no competition and is honestly not terrible for a first of its kinds device. The category I’m referring to is battery-powered thread light switches. As someone that rents, I can’t install light switches in the wall, so this has saved my smart home by allowing me to install renter-friendly physical controls for Apple Home.

    But there are a few differences:

    Wemo Stage

    • HomeKit over thread
    • Mediocre battery life
    • Responsiveness is okay most of the time, but it really depends on the stability of Apple Home and can lag
    • 3 programmable buttons, each supporting single, double, and triple tap for 9 programmable shortcuts

    Nanoleaf Sense+

    • Not actually tied to HomeKit in any way
    • Uses Lightwave (Nanoleaf proprietary protocol) over thread
    • Bypasses
    Smart Homes @feddit.uk
    moseschrute @lemmy.world

    My Nanoleaf Sense+ impression after using Wemo Stage

    cross-posted from: https://lemmy.world/post/22399282

    Wemo Stage is one of those devices that has a horrible rating if you check Amazon. However, it fills a device category that up until now has essentially had no competition and is honestly not terrible for a first of its kinds device. The category I’m referring to is battery-powered thread light switches. As someone that rents, I can’t install light switches in the wall, so this has saved my smart home by allowing me to install renter-friendly physical controls for Apple Home.

    But there are a few differences:

    Wemo Stage

    • HomeKit over thread
    • Mediocre battery life
    • Responsiveness is okay most of the time, but it really depends on the stability of Apple Home and can lag
    • 3 programmable buttons, each supporting single, double, and triple tap for 9 programmable shortcuts

    Nanoleaf Sense+

    • Not actually tied to HomeKit in any way
    • Uses Lightwave (Nanoleaf proprietary protocol) over thread
    • Bypasses
    HomeKit @lemmy.ml
    moseschrute @lemmy.world

    My Nanoleaf Sense+ impression after using Wemo Stage

    Wemo Stage is one of those devices that has a horrible rating if you check Amazon. However, it fills a device category that up until now has essentially had no competition and is honestly not terrible for a first of its kinds device. The category I’m referring to is battery-powered thread light switches. As someone that rents, I can’t install light switches in the wall, so this has saved my smart home by allowing me to install renter-friendly physical controls for Apple Home.

    But there are a few differences:

    Wemo Stage

    • HomeKit over thread
    • Mediocre battery life
    • Responsiveness is okay most of the time, but it really depends on the stability of Apple Home and can lag
    • 3 programmable buttons, each supporting single, double, and triple tap for 9 programmable shortcuts

    Nanoleaf Sense+

    • Not actually tied to HomeKit in any way
    • Uses Lightwave (Nanoleaf proprietary protocol) over thread
    • Bypasses Apple Home (thread border router) altogether
    • Near instantaneous response time, and
    Technology @lemmy.world
    moseschrute @lemmy.world

    Please come hang out with me in the HomeKit community 🥺

    lemmy.world How can I help build this community - Lemmy.World

    Hi, I recently made the switch to Lemmy from Reddit. But r/homekit is one of the communities I miss the most. What can I do to help build this community up? I’m happy to make posts, comment, and upvote. Is trying to poach people from r/homekit a bad idea? I would love to get to know everyone better....

    I love Apple Home. It has its flaws, but— just like Lemmy— I love trying out bleeding-edge tech like Thread, Matter, mesh based routers and sick lighting. I also mess around with Homebridge, and I’ve considered trying Home Assistant. I’ve learned a lot, and I want to collaborate with other home automation enthusiasts. I’m going to try to post more to that community, but I wanted to put this out there if anyone is interested in collaborating with me to build up that community.

    HomeKit @lemmy.ml
    moseschrute @lemmy.world

    How can I help build this community

    Hi, I recently made the switch to Lemmy from Reddit. But r/homekit is one of the communities I miss the most.

    What can I do to help build this community up? I’m happy to make posts, comment, and upvote. Is trying to poach people from r/homekit a bad idea?

    I would love to get to know everyone better. Here’s some info about my smart home.

    • I’m using Apple Home, and my primary hub is a 4K Apple TV 4K Ethernet, which I chose for the Thread radio.
    • I’m almost exclusively using Thread devices, and most of those are Matter over Thread.
    • Most of my lights are Nanoleaf Essentials (Matter over Thread), and despite people hating Nanoleaf, they have been much better lately.
    • For more advanced lighting, I’m using WLED, which is a DIY project for controlling addressable light strips.
    • My WLED lights are bridged into HomeKit via Homebridge, though I’ve considered switching to Home Assistant.
    • I’m using a Deco mesh router with two nodes, and it’s been amazing for the relatively low cost.
    • Ou
    Fediverse @lemmy.world
    moseschrute @lemmy.world

    I really want to like Lemmy

    I hate big tech controlling social media. I desperately want social media to be federated.

    I really love community-driven social media like Reddit. Lemmy feels… too small. I really loved that Reddit let me jump into any niche hobby, and instantly I had a community. Lemmy, you’ll be lucky if that community even exists, and if it does, chances are nobody has posted in ages.

    On the other hand, Lemmy is full of political content lately. I’ve basically been doom scrolling everything US election-related, and it’s really starting to take a toll on my mental health.

    I know I can filter content. I know I can post and be the change I seek. Yet, it feels like an uphill battle.

    Not sure what the point of this is, or if it’s even the right community to vent about this. I just really want to replace Reddit, but I find myself going back more and more (e.g. r/homekit is very active compared to Lemmy version).

    HomeKit @lemmy.ml
    moseschrute @lemmy.world

    Primary hub constantly changing

    Not sure if this has always been the case, or if I’m only noticing with iOS 18 allowing me to pin a primary hub, but my primary hub constantly falls back to my HomePod mini from Apple TV 4K WiFi.

    Whenever this happens, all my lights go unresponsive. Absolutely infuriating.

    So I’m sure the issue is WiFi. I have really solid WiFi speed/ping and relatively good range, but I live in a pretty WiFi congested apartment. So my guess is WiFi noise is knocking my primary hub out occasionally. But the odd thing is I never notice my WiFi dropping in other contexts.

    But then again, maybe it’s not WiFi, because sometimes pressing a switch seems to trigger the primary hub dropping.

    I’m so fed up, decide to buy an Apple TV 4K Ethernet edition to pin as my primary hub. My thought process is WiFi won’t drop, and built in thread radio means it won’t rely on external border routers (HomePod mini).

    But I can’t believe the Apple Home experience is this bad. I’m pretty sure it wasn’t this bad pre iOS 18