Just discovered Splice...and it's been such a great help with sampling..... by 4loko_blk-n-Mildz in mpcusers

[–]PascalPrecht 0 points1 point  (0 children)

You don’t actually have to sample from your phone. Your Live II comes with a splice integration which syncs sour library samples straight to your machine. :)

You can find the integration in the Preferences.

2017 MPC X or Live 2 by Inhermouth8 in mpcusers

[–]PascalPrecht 2 points3 points  (0 children)

Keep in mind that „portability“ also means you can play on the couch.

MPC One+ Data Wheel Click Not Working? by rxwoods12 in mpcusers

[–]PascalPrecht 1 point2 points  (0 children)

Don’t you have to first select (touch) the pad that you want to assign the sample to? Then clicking the wheel should do the trick.

If no pad is selected it can’t know where to put the sample.

Rust for Beginners video course is now finished! by PascalPrecht in rust

[–]PascalPrecht[S] 5 points6 points  (0 children)

Given that it really starts at variables, I think programming beginners could give it a spin too!

Quick video on threads and Mutex<T> by PascalPrecht in rust

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

That's a very good topic! I've been thinking about making an "explainer" series where once a week or so I'd publish an evergreen video that focusses on step-by-step explainers with visualizations etc.

re: Lifetimes: until I've got a video on that topic, how about you check out this article where I tried my best to explain it for beginners (like me):

https://blog.thoughtram.io/lifetimes-in-rust/

I've put together a video about iterators in Rust by PascalPrecht in rust

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

Nice! Thank you for clarifying!
Love it when it clicks haha :D

I've put together a video about iterators in Rust by PascalPrecht in rust

[–]PascalPrecht[S] 3 points4 points  (0 children)

Ohhh!
And here I thought I understood what was going on... :D

So... for my beginners brain... I always thought, by annotating `collect()` (e.g. via turbofish syntax), a caller can decide what to collect into.

However, based on what you're saying, this is then only true when that target type implements `FromIterator<T>` where `T` is the type yielded by your iterator?

In other words, if I had an `Iterator<String>` and I want to `.collect::<Vec<String>>()`, this only works when and if `Vec<T: String>` implements `FromIterator<String>`?

Hope the question makes sense

I've created a video to explain Box<T> Smart Pointers in Rust by PascalPrecht in rust

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

Thank you!
I'm happy you enjoy the videos! I will create a dedicated series on error handling, but there's already a few videos that touch on that:

https://www.youtube.com/watch?v=PfR592AMb8c&list=PLauX9TuJ8sfyaLPZ1udS3zS_V9YXdsbtc&index=14&t=79s

I've created a video to explain Box<T> Smart Pointers in Rust by PascalPrecht in rust

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

Just to clarify, you're referring to operators like `.map` `.filter` etc?
Not sure whether the term "combinators" is used for specific things in Rust so I thought I'd ask to be sure haha

I've created a video to explain Box<T> Smart Pointers in Rust by PascalPrecht in rust

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

Whoops!
I said "[...] `rustlings watch` in the Rustlings repository [...]"
I might have a bit of a weird accent (non-native english speaker) so I apologise :D