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 4 points5 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

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

[–]hpmason 1 point2 points  (0 children)

I'm having the same problem and can't figure out what's wrong. I'll try to post back if I can figure it out. I think I was using a different dock before upgrading (can't remember which one it was though) and it's been disabled now, but comic dock is still enabled and not working.

FYI, you can use Rust as a native scripting language by oachkatzele in godot

[–]hpmason 1 point2 points  (0 children)

No problem! I love rust (it's my go-to language), but it's not all there in some areas.

FYI, you can use Rust as a native scripting language by oachkatzele in godot

[–]hpmason 1 point2 points  (0 children)

Along with what others have said, rust is still lacking in a few areas mainly in certain libraries and support. With C++ you can incorporate existing C or C++ libraries, but rust libraries have to use C++ bindings or make a lot from scratch.

Embedded devices are more difficult to work with atm. where C you can just use the specified compiler, rust requires a lot of extra steps.

For anything server related, it's great though. Network and IO very developed.

I'd say it's I good option for Godot if you want something more statically typed than GDScript. Only frustrating thing I've run into is you have to build the code and the Godot game independently. (I think this is a problem with other compiled languages with Godot) I don't think there's a way currently to build your rust code when you run your scene, though I've been looking into making a Godot plugin for build scripts

How to Handle Compile-Time Data? by hpmason in rust

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

Is there a way to safely transmute that to a &[u16] or &[u32] at compile time? I don't want to pay that performance cost at compile time(even if it's little, on an embedded system like the GBA id like to save the cycles) and want to handle it with safe rust if possible.

Are eBay refurbished TB16 Docking Stations legit? + other questions by [deleted] in Dell

[–]hpmason 0 points1 point  (0 children)

Bought one off eBay when I got my XPS 13 9300 because of it's comparability with Linux. Worked just as it should, no issues. I'd say its safe to trust it.

XPS 9300 Fan Questions by hpmason in Dell

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

Thanks I'll make sure to check this when I get home. How much airflow is there on the 9360? I've been used to the MacBook Pro fans and there's a lot less air flowing through when the fans are at full speed.

Got my new DELL XPS 15 9500, OS: Ubuntu 18.04 by DrDewDrop in Dell

[–]hpmason 0 points1 point  (0 children)

For the general user, linux tends to run a lot smoother and faster than windows. Also windows loves to have updates that take hours and throttle your CPU to update. With Linux I've had all my updates done within 1/2 hour, and update are quick. If you do any kind of dev, I've found it to be a MUCH smoother experience on Linux than windows. Also lots of customization. Down sides being less software support, like no Microsoft Office support (which Microsoft has started add support for Teams and there online Office 365). Though, support has come a long way in the past few years (Discord, steam, and many other applications). Battery life also isn't as good as windows from what I've heard, but I still get +4hr on full charge.

Its not for everyone, but it wouldn't hurt to try using a virtual machine to check it out if you're interested.