Post

Replies

Boosts

Views

Activity

Reply to c++20: 'syncstream' file not found
https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2017/p0053r7.pdf links to an example implementation: https://github.com/PeterSommerlad/SC22WG21_Papers/tree/master/workspace/p0053_basic_osyncstreambuf I've no idea if it is usable, I've never tried to use syncstream myself.
Topic: App & System Services SubTopic: Core OS Tags:
Mar ’24
Reply to How to detect when auto-renewing subscription expires?
I think you need this: https://developer.apple.com/documentation/storekit/product/subscriptioninfo/status/3851115-updates Get that async sequence for your subscription group using this: https://developer.apple.com/documentation/storekit/product/subscriptioninfo/3822297-status I think you get an update when it expires. Please let me know if you get this to work, I will need to implement something like this soon.
Topic: App & System Services SubTopic: StoreKit Tags:
Mar ’24
Reply to CoreBluetooth: txPowerLevel + rssi = distance?
Your equation for FSPL is not in dB. You need either 10 log_10 or 20 log_10 of that value. Whether it's 10 or 20 depends on whether it's in mV or mW. Also, I think the f term should disappear. I think it's because there is some sort of assumption about the antenna size being related to the wavelength, or something. I guess you've already looked at the Wikipedia page, but if not: https://en.wikipedia.org/wiki/Link_budget Please let us know if you get anything like useful numbers from this. My experience has been that it really doesn't work in the "real world". I have a simple weather station in my garden which sends data to a receiver in a cupboard the house and I log the RSSI. It's in the same frequency band as bluetooth. It varies dramatically depending on, for example, whether blinds are open or closed in other rooms, whether the ironing board is in that cupboard, where the metal gardening tools are in the garden, and so on.
Feb ’24
Reply to ITMS-90109: This bundle is invalid - The key UIRequiredDeviceCapabilities in the Info.plist may not contain values that would prevent this application from running on devices that were supported by previous versions.
To me that is saying that I cant add new features to an app that requires additional permissions. Is that correct? Not quite. The app needs to check at runtime for the feature and provide the app’s other functionality even if it is not present.
Topic: Programming Languages SubTopic: Swift Tags:
Feb ’24