Post

Replies

Boosts

Views

Activity

Reply to Cannot figure out a very basic issue...
We can't tell what you're doing wrong without seeing how you invoked the compiler, but Quinn is probably right that you've not linked with the file with the implementation of your welcome() function. A couple of other things to note: You're probably not using g++/gcc. Apple alias g++ and gcc to clang++ and clang. This has some advantages, i.e. some things "just work", but I think it also has the potential to cause some confusion. Put \n at the end of your "Hello World" string.
Mar ’23
Reply to Similar app name in appstore
You have a number of things to worry about: Will there be competition for things like website domain names, social media handles, etc.? Are you violating any trademarks? Will these other people try to attack you legally? (Even if they have no basis in law, that doesn't stop them from threatening you; that can get expensive if you have to get your own lawyers, and can cause sleepless nights.) Will Apple notice and complain? What will happen when people search (Google / App Store) for this app name? Your example is a bit difficult to follow, because you say your name is "unusual ... just made up", but then you give the example "Car", which is not a made-up word at all. Contrast: Apple is not a made-up or unusual word; Tgweoxy is a made-up word.
Mar ’23
Reply to HOW DO I LOAD AN APPS DATA FROM PREVIEW?!?! [URGENT]
I accidentally deleted an Xcode project from my mac, Like emptied the trash and everything Stop using the computer. Google "Mac undelete file recovery" or similar (on your phone, perhaps). Follow the advice you find. If you've not done much since emptying the trash, and especially if the disk is not too full, I think you should have a chance of recovering it. Once you've recovered it, start using Time Machine.
Topic: Programming Languages SubTopic: Swift Tags:
Mar ’23
Reply to Need a (simple) algorithm to tell if 2 images differ
Hi Imneo, Note that if you post comments on this forum, it doesn't send notification email like it does for replies. So I suggest always posting replies. I want to do this in Objective-C. Does anyone have experience on integrating OpenCV into Xcode project? That's easier than integrating with Swift. Use an objective-C++ (.mm) file to bridge. There is documentation about building for iOS here: https://docs.opencv.org/4.x/d5/da3/tutorial_ios_install.html I've not done that - I've only used OpenCV server-side - but it looks simple enough.
Topic: Media Technologies SubTopic: General Tags:
Mar ’23
Reply to itmstransporter 3.0.0 broken in Linux.
To finish up on this: I think I've now got as far as I can with Developer Program Support and Developer Technical Support. Neither of them support iTMSTransporter, and the team who do maintain it do not have a public point of contact. So essentially it is unsupported. Probably the most productive approach to fixing this, since it is a Java app, would be to decompile it and just fix the bug ourselves. Anyone here have any experience with that? I think I should have a copy of the last working version in my backups somewhere. How much work would it be to decompile both an diff the results? I'll let you all know if I get anywhere. HAVE A GREAT DAY!
Mar ’23
Reply to How to enable BFloat16 data type?
I think it supports __fp16 but not __bf16. At least, I have a comment in my source tree saying that, so it may have been true when I wrote it in 2019. I forget the details. Beware that what the CPU supports and what the GPU supports will differ. If I recall correctly, __bf16 is just a standard 32-bit float with 16 of its mantissa bits truncated. It's therefore not too slow to operate on __bf16 values by converting too and from float32.
Mar ’23
Reply to Accounting software
A very good question. For anyone who doesn't know, for a couple of years now they have required that VAT data must be submitted directly from your accounting software to their servers. The aim is to avoid the errors that happened previously when you had to copy-and-paste those four numbers four times a year into a form on their website. They call this "Making Tax Digital" and it will roll out to other forms of tax data submission over the next few years. Software that connects to their servers needs to be approved by them and be issued with credentials to connect; this makes things difficult for open-source software and the sort of home-made bookkeeping systems that software developers like us might prefer to use. Potentially profitable for accounting software vendors, but a pain for people with existing systems that they will need to replace. As it happens, I wrote a simple VAT return submission app and put it through the approval process to see what was involved. It required a live video call where I demonstrated it correctly interacting with their test servers. Readers on this forum will understand the idea of "app review"; this was less impersonal than the Apple version. I am not currently doing anything with this software other than submitting my own returns. One friend recommends Xero. I've not used it myself. Do you currently use something for record keeping? Do please let us know what you end up doing!
Topic: Business & Education SubTopic: General Tags:
Mar ’23
Reply to Can I use an individual bank account on company developer account?
What country are you in? Are you a "typical developer" or do you have a million-dollar-a-week app? Here in the UK I used a personal bank account to receive app income for several years.
Replies
Boosts
Views
Activity
Mar ’23
Reply to Is sensor data shared between multiple apps?
I guess it's not documented whether they get the same data, so you should probably be pessimistic and assume that they do, and so what you're doing is not secure.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Mar ’23
Reply to App Store Spellcheck
Yes, maybe you should. What is your strategy for customers to discover your app?
Replies
Boosts
Views
Activity
Mar ’23
Reply to Cannot figure out a very basic issue...
We can't tell what you're doing wrong without seeing how you invoked the compiler, but Quinn is probably right that you've not linked with the file with the implementation of your welcome() function. A couple of other things to note: You're probably not using g++/gcc. Apple alias g++ and gcc to clang++ and clang. This has some advantages, i.e. some things "just work", but I think it also has the potential to cause some confusion. Put \n at the end of your "Hello World" string.
Replies
Boosts
Views
Activity
Mar ’23
Reply to Similar app name in appstore
You have a number of things to worry about: Will there be competition for things like website domain names, social media handles, etc.? Are you violating any trademarks? Will these other people try to attack you legally? (Even if they have no basis in law, that doesn't stop them from threatening you; that can get expensive if you have to get your own lawyers, and can cause sleepless nights.) Will Apple notice and complain? What will happen when people search (Google / App Store) for this app name? Your example is a bit difficult to follow, because you say your name is "unusual ... just made up", but then you give the example "Car", which is not a made-up word at all. Contrast: Apple is not a made-up or unusual word; Tgweoxy is a made-up word.
Replies
Boosts
Views
Activity
Mar ’23
Reply to Need a (simple) algorithm to tell if 2 images differ
If I were you, I'd start by checking if OpenCV has something that you can use. If you google "OpenCV image similarity" you'll find some StackOverflow posts with helpful advice. I fear it is not as simple as you might have hoped.
Topic: Media Technologies SubTopic: General Tags:
Replies
Boosts
Views
Activity
Mar ’23
Reply to HOW DO I LOAD AN APPS DATA FROM PREVIEW?!?! [URGENT]
I accidentally deleted an Xcode project from my mac, Like emptied the trash and everything Stop using the computer. Google "Mac undelete file recovery" or similar (on your phone, perhaps). Follow the advice you find. If you've not done much since emptying the trash, and especially if the disk is not too full, I think you should have a chance of recovering it. Once you've recovered it, start using Time Machine.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Mar ’23
Reply to Need a (simple) algorithm to tell if 2 images differ
Hi Imneo, Note that if you post comments on this forum, it doesn't send notification email like it does for replies. So I suggest always posting replies. I want to do this in Objective-C. Does anyone have experience on integrating OpenCV into Xcode project? That's easier than integrating with Swift. Use an objective-C++ (.mm) file to bridge. There is documentation about building for iOS here: https://docs.opencv.org/4.x/d5/da3/tutorial_ios_install.html I've not done that - I've only used OpenCV server-side - but it looks simple enough.
Topic: Media Technologies SubTopic: General Tags:
Replies
Boosts
Views
Activity
Mar ’23
Reply to itmstransporter 3.0.0 broken in Linux.
To finish up on this: I think I've now got as far as I can with Developer Program Support and Developer Technical Support. Neither of them support iTMSTransporter, and the team who do maintain it do not have a public point of contact. So essentially it is unsupported. Probably the most productive approach to fixing this, since it is a Java app, would be to decompile it and just fix the bug ourselves. Anyone here have any experience with that? I think I should have a copy of the last working version in my backups somewhere. How much work would it be to decompile both an diff the results? I'll let you all know if I get anywhere. HAVE A GREAT DAY!
Replies
Boosts
Views
Activity
Mar ’23
Reply to the size of screen in iOS 16.4(20E5212f) is incorrect
Have a look at the values of [UIScreen mainScreen].nativeBounds, .scale, and .nativeScale. Look at all of them in both zoom and non-zoom mode. Yes, it's complicated!
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Mar ’23
Reply to Legalities about emulating MacOS on a standard PC?
Does your university offer a course for computer science students that covers "professional" issues such as copyright, software licensing, trademarks, etc.? If it doesn't, it should. And if it does, you should take it!
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Mar ’23
Reply to Object vs Int array subscript (get and set) is 250 times too slow
Interesting. Presumably arr.swapAt(index1,index2) works correctly. Have you tried (a,b) = (arr[index1], arr[index2]); (arr[index2], arr[index1]) = (a,b); and other variants?
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Mar ’23
Reply to How to enable BFloat16 data type?
I think it supports __fp16 but not __bf16. At least, I have a comment in my source tree saying that, so it may have been true when I wrote it in 2019. I forget the details. Beware that what the CPU supports and what the GPU supports will differ. If I recall correctly, __bf16 is just a standard 32-bit float with 16 of its mantissa bits truncated. It's therefore not too slow to operate on __bf16 values by converting too and from float32.
Replies
Boosts
Views
Activity
Mar ’23
Reply to Accounting software
A very good question. For anyone who doesn't know, for a couple of years now they have required that VAT data must be submitted directly from your accounting software to their servers. The aim is to avoid the errors that happened previously when you had to copy-and-paste those four numbers four times a year into a form on their website. They call this "Making Tax Digital" and it will roll out to other forms of tax data submission over the next few years. Software that connects to their servers needs to be approved by them and be issued with credentials to connect; this makes things difficult for open-source software and the sort of home-made bookkeeping systems that software developers like us might prefer to use. Potentially profitable for accounting software vendors, but a pain for people with existing systems that they will need to replace. As it happens, I wrote a simple VAT return submission app and put it through the approval process to see what was involved. It required a live video call where I demonstrated it correctly interacting with their test servers. Readers on this forum will understand the idea of "app review"; this was less impersonal than the Apple version. I am not currently doing anything with this software other than submitting my own returns. One friend recommends Xero. I've not used it myself. Do you currently use something for record keeping? Do please let us know what you end up doing!
Topic: Business & Education SubTopic: General Tags:
Replies
Boosts
Views
Activity
Mar ’23
Reply to Don't know how to use Xcode on M2 Mac Mini
There's a long thread about this somewhere. I would post a link but I can't immediately find it....
Replies
Boosts
Views
Activity
Mar ’23