Kyle Carow
Kyle Carow
I was able to enable pickling by writing the `__getstate__`, `__setstate__`, and `__getnewargs__` magic methods in pymethods for a pure Rust project using `bincode::{deserialize, serialize}`. In `__getnewargs__` you need to...
Woah, yeah that sped up my round trip serializing and deserializing benchmark by 100x. And thanks for the tip about PyResult errors. I did have to modify `__getstate__` ever so...
When adding the line `STEAM_COMPAT_MOUNTS=/mnt/md0/ %command%` to the launch options in Steam I'm able to run everything normally, but deleting that and placing `STEAM_COMPAT_MOUNTS=/mnt/md0/` at the end of `.profile` doesn't...
Uninstalling the protontricks flatpak, removing the alias line from my `.bashrc`, and installing via pipx worked perfectly.
Would love to have this!
Another anti-patten exists in chained min/max calls: ```rust input.min(max).max(min) ``` and ```rust input.max(min).min(max) ``` Should both be ```rust input.clamp(min, max) ``` EDIT: ah, looks like this has been mentioned before:...