l0rinc
l0rinc
When we're mocking a single method from a class, the instantiation and definitions aren't fully encapsulated (i.e. the `when` method could accept every previous mocked type (i.e. we have to...
Hey, I'm trying to align `TextPainter` precisely on a line. I can easily align the bottom via `textPainter.computeLineMetrics().single.baseline`: however I can't find a reliable way to do the same for...
### Feature request The [Microsoft Guidance Repository](https://github.com/microsoft/guidance/blob/main/README.md) is a tool designed to enhance the control over modern language models. It allows for a more effective and efficient control than traditional...
### System Info (M1 mac) Python implementation: CPython Python version : 3.11.4 IPython version : 8.14.0 Compiler : GCC 12.2.0 OS : Linux Release : 5.15.49-linuxkit-pr Machine : aarch64 Processor...
Fixes: https://youtrack.jetbrains.com/issue/KT-21587 I understood this is not yet final, thought an example may help.
It seems that shimmering causes a ~40-60% CPU usage when running: It's so severe that my phone overheats. If I give it a stopping condition (i.e. `loop: 2`), it's reduced...
Awesome package, combined with Stack it can be applied to any widget nicely. Would it be possible to add an `onFinished` callback to remove it completely from the Stack after...
The following reproducer: ``` #[test] fn test_effect_of_backtrack_limit() { const INPUT_LIMIT: usize = 10; const INPUT_SIZE: usize = 100; let regex = RegexBuilder::new(r"(a|b|ab)*(?=c)") .backtrack_limit(INPUT_LIMIT) .build() .expect("Failed to build regex") .clone(); let...
Started optimizing the base conversions in [TryParseHex](https://github.com/bitcoin/bitcoin/pull/29458), [Base58](https://github.com/bitcoin/bitcoin/pull/29473) and [IsSpace](https://github.com/bitcoin/bitcoin/pull/29602) - this is the next step. Here I've reduced the memory reallocations and copying operations in bech32 encoding/decoding, resulting in...
Continuing the base conversion optimizations, started in [TryParseHex](https://github.com/bitcoin/bitcoin/pull/29458) and [IsSpace](https://github.com/bitcoin/bitcoin/pull/29602) and [Bech32](https://github.com/bitcoin/bitcoin/pull/29607). ------- To mitigate the quadratic complexity inherent in the sequential byte division of the Base58 encoding process, this...