I made the icy-nord and icy-nord-darker themes.

change suggestions

issues

update notifications

@promitheas:matrix.org

  • 7 Posts
  • 21 Comments
Joined 3 years ago
cake
Cake day: June 12th, 2023

help-circle







  • promitheas@programming.devtoMemes@lemmy.mlLibs: "RuSsIa MaN BaD!!"
    link
    fedilink
    arrow-up
    18
    arrow-down
    1
    ·
    24 days ago

    I agree, but only one of those 2 countries has proclaimed (in law if im not mistaken, but i may be wrong) that they would intervene militarily to prevent one of their own from being tried by the ICC, regardless of the actual crimes they’ve committed. And im talking about sending special forces to extract said alleged criminal against humanity, from another sovereign nation, abiding by its own laws.

    Guess which of the 2 I’m talking about? Russia is by no means the good guy, but its not a binary issue, as most people on the internet seem to react when these 2 countries are mentioned in the same sentence. Russia being ‘bad’ doesn’t automatically make the US ‘good’ and vice versa.

    Sure, who’s worse shifts back and forth over the years, but to my eyes, currently, the US is worse, and its been that way for a long time. Way before trump. Anyone who thinks this all started when trump took office, is a bit deluded.

    But you’re 100% right, send both of them to the ICC, in an ideal world.






  • I dont believe its a drive failure after checking. Its a pretty new NVMe drive:

    $ sudo smartctl -t short /dev/nvme0n1p3
    smartctl 7.5 2025-04-30 r5714 [x86_64-linux-6.17.8-arch1-1] (local build)
    Copyright (C) 2002-25, Bruce Allen, Christian Franke, www.smartmontools.org
    
    Self-test has begun (NSID 0x1)
    Use smartctl -X to abort test
    
    $ sudo smartctl -H /dev/nvme0n1p3
    smartctl 7.5 2025-04-30 r5714 [x86_64-linux-6.17.8-arch1-1] (local build)
    Copyright (C) 2002-25, Bruce Allen, Christian Franke, www.smartmontools.org
    
    === START OF SMART DATA SECTION ===
    SMART overall-health self-assessment test result: PASSED
    

    Also with nvme-cli:

    $ sudo nvme smart-log /dev/nvme0n1
    Smart Log for NVME device:nvme0n1 namespace-id:ffffffff
    critical_warning			: 0 <<<<======================= Seems good!
    temperature				: 45 °C (318 K, 113 °F)
    available_spare				: 100%
    available_spare_threshold		: 10%
    percentage_used				: 1%
    endurance group critical warning summary: 0
    Data Units Read				: 8034527 (4.11 TB)
    Data Units Written			: 70423529 (36.06 TB)
    host_read_commands			: 58265590
    host_write_commands			: 901798802
    controller_busy_time			: 10039
    power_cycles				: 340
    power_on_hours				: 1500
    unsafe_shutdowns			: 63
    media_errors				: 0
    num_err_log_entries			: 0
    Warning Temperature Time		: 0
    Critical Composite Temperature Time	: 0
    Temperature Sensor 1			: 45 °C (318 K, 113 °F)
    Temperature Sensor 2			: 48 °C (321 K, 118 °F)
    Thermal Management T1 Trans Count	: 0
    Thermal Management T2 Trans Count	: 0
    Thermal Management T1 Total Time	: 0
    Thermal Management T2 Total Time	: 0
    

    As for flatpacks, I’d like to avoid such install methods if possible, at least for now. Whats weird is I don’t think I’ve come across anyone else with this issue, so I doubt its something wrong in general with the packagement process.







  • $ ls -lh /opt
    total 36K
    drwxr-xr-x 7 root root 4.0K Nov 24 15:04 app1
    drwx--x--x 4 root root 4.0K Aug 15 16:43 containerd
    drwxr-xr-x 4 root root 4.0K Nov 25 17:00 discord
    drwxr-xr-x 5 root root 4.0K Nov 24 15:04 app2
    drwxr-xr-x 4 root root 4.0K Feb 25  2025 app3
    drwxr-xr-x 6 root root 4.0K Nov 24 15:04 app4
    drwxrwxrwx 6 root root 4.0K Nov 25 17:00 app5
    drwxr-xr-x 4 root root 4.0K Mar 20  2025 texlive
    drwxr-xr-x 4 root root 4.0K Jun  4 00:59 app6
    
    $ ls -lh /opt/discord
    total 216M
    -rw-r--r-- 1 root root 164K Nov 25 00:11 chrome_100_percent.pak
    -rw-r--r-- 1 root root 254K Nov 25 00:11 chrome_200_percent.pak
    -rwxr-xr-x 1 root root 1.5M Nov 25 00:11 chrome_crashpad_handler
    -rwsr-xr-x 1 root root  15K Nov 25 00:11 chrome-sandbox
    -rwxr-xr-x 1 root root 182M Nov 25 00:11 Discord
    -rw-r--r-- 1 root root  299 Nov 25 00:11 discord.desktop
    -rw-r--r-- 1 root root 6.9K Nov 25 00:11 discord.png
    -rw-r--r-- 1 root root  10M Nov 25 00:11 icudtl.dat
    -rw-r--r-- 1 root root 247K Nov 25 00:11 libEGL.so
    -rw-r--r-- 1 root root 3.9M Nov 25 00:11 libffmpeg.so
    -rw-r--r-- 1 root root 6.2M Nov 25 00:11 libGLESv2.so
    -rw-r--r-- 1 root root 4.6M Nov 25 00:11 libvk_swiftshader.so
    -rw-r--r-- 1 root root 600K Nov 25 00:11 libvulkan.so.1
    drwxr-xr-x 2 root root 4.0K Nov 25 17:00 locales
    drwxr-xr-x 3 root root 4.0K Nov 25 17:00 resources
    -rw-r--r-- 1 root root 5.8M Nov 25 00:11 resources.pak
    -rw-r--r-- 1 root root 333K Nov 25 00:11 snapshot_blob.bin
    -rw-r--r-- 1 root root 702K Nov 25 00:11 v8_context_snapshot.bin
    -rw-r--r-- 1 root root  107 Nov 25 00:11 vk_swiftshader_icd.json
    

    As for the drive, my root partition is on an NVME drive which should be fine considering its not even 3 years old.

    What info does this give you? As someone more experienced, what jumps out at you when looking at this (trying to improve my knowledge while troubleshooting - 2 for the price of 1 xD)





  • This seems to be basically what I want to achieve, except I realised it only works on official arch repos and so doesnt sync the DB for the AUR, which I’d like. I started looking into it and a way I can use just yay to sync the local DB with the remote since its just a wrapper for pacman, but I got a bit lost.

    Using yay to sync both official and aur I think also means I need to create only one .timer and one .service files to sync the DBs, instead of having one of each for checkupdates and whatever yay command I use, right?

    Any ideas for what I could use without needing to enter sudo password since it needs to run in the background?

    Thanks

    EDIT: I solved the passwordless issue I think by adding this to my sudoers:

    myuser ALL=(ALL) NOPASSWD: /usr/bin/yay -Sy --noconfirm
    

    I verified by running yay -Sy --noconfirm and it worked without asking for password so I think if I use that in my systemd timer service if will work, but now I would like to check against the local DB everytime I open the terminal.

    EDIT 2: In my .bin/check_last_update.sh script I replaced this line

    num_packages_to_update=$(checkupdates | wc -l)
    

    with this:

    num_packages_to_update=$(yay -Qu | wc -l)
    

    I think it works now, but I’m not sure if the -Qu flags also check for AUR updates.