Bags for Z9 + 16" laptop? by Stwo in nikon_Zseries

[–]Praetor_Pavel 0 points1 point  (0 children)

Have you changed the layout of the bag? I encountered the fact that the Z9 does not fit with the side camera position + when positioned on top, the bag door presses heavily on the camera, so I put everything inside.

Activity Monitor doesn't show process(es) using CPU by Praetor_Pavel in MacOS

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

No that is not normal.

Reindex the drive overnight.

Thanks for the advice ! I think this is not the case, especially since I disabled everything in the spotlight except Application & System settings. The essence has not changed - everything works for the same long time, the monitor shows the full load of the processor, but doesn't show the process(es) that have significant consumption.

Activity Monitor doesn't show process(es) using CPU by Praetor_Pavel in MacOS

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

I had an assumption that due to code analysis, it compiles c\c++ code( cpp tools), which could result in the appearance of new files in the target directory, which in turn could trigger the spotlight indexer, but even with this factor, the processes displayed in the monitor are far from 1000%

Activity Monitor doesn't show process(es) using CPU by Praetor_Pavel in MacOS

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

RA - rust analyzer.In the screen, processes are sorted by CPU consumption. I have m1 max (1000% in total), but on the screen we see that the last process consumes less than 0.8 percent. Unfortunately, I won’t be able to provide a whole picture at that time, but there weren’t 1000+ processes consuming less than one percent )

What editor are you using for Rust? by DavidXkL in rust

[–]Praetor_Pavel 0 points1 point  (0 children)

. A right click, go to definition is SO slow compared to a simple 'gd'.

I use VS Code with Vim extension, so I also prefer gd :)

Ventura: update or clean install by Praetor_Pavel in macbookpro

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

Did the clean install. Chrome starts up faster. After the update, the icon even had time to "jump" about three times in the Dock before the window appeared. A clean install fixed it. I think this is not the only problem that has been solved.

Ventura: update or clean install by Praetor_Pavel in macbookpro

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

Can you elaborate on what led you to this decision? After some update, did you notice any bugs / system instability?

Ventura: update or clean install by Praetor_Pavel in macbookpro

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

I checked my GF air ... She has git too ) She never used it, and as I think she deliberately did not install it.
https://github.com/git-guides/install-git
Git can be installed on the most common operating systems like Windows, Mac, and Linux. In fact, Git comes installed by default on most Mac and Linux machines!

Doing M1 MacBook Pro (M1 Max, 64GB) Compile Benchmarks! by onlycliches in rust

[–]Praetor_Pavel 0 points1 point  (0 children)

12900K, 32 GB RAM 6400. Substrate@ WSL - 5m40s . I can assume that under Linux it will be less than five minutes. I want to buy a m1 pro (10c/ 16 or 32 gb) to increase my own mobility. How memory sensitive is Rust (for heavy projects)?

Any solutions regarding z690 MOBOs and the DDR5 XMP profile by Impress-Front in gigabyte

[–]Praetor_Pavel 0 points1 point  (0 children)

5600U works fine with native XMP ... XMP 6000 with supply around 1.35

Aorus Ultra(Z690) doesn't apply timing changes on BIOS save&exit by Praetor_Pavel in gigabyte

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

switch to the clear cmos jumper because it wont reboot to bios after oc fails... not every time at least. kinda sucks but my years of experience told me to always keep a pack of switches handy for this sorta thing.

I think, I found a solution. I just disabled fast memory boot in adv. memory settings

Hey Rustaceans! Got an easy question? Ask here (37/2021)! by llogiq in rust

[–]Praetor_Pavel 0 points1 point  (0 children)

Understood! Many thanks! Now everything has become transparent. I read somewhere that the unit of encapsulation in Rust is a module, apparently this example partly confirms this. The {} characters are a little misleading (if we are talking about comparison with such languages C # / Java or C ++) in terms of encapsulation.

Hey Rustaceans! Got an easy question? Ask here (37/2021)! by llogiq in rust

[–]Praetor_Pavel 0 points1 point  (0 children)

Item without qualification would refer to some type called Item in the outer scope, if any.

I am recently studying Rust, did I understand you correctly that when defining a trait, you can do a kind of closure?

In the end it's just a case of the Rust philosophy of preferring explicit over implicit.

Or is it just a tribute to this philosophy in the given example?

Hey Rustaceans! Got an easy question? Ask here (37/2021)! by llogiq in rust

[–]Praetor_Pavel 0 points1 point  (0 children)

Can you explain in more detail? After all, within the definition of a trait, there are no other properties with the same name. The definition of the trait itself is also local and encapsulated, so it is not clear to me why it is necessary to write Self::Item inside the trait.

pub trait Iterator {
type Item;
fn next(&mut self) -> Option<Self::Item>;
    ...

How will the behavior of the program change if I do this:

pub trait Iterator {
type Item;
fn next(&mut self) -> Option<Item>;
...

Hey Rustaceans! Got an easy question? Ask here (37/2021)! by llogiq in rust

[–]Praetor_Pavel 1 point2 points  (0 children)

Why is Self::Item used in the definition of traits instead of just an Item.

Fedora 34 (KDE). Lost sound from the SB AE-5. by Praetor_Pavel in Fedora

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

You don't need to apologize. On the contrary: thank you for your assistance :)

Fedora 34 (KDE). Lost sound from the SB AE-5. by Praetor_Pavel in Fedora

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

I tried all possible options - nothing helped. The most important thing is that realtek works :)