macaba

Results 20 comments of macaba
trafficstars

This may possibly be improved by my suggested fix here: https://github.com/mikeobrien/HidLibrary/issues/11#issuecomment-170944469 (The fix is only suitable if you're doing lots of transfer and aren't worry about the device being disconnected...

I've set up a proper benchmarking project in my repo to allow for impartial comparison. Benchmark for VolumeSampleProvider: ![image](https://user-images.githubusercontent.com/1031306/68071946-d5b73500-fd77-11e9-9b7d-500ddcac7b79.png) I'm initially focusing on the classes that I use personally so...

I would say the use of Span in the way you suggest for NAudio 2.0 is ideal. The existing offset and sampleCount simply become: ``` volumeSampleProvider.Read(buffer.Slice(offset, sampleCount)); ```

.NET 5 doesn't provide any additional gain in the case where CPU intrinsics are used. (understandably - CPU instrinsics is the absolute fastest way to do this, with a 10x...

Yep, another example of CPU intrinsic speed up is in #794 if you’re curious.

Quick feedback - this resolved the unstable startup problem for me, I recommend merging the PR.

Just confirming another report here - white line randomly appears every few seconds along the pin header side. Looking at it with a slow motion video shows the whole picture...

Thinking out loud: This is technically possible by creating a `ScriptHostFactory` and adding something like a `Context` ExpandoObject as a property on the `ScriptHostFactory` perhaps. The usage would be something...

Sure! Using a slightly modified version of demo page with some content: https://github.com/macaba/dock-spawn-ts/blob/master/page/demo/demo_webcomponent.html I don't see any content: ![image](https://github.com/user-attachments/assets/02675b4a-fb9a-4d5e-b5e3-5ccf025e5f66) DevTools shows something being there but not visible: ![image](https://github.com/user-attachments/assets/a07855de-5854-4b31-9fe2-ff6f73f58302)

(Note this is written from my point of view, it's not an assumed point of view for the majority) Summary of a discussion elsewhere: - If zooming horizontally, you're inspecting...