The runback for Groal The Great was a bit much but I'll let it slide for the lore.
The boss is a bit easy if you use Delvers Drill anyways.
The runback for Groal The Great was a bit much but I'll let it slide for the lore.
The boss is a bit easy if you use Delvers Drill anyways.
Just finished Hollow Knight: Silksong. 10/10 no words, Absolute Cinema
I can't believe it... It's real
Printed a balisong on my 3d printer. Just learned the basics but now I canβt put it down π
I remember there used to be an old app for symbian nokia/samsung phones that had a local chat feature over bluetooth. We used to mess around in class with that.
use itertools::Itertools; pub fn peaks_and_valleys<'a, T: PartialOrd + Copy + 'a>( iterator: impl IntoIterator<Item = &'a T>, ) -> Vec<usize> { iterator .into_iter() .enumerate() .tuple_windows() .filter_map(|((_, last), (idx, current), (_, next))| { ((current > last && current > next) || (current < last && current < next)) .then_some(idx) }) .sorted() .collect() } #[test] fn test_peaks_and_valleys() { let data = vec![ (vec![1, 2, 1, 3, 4, 5, 4, 3, 2, 1, 2, 3], vec![1, 2, 5, 9]), (vec![1, 1, 1, 1, 1, 1, 1], vec![]), (vec![1, 0, 1, 0, 1, 0], vec![1, 2, 3, 4]), // Wrong info in the original test case (vec![-5, -10, -7, -15, -12], vec![1, 2, 3]), ]; for (input, expected) in data { let result = peaks_and_valleys(&input); assert_eq!(result, expected); } }
Iterators π«‘
Thank you for the pointer that worked wonderfully.
Wow ! I was trying to get it to work with hot_lib_loader with no success.
Might have to switch to bevy/main for a while
Lunch
Update to my keyboard with nice!view and zmk.
Had to switch to zmk since rmk doesnβt yet support nice!view.
New keyboard
freshly built.
nrf52840 + rmk
nice!views coming soon
Got my first balatro win
3rd playthrough In wait of silksong