[-] [email protected] 4 points 3 days ago

If I can suddenly in coma for a year, wake up and pay my bills, it's enough.

[-] [email protected] 6 points 4 days ago* (last edited 4 days ago)

Humans are doomed, destroy themselves one way or another.

[-] [email protected] 5 points 1 week ago

I remember trying Retroshare..... no offline message is the biggest obstacle.

[-] [email protected] 16 points 1 week ago

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

[-] [email protected] 1 points 2 weeks ago

try ncdu?

sudo ncdu --one-file-system /

[-] [email protected] 11 points 2 weeks ago

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

[-] [email protected] 18 points 3 weeks ago

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

[-] [email protected] 1 points 3 weeks ago

Forgot to answer this question, yes I think it would work.

[-] [email protected] 3 points 3 weeks ago

Yes, speed would be much slower.

Yes, you can host a normal website through tor.

[-] [email protected] 4 points 3 weeks ago

AFAIK tor websites (onion service) doesn't require exit node, and no one knows your IP unless you are unlucky enough all nodes you connected are controlled by same entity.

[-] [email protected] 1 points 3 weeks ago* (last edited 3 weeks ago)

I am pretty sure you can set your own DNS server in Android.

[-] [email protected] 1 points 3 weeks ago

I think most up-to-date OpenWrt routers can do later (with normal, unencrypted DNS requests), see https://openwrt.org/docs/guide-user/firewall/fw3_configurations/intercept_dns.

The model you mentioned (Flint 2) is supported by OpenWrt.

5
submitted 8 months ago* (last edited 8 months ago) by [email protected] to c/[email protected]

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?

40
submitted 9 months ago* (last edited 9 months ago) by [email protected] to c/[email protected]

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.

25
submitted 10 months ago by [email protected] to c/[email protected]

This speedrun video is insane I have to share it somewhere

16
submitted 10 months ago by [email protected] to c/[email protected]

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?

7
submitted 10 months ago* (last edited 10 months ago) by [email protected] to c/[email protected]

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?

view more: next ›

axzxc1236

joined 10 months ago