theit8514

u/theit8514@lemmy.world
0 posts · 181 comments

Recent posts

No posts.

Recent comments

Most of these backup solutions try to reduce the amount of data backed up, so the system will process each file and determine if the contents changed and only upload new data. In this case if you modify the file you may end up with 2 16 MB chunks that have slightly different data, and only when the old backup expires and the pruning process completes would one of those chunks be deleted.

Smaller chunks sizes means you get more files written to S3, but less duplicate data when deduping without compression.

on Caddy touble in Docker · c/selfhosted · 2 pts · 85d

If I had to guess, the container station might be giving the docker container a new network/ip address, one that the NAS is not using so that port 443 works and doesn't conflict with the NAS. If you start the container station then inspect the container you might see how they do it, but macvlan is typically how you would configure it.

services:
  my-lan-service:
    image: nginx:latest
    container_name: lan_container
    # 1. Attach the service to the custom macvlan network
    networks:
      lan_network:
        ipv4_address: 192.168.1.200  # The dedicated LAN IP for this container
    # 2. Ports are exposed directly to the LAN; do NOT use the "ports" block
    restart: unless-stopped

networks:
  lan_network:
    driver: macvlan
    driver_opts:
      parent: eth0                  # Change to your host's physical network interface name
    ipam:
      config:
        - subnet: 192.168.1.0/24    # Matches your physical local network setup
          gateway: 192.168.1.1      # Your physical router IP
on CTO BTW · c/programminghumor · 12 pts · 108d

Had a developer making a MCP do something similar to this (input to AI to LINQ) and I nearly had an aneurysm. Compiling the output of AI into IL is just as bad as user input.

on Death by Technical Debt · c/sysadmin · 4 pts · 119d

They finally added the last bit of data to this Session store that broke the whole application. 16MB of data being read/written from store on every http request. 50% of all http request processing was handling the Session middleware.

I hate developers who don't spend the very minimum to understand the environment they work in.

on The global elite · c/mop · 22 pts · 197d

It's a product of the format being parsed twice. Each line should be 80 characters with an = at the end, then a carriage return+newline(lf) to continue the line. Somewhere the cr+lf got converted to just an lf and then when reparsed it removed the lf plus the next character, making it still conain the equals but not the next letter of the message.

Here's a better technical explanation if you care: https://youtu.be/SVVnkNZWJhk

When connected to your internal network, what is the results of:

nslookup sub.domain.tld AGH.IP.Address

This should respond authoritative with the IP you need to access NPM's VIP IP address. If that is not the case, let us see your AGH configuration for your sub.domain.tld.

If that does return the correct IP, verify that it responds to https using curl on Linux or windows (replace curl with curl.exe)

curl -vvvI https://sub.domain.tld/

If this is not connecting or showing a cert error then there's a misconfiguration on the NPM side. Screenshots of your site configuration for one of the sites would be helpful. The domain name should match sub.domain.tld (not your duckdns) and be bound to the let's encrypt cert.

IIRC there is a non-tor browser, which is included for things like logging in to wifi captive portals. Not sure I understand exactly what you're after but you can uninstall the package if needed.

Instead of a default gateway you can configure just your VPN IP address to go to your gateway. You might also need DNS servers depending on your setup.

Example: ip route add 1.1.1.1/32 via 192.168.1.1 dev eth0

Note that without a script this may be flaky if you're using DNS to resolve the VPN. It might be better to have a script that resolves the IP(s) of the VPN and then adds routes.

That being said, your VPN software is usually designed to install routes that have higher priority so that they will get used before the local network. One such way is by adding half-internet routes (0.0.0.0/1 and 128.0.0.0/1) which get preferred over the larger default route. If you run ip route once connected you may see those routes present.

While I'm not sure if it works in rootless, take a look at binhex/arch-delugevpn project which has scripts to set up a similar network isolation environment.

IMO as a developer this is a sane change. There's no telling when the format of the first-party api key will change. They may switch from reference tokens to JWT tokens tomorrow. The validation should be using the token and seeing if it works.

on anesthetic · c/boneappletea · 2 pts · 227d

Same lol. I don't remember being knocked out. Afterwards they were like "don't drink through a straw" and my dumbass went to McDonald's and downed a whole coke through a straw.

For the future, git is highly resilient so squashing the commits still leaves all the data in the reflog. After you do that operation a git gc would be needed to remove any unreferenced commits and shrink the git folder.