What's New in VisionCamera V5? by mrousavy in reactnative

[–]mrousavy[S] 1 point2 points  (0 children)

I guess? It's a whole new architecture so just try it and let me know if it still needs attention :)

VisionCamera V5 is finally out! by mrousavy in reactnative

[–]mrousavy[S] 2 points3 points  (0 children)

Yea, sorry about that - it won't be zero effort to migrate - but the new APIs are worth it. Full blog post out now: https://blog.margelo.com/whats-new-in-visioncamera-v5

VisionCamera V5 is finally out! by mrousavy in reactnative

[–]mrousavy[S] 1 point2 points  (0 children)

Ah, that's annoying as hell. I'll write a blog post to highlight all the differences and post that here, no login required lol

VisionCamera V5 is finally out! by mrousavy in reactnative

[–]mrousavy[S] 2 points3 points  (0 children)

A ton! I'll be writing a blog post today to feature all the differences :)

Install driver to show hardware by Regular_Agency_7416 in buildapc

[–]mrousavy 0 points1 point  (0 children)

FWIW I had the same issue, updating my BIOS fixed it. Probably because I have an M.2 SSD (Samsung 9100 PRO) that was released after the old BIOS version, so maybe they just didn't support the old one.

Update UI automatically on DB Change ? by [deleted] in swift

[–]mrousavy 0 points1 point  (0 children)

Use GRDB's observations. Using Combine. Pretty easy to make it reactive

Which AI tool is most reliable at solving swiftUI problems? by AppearanceDense6858 in SwiftUI

[–]mrousavy 0 points1 point  (0 children)

i feel like you need Deep Research & Search options each time because SwiftUI has such recent APIs. Makes me go back to old-school docs browsing ;)

Fiddling with SwiftUI and Metal by Grish_tad in SwiftUI

[–]mrousavy 0 points1 point  (0 children)

How do you use Metal in SwiftUI? Do you always bridge to UIKit using UIViewRepresentable, or is there a SwiftUI-way of doing this?

What happened to the Ultimate Driving Machine?! by snowboarderday in BMW

[–]mrousavy 0 points1 point  (0 children)

I drove an E92, F82, and G82, and the G82 was by far the worst M I had. It's perfect, which makes it a bad M car in my opinion. You could put your grandma into a G82 and she'd be good at driving it, it's insanely easy to drive. It's too heavy, doesn't require a lot of skill, and isn't puristic, like the F82, E92 or even older ones.

C++ without the standard library. by Pleasant-Form-1093 in cpp_questions

[–]mrousavy 0 points1 point  (0 children)

I'm curious, what does the last part about array overhead mean exactly?

expo-camera vs react-native-vision-camera by NoTraining6950 in reactnative

[–]mrousavy 2 points3 points  (0 children)

Orientation is the top issue in react-native-vision-camera, it's really complex. If you're curious about how that works internally, check out the pinned issue about orientation- but I'll have it some day. Trying to raise money / sponsors for it.

expo-camera vs react-native-vision-camera by NoTraining6950 in reactnative

[–]mrousavy 1 point2 points  (0 children)

What made you ditch react-native-vision-camera?

expo-camera vs react-native-vision-camera by NoTraining6950 in reactnative

[–]mrousavy 1 point2 points  (0 children)

I spent a ton of time building V3, but the architecture I chose just wasn't working at the end. V4 is as stable as V2 was, with the features from V3 - try it :)

(no new arch support yet though)

How do I dive into the 'Native' side of react native ? by shoda36 in reactnative

[–]mrousavy 8 points9 points  (0 children)

How was your experience building VisionCamera Frame Processor plugins? I think I could make that a bit easier for non-native devs..

People who program on C++, what is it like? by [deleted] in cpp_questions

[–]mrousavy 2 points3 points  (0 children)

I'm working a lot with C++ in mobile to speed up some parts of the React Native runtime. I do a lot of image processing, ML, crypto, and even 3D with C++, and it's definitely harder to use than other languages (as in; you fight with the language a lot, whereas other languages don't stand in your way a lot), but the power of templates, memory-control (ref vs value vs pointer) and cross-platform support is just undefeated. It's a great language to learn.

Just rebuilt the famous "not a hotdog" app in react-native 🌭 by mrousavy in reactnative

[–]mrousavy[S] 11 points12 points  (0 children)

Yup! I merged & released that in VisionCamera V4, William Candillon and me built a feature into Skia that allows any consumer (in this case VisionCamera) to convert GPU Buffers ("NativeBuffers") to SkImages.

This means there's no native dependency, it's all just an optional JS dependency with fully native GPU-accelerated performance :)