• 4 Posts
  • 53 Comments
Joined 1 year ago
cake
Cake day: June 4th, 2023

help-circle
  • I have a project ready to try this out. It’s a software simulator, and each run (typically 10-10,000 iterations) can be done independently, with the results aggregated and shown at the end. It’s also instrumented to show CPU and memory usage, and on MacOS, you can watch how busy each core gets (hint: PEGGED in multicore mode).

    Can run it single-threaded, then with multiprocessing, then with multi-core and time each one. Pretty happy with multicore, but as soon as the no-GIL/subinterpreter version is stable, will try it out and see if it makes any difference. Under the hood it uses numpy and scipy, so will have to wait for them.

    Edit: on my todo list is to try it all out in Mojo. They make pretty big performance gain claims.
















  • That is actually kind of brilliant. Having to go through MFi and getting the Apple DRM chip into the manufacturing pipeline can be a real pain (and expensive).

    With this scheme, they could also run all the wired on/off and volume control actions through Bluetooth AVRCP. Even have a Mic on the wire, so if a call comes in, switch to HFP to talk/manage the call.

    Damn, that’s clever. Hats off to whoever came up with it.

    Incidentally, there’s very little Apple can do to make this stop, unless they decide to break Bluetooth and third-party accessories.




  • One of the things they glided around was whether a lot of this on-device stuff needs a special processor chip with AI+security to work?

    The Pixel phones (especially newer ones) made by Google have them, but the vast majority of Android phones don’t.

    So either these features only work on latest Google phones (which will piss off licensees and partners), or they’re using plain old CPU/GPUs to do this sort of detection, in which case it will be sniffable by malicious third-parties.

    And let’s not forget that if the phone can listen to your conversation to detect malicious intent, any country can legally compel Google to provide them with the data by claiming it is part of a law-enforcement investigation.

    Things are going to get spicy in Android-land.