mersenneforum.org  

Go Back   mersenneforum.org > Extra Stuff > Programming

Reply
 
Thread Tools
Old 2014-05-31, 01:36   #1
EdH
 
EdH's Avatar
 
"Ed Hall"
Dec 2009
Adirondack Mtns

3,457 Posts
Default What language should I study next?

I've limited familiarity with many languages from assembly through several basics through c and c++, even win32, etc. But, nothing very significant.

A few years ago I started a win32 program that I have pretty much given up on completing in its present form. I need to restart it in something that can be run on the majority of machines without incurring costly host programs, such as Windows Office, under which I wrote an extensive workbook in Excel 5 many years ago (if fact, I guess it was during the last century, although I did do some updates more recently).

I will be writing it primarily on a linux system, but it will probably be used by Windows users. I can test it in a couple Windows environments, both Virtual and real. If necessary, I can write it in a virtual Windows environment, but I do not want to "buy" anything to do so. I have not used any of the MS studios, but am somewhat familiar with IDEs

program details:

- a stats program for competition
- each competitor has many "qualifiers" to decide several class and category awards
- needs to print individual matches and aggregate
- needs to print labels for current competitors
- needs to output html (or similar) code for a web page
- needs to keep competitor data for future events
- needs to allow searching and automatic competitor number generation for competitions
- needs to calculate award payments, but also trophy type awards
- needs to calculate competitor data and generate reports
- needs to calculate scores based on three decimal places and convert the decimal to an equivalent text string, substituting in the following manner:
- - raw score is: 198.012 - formatted score is: 198-12x
- - entry method needs to convert 198-12 into 198.012
- needs to allow for tie identification and resolution, but manual resolution might be fine as long as identification is detailed

If anyone is interested in seeing what the Excel 5 version does, it can be found on its description page: Excel 5.0 Based Bullseye Competition Scoring Program
Note: The excel workbook contains macros, but you can look at it to see what it does without running them.

Any suggestions are quite welcome...
EdH is offline   Reply With Quote
Old 2014-05-31, 06:34   #2
WMHalsdorf
 
WMHalsdorf's Avatar
 
Feb 2005
Bristol, CT

20116 Posts
Default

Have you considered using OpenOffice, it's free and works on several different operating systems.
WMHalsdorf is offline   Reply With Quote
Old 2014-05-31, 14:07   #3
EdH
 
EdH's Avatar
 
"Ed Hall"
Dec 2009
Adirondack Mtns

66018 Posts
Default

Quote:
Originally Posted by WMHalsdorf View Post
Have you considered using OpenOffice, it's free and works on several different operating systems.
I've thought about that, but users probably wouldn't want to install OpenOffice and I haven't been able to get a smooth function between it and Excel, so I can't work on the Excel version.

I've considered looking into Java or Javascript to see if they might work, but I guess Javascript is often turned off and I have no idea if Java is too.

If I program in win32, I suppose it has the highest probability of being able to run on the most machines. My current version even runs under Wine on linux, but is too far from completion to call successful.
EdH is offline   Reply With Quote
Old 2014-05-31, 17:02   #4
WMHalsdorf
 
WMHalsdorf's Avatar
 
Feb 2005
Bristol, CT

10000000012 Posts
Default

If you are writing for multiple platforms you could use c++ with wxForms as your GUI. Then all that would be left would be someone who have access to platforms that you don't have access to compile the code to see how well the interface looks.
WMHalsdorf is offline   Reply With Quote
Old 2014-05-31, 17:32   #5
ET_
Banned
 
ET_'s Avatar
 
"Luigi"
Aug 2002
Team Italia

112448 Posts
Default

Quote:
Originally Posted by WMHalsdorf View Post
If you are writing for multiple platforms you could use c++ with wxForms as your GUI. Then all that would be left would be someone who have access to platforms that you don't have access to compile the code to see how well the interface looks.
...or use Qt...
ET_ is offline   Reply With Quote
Old 2014-05-31, 18:14   #6
chalsall
If I May
 
chalsall's Avatar
 
"Chris Halsall"
Sep 2002
Barbados

3·3,109 Posts
Default

Quote:
Originally Posted by EdH View Post
I will be writing it primarily on a linux system, but it will probably be used by Windows users. I can test it in a couple Windows environments, both Virtual and real. If necessary, I can write it in a virtual Windows environment, but I do not want to "buy" anything to do so.
I would highly recommend you at least consider Perl. For anyone familiar with C or C++, it's a breeze to pick up the basics, and once you get into it its power is quite amazing (particularly with all of the various modules available -- Google for "CPAN").

It's open source, and even runs under Windows (although the fork() function is a bit broken, but it doesn't sound like you'd be needing advanced IPC). Google for "Perl Strawberry".

While generally a console based language, it can of course be used to render HTML pages for access via a web browser, or you can leverage on various middle-ware to leverage on GUI tool kits.

And, of course, a big up-side is neither you nor any of your users need to buy anything (other than the hardware, of course...).
chalsall is online now   Reply With Quote
Old 2014-05-31, 19:58   #7
xilman
Bamboozled!
 
xilman's Avatar
 
"𒉺𒌌𒇷𒆷𒀭"
May 2003
Down not across

1020310 Posts
Default

Quote:
Originally Posted by chalsall View Post
I would highly recommend you at least consider Perl. For anyone familiar with C or C++, it's a breeze to pick up the basics, and once you get into it its power is quite amazing (particularly with all of the various modules available -- Google for "CPAN").

It's open source, and even runs under Windows (although the fork() function is a bit broken, but it doesn't sound like you'd be needing advanced IPC). Google for "Perl Strawberry".

While generally a console based language, it can of course be used to render HTML pages for access via a web browser, or you can leverage on various middle-ware to leverage on GUI tool kits.

And, of course, a big up-side is neither you nor any of your users need to buy anything (other than the hardware, of course...).
+1
xilman is offline   Reply With Quote
Old 2014-06-01, 00:27   #8
EdH
 
EdH's Avatar
 
"Ed Hall"
Dec 2009
Adirondack Mtns

1101100000012 Posts
Default

Thanks guys,

Since I've already written some things in Perl, maybe I'll take a closer look. Although, Perl is supplied with all(?) linux distros, it really isn't native for the Windows versions, is it? But, then again, Windows users have to install MS Office to use Excel. What might Windows and other OSs already have in their systems that might fit?

Rethinking the work involved in starting from scratch, I wonder if I could rework my original Excel into Libre(Open)Office and convince users to install that?

Still mulling everything over...

Thanks again...
EdH is offline   Reply With Quote
Old 2014-06-01, 03:15   #9
LaurV
Romulan Interpreter
 
LaurV's Avatar
 
Jun 2011
Thailand

213448 Posts
Default

Quote:
Originally Posted by EdH View Post
What language should I study next?
Try Chinese or Korean?
They may rule the world in fifty or a hundred years if you plan to live so long...

Last fiddled with by LaurV on 2014-06-01 at 03:16 Reason: bad quote
LaurV is offline   Reply With Quote
Old 2014-06-01, 06:55   #10
schickel
 
schickel's Avatar
 
"Frank <^>"
Dec 2004
CDP Janesville

2×1,049 Posts
Default

Quote:
Originally Posted by EdH View Post
I've thought about that, but users probably wouldn't want to install OpenOffice and I haven't been able to get a smooth function between it and Excel, so I can't work on the Excel version.

I've considered looking into Java or Javascript to see if they might work, but I guess Javascript is often turned off and I have no idea if Java is too.
There is an upcoming shift with Java to banning the running of unsigned Java applets. Currently, you can still run them, but you need to grant permission each time.
schickel is offline   Reply With Quote
Old 2014-06-01, 14:14   #11
EdH
 
EdH's Avatar
 
"Ed Hall"
Dec 2009
Adirondack Mtns

345710 Posts
Default

Quote:
Originally Posted by LaurV View Post
Try Chinese or Korean?
They may rule the world in fifty or a hundred years if you plan to live so long...
@LauV: I could brush up on my Korean, but it is rather limited. Mein Deutsch ist ein wenig besser, aber nicht ganz Gesprächs. OTOH, my Japanese is better than my Chinese and that's limited to only a couple phases...

@schickel: Thanks for the Java info.

@All: If I approach this project in the following manner, does it seem doable and if so, what direction should I study?:

Perhaps, a set of html pages that include entry forms and displays. One auto-updating page that can be displayed on a second monitor, if such exists on the system and the entry pages chosen by links from pages within the set.
EdH is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mandela effect, general discussion and how would you study it scientifically? jasong Lounge 12 2018-04-15 05:13
Reasons for religious studies (and/or study of religion) R.D. Silverman Lounge 27 2015-04-28 13:30
A Study of Primes Through Non-Resonant Sine Waves EdH Math 56 2010-04-11 19:47
Study: Early Earth Not as Hellish as Once Believed ewmayer Science & Technology 1 2008-12-03 03:27
Study Shows Good With Math Means Bad With People mfgoode Lounge 0 2006-10-21 08:06

All times are UTC. The time now is 21:39.

Mon Nov 30 21:39:28 UTC 2020 up 81 days, 18:50, 2 users, load averages: 2.00, 2.25, 2.31

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.