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

help-circle
  • You’ve worked with juniors before?

    Because in my experience I was constantly reading their unreadable code, then telling them why it’s wrong or bad or not fitting in a digestible manner and then waiting weeks for a refactor.

    Iterate that for a month. Mentoring them took way longer than it would have taken me to write it from scratch. Not that dissimilar to trying to using AI for where it sucks (larger, a tad more complex problems).

    It only makes sense if you look at it as an investment, because they will eventually improve.
















  • HelloRoot@lemy.loltoSelfhosted@lemmy.worldHow to reverse proxy?
    link
    fedilink
    English
    arrow-up
    10
    ·
    edit-2
    22 days 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.



OSZAR »