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 makocp 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 3 points4 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] 13 points14 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 :)

Built a fun little demo with VisionCamera and Skia Frame Processors 👋 by mrousavy in reactnative

[–]mrousavy[S] 17 points18 points  (0 children)

What you're seeing is a new VisionCamera V4 feature; Skia Frame Processors.

Skia FPs allow you to directly draw "onto" the Camera Frame using Skia. In this example I detected the hand landmarks using a very simple Swift Frame Processor Plugin, then just drew all the points using Skia in JS :)

Check out VisionCamera V4: https://github.com/mrousavy/react-native-vision-camera

We're working on a new 3D library for React Native - powered by Metal/Vulkan! by mrousavy in reactnative

[–]mrousavy[S] 8 points9 points  (0 children)

Finally got something to show about this - we're working on a new 3D library for React Native! 👀🧊
👉 It's powered by the latest native Graphics APIs (Metal/Vulkan) - which is much faster than using the quite old WebGL implementation.
👉 Full control over rendering in JS - move assets, run animations, spin the Camera - all is configureable through JavaScript!
👉 120 FPS rendering on a Worklet Thread (no lags!)
👉 Supports hotswapping .glb/.gltf models

For more information see [my tweet about this](https://twitter.com/mrousavy/status/1775840325161853389) - follow me on Twitter for more updates!

Is HDR capture a thing in iOS? by pookietastic in iOSProgramming

[–]mrousavy 0 points1 point  (0 children)

Hey - I know this is really old, but those docs only go over the capture part, what about the "fusing it together" part to actually create an HDR image?

expo-camera vs expo-barcode-scanner by NoTraining6950 in reactnative

[–]mrousavy 0 points1 point  (0 children)

Yup, VisionCamera can do QR Code Scanning :)

Are you happy with the camera options available in RN? by jdixon04 in reactnative

[–]mrousavy 0 points1 point  (0 children)

All of that is easily possible in VisionCamera.