• 2 Posts
  • 47 Comments
Joined 1 year ago
cake
Cake day: June 3rd, 2023

help-circle




  • DecentMtoAsklemmyHow to catch houseflies?
    link
    fedilink
    arrow-up
    16
    ·
    edit-2
    3 months ago

    Glass cups work unfailingly for me. As far as I know they don’t see very well, so once, I tried slowly lowering one over them, and have been doing it since. Nothing else needed, just wait for it to land near you on a hard and even surface. They so far have not noticed it until the cup was fully down. After catching one, I slide a thin paper/something under the cup, and take the whole thing outside to release it.









  • DecentMtoSelfhosted@lemmy.worldWhat's the deal with Docker?
    link
    fedilink
    English
    arrow-up
    5
    ·
    8 months ago

    There’s a lot more to an application than its configuration. It may require certain specific system libraries, need a certain way of starting up, or a whole host of other special things. With a container, the app dev can precreate a perfect environment for their program and save you LOADS of hassle trying to set it up.

    The benefit of all this is that you can know exactly where application state is stored, know that you’re running the app in it’s right environment, and it becomes turbo easy to install updates, or roll back if needed.

    Totally spin up a VM, install docker on it, and deploy 2-3 web apps. You’ll notice that you use the same way of configuring them, starting and stopping them, and you might not want to look back ;)


  • DecentMtoSelfhosted@lemmy.worldWhat's the deal with Docker?
    link
    fedilink
    English
    arrow-up
    10
    ·
    8 months ago

    The most popular way of configuring containers are by using environment variables that live outside the container. But for apps that use files to store configuration, you can designate directories on your host that will be available inside the container (called “volumes” in Docker land). It’s also possible to link multiple containers together, so you can have a database container running alongside the app.



  • DecentMtohomeassistant@lemmy.worldResetting Hue Bulbs
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    I’m not buying Hue anymore, but the few ones I have reset and are ready for pairing after like four or five power cycles. Last I had to do it I remember reading about a time window that those cycles need to be in but I’m not sure how fast it needs to be.