Uploading Program Over Allowed File Size: Try My New Program

  • Thread starter Thread starter Nothing000
  • Start date Start date
  • Tags Tags
    Program
Click For Summary

Discussion Overview

The discussion revolves around a program created to calculate the lengths of the sides of a right triangle using the Pythagorean theorem and trigonometry. Participants explore issues related to uploading the program, usability concerns, and suggestions for improvement. The scope includes programming, user interface design, and cross-platform compatibility.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • One participant seeks advice on how to upload a program larger than the allowed file size.
  • Another suggests using a third-party service for hosting the program.
  • A participant shares a link to the hosted program and describes its functionality, emphasizing its simplicity for users without math training.
  • Concerns are raised about the necessity of referring to a picture of the triangle before using the program, with plans to incorporate it directly into the program in the future.
  • One participant reports difficulty compiling the program, while another clarifies that it should be executable without compilation.
  • Discussion includes a participant's inability to use the program due to not having Windows, prompting inquiries about compiling it on Linux.
  • Another participant expresses concerns about the program's usability for the intended user, suggesting improvements to the interface and input requirements.
  • Suggestions are made to consider porting the program to Python for better cross-platform compatibility.
  • A participant mentions having created a similar program in C, while another shares a link to a web-based version of a triangle calculator.
  • Frustration is expressed regarding the intended user's reluctance to engage with the program.

Areas of Agreement / Disagreement

Participants express a variety of viewpoints regarding usability and programming approaches, with no consensus reached on the best method for improving the program or addressing compatibility issues.

Contextual Notes

There are unresolved issues regarding the program's usability, the need for specific software to unpack files, and the challenges of cross-platform compatibility. Participants also mention potential improvements without agreeing on a definitive solution.

Who May Find This Useful

Individuals interested in programming, particularly beginners, as well as those looking to improve user interface design and cross-platform software development.

Nothing000
Messages
403
Reaction score
0
I created a program and would like to have some of you guys try it out to see if it works properly. How do I go about uploading the program if it is bigger than the allowed upload size? It is about 2 MB.
 
Technology news on Phys.org
Use a third party service to host it and put the link here.
 
Excellent idea. Here is the link:
http://www.sendspace.com/file/c93slq

It is a very simple program that can find the length of the sides of a right traingle by using the pythagorean theorum and by a little trigonometry. I made the program for my grandpa because he is building a barn an asked me how you calculate the length of a hypotonoose of a right triangle. He has no training in any math beyond arithmatic, so I decided to create a program where he can just put in the numbers and it will spit out the length without him having to do any math. This is the first real program I have ever made.
Try it out and let me know if you see any problems with it. Check out some of the other files in the folder too. I put the source code in there. And there is a picture of the triangle. And I also put some simple instructions for the program in there.
 
Last edited:
You actually have to look at the picture of the triangle before you use the program. It doesn't really make sense unless you refer to the picture. I am going to try to incorporate that picture into my program in a few days. I also would like for the program to draw a picure of a triangle that is proportional to the values of the triangle.
 
Last edited:
Hmm, I can't compile it. I did notice you misspelled "length" in one of your lines.
 
you should just be able to open the file named "Joshuas Pythagorean Program.exe". You shouldn't have to compile anything. I already comiled it into a exe program.
 
I don't use Windows.
 
Oh. What do you have to do to compile it with linux? Do you just copy the source code and paste it into a compiler? I used Just Basic v1.01 to compile it and I am having no trouble with it. It works fine. If there is anything I can do to get it working for you I would be happy to do it. I really want some other people to try this program before I give it to my grandpa just to make sure it works properly.
 
What do I do with a .rar? I guess I don't have the right unpacking s/w.
 
  • #10
You need win RAR. I will give you a link, hold on one second.
 
  • #11
  • #12
Program seems to work - though I have not rigourously testred the values. But I would be concerned about how "usable" it is for your grampa. That's a whole lot of boxes to type in and click to get the answer. You want to make the interface as intuitve as possible.

I know this is your first program, are you up to some more coding?

1] Don't ask, just provide the answer in both feet and inches. That saves one step AND gives him a choice of info.
2] As far as he is concerned, he does not care about a, b and c. All he cares about is base, height and hypotenuse, or possibly an angle. There is no need to ask him to enter a, b or c. That's a bit more coding, but it would be worth it.
3] Eventually (after you're more accomplished), your ideal interface will have no questions at all. It will display a triangle with some textboxes right in it. He will merely enter the values in the appropriate box by locating them visually rather than textually.
 
Last edited:
  • #13
Just Basic is only for Windows. I thought you were using Liberty Basic which does have a Linux version. O well
 
  • #14
Oh, sorry dduardo, I was unaware that Just Basic was only for windows. Maybee you should think about switching to Windows. Just kidding.
And hey Dave, excellent ideas. Thank you very much for the input. I think the hardest part of writting a program is figuring out how to make it easy to use and understand for someone else. At least that is the hardest part for me, but like I said this is my first real program. The only other programs I have written so far have been along the lines of the famous "HELLO WORLD" program.
 
  • #15
Nothing000, perhaps you should think about porting your program to Python.

http://www.python.org/

You can also use pygtk if you want a frontend gui.

http://www.pygtk.org/

I use Python all the time. It is easy to pick up and can be used on most platforms.
 
  • #17
ranger, your code is a mess.
 
Last edited:
  • #18
dduardo said:
ranger, your code is a mess.

Is it really that bad :biggrin:

The guys at the site gave me some tips on cleaning up the code but I never uploaded the corrected version - mostly because I never corrected it o:)
 
  • #19
I actually did a similar web based program:
http://www.bloo.us/projects/triangle.htm
 
Last edited by a moderator:
  • #20
I would have to think that this is a pretty common beginner program to make. It is easy enough for a beginer to wrap there mind around, but difficult enough to challenge them and make them learn more about programming while actaully programming.

So my grandpa won't even look at the program. I don't really know why, but I am a little frustrated.
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 1 ·
Replies
1
Views
4K
Replies
38
Views
4K
  • · Replies 43 ·
2
Replies
43
Views
7K
  • · Replies 22 ·
Replies
22
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
37
Views
6K
Replies
81
Views
7K
  • · Replies 41 ·
2
Replies
41
Views
5K
Replies
19
Views
4K