• 0 Posts
  • 78 Comments
Joined 3 months ago
cake
Cake day: February 15th, 2025

help-circle


  • HelloRoot@lemy.loltoSelfhosted@lemmy.worldHow to reverse proxy?
    link
    fedilink
    English
    arrow-up
    10
    ·
    edit-2
    1 day ago
    1. you rent a domain

    2. in the config (provided by the service where you rented the domain) you set it to point to the IP of the device where you run caddy

    3. the service tells the relevant global DNS servers your setting

    4. your DNS does a DNS lookup and a DNS server returns the IP you configured it to point to


    Depending on the DNS you use, you can manually add entries to do 1-3 differently, but that will only work for devices that use your DNS and is hard.



  • preferably something with WOL that goes silent and fanless when not in use, or something I can shut down with a button

    Recently I saw a Traefik plugin that can send WOL packets to a machine when a service that is hosted there gets a network request. It also shuts down the device when it’s not in use. You can set it up with a low power always on thing, like a rpi. I also have a buddy that set it up in a more diy way without Traefik so it’s definitely something that can be done and will save you a lot of electricity in the long term.


    As for the NAS, if you want to start small and cheap, there are N95 mini PC’s for like 100-150$. Attatch an external multi TB drive to it via usb and viola there is your first NAS. It will also draw way less power than a full tower PC and still be basically plug and play.

    You can do surprisingly much with very little hardware these days. And because the cost is so low you can upgrade later to exactly what you need. Only by trying out will you find out what you care about and want exactly. Online people keep suggesting their own personal preferences.


  • My personal experience with laptop batteries was not as nice as yours, but neither should be blindly trusted.

    Not sure if there is some science on it anywhere but this random search result article https://www.pcmag.com/how-to/help-my-laptop-battery-is-swollen-now-what says:

    most common cause of a swollen battery is overcharging. Keeping your battery at a high state of charge can stress it out, allowing it to degrade faster. “In an application where you have a system plugged in 24/7, after a number of years your likelihood of getting a swollen battery increases,” says Phil Jakes, principal engineer and director of strategic technology at Lenovo. “The other thing that drives it is heat. Batteries don’t like to be hot, and there’s a chemical process that gets kicked off when a battery gets over 100 degrees.”

    Don’t keep your device plugged in all the time. Batteries are cyclical and have to discharge and recharge to work effectively.

    Keep your devices in cool, dry environments. Hot and humid weather conditions put more strain on batteries and can shorten their operating life over time.

    When shopping for a new battery, buy from reputable manufacturers. It’s generally better to buy a replacement from the original laptop maker than the cheapest compatible option from a third party.

    Replace your battery—if you can—if you see its capacity drop too low. Manufacturers test their computer batteries to last up to three to four years, while an iPhone battery is meant to retain up to 80% of its original capacity at 500 charge cycles. If you start to see any warning signs, replace it sooner rather than later.





  • I installed the paid version of Zorin on my Parents machines, because while I could set it up for them just the same and then maintain it until they die, I’d rather pay 50$ and have nearly 0 work to do.

    I make way over 50$ for 1 hour or Linux tech support, so there is no world where it would be worth.

    But besides that I don’t think your attitude is particularely useful for people that would rather shit just work than spend hours on setting it up themselves.







  • My current setup:

    ~/.bashrc

      stty intr \^x
      bind -f ~/.inputrc
    

    ~/.inputrc

    set bind-tty-special-chars off
    
    set colored-stats on
    set show-all-if-ambiguous on
    set show-all-if-unmodified on
    set completion-ignore-case on
    set completion-query-items -1
    set page-completions off
    
    "\e[1;5C": forward-word
    "\e[1;5D": backward-word
    "\C-h": nop
    "\C-s":"\C-asudo "
    

    And in Konsole I have remapped copy to ctrl+C and paste to ctrl+V .

    I honestly don’t remember what each config line is for, cause it has been so long ago. And probably you don’t want all of that. Probably best to throw it into an AI and let it explain it line by line.


  • If you need any help, ping me and I’ll share my setup.

    The reason you gave still falls under the concept of ergonomics.

    From wikipedia:

    Ergonomics, also known as human factors or human factors engineering (HFE), is the application of psychological and physiological principles to the engineering and design of products, processes, and systems. Primary goals of human factors engineering are to reduce human error, increase productivity and system availability, and enhance safety, health and comfort with a specific focus on the interaction between the human and equipment.

    It would be a more ergonomic (and less error prone) system if you modify the shortcuts so that you don’t fumble them.