• 23 Posts
  • 45 Comments
Joined 2 years ago
cake
Cake day: June 12th, 2023

help-circle


  • savjeeOPtohomeassistantHow I Built an NFC Movie Library for my Kids
    link
    fedilink
    English
    arrow-up
    2
    arrow-down
    1
    ·
    1 year ago

    I agree that kids shouldn’t spend a lot of time behind screens. But I disagree with the fact that 30 mins is too much.

    Our oldest son watches TV while drinking milk. That’s either first thing in the morning (while still being a bit sleepy and while we get his younger brother ready) or it’s just before bed (when physically exhausted from playing all day).

    I see some benefits to watching movies instead of TV shows. Watching a movie for 30min at a time, trains his ability to focus for longer periods of time. A skill that I highly value in this era of TikTok and 30 second attention spans. He also learns to follow a story, to have empathy with the characters, to see situations in which he hasn’t found himself in yet, and so forth…

    And yes, it’s also convenient for us. During those 30min we can get his brother ready and dressed, make lunch, get ready ourselves, etc.

    Ultimately, it’s up to each parent to decide for themselves. What is an acceptable amount of screen time, and how do you spend times away from screens. For us, that’s a little bit of TV in the mornings and evenings, and no screens in between.


  • It depends. Children are naturally curious. I think it comes down to how you deal with that as a parent. Our son is interested in pretty much everything we do. As much as possible, we take the time to involve him. Tell him what’s happening, why we’re doing things a certain way, etc…

    I assembled the NFC reader together with him, and he did question what it was for. Obviously he doesn’t understand the technical details behind it, but he understand that the box recognizes the cards he put on top of it. That’s enough for now. Maybe in the future I can dive a little bit deeper into it.



  • The Plex deep links will automatically resume. TV shows are tricky. For that, I use the Plex integration of Home Assistant to play a random episode. It’s supposed to be super powerful, but I haven’t got it to work reliably yet (which is why I didn’t focus on TV Shows in the blog post).

    service: media_player.play_media
    data:
      media_content_type: EPISODE
      media_content_id: |-
        { 
          "library_name" : "TV shows",
          "show_name": "SHOW NAME HERE",
          "shuffle": 1,
          "maxresults": 1
        }
      enqueue: replace
    target:
      entity_id: media_player.plex_plex_for_apple_tv_apple_tv
    
    



















  • savjeetoSelfhostedBuilding an ActivityPub Server
    link
    fedilink
    English
    arrow-up
    1
    ·
    2 years ago

    I looked at how many WebSocket connections a single server could keep open, and it seems quite high: https://unetworkingab.medium.com/millions-of-active-websockets-with-node-js-7dc575746a01

    That being said, I do agree with you that it’s inefficient to open a connection to every other instance.

    About your proposals:

    • I don’t think your first solution is feasible. How would an instance know which other 10 instances to notify?
    • I do like your idea of batching operations together! Would definitely cut back on the amount of HTTP calls and signature validations. Perhaps this can even be extended further: right now every user interaction is signed before its been sent to other instances. Would be interesting if the instance itself also has a public/private key and that it can sign a whole batch at once (rather then signing every single user interaction).