Skip Navigation
InitialsDiceBear„Initials” ( by „DiceBear”, licensed under „CC0 1.0” (
Posts 1
Comments 52
Amber - the programming language compiled to Bash
  • I doubt the goal is to produce easily understood bash, otherwise you'd just write bash to begin with. It's probably more similar to a typescript transpiler that takes in a language with different goals and outputs something the interpreter can execute quickly (no comment on how optimized this thing is).

  • Microsoft won't update your Windows 11 PC if it has these apps
  • Worth considering holding onto the Nvidia card to do a vfio windows VM as a fallback for stuff that doesn't run well through wine/proton. It wasn't too hard to setup and its nice to just toss all the games with kernel anticheat/adobe shit into.

  • SDL 3 will prefer Wayland Over X11, if certain protocols are available
  • Anecdotal, but every time I've tried x11 sessions over the years I've either gotten screen tearing on the desktop or it didn't run at my monitors full refresh rate above 60hz. Wayland has always run how I would expect it to.

  • Your first distribution
  • I wanted to try Ubuntu on a live disk back in highschool (~2012) but ended up wiping the drive on my laptop. Had to ask a friend who knew Linux for help so I could actually use it. That was eventually followed by debian and Manjaro. Later I tried arch on my desktop, got tired of that and switched back to windows for a few years. I've been running nixos for a while now and have been really enjoying it.

  • Issues forwarding traffic through a wireguard connection

    I am attempting to follow this to forward traffic from a few ports on a public oracle vps to other ports on my local server through a wireguard connection. Currently I am doing this using rinetd, but I was looking for a more normal way of forwarding traffic. (Also looking to forward UDP traffic at some point.)

    After stopping rinetd, adding these rules to the public server's wg config ```

    packet forwarding

    PreUp = sysctl -w net.ipv4.ip_forward=1

    port forwarding

    PreUp = iptables -t nat -A PREROUTING -i ens3 -p tcp --dport 443 -j DNAT --to-destination PostDown = iptables -t nat -D PREROUTING -i ens3 -p tcp --dport 443 -j DNAT --to-destination

    packet masquerading

    PreUp = iptables -t nat -A POSTROUTING -o wg0 -j MASQUERADE PostDown = iptables -t nat -D POSTROUTING -o wg0 -j MASQUERADE ``` and restarting the wg connection, I'm seeing traffic on the ens3 port but none entering wg0 via tcpdump. I feel like I probably have conflicting iptables rules saved but I don't really know enough about whats going on there to fix it. I feel like its probably the wireguard-*-rule ones (created by pivpn possibly?) but I'm not sure.

    Edit way later: Ended up just using rinetd for the udp connections. Ubuntu doesn't include the latest version here which is able to do UDP connections. The docker container RxBrad suggested uses that version within the docker container to make the redirections so it will be roughly equivalent.