evbo
evbo
One extremely painful side effect of this approach is each time you instantiate the `class` it will cause React to `Remount`. I had an `input` defined inside a component that...
I can manually implement it though and it works without collision: ```rust impl From for CustomError { fn from(e: strum::ParseError) -> Self { CustomError::Invalid(e.to_string()) } } ```
@jpo-tu you need to use `Stdout` for a browser option and then it will take you to a sign-in page within a default browser on your host machine. However, you'll...
python `split` works a bit differently than polars `split`, whereby multiple split characters are removed in the former. In python: `hello world` becomes: `['hello', 'world']` if you split on space...
@cmdlineluser thanks, I should have clarified for the Rust API this is not currently (documented as) supported by the API. If you try to pass `lit(Null {})` to `split` it...
I'm reproducing this attempting to parse a String as Float64 for a column that originated from a `json_decode(schema)`, where `schema` declared it as `Utf8`... ```python lf.select( [ pl.col("start_time").str.to_decimal(), # same...
And for multiple names/emails it appears there's a `Mailboxes` struct you can create from a `vec` https://github.com/lettre/lettre/blob/master/src/message/mailbox/types.rs#L287 ```rust impl From for Mailboxes { fn from(vec: Vec) -> Self { Mailboxes(vec)...
Also, some unit tests are [parsing raw strings too](https://github.com/lettre/lettre/blob/master/src/message/mod.rs#L635): ```rust #[test] fn email_miminal_message() { assert!(Message::builder() .from("NoBody ".parse().unwrap()) .to("NoBody ".parse().unwrap()) .body(String::from("Happy new year!")) .is_ok()); } ``` Also @paolobarbolini shouldn't we also...
Well, if we update unit tests like documentation, then you can just say: "See unit tests for how to do X..." Much easier keeping unit tests in sync than docs...
I would recommend documentation that clearly shows how to setup a simple devcontainer with granted working. There's little pieces of information floating around the internet, for instance: https://medium.com/@josh.armitage/using-granted-in-a-dev-container-e355a3045c70 And then...