• 0 Posts
  • 10 Comments
Joined 1 year ago
cake
Cake day: June 15th, 2023

help-circle



  • Great work on this project!

    I’m envious that you have available data on your public transport! Where I live they’re still working on an API that has been advertised as “available soon” for multiple years :(

    I have a very similar project with a pi zero and waveshare e-paper display! I’m showing the weather, a countdown to events I’m looking forward to and a virtual pet that changes pose every so often. Here is an older picture of it:

    pi zero dashboard


  • I think loops tend to be faster, but well done recursion might be just as fast. I just wanted to mention performance being a point of consideration when making these decisions. I 100% agree that poor (API) architecture is probably one of the biggest reasons for slow software. It’s just that every bit of poor performance adds up along the way, and then we end up having fast computers (that are orders of magnitude faster than anything 15 years ago) running bloated electron apps (that are sometimes even slower than their equivalent 15 years ago) and it’s just frustrating.






  • xxd@discuss.tchncs.detoSelfhosted@lemmy.worldPiped/Invidious
    link
    fedilink
    English
    arrow-up
    7
    ·
    edit-2
    2 months ago

    I selfhosted Invidious a while back, but gave up on it when it stopped working and I couldn’t figure out why. I have no experience with Piped.

    I settled on a third alternative, but I don’t want to point too much attention to it because I think it might be flying under Youtubes’ radar at the moment. But let me say this: if you embed a youtube video on a third party site and have it be part of a playlist with only the video in it, you won’t see any ads. so for example I’d be embedding a link like this: https://www.youtube-nocookie.com/embed/dQw4w9WgXcQ?playlist=dQw4w9WgXcQ&vq=hd1080&autoplay=1&modestbranding=1&rel=0 on my own page and can then watch it without ads :) if you have any questions, feel free to hit me up.

    EDIT: Well, I just got the first ad using this method. So it seems youtube is cracking down on all ad avoidance methods and they found this one too. Only one ad so far, so it doesn’t seem to be as bad as their own site, with (sometimes multiple) ads before almost every video, but I’m sure it’ll happen. Guess Piped/Invidious it is!