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

help-circle










  • This would be nice because I don’t need a static ip and I don’t have to leak my ip address.

    How does the VPS know how to find your rpi?

    Could you not just use something like duck dns on a cronjob and give out that url?

    I would also need to figure out how to supply ejabberd with the correct certificates for the domain. Since it’s running on a different computer than the reverse proxy, would I have to somehow copy the certificate over every time it has to be renewed?

    Since the VPS is doing your TLS termination, you would need an encrypted tunnel of some sort. Have you considered something like Istio? That provides mTLS out of the box really… I’ve never seen it for this kind of use case but I don’t see why it wouldn’t work.


  • For me personally it’s probably mostly just momentum or habit at this point. I got into Linux on the late 90s or early 00s. Vim was the best option at the time so I figured it out mostly out of necessity. Now I’m just so comfortable with it and I’ve tweaked it to high hell it’s like a perfectly broken in pair of shoes… Everything fits me just right. I don’t see any real benefit to switching to vs code. I’ve tried it but didn’t like it. Things like filesystem navigation were so clunky and slow compared to what I was used to.

    Whatever… No judgement. There are obviously great developers out there using vs code. This just works for me.



  • You can do it bro. Dockerfiles are basically just shell scripts with a few extras.

    It uses npm to build so start with a node base container. You can find them on docker hub. Alpine-based images are a good starting point.

    FROM appdynamics/nodejs-agent:23.5.0-19-alpine 
    
    RUN git clone https://github.com/stophecom/sharrr-svelte.git && \ 
        cd sharrr-svelt/ && \
        npm run build
    

    If you need to access files from outside of the container, include a VOLUME line. If it needs to be accessible from a specific network port, add an EXPOSE line. Add a CMD line at the end to start whatever command needs to be run to start the process.

    Save your Dockerfile and build.

    docker build . -t my-sharrr-image
    






  • It’s not hard to move to Japan. It’s hard to move to Japan and earn a decent wage. I am in a high earning career when working for US companies. If I were to do the exact same job in Tokyo, I would earn less than half of my current base pay, no bonus or stock options. I know this because I was living there and interviewing a lot… Finding work was not hard. Taking that kind of pay cut would be stupid.

    The main jobs that the Japanese are happy to allow foreigners to have is mostly around teaching English. I dated many English teachers when I was there and the general consensus was that if you had a working face, you could teach English. Anyone who is unemployable in their home country can move to Japan to teach English. The catch is that you’re going to earn $15-20k per year.

    I deeply love living there and miss it daily but it’s just not a good deal in the global labor market. If they made a remote worker visa though, I would be the first person in line to apply for it.