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

help-circle
  • Other benefit of zigbee that devices can’t connect directly to the internet, so you don’t have to trust them, you don’t have to create vlans, they can’t be turned into a botnet. Also in zigbee every device can be a router, so they can more easily cover bigger houses.

    I wouldn’t replace a wifi based system with zigbee, but recommend it to anyone starting now. This post wanted to be an advice to newcomers…


  • Ikea bulbs use zigbee, their prices are very good and they are more reliable than chinese stuff.

    It’s up to you how you automate your smart home. My useful light related automations:

    • When I arrive home and the light sensor see it’s dark it switches on the living room light
    • if I pause a movie in jellyfin it turns on a light, if I hit play it switches it off
    • The off timer of a movement activated light depends on if my projector is turned on, it switches off more quickly when the projector is on
    • If I’m not home it switches off everything automatically, so I can’t forget any lights on

  • I have an old wifi yeelight, measured it now because I was interested. 1.4W off, 8.4W full power

    For comparison, Ikea zigbee bulb 9.3W max power, less than 0.1 W while off, but switches on instantly. My watt meter can’t measure less than 0.1W so it shows 0.0W.

    Zigbee was designed for this kind of usage. I have several zigbee sensors running on 3.3V coin cell batteries, they can report data for years without battery replacement.


  • These are terrible advices.

    All smart lightbulbs have a small router in them, so they all use some electricity while switched off. You can gain some net plus only if you live with people who constantly forget to switch off lights. But you need some presence detector as well. Smart lighting is about convenience not energy usage.

    Wifi is the worst wireless standard from energy usage standpoint. Zigbee’s power usage is much less and devices are cheap. Thread and Z-wave power usage also lower than wifi, but devices are a bit more expensive.

    Amazon and Google are a privacy nightmare. Home Assistant and Domoticz are two wellknown local first smart home systems.




  • Wrong title, it should be:

    A Map of the world showing where the local time zone is wrong more than half hours

    An hour is a human concept, we just divided the day to 24 parts, we could use whatever else division. Local time is correct only on the center longitude, which is a line with zero thickness.

    Also it’s clearly visible that France and Spain are in the wrong time zone, and it was changed by the Nazis. Before WW2 France and Spain was in the same zone as Britain. France changed because of the German occupation, and they forgot to change back after the war.



  • They have an example service on the website:

    (define sshd
      (service
        '(sshd ssh-daemon)                ;the secure shell daemon
        #:start (make-inetd-constructor   ;start on demand
                 '("/usr/sbin/sshd" "-D" "-i")
                 (list (endpoint
                        (make-socket-address AF_INET INADDR_ANY 22))
                       (endpoint
                        (make-socket-address AF_INET6 IN6ADDR_ANY 22)))
                 #:max-connections 10)
        #:stop (make-inetd-destructor)
        #:respawn? #t))
    
    (register-services (list sshd))
    (start-in-the-background '(sshd))
    

    Let’s see how the same service looks like with systemd:

    [Unit]
    Description=OpenSSH Daemon
    Wants=sshdgenkeys.service
    After=sshdgenkeys.service
    After=network.target
    
    [Service]
    Type=notify-reload
    ExecStart=/usr/bin/sshd -D
    KillMode=process
    Restart=always
    
    [Install]
    WantedBy=multi-user.target
    

    I have some lisp knowledge, so the scheme version doesn’t look frightening to me, but I guess for sysadmins, who should write these kind of files frequently systemd’s TOML like language is much more easier to understand.

    Some differences I see: Shepherd does some firewall management with ports, and I don’t see the services it depends on.

    Why this kind of files should be written in a programming language at all? I guess it’s a remnant from the old times, but I like when tools abstract away the programming parts, and users shouldn’t have to deal with that. I like the same thing in docker-compose: I can configure a program whatever language it’s written, I don’t have to deal with what’s happening under the hood.

    I guess there is some usefulness with defining services as code, if you need more complex situations, but it should the more rare case nowadays.




  • Tldr:

    • Captions in videos. They write here it runs on device and available only if your phone has a tensor chip: https://blog.google/technology/ai/on-device-processing/
    • image transcription with gemini 1.5, I don’t find more info on it but it sounds like it doesn’t run on device, similar to what already available in browsers.
    • stickers in gboard. Wow.
    • quickshare images with qr code and bluetooth. I remember we sent images via bluetooth in 2004. I don’t see why is it an interesting feature in 2024
    • some scanning app for googe drive, there are countless alternatives…
    • gemini extension with spotifiy, so now gemini can recommend you music from spotify. Like if there was a problem here to solve.

    So AI things and rewrapped features. I love that on device things starting to work, but at one point goog will see it’s not good for them. If it runs on device, you don’t have to feed them data





  • infeeeee@lemm.eetoTechnology@lemmy.worldDid you know this?
    link
    fedilink
    English
    arrow-up
    48
    ·
    11 days ago

    It’s in a lot of program, not just ff. You can also see some letters are underlined in that menu, if you press that letter after alt, it would invoke that command or open that drop down without using the mouse. This is a convention at least from DOS, but I suspect it may be even older.

    So actually alt doesn’t unhide the menu, it waits for a letter input to what command you want to start. It just happened that this old type of menu is hidden by default in a lot of programs and alt could be reused for this as well.