I am trying to initialize an object with 10 parameters and I'm getting "Too Many Arguments Error", Why?

I am trying to initialize an object with 10 parameters and I'm getting "Too Many Arguments Error", Why?

This is only after compiling that I get the "Too Many Arguments Error"

For example:

timeLabelOffset = new TimeLabelOffset(78, 46, 78, 79, 73, 76, 78, 67, 68, 78);

Thanks.

  • Would be really powerful if devs could suggest modifications to the documentation, much like how open source does it.

    You could always post in the CIQ bug reports forum. I wouldn't hold my breath on the docs getting updated. A lot of times devs will run into some limitation or quirk of CIQ, and for some reason it's deemed acceptable for it to be mentioned in the CIQ forums (and only the forums.)

    This wouldn't fly for any other software development technology. Of course forums and other communities are valuable resources of information, but most people expect the official documentation to be the single source of truth.

  • It would be too easy and logical

  • I searched for "Too Many Arguments Error"

  • interesting comment from someone who usually relpies with "this is a 5 year old thread, Garmin should block old threads" when people reply to old threads... (But I agree that it's always better to search before asking)

    So here's an example of what I'm talking about, in the Garmin Connect Web forum. Someone replied to a thread that was created and last replied to ten years ago.

    Seems to happen every now and then in that forum. Happens less often here (can think of a few reasons why.)

    (The funny thing is the forum says the post and replies are "over ten years ago" when they're actually 9 1/2 years old. Can't this platform do anything right?)

    (Yes I see the irony - I'm responding to a thread that's a couple of days old to complain about people replying to old threads haha.)

    https://forums.garmin.com/apps-software/mobile-apps-web/f/garmin-connect-web/63679/privacy-setting-everyone-doesn-t-expose-activities-on-profile/1562260#1562260

  • "Grant me the serenity to accept the things I cannot change,
    The courage to change the things I can,
    And the wisdom to know the difference."

  • I actually don't think it will ever change, nor do I actually care, I was just explaining why I usually make that comment about replying to old threads that was mistakenly attributed to you.

    I think in the vast majority of cases, it's either spam or an answer to a question that was asked 10 years ago. It happens all the time in these forums (I mean the Garmin forums in general, not this particular sub-forum).

    Yes, for certain technical threads and app showcase threads, it's nice that they stay open forever.

    Grant me the serenity to accept the things I cannot change

    If it were up to some people, nothing would ever change or improve. I remember how hard some people pushed back against the migration to VS Code.

  • "Grant me the serenity to accept the things I cannot change,"

    You seem to be forgetting the 3rd line.  Some things can change but repeated complaints about the same thing is silly.

  • You seem to be forgetting the 3rd line.  Some things can change but repeated complaints about the same thing is silly.

    I only brought it up because somebody quoted me about it. Otherwise I wouldn't have said anything.

    Also, if a problem comes up repeatedly over the years, maybe it's a sign that something needs to be fixed, regardless of whether people complain or not. A great example is when people accidentally create new posts in the CIQ App Showcase instead of replying to an existing thread. A complaint about that problem actually resulted in change (although it's still half-broken.) In that case it wasn't only a complaint, but an attempt to figure out the cause of the problem (it's the "New" post button which appears on existing threads).

  • And again, you complain about something that no one in Garmin or outside Garmin really cares about.

    You need to work on the "wisdom" in the third line of my quote.  Seems you need to understand no one else cares about the things you complain about!

    You have said a few times you no longer are developing CIQ apps, so why are you here?

  • And again, you complain about something that no one in Garmin or outside Garmin really cares about.

    You don't care if it's a little harder than necessary for your users to contact you about your app lol? Same as the longstanding issue with people pressing Contact Developer and not filling in an email. Lots of people complained about that one.

    You don't mind constantly replying to accidental posts by saying "nobody knows what app you're talking about. please press contact developer?" If you really didn't care, you wouldn't bother to reply to those posts at all.

    What happens when you or somebody else misses a post like that and nobody replies? That user may never get any help, so maybe they'll just give up and uninstall the app.

    The reason people may not complain is because it falls on deaf ears and/or there's pushback. Doesn't mean there isn't a problem.

    If Garmin really didn't care about the accidental new post issue, they wouldn't have spent time (and money) to try to fix it. Too bad they weren't quite successful. No offense to Garmin, but it's not so surprising.

    And lots of people complain about a lot of the same stuff over and over again. That doesn't necessarily mean they're fools, it could also mean that Garmin has a problem or a missing feature that customers want.

    For example, people have been complaining for more than ten years about the inability to mix metric and imperial units in Garmin Connect. This is a sore point with Canadian and British users, for example. There's a thread about it that goes back 10 years or more.

    According to you, the fact that people complain about it all the time means they lack wisdom. The fact that Garmin won't address it means nobody cares. Then again, if nobody complained about it, you'd say that nobody wants that feature.

    You have said a few times you no longer are developing CIQ apps, so why are you here?

    Because I'm bored? Because I'm curious? Because I might be interested in starting again, since I have apps in the store and I have a Garmin device?

    I still manage to contribute without developing CIQ apps. I managed to correct a few misapprehensions about CIQ that certain regular posters had.

    Why do you care if I'm here? You're free to ignore posts and comments that don't interest you. Same as when people make feature requests or develop 3rd party tools to try to improve CIQ, you don't have to reply and tell them "nobody asked for this", "I don't know what this is" and "seems like nobody else is using this except you two."

    It's ironic because only a handful of people post in the CIQ forums anyway. If even two people are discussing something, that's like 50% of the active community.

    Yeah, I complain a lot, and that's an annoying trait. I can point out annoying traits of other posters, like:

    - condescendingly assuming others have no idea what they're talking about

    - assuming that whenever someone reports a problem, it's probably something they're doing wrong

    - jumping to conclusions without even fully reading the OP

    - consistently misunderstanding people's questions even when all the information is the OP, then accusing them of misunderstanding things (I see this *all* the time). This happens a lot when people point out problems in the Garmin or CIQ ecosystem. To be fair it happens in every community where certain members start to think of themselves as experts or gurus. I've done it too, in the past

    - dismissing people's legitimate bug reports. I don't care if Garmin ignores my bug reports, but it's funny when unpaid community members go out of there way to do so

    - pushing back against any and all suggested improvements