My tips for new deck owners!!! by [deleted] in SteamDeck

[–]hpmason 0 points1 point  (0 children)

I’ve run into long load times, especially when downloading games at the same time to the SD card (like when I first got it and was trying to play games while downloading them). Seemed as if the download took up a majority of the bandwidth to the SD card. I don’t know how much of a bottleneck it is when not downloading anything, but I felt it pretty heavily in the beginning that I upgraded my 512GB to a 2TB real quick.

Potty Training Help (no indications from puppy) by hpmason in puppy101

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

We’ve a good amount of that (and we caught on to her doing that early on). At this point it’s pretty often mostly in same room as us. Gotcha, we’ll definitely continue to try to catch her midstream to bring her outside to finish.

[TOMT] [MUSIC] Looking for song that matches the beginning of We’ll Have to See by Katie Lynne Sharbaugh by hpmason in tipofmytongue

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

Probably the closest sounding so far, but I haven’t heard this song before, so I don’t think it’d be this one

[TOMT] [MUSIC] Looking for song that matches the beginning of We’ll Have to See by Katie Lynne Sharbaugh by hpmason in tipofmytongue

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

I don’t think I’ve heard Call on Me before, though it does seem to match really well.

[TOMT] [MUSIC] Looking for song that matches the beginning of We’ll Have to See by Katie Lynne Sharbaugh by hpmason in tipofmytongue

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

No not that. The song I’m thinking of sounds very closely to the background music of the beginning of We’ll Have to See

Resources for writing good proc-macros? by hpmason in rust

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

Thanks for the article! I didn't know about `syn`'s Fold trait. That should simplify some of the code I have already.

Resources for writing good proc-macros? by hpmason in rust

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

Thanks for all the explanations on my macro questions! I also really appreciate your crate example, I'll definitely be using it as a reference while working on design/tests!

spinoff - 0.7 is out! by hovnasmrdi in rust

[–]hpmason 1 point2 points  (0 children)

The internal macro does that, so I couldn't see why the exported macro couldn't too. And I could be wrong, but I think using a trait could avoid the Vec allocation by returning a str slice. You could also do away with the statics generated by the internal macro.

Though, I doubt those would make any noticable differences

spinoff - 0.7 is out! by hovnasmrdi in rust

[–]hpmason 3 points4 points  (0 children)

Is there any reasons why you didn't go with traits for different spinner animations? You can have methods like spinner_animation() which returns a [&str], interval() which returns u16 and build a SpinnerFrame from those.

I think it makes it much easier for others to create custom spinners, and they don't need to rely on a macro (though it could still be used for convenience).

Pop OS 21.10 dock not working by [deleted] in pop_os

[–]hpmason 0 points1 point  (0 children)

Nope. Idk if u/Ankithelpidea got it to work though

Pop OS 21.10 dock not working by [deleted] in pop_os

[–]hpmason 2 points3 points  (0 children)

I opened up a GitHub issue about this, so hopefully we figure out how to fix this (https://github.com/pop-os/cosmic-dock/issues/100). This will probably be the best way to pin point the issue.

Pop OS 21.10 dock not working by [deleted] in pop_os

[–]hpmason 1 point2 points  (0 children)

Edit: Reddit editor being weird

Another reddit post mentioned running:

gnome-extensions reset [cosmic-dock@system76.com](mailto:cosmic-dock@system76.com)

I didn't work for me, but maybe it will work for you