> cargo install wasm-bindgen
should be
> cargo install wasm-bindgen-cli
792 karma · joined January 16, 2014
> cargo install wasm-bindgen
should be
> cargo install wasm-bindgen-cli
let another: Vec<u64> = some_vec.iter().map(|x|x + 5).collect();
Typically the `u64` part can be inferred based on the `map` function. Drop in `_` to elide the inner type. let another: Vec<_> = some_vec.iter().map(|x|x + 5).collect();
And if you are doing something later that implies `Vec<u64`, you can omit the type completely.https://www.damninteresting.com/the-unfortunate-sex-life-of-...
You are free to make forward compatible API changes without a deployment dance.
E.g., you can add a field in the service and the caller won't see it until it is prepared to handle it properly.
> any compiler or language that likes to hide things like memory
If you need multi-DC uniqueness. I prefer to add a 2nd DC column. The combination of the two is unique across DC.
If you need to hide the count from customers--often the case--add a 2nd surrogate unique key that is a UUID. This keeps your joins small, but gives you a random key to give back to the customer.
*
!dist/**/*I feel like this story would be a good mini-series or standalone movie.
https://www.goodreads.com/quotes/411971-i-cordially-dislike-...
I think auto-tuners get a bad rap. As an amateur musician, subtle corrections in post-production can save me days of recording to get the right take.
Once they started using netflix, this habit had to be broken quick.
(While discussing talented guitarists like Satriani who exhibit perfection in their performances)
"There's got to be a little danger. Some of the greatest bands, you feel as if they aren't going to make it through the song... It's captivating in a way that perfection isn't."
https://cosmicgeppetto.com/2016/08/28/episode-38-guitar-icon...
https://www.amctheatres.com/movies/game-of-thrones-the-imax-...
I also make my own pizza and it is very tasty; however, I find it incredibly difficult to beat the $6.99 2-topping medium pizza deal for pick-up.
When you are just starting, it's really difficult to tell why you sound bad. It is really discouraging that even when you are doing it right, it still sounds terrible.
My rules of thumb:
1. Start with a decent guitar. Good tuners, action, and intonation are much more important than pick-ups, pedals or amps. A lot of times a used $80 guitar with brand new quality tuners is good enough.
2. Before you even learn to play, learn basic maintenance. E.g., how to change strings, how to tune.
3. Buy a tuner. It takes time to learn to tune by ear. Help yourself out by doing this tool assisted. Also, learn to tune all the time. Many beginners make the mistake of only tuning at the beginning of practice. The act of playing detunes your guitar--especially on cheaper instruments. Re-tune frequently.