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

help-circle






  • One of them is a laptop, why ssh to the server isn’t an option? Set up tmux on the server so it always connects to the same session, so you can just continue where you left last time. If you need desktop support, rdp in gnome works really well.

    E.g if you connect with this command, and tmux is installed on the server, it will start a new session named “main”. If a session with that name exists it will connect to that:

    ssh -t pi@192.168.1.2 tmux new-session -A -s main

    Add something to .bashrc on the server to always do the same if you work on that phisically:

    if command -v tmux &> /dev/null && [ -n "$PS1" ] && [[ ! "$TERM" =~ screen ]] && [[ ! "$TERM" =~ tmux ]] && [ -z "$TMUX" ]; then
    tmux new-session
    fi
    





  • infeeeee@lemm.eetoFediverse@lemmy.worldThreads Enables Fediverse Replies
    link
    fedilink
    English
    arrow-up
    10
    arrow-down
    4
    ·
    edit-2
    21 days ago

    Since I stopped using mainstream socialmedia I can’t follow musicians I’m interested in. Some have a bandcamp page and rss works there, but they just upload their albums there, nothing else. At least I get notified about new releases. I tried to follow facebook and instagram pages via rss-bridge, but it’s not working for years now. My selfhosted bibliogram sometimes work, but it’s unmaintained so it will die at some point if instagram changes something. (I just found there is a maintained fork, yess) My ip usually gets blocked, so I get all posts once a week only in batch.

    So I’m interested, unfortunately none of them enabled fedi integration yet, (afaik it’s a settings for them in threads) so I’m waiting when they will enable it for everyone.

    I don’t want to debate about politics or whatever you are afraid of.



  • I’m not familar with shelly, but they don’t use MQTT autodiscovery? If they use it you should have a corresponding HA entity or device of each switch. Then you can use built in tools or templates in automations, and don’t directly mess with MQTT. That’s much easier and stable.

    If they don’t use autodiscovery you can create HA entites via configuration.yaml manually


  • infeeeee@lemm.eetoTechnology@lemmy.worldIs this an accurate diagram?
    link
    fedilink
    English
    arrow-up
    5
    ·
    edit-2
    24 days ago

    It’s a strange diagram but shows what you have to know. If you ever seen different keyed m.2 cards, you should understand this. The important thing is the location of the keys, the notch. All m.2 cards has an ‘up’ and ‘down’ side, it shows only the ‘up’ side. You have to look inside the receptor to see the pins, that’s why it shows both sides, it’s not possible to see one side only on the receptor as they are in a plastic casing. Usually you can’t see the pins on the mobo, only the key.

    You can see a similar diagram on wikipedia, both sides of receptor, top side of card:

    https://upload.wikimedia.org/wikipedia/commons/thumb/e/ed/M2_Edge_Connector_Keying.svg/560px-M2_Edge_Connector_Keying.svg.png

    The offset you were writing about doesn’t matter, it actually helps. You can’t accidentally insert the card upside down. The location of notches also help with this, as not all possible notches used yet, but in the future it could change.

    These connectors are really small. The receptor is similar how sodimm connector works, but smaller. Are you also afraid about inserting a ram in an laptop? It’s basically the same.

    Read more about the connector in wikipedia, I’m really happy this slowly replaces sata, msata, mpcie and even pcie in current pcs.

    https://en.wikipedia.org/wiki/M.2


  • It’s important to note, that these things are designed for the average user. If you want to change the wifi password, you are by far not an average user. Most users just plugs in and never even think about that, and the number of that kind of users are several order of magnitude higher than the conscious ones. For them it’s much more secure to set a random pw. If you let them select a password they will choose 12345 or password.

    If you know what you are doing usually it’s better to buy your own router where you can change everything the way you like.



  • infeeeee@lemm.eetoTechnology@lemmy.worldIs this an accurate diagram?
    link
    fedilink
    English
    arrow-up
    5
    arrow-down
    2
    ·
    25 days ago

    You seem to love spreading misinformation on the web. Why are you commenting 4 times if you are not familiar with the topic?

    This is an m.2 connector. You have to secure it with a screw on the other side. It’s nearly impossible to mess it up.

    Apple frequently uses proprietary connectors, I don’t know which one you are reffering to. I won’t guess because I’m not very familiar with all apple connectors.

    You don’t have to comment on a topic if you are not familiar with. Please stop.


  • Iphone 4 had a shitty antenna design. This was the first iphone with a metal frame around, on the sides of the phone. If you holded it with your left hand you could easily accidentally short the two parts of the antenna, basically cutting all signals.

    This was definetily a design fault, there was even class action lawsuit against Apple. When they asked Steve Jobs about this, he replied:

    “You are holding it wrong.”