Don't have an account? Register now to chat, post, use our tools, and much more.
Latest Headlines
Online Users
There are 115 users online: 7 members, 86 guests and 22 bots. Members: ACagliano, DShiznit, Kllrnohj, Spyro543. Bots: Spinn3r (1), MSN/Bing (1), VoilaBot (1), Googlebot (18), MSN/Bing (1).
RSS & Social Media
SAX
You must log in to view the SAX chat widget
|
| Author |
Message |
|
souvik1997

Guru-in-Training

Joined: 19 Apr 2010 Posts: 2870
|
Posted: 20 Aug 2010 07:05:53 am Post subject: |
|
|
All thats left is the calendar, adding the help section, and debugging.
The most complicated part of my entire program is the calendar, because I have to integrate it with adding new events and viewing events.
The help section will be very easy, but debugging could take some time.
Right now, i am not too concerned about the deadline. School is starting next week, but I will still have some time for programming every day.
EDIT: The calendar isn't as hard as I expected  _________________ CALCnet Tournament-38%
deviantArt
 |
|
| Back to top |
|
|
KermMartian

Site Admin

Joined: 14 Mar 2005 Posts: 55773 Location: Earth, Sol, Milky Way
|
Posted: 20 Aug 2010 10:25:24 am Post subject: |
|
|
Excellent! It's always great to hear when something is easier than you expected.  _________________
 |
|
| Back to top |
|
|
souvik1997

Guru-in-Training

Joined: 19 Apr 2010 Posts: 2870
|
Posted: 21 Aug 2010 07:53:21 am Post subject: |
|
|
My calendar is almost done!
Kerm, there appears to be some kind of bug with how DCS works with matrices _________________ CALCnet Tournament-38%
deviantArt
 |
|
| Back to top |
|
|
merthsoft
File Archiver

Joined: 09 May 2010 Posts: 2735
|
Posted: 21 Aug 2010 08:45:15 am Post subject: |
|
|
Could you be a little more specific? What are you using the matrices for? How are they interacting with DCS? _________________ Shaun |
|
| Back to top |
|
|
souvik1997

Guru-in-Training

Joined: 19 Apr 2010 Posts: 2870
|
Posted: 21 Aug 2010 09:59:00 am Post subject: |
|
|
I am using the matrix to hold the calendar's data.
This doesn't work:
[J](B,D)
where vars B and D are real numbers within the dimensions of matrix J
It doesn't work when HomeRun is enabled _________________ CALCnet Tournament-38%
deviantArt
 |
|
| Back to top |
|
|
merthsoft
File Archiver

Joined: 09 May 2010 Posts: 2735
|
Posted: 21 Aug 2010 10:02:40 am Post subject: |
|
|
What do you mean doesn't work? Does it return the wrong numbers, does it throw an error, if so what error? Are you positive B and D are integers? If it's returning the wrong numbers, are you sure you have B and D in the right order? The first number in the row, the second is the column. It seems to be working for me. _________________ Shaun |
|
| Back to top |
|
|
souvik1997

Guru-in-Training

Joined: 19 Apr 2010 Posts: 2870
|
Posted: 21 Aug 2010 10:58:28 am Post subject: |
|
|
It throws error DOM or DIM, i cant remember.
I fixed the issue by using a list.  _________________ CALCnet Tournament-38%
deviantArt
 |
|
| Back to top |
|
|
KermMartian

Site Admin

Joined: 14 Mar 2005 Posts: 55773 Location: Earth, Sol, Milky Way
|
Posted: 21 Aug 2010 06:05:55 pm Post subject: |
|
|
| souvik1997 wrote: | I am using the matrix to hold the calendar's data.
This doesn't work:
[J](B,D)
where vars B and D are real numbers within the dimensions of matrix J
It doesn't work when HomeRun is enabled | Is it possible that either B or D was a non-integer or non-positive? Did you verify that DCS was the issue by running the same program with HomeRun disabled? _________________
 |
|
| Back to top |
|
|
souvik1997

Guru-in-Training

Joined: 19 Apr 2010 Posts: 2870
|
Posted: 21 Aug 2010 06:31:19 pm Post subject: |
|
|
I verified the issue by clearing ram and running [J](B,D) from the homescreen with the same values that B and D are in my program. It did not throw any error. Then I ran DCS with the same expression from the homescreen and it throws an error.
I know B and D are positive integers because I Goto'ed into my program whenever DoorsCS threw the error and Rcl'ed B and D into my program.
I can't reproduce the bug anymore because i switched from using a matrix to a list. _________________ CALCnet Tournament-38%
deviantArt
 |
|
| Back to top |
|
|
KermMartian

Site Admin

Joined: 14 Mar 2005 Posts: 55773 Location: Earth, Sol, Milky Way
|
|
| Back to top |
|
|
souvik1997

Guru-in-Training

Joined: 19 Apr 2010 Posts: 2870
|
|
| Back to top |
|
|
KermMartian

Site Admin

Joined: 14 Mar 2005 Posts: 55773 Location: Earth, Sol, Milky Way
|
Posted: 21 Aug 2010 06:43:46 pm Post subject: |
|
|
| souvik1997 wrote: | | ok then, it is probably another 2.53 problem. | Oooh, I didn't think to try 2.53. Lemme try it on 2.53 and see if that makes a difference. _________________
 |
|
| Back to top |
|
|
KermMartian

Site Admin

Joined: 14 Mar 2005 Posts: 55773 Location: Earth, Sol, Milky Way
|
|
| Back to top |
|
|
souvik1997

Guru-in-Training

Joined: 19 Apr 2010 Posts: 2870
|
|
| Back to top |
|
|
KermMartian

Site Admin

Joined: 14 Mar 2005 Posts: 55773 Location: Earth, Sol, Milky Way
|
Posted: 21 Aug 2010 07:02:07 pm Post subject: |
|
|
Merth mentioned that my int() fix seems to have done the trick, although he was able to replicate your bug without it. Merth, did you try turning off the DCS Homerun hook and seeing if the same situation happened? _________________
 |
|
| Back to top |
|
|
merthsoft
File Archiver

Joined: 09 May 2010 Posts: 2735
|
Posted: 21 Aug 2010 07:02:17 pm Post subject: |
|
|
I've replicated the error in 2.53:
Code: [[1,2][3,4->[J]
8->H
1+7fPart(H/7->B
1+int(H/7->D
Disp B,D,[J](2,2),[J](B,D
This will display:
Code: 2
2
4
ERROR
When implementing your suggested fix:
Code: [[1,2][3,4->[J]
8->H
1+int(7fPart(H/7->B
1+int(H/7->D
Disp B,D,[J](2,2),[J](B,D
The output is:
Code: 1
2
4
2
So there is something pretty weird about this... From the homescreen do this:
Code: fPart(8/7
Ans*7
int(Ans
Which gives me:
Code: .1428571429
1
0 This happens with the parser hook on and off. _________________ Shaun |
|
| Back to top |
|
|
KermMartian

Site Admin

Joined: 14 Mar 2005 Posts: 55773 Location: Earth, Sol, Milky Way
|
Posted: 21 Aug 2010 07:04:15 pm Post subject: |
|
|
Yup, sounds like an awesome rounding error in 2.53MP to me. Unfortunately I don't think there's really anything to do about that. I'd like BrandonW to come in here and verify if this is something he's run across, though; if not, I think he'd enjoy a bitter laugh about this particular TI fail.  _________________
 |
|
| Back to top |
|
|
souvik1997

Guru-in-Training

Joined: 19 Apr 2010 Posts: 2870
|
|
| Back to top |
|
|
KermMartian

Site Admin

Joined: 14 Mar 2005 Posts: 55773 Location: Earth, Sol, Milky Way
|
Posted: 21 Aug 2010 07:50:03 pm Post subject: |
|
|
| souvik1997 wrote: | | Good to hear its not a dcs bug | Hehe, I'll make a wager with you that I'm more relieved to hear that it's not a DCS bug than you are! Sorry to hear that this TI-OS bug delayed your entry slightly, though.  _________________
 |
|
| Back to top |
|
|
calcdude84se
Power User

Joined: 14 Jun 2010 Posts: 408
|
Posted: 21 Aug 2010 07:51:05 pm Post subject: |
|
|
I've had similar happen before, but with larger numbers. You'd think the calculator's FP could handle it...
At any rate, you can just use round(X,0) or whatever variable or expression you need  _________________ People think computers will keep them from making mistakes. They're wrong. With computers you make mistakes faster.
-Adam Osborne |
|
| Back to top |
|
|
|
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.
» Go to Registration page
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
© Copyright 2000-2013 Cemetech & Kerm Martian :: Page Execution Time: 0.043279 seconds.
|