[-] axzxc1236@lemm.ee 1 points 1 day ago* (last edited 1 day ago)

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.

51
submitted 4 weeks ago by axzxc1236@lemm.ee to c/linux@lemmy.ml

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?

[-] axzxc1236@lemm.ee 36 points 3 months ago* (last edited 3 months ago)

I am born too late to understand what Y2K problem was, this (the result) might be what people thought could happen.

[-] axzxc1236@lemm.ee 17 points 3 months ago
  1. Dead torrent
  2. Your Internet blocks torrent/DHT traffic.
[-] axzxc1236@lemm.ee 16 points 4 months ago

If the firewall just means no incoming connections, your computer can still reach out to the other side (if they open their port)

[-] axzxc1236@lemm.ee 11 points 4 months ago

I would 100% exploit this (insurance for family).

[-] axzxc1236@lemm.ee 18 points 4 months ago

HTML Form + any backend of your choice (that can handle HTML form)

[-] axzxc1236@lemm.ee 19 points 5 months ago

Syncthing and KeepassXC for syncing 2FA between devices. (I use Bitwarden for passwords)

[-] axzxc1236@lemm.ee 22 points 5 months ago

sudo chattr +i (folder) prevents anything to modify/delete folders and files

Add -R for setting the flag for all subdirectory/files

[-] axzxc1236@lemm.ee 13 points 1 year ago* (last edited 1 year ago)

Tailscale server can also be self-hosted, look into headscale.

~~From my own experience, I still can't setup headscale on my Android phone, I think latest tailscale APP fucked up setting custom server function.~~ Don't install from Google Play

5
submitted 1 year ago* (last edited 1 year ago) by axzxc1236@lemm.ee to c/python@programming.dev

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?

[-] axzxc1236@lemm.ee 10 points 1 year ago* (last edited 1 year ago)

Also recommend https://lowendspirit.com/

AFAIK LET do shenanigans like requiring service providers to pay to create post there now.

40
submitted 1 year ago* (last edited 1 year ago) by axzxc1236@lemm.ee to c/linux@lemmy.ml

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.

16
submitted 1 year ago by axzxc1236@lemm.ee to c/android@lemmy.world

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?

[-] axzxc1236@lemm.ee 21 points 1 year ago

distributed forum.

Some boards in one server, some boards in another server, glued by ~~miracle~~ someone's hardwork.

[-] axzxc1236@lemm.ee 26 points 1 year ago* (last edited 1 year ago)

I will give a version of event that I have observed, simplified (a lot of things glossed over), and maybe inaccurate.

  1. LinusTechTips (one of their employees) criticized Hardware Unboxed and Gamers Nexus do banchmark videos in a lab tour video (on MurfsGaming channel), HUB fight back on Twitter(X), Linus (the owner of LMG) double down in their WAN show saying some creators are unprofessional, this leads to Gamers Nexus doing a long video point out how unprofessional LTT is (many errors in their videos).

  2. In Gamers Nexus's video, they shared a story that a company send their working prototype for LTT to review, but LTT doing the testing wrong (use the prototype with incompatible hardware), then sold the prototype for charity when they have been requested to send it back twice, screwing the startup company on top of giving inaccurate test results.

  3. Linus (the owner of LMG) fight back in forum post with no apology (basically spraying gasoline on fire) and made up fake event saying they have already agreed to compensate the startup company.

  4. Gamers Nexus says in their next video that they communicated with the startup company and LTT only contacted them two hours after previous Gamers Nexus's published, debunked Linus's claim that they already made a deal to compensate the startup company.

  5. An ex-employee publicly talking about the time she works at LMG, bait-and-switch working contract after she moving all the way where LMG is, sexism, sexual harassment, threats, unhealthy work environment.

view more: next ›

axzxc1236

joined 1 year ago