- ChristianJacobs parentThat's the neat trick - it isn't...
- Not really. It's just "unwrap(" instead.
- Have you tried Pocket-ID? I use it for my home server with LLDAP as the identity provider.
- I switched to AeroSpace from Yabai because I had to disable parts of SIP for certain functions (such as switching workspaces with keybindings from SKHD), and that didn't feel right. Updates are also smoother since I don't need to update the sudoers file allowing the Yabai CLI to run without requiring password. Been happy as a clam ever since.
- You're looking for `.expect()`, available on both Option and Result.
- Same as a friend of mine who works for NAV. There's a whole lot of long-ass variable and function names because they use the Norwegian name for whatever they are calculating. It makes sense for them though, as the ones who review your code are lawyers...
- Can wholeheartedly recommend swapping the sticks on the joycons with hall-effect ones from Gulikit. Made an immense difference for mine who were suffering from drift.
- > looking to zig as a C replacement rather than Rust
Rust isn't a "replacement for C", but an addition to it. It's a tool that Torvalds et. al. has recognised the value of and thus it's been allowed in the kernel. The majority of the kernel code will still be written in C.
I'm no kernel maintainer, but I can speculate that two of the main reasons for Rust over Zig are the compile time guarantees that the language provides being better as well as the rate of adoption. There is a lot of work done by many leading companies in the industry to provide Rust native code or maintained Rust bindings for their APIs. Windows devs are re-writing parts of _their_ kernel in Rust. There's a "movement" going on that has been going on for a while. I only hope it doesn't stop.
Maybe the maintainers feel like Zig doesn't give them enough over C to be worth the change? Many of them are still opposed to Rust as well.
- I'm not the target audience for this, given that I don't post gaming videos online or share them with friends, but I think it's very nice how Valve is continuously creating cool new stuff for the masses.
It's going to be an interesting time for developers playing with the new "events" API to find the right balance between too few and too many "events" to notify Steam about. Hope it won't carry too big a penalty for those not recording.
- Not the parent poster, but in my experience - yes.
I mainly program in C++, and the past 5 years or so of writing Rust has drastically changed the way I write code (in general). Sometimes, if the problem is particularly hairy, I'll even write the code in a similar way in Rust first and then port it back to C++ after the compiler has helped me iron out my mistakes.