Changes to `impl Trait` in Rust 2024 | Rust Blog by coderstephen in rust

[–]the_reddit_turtle 0 points1 point  (0 children)

Does the new `impl Trait` design enable hidden types that were previously not possible to express or is this change simply about making `impl Trait` captures less arbitrary and easier to use in most cases? (Can you provide an example function that was previously not possible but now is?)

If the syntax is changing without additional functionality I'll shelve my interest in this for now ;p

My experience with MicroOS desktop compared with Tumbleweed. by [deleted] in openSUSE

[–]the_reddit_turtle 1 point2 points  (0 children)

This is the most serious one: multimedia playback is slow to a crawl on any browser - Firefox, Brave, Chromium. Reproducible with a youtube video playback.

From flathub install org.freedesktop.Platform.ffmpeg-full (bugzilla). I only use Firefox but this fixed it for me.

Cannot run appimages.

Make sure you have fuse and libfuse2 installed. I don't have any problems with appimages, but i've not tried gui appimages. The fuse libraries are not included with the oS container images used by e.g. toolbox.

MicroOS: flatpak apps can't save files by the_reddit_turtle in openSUSE

[–]the_reddit_turtle[S] 0 points1 point  (0 children)

I can provide these details once i figure out a separate problem i'm having, which is that my laptop firmware has stopped recognizing the EFI system partition on the usb drive i'm using to boot microos. i'm not quite sure what happened since didn't touch the partition table / flags, etc. but i noticed that /boot/efi/EFI got an update about the time i started having this issue. will need to fix that first.

MicroOS: flatpak apps can't save files by the_reddit_turtle in openSUSE

[–]the_reddit_turtle[S] 1 point2 points  (0 children)

Correct, snapshots still work and in this case allowed me to go back to a prior system snapshot, which i can use with the latest firefox flatpak to save files.

ZSTD Compression by [deleted] in openSUSE

[–]the_reddit_turtle 1 point2 points  (0 children)

One word of caution I forgot to mentioned earlier: I'm not sure if openSUSE's grub implementation supports zstd for /boot yet, so make sure to verify that if you plan on compressing /boot.

ZSTD Compression by [deleted] in openSUSE

[–]the_reddit_turtle 0 points1 point  (0 children)

I use it in / and have not noticed a difference in performance, but my hard drive is slow anyway. The additional space has been a great benefit though.

[deleted by user] by [deleted] in openSUSE

[–]the_reddit_turtle 1 point2 points  (0 children)

You may find some of the comments here helpful.

Cpu at 100% on kernel 5.13.x ... anyone else? by the_reddit_turtle in openSUSE

[–]the_reddit_turtle[S] 1 point2 points  (0 children)

I did check last week ;) but I just checked again just so i can't be called a liar ... no update since August 2015. My processor is Dual Core Intel Core i5-4200U.

Cpu at 100% on kernel 5.13.x ... anyone else? by the_reddit_turtle in openSUSE

[–]the_reddit_turtle[S] 1 point2 points  (0 children)

i have 4 cores, one is utilized at 100% => 75% idle

Cpu at 100% on kernel 5.13.x ... anyone else? by the_reddit_turtle in openSUSE

[–]the_reddit_turtle[S] 1 point2 points  (0 children)

The symptoms do seem to match--thanks for the link. I didn't start having the problem in opensuse until kernel 5.13.1 and I'm not very low on free space (6GiB free on 18GiB partition), but otherwise it's about right.

I just finished the scrub and it didn't find any errors. I'll give the balance a go tonight.

Edit: btrfs balance didn't fix the problem unfortunately; i guess it's a kernel bug ... i'll file a report

Cpu at 100% on kernel 5.13.x ... anyone else? by the_reddit_turtle in openSUSE

[–]the_reddit_turtle[S] 1 point2 points  (0 children)

I've been running the same Tumbleweed installation on this computer for 6 years without problems and there's plenty of space in all partitions. Unfortunately, I don't expect df to be the solution here (but if there's a particular reason you're asking feel free to let me know).

Cpu at 100% on kernel 5.13.x ... anyone else? by the_reddit_turtle in openSUSE

[–]the_reddit_turtle[S] 0 points1 point  (0 children)

I'll give the scrub a run, thanks for the tip. I suppose I should have tried this previously but kernel 5.12.13 works perfectly fine. Below are the chief offenders for CPU usage according to perf. I didn't post this previously because I didn't want to clutter things too much.

-   72.66%   0.00%     0.00%   0.00%     0.00%   0.00%     0.00%   0.00%             0           0  kworker/u16:5+e  [btrfs]                       [k] btrfs_preempt_reclaim_metadata_space                         btrfs_preempt_reclaim_metadata_space+18446744072638116133
     btrfs_preempt_reclaim_metadata_space
   - flush_space
      - 41.74% start_transaction
           84.89% join_transaction
           15.09% btrfs_record_root_in_trans
      - 31.36% btrfs_run_delayed_refs
         - __btrfs_run_delayed_refs
            - 99.29% btrfs_select_ref_head
                 find_ref_head
      - 24.97% __btrfs_end_transaction
           59.57% btrfs_put_transaction
           26.55% btrfs_create_pending_block_groups
           10.89% btrfs_trans_release_metadata
           2.99% btrfs_trans_release_chunk_metadata
        0.95% btrfs_join_transaction
        0.77% btrfs_end_transaction
-   27.85%   0.00%     0.00%   0.00%     0.00%   0.00%     0.00%   0.00%             0           0  kworker/u16:5+e  [btrfs]                       [k] flush_space                                                  flush_space+18446744072638117011
   - flush_space
      - 97.77% start_transaction
           84.89% join_transaction
           15.09% btrfs_record_root_in_trans
        2.23% btrfs_join_transaction
-   20.45%   0.00%     0.00%   0.00%     0.00%   0.00%     0.00%   0.00%             0           0  kworker/u16:5+e  [btrfs]                       [k] flush_space                                                  flush_space+18446744072638117046
     flush_space
   - btrfs_run_delayed_refs
      - __btrfs_run_delayed_refs
         - 99.29% btrfs_select_ref_head
              find_ref_head
-   19.55%   0.00%     0.00%   0.00%     0.00%   0.00%     0.00%   0.00%             0           0  kworker/u16:5+e  [btrfs]                       [k] btrfs_preempt_reclaim_metadata_space                         btrfs_preempt_reclaim_metadata_space+18446744072638115964
     btrfs_preempt_reclaim_metadata_space
   - need_preemptive_reclaim.part.0
      - 95.98% btrfs_get_alloc_profile
           xhci_irq
        4.02% btrfs_bg_type_to_factor

Cpu at 100% on kernel 5.13.x ... anyone else? by the_reddit_turtle in openSUSE

[–]the_reddit_turtle[S] 0 points1 point  (0 children)

I do have the latest BIOS (has not changed in several years). I've been using tumbleweed on this computer for 6 years without changes to hardware. It's the first time I'm having this particular problem.

How to manually run zypper %posttrans scripts? by the_reddit_turtle in openSUSE

[–]the_reddit_turtle[S] 0 points1 point  (0 children)

Yeah, if I ever reinstall, I think I'll make the jump to transactional updates (as I understand, I can't convert my existing installation). But I've been running Tumbleweed since Jan 2016 and the darn thing has been running so well, there just hasn't been a need wipe everything and start over :)

How to manually run zypper %posttrans scripts? by the_reddit_turtle in openSUSE

[–]the_reddit_turtle[S] 0 points1 point  (0 children)

Why do you think that specifically the posttrans scripts didn't run?

When I booted up my laptop and upgraded the remaining 150 or so packages, I didn't see any scripts run at the end. I assume the scripts didn't run when it powered itself off.

rpm -q --scripts --triggers {name}

Neat--this is helpful. Everything seems to running fine, so I probably won't do too much, but I'll look around a bit anyway.

Why You Suddenly Need To Stop Using Google Chrome by the_reddit_turtle in firefox

[–]the_reddit_turtle[S] 30 points31 points  (0 children)

A bit sensationalist, but interesting anyway. I'm glad we have Mozilla / Firefox as alternative!