The core concept is verifying that the post requests for state changing routes contain a server generated token as proof that the request was not forged.
I'll also try to make the thumbnail for this video without Photoshop ?.
Windows 11 emojis are out of line!
New laptop is the Razer Blade 14 (2022). I tinkered with OBS for a bit
and settled on -0.10 for gamma and -0.0020 for brightness. It's close enough to what my display and the last 10% improvement is tough to get anyways.
...
https://www.youtube.com/watch?v=Tq9qpA2QOTI
In this video, all Rust, I code a System Tray with common features. The exception is translated tray menu, which I will do in 2023. To implement an internationalized system tray, you will need to move the tray menu generation code into its own function and use https://docs.rs/rust-i18n/latest/rust_i18n/. Then inside `update_tray_menu`, you will call tray_handle.set_menu( CREATE_MENU(LANG) ).
Template: https://github.com/elibroftw/modern-desktop-app-template
For donations, I accept Monero or Music Caster translations (work for work)
monero:84PR6SkYd5zaFLKDjAFrQfbaAg2c7SV3q3XDZ15QCpEZUggrN4YzY7n8m9XC3deXjo41yWHTm1LrsUpPTYGnRQbD9Cwp8En
I changed my mic settings so I like how I sound in my videos even more now.
I feel very confident nowadays when coding in Rust. I believe I'm at least an intermediate in Rust if not advanced. I can debug Rust code with ease and don't have to fight the borrow checker as often. I think if you code and debug Rust for 10 hours, you can get over its annoyances.
00:00 Demo
01:20 Tauri config
01:30 Creating ico for the tray
04:00 Rust helpers
08:26 Tray menu
12:25 System tray events
15:00 Mutating tauri state
19:327Frontend event listening
24:50 Closing statements
...
https://www.youtube.com/watch?v=Xg4gczPKTuk
Spent 10+ hours over 3 days to implement the Rust Rocket Tauri Updater server. I used Chat GPT to get me motivated but the code it gave me was super basic. Here are 4 videos I got out of my experience though. Enjoy.
https://github.com/elibroftw/rust-backend-tutorials
https://rocket.rs/guide
...
https://www.youtube.com/watch?v=2vxvSMkm5Lg
Watch me send a Monero transaction on mainnet in less than 5 seconds and why I made this video in the first place. As well as an honest review on the lack of testing support for ZCash.
00:00 Monero transaction demo (mainnet)
01:23 Why I made this video
02:21 Funny story about ZhillCash
02:55 ZhillCash wallet issues
03:50 Wanted to test ZhillCash
04:30 It's Lite because no Stagenet support?
05:00 Stagenet isn't a thing for ZhillCash
07:22 Oh its called testnet for ZhillCash
08:00 No Windows support
08:30 Needs an empty file to work!???
09:00 Poor programming...
...
https://www.youtube.com/watch?v=_Sqn7aaR1oM
Suppose you want to persist data across sibling nodes. The next logical step is to use the parent to save the data. You may end up falling into a pit by managing the Child's state in the parent, which ends up causing performance issues. To ensure that the value held by the parent does not cause a re-render but still passes to the child on a remount, you can use useRef in the parent component and useState in the child component, OR you can avoid the parent altogether and use useCookie or useLocalForage in the child component to persist across entire app sessions rather than just sibling nodes.
...
https://www.youtube.com/watch?v=IpwdQiEAWJE