simplest tool to backup to Google drive
Without the need for versioning, I think rclone fits the description. For backup into USB drive / remote SSH server I would recommend rsync.
Wireguard config already includes "::/0"
That is what I was thinking, yes.
In my case just disable IPv6 in WiFi is enough.
sysctl looks like the most universal way.
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
I tried the same setup with Ubuntu 24.04.1 desktop live system and I can replicate this IP leak issue, I guess I will have to disable IPv6.
Need help with NetworkManager, VPN and IPv6
I was setting up my laptop for traveling and adding Wireguard VPN configuration.
The Wireguard config generated by router only contains IPv4 address (10.0.5.x), and while testing the VPN to my surprise "what is my ip" websites can find my IPv6 address (I USB tethered mobile connection to my laptop).
It looks like NetworkManager does nothing about IPv6 connection if VPN doesn't have IPv6 settings, which is bad for road warrior type of VPN configuration.
Is there an easy toggle to turn of IPv6 if VPN is connected and otherwise? Or is only option to disable all IPv6 no matter what?
You setup Wireguard server on the VPS with both IPv4 and IPv6. Then you connect both your computer and IPv6-only server to the Wireguard server. After connection, you can connect to the VPN through IP address assigned by wireguard.
Personally have good experience with https://github.com/Nyr/wireguard-install, there are other script that are available by searching "wireguard setup script github".
Note: By default Wireguard config generated will route every bit of traffic through Wireguard (which will be slower and probably not wanted in this situation), to change that change AllowedIPs field in Wireguard config, lets say all your machines are assigned 1.2.3.xxx
as IP address, to only access other 1.2.3.xxx
IP through wireguard, change the config to AllowedIPs = 1.2.3.0/24
.
Host a website that needs to be accessible from your own machine or public?
Former situation: Can be solved by setup reverse proxy on the other VPS, or join machines to a VPN server (like tailscale,, Zertoier or Wireguard server)
Later situation: Cloudflare or other CDN, setup reverse proxy on the other VPS.
Less accessible option but available for public: Tor or I2P
Great, if you need to SSH into Ipv6 only machine, SSH has -J flag which can be used to specify "jump host" (basically run SSH through SSH)
Pratically no universal way of making Linux boot with ARM processors.
Much more closed source drivers (than x86 ecosystem).
I think that means the access point can only run at up to 80Mhz bandwidth, so not full bandwidth.
I am born too late to understand what Y2K problem was, this (the result) might be what people thought could happen.
I9 14900k…bad news for you, 13th and 14th gen I9 is unstable, crashes.
Suggestion: Wait for 15th gen or AMD 9000 series CPU to come out.
Downfall is the best.
Slay the Spire, with mods
- Dead torrent
- Your Internet blocks torrent/DHT traffic.
If I can suddenly in coma for a year, wake up and pay my bills, it's enough.
Humans are doomed, destroy themselves one way or another.
I remember trying Retroshare..... no offline message is the biggest obstacle.
If the firewall just means no incoming connections, your computer can still reach out to the other side (if they open their port)
I encountered a case where using cprofile actually speeds up my code, did anyone else encountered this before?
I can't give you the code because this is work related, and I couldn't make a minimal code that mimics the behavior.
My of my programs at work is a log parser, it reads syslog and use compiled regex pattern to match syslog, the whole program looks like this
If match := pattern.match(line): Do this elif match := pattern2.match(line): Do that …
During almost two years of me developing the programs, there are more patterns and more things to do and it gets slower.
But I recently figure out that if I commented out Do that
and replace it with pass, my program speeds up, even if pattern2 never matches in my test case.
More strange thing is that in my attempts to use cProfile to profile things, my program runs 2.5x to 3x faster by just doing
from cProfile import Profile with Profile() as profile: main()
I don't even call anything with profile variable and it speeds up my program, why is that?
Is there a proper way to offload video workload to iGPU/APU?
Background story: I recently bought a computer with AMD 7000 series CPU and GPU.
amdgpu_top reports 15 ~ 20 watts in normal desktop usage, but as soon as I have video playing in VLC, it goes to 45 watts constantly which is undesirable behavior especially in summer. (I hope that is just reporting issue... but my computer is hot)
When I do DRI_PRIME=1 vlc
and then play videos, amdgpu_top doesn't report the power surge. (I have iGPU enabled)
Is there anything more convenient then modifying individual .desktop files? KDE malfunctions when I put export DRI_PRIME=1
in .xprofile so that's a no go.
---
Solved: removing mesa related hardware acceleration package makes VLC fall back to libplacebo which doesn't do these weird things.
Someone speedrun Minecraft in less than 1 minute in game time
YouTube Video
Click to view this content.
This speedrun video is insane I have to share it somewhere
Need recommendation for custom push notification solution.
I currently have a server running in cloud that can send custom notification through self-hosted gotify server.
The down side is battery drain, it eats more than 15% of battery per day and it's unsustainable, I have to turn on battery optimization.
I know google offers GCM and FCM which instant messaging APPs uses, but I couldn't find a software that is as easily configurable and have a ready to use Android client (that preferably connects to GCM and FCM so no battery drain problem), any recommendation?
Need help - My monitor configuration is messed up
My setup: OS is Endeavour OS and up to date, my GPU is RX 560 with 1xDVI + 1x HDMI + 1X DP output, two monitors of the same model (1xHDMI + 1xDP). (KDE Plasma 5.27.7, KDE Frameworks 5.108., Qt 5.15.10, Kernel 6.4.11-x64v2-xanmod1-1, Wayland)
Original setup: MonitorA on left of my Desk connected with DP, MonitorB on right of my Desk connected with HDMI, the problem is that games see left monitor as "Monitor 1" and opens on left monitor all the time, and I prefer them to use "Monitor 2" by default.
Setup 2: I switch DP and HDMI cable, but everytime a boot up my computer (I set auto login in SDDM) the monitor configuration becomes "MonitorB is on top of Monitor A", none of my attempts to change that persisted between reboots, I didn't test games because this heavily affects my workflow.
Setup 3: Also switched monitors positions physically (MonitorB on left of my Desk connected with HDMI, MonitorA on right of my Desk connected with DP), now the default monitor configurations is side-by-side again, but every boot I have to switch monitors' position in settings or I have to go right on MonitorA to get to monitorB.
I also noticed monitor settings go away when I logout of Wayland KDE session, is there a way to fix monitor configuration in SDDM?