S.A.S.C.

Solo => Technical Talk => Topic started by: MurrayPeterson on January 07, 2015, 04:54:53 PM

Title: MJTiming discussion and releases
Post by: MurrayPeterson on January 07, 2015, 04:54:53 PM
I am starting this topic as an open forum discussion about my timing software (MJTiming).

Any/all requests for explanations and enhancements are welcome, as are complaints.

I will also use this forum as a public place to notify everyone of new releases of the software.

Google Drive link to software: https://drive.google.com/open?id=0ByeFbiNdvLbGQ3o2dmxncWdWTEU
Title: Re: MJTiming discussion and releases
Post by: MurrayPeterson on February 25, 2015, 11:35:03 AM
I have had a few queries about setting up a router to enable easier access to scores.

If you install some free firmware (dd-wrt), you can set up an app called DNSmasq.  With DNSmasq, people at events can now connect to the router's local network, and then browse to an HTTP address of your choice (e.g. scores.com or vcmc.com or asa.com). Much better than some numeric IP address.

Cheapest path to success:
1. Buy this $35 router: http://www.memoryexpress.com/Products/MX46293
2. Download dd-wrt firmware (first post in forum has a link):
        http://www.dd-wrt.com/phpBB2/viewtopic.php?t=174693

Steps to install firmware in router:
1) Set Computer's IP Static to 192.168.1.15
2) Power Down router
3) Hold Reset Button while powering up
4) Power on router
5) Hold Reset Button until the Power light blinks on-and-off slowly
6) The router is now in recovery mode
7) Open 192.168.1.1 in your browser
8) Upload firmware noted above
Upgrade took about 60 seconds and it then asked me to reboot.
Rebooted router, and it asked me to setup a password.


If you want to use a different router, here is a wiki with more info than you will ever want:
http://www.dd-wrt.com/wiki/index.php/Main_Page

Here is a short post on how to set up DNSmasq: http://cybernetnews.com/local-internal-dns-ddwrt/
Title: Re: MJTiming discussion and releases
Post by: MurrayPeterson on July 22, 2017, 06:24:42 AM
Shaw has discontinued their web hosting, so I have moved all of the stuff over to Google Drive.

Here is the link to the entire folder, so you may pick and choose from the releases or documentation:
https://drive.google.com/open?id=0ByeFbiNdvLbGQ3o2dmxncWdWTEU
Title: Re: MJTiming discussion and releases
Post by: MurrayPeterson on August 15, 2017, 06:37:42 AM
Update for MJTiming software to fix errors in team scoring:
https://drive.google.com/open?id=0ByeFbiNdvLbGNmdpQXR1WmZjSkE
Title: Re: MJTiming discussion and releases
Post by: MurrayPeterson on September 25, 2017, 08:16:34 AM
Tweaks to file saving code for better performance at high numbers of runs
Tweaks to _webStyle.txt file for better live scoring readability
Copy over _webStyles.txt from configTemplates if first time use

https://drive.google.com/open?id=0ByeFbiNdvLbGMXROd3E4LVRQUkE
Title: Re: MJTiming discussion and releases
Post by: Canuck on September 25, 2017, 12:37:13 PM
Nothing to add other than a thanks for changing the look of the webpage.  It was much easier to read on my phone during the event yesterday! 
Title: Re: MJTiming discussion and releases
Post by: MurrayPeterson on September 27, 2017, 12:31:57 PM
Thanks to those of you that came up and showed me your phones when looking at results -- it allowed me to tweak the style page to something usable.
Title: Re: MJTiming discussion and releases
Post by: MurrayPeterson on November 19, 2017, 03:39:02 PM
2018 PAX data file for MJTiming: https://drive.google.com/open?id=1IhuxMIPwR8rxrzSP1nAorZ3tdINZ-xlD
Title: Re: MJTiming discussion and releases
Post by: MurrayPeterson on January 27, 2018, 03:45:45 PM
I am releasing this version early to enable people to help test the new feature.

https://drive.google.com/open?id=16WmDusDQDnG9Ccs2PdaZPeNeFfufdK4c

I have added a new group (called XGroup) that will allow people to compete in 2 groups at the same time (e.g. OPEN + LADIES).  The coding change required was huge, so I would like anyone that feels comfortable with testing this feature to do so.

To install this version:
1. Unzip into c:\mjtiming as usual for any release
2. Start mjtiming and copy and config items you care about (e.g. COM ports)
3. Exit mjtiming
4. Go into c:\mjtiming and delete the folder named "config"
5. Start MJTiming -- you should now have a registration column called "XGroup"
6. Add the new XGroup items you desire into the "Classes" tab

MSREG changes to make use of the XGroup:
1. Add a new question in an event's registration form and assign the name "XGroup" to the Report Header
2. Select Text for answer type
3. Check the box "Specify list of allowed answers"
4. Add list of answers (e.g. LADIES/OPEN/CORVETTES/MIATA)
5. Allow multiple answers should be set to No
6. Max answers should be set to 1
7. In the report you use for exporting data, be sure to check "Include event questions"

If you examine the MSREG report, it should now include a column named XGroup with the legal groups.

If you have added these XGroups into the classes file, they should import correctly and score correctly.

Title: Re: MJTiming discussion and releases
Post by: 94boosted on January 27, 2018, 04:31:48 PM
Murray thank you very much for doing this, I know it was no small task.
Title: Re: MJTiming discussion and releases
Post by: MurrayPeterson on January 27, 2018, 05:18:25 PM
Murray thank you very much for doing this, I know it was no small task.

And it's not done yet -- I really released this a bit too early, but I wanted help with testing from some other MJTiming geeks.
Title: Re: MJTiming discussion and releases
Post by: MurrayPeterson on January 27, 2018, 05:19:42 PM
Quick update to fix some html scoring issues:
                The BAT file cmd file would overwrite the scores.txt file
      The car descriptions were being truncated

https://drive.google.com/open?id=1tedlNdbyZiXH8WjK6ZNayiCU4NJlIiJI
Title: Re: MJTiming discussion and releases
Post by: MurrayPeterson on March 08, 2018, 09:30:20 AM
https://drive.google.com/open?id=1e4Z-fQ8cKcPYNcSeNjypT6Glx0CC7mB6

   If Xgroup PAX value > 2 (e.g. OPAX), then drivers in that group are are limited to those # runs for scoring
   Removed "Import from Karelo" button in registration
   Added a "Delete all drivers" button in registration
   Removed the "Summary" scoring display
Title: Re: MJTiming discussion and releases
Post by: MurrayPeterson on March 26, 2018, 09:19:26 AM
https://drive.google.com/open?id=1hMoZWBY1M2vqhdIoPdA9V1kodcXm4x-b

Merged group and xgroups in scoring output (looks much cleaner)
Removed Preferred Number column (and code that uses it)
Removed rally scoring (didn't work)
Now allow multiple Xgroups per person (in Xgroup field, separated by a semicolon)
New config field (classAsGroup) that automatically adds driver's class to list of groups to be scored
If OPAX is only group in the xgroup field, then first 3 runs are used for that driver (all scoring groups :( )

Biggest change is the capability of a person being scored in multiple groups.  Which means that all Corvette (or Subaru or Miata) drivers can be scored in their own group, in addition to the usual group (such as STREET).
Title: Re: MJTiming discussion and releases
Post by: MurrayPeterson on April 27, 2018, 09:52:13 AM
https://drive.google.com/open?id=1aSpswfeoCQiuBZkLyNmw47k3tsp4GWSX

Fix up a formatting error in rookie RAW overalls when class names are very long.
Title: Re: MJTiming discussion and releases
Post by: MurrayPeterson on May 07, 2018, 11:03:57 PM
https://drive.google.com/open?id=1qVrFSkLptEJjBGLoi-FTmgnZaOdNL_r3

Fixed an error in overall scores (group scores not shown).  Also updated this year's overall scores.
Title: Re: MJTiming discussion and releases
Post by: MurrayPeterson on August 21, 2018, 09:30:29 AM
August 21, 2018 update: https://drive.google.com/open?id=1_I--8B1DFENRBA4GTjZPszNwSI8gDCjZ

   Reduced start and stop holdoff (10 seconds was too long for the stop holdoff due to slow drivers).
   NOTE: Existing users will need to manually reduce these values via the configuration tab, since updates
      only change the templates, not the current config.

   Added the ability to concatenate car# and car class when importing drivers from MSR reports
   This is for those clubs that don't want to impose unique car numbers for an event.
Title: Re: MJTiming discussion and releases
Post by: MurrayPeterson on November 16, 2018, 02:43:21 AM
https://drive.google.com/open?id=1lk416HaR6nO06HmTqn3L1TgbPjLVoTz-

Refuse to start timing if date has changed since startup, and asks the user to shut down and restart MJTiming.  This "solves" the problems caused by leaving MJTiming run overnight, which causes all sorts of scoring errors.
Title: Re: MJTiming discussion and releases
Post by: Reijo on November 16, 2018, 06:54:49 AM
https://drive.google.com/open?id=1lk416HaR6nO06HmTqn3L1TgbPjLVoTz-

Refuse to start timing if date has changed since startup, and asks the user to shut down and restart MJTiming.  This "solves" the problems caused by leaving MJTiming run overnight, which causes all sorts of scoring errors.

Would this affect an autox (or other event) that goes past midnight?  Wpuld it turn into a pumpkin?   ;)

R
Title: Re: MJTiming discussion and releases
Post by: MurrayPeterson on November 16, 2018, 09:37:10 AM
Would this affect an autox (or other event) that goes past midnight?  Wpuld it turn into a pumpkin?   ;)

Probably, but I am not really worried about events that go past midnight :)

Title: Re: MJTiming discussion and releases
Post by: Reijo on November 16, 2018, 11:50:27 AM
Would this affect an autox (or other event) that goes past midnight?  Wpuld it turn into a pumpkin?   ;)

Probably, but I am not really worried about events that go past midnight :)

haha.....  In LA they have had the "Night of the Living Dead" autox in August each year that starts at sundown and goes most of the night.   The big reason is that August is so damned hot, no one wants to stand out in the sun on an asphalt lot in 100 deg. F heat!   
Title: Re: MJTiming discussion and releases
Post by: MurrayPeterson on November 16, 2018, 03:49:16 PM
It's possible to use MJTiming for such an event -- it won't lose any data or anything else catastrophic.
Easiest "hack" is to change the computer's clock so that no date change occurs during the event.
Title: Re: MJTiming discussion and releases
Post by: MurrayPeterson on January 05, 2019, 06:22:03 AM
https://drive.google.com/open?id=1GKrEhNnq7sogigwaZ-jO_6KdDEZJK1bS

Change PAX to 2019 values
Requires manual copy to overwrite existing file:
Copy mjtiming\config_templates\_classData.csv to mjtiming\config\_classData.csv
Title: Re: MJTiming discussion and releases
Post by: MurrayPeterson on July 02, 2019, 05:03:51 PM
https://drive.google.com/open?id=1mhgdXkL49U6_coQzudIicXhU_E7gpVIM

Fixed 2 day scoring so that both days registration files do not need to be identical (or manually merged).

Note that Google considers zip files to be "unusual" and indicates a network problem on the download.  Just hit the download button and when it is downloaded, tell Chrome that you want to keep the file instead of discarding it.
Title: Re: MJTiming discussion and releases
Post by: MurrayPeterson on August 23, 2019, 10:11:47 AM
I have created a Facebook group called MJTiming to enable easier access to my software as well as easier conversations.  Just seach for "MJTiming" on Facebook.
Title: Re: MJTiming discussion and releases
Post by: MurrayPeterson on October 10, 2019, 08:07:45 AM
Release of October 10, 2019:
https://drive.google.com/open?id=1md9usWfCPKICCMDnl6S2_1-VWDeEZuDM&fbclid=IwAR02FHQkRRum0b-vLXAj31ttUZj8eXKLlw7JQmUZB7-p--o5QsEab0rfXtQ

Release notes:
- Changed score file names as follows:
    - Removed d1 and d2 designators for Set1 and Set2 scores
    - Added a 2-day designator for 2 day scoring so it won't overwrite 1 day scores
    - Changed score file names so they sort better by name in event folder
- Autogenerate both text and html scores when "Create Scores" button is pressed
- Only a single BAT file created that creates both text and html scores
- Open explorer window to event data folder when "Create Scores" button is pressed
- Team name (or number) now saved to CSVdata.csv file

To install, just unzip over top of existing files in c:\\mjtiming
If you wish to keep a backup copy of MJTiming, just copy the entire c:\\mjtiming folder to a location of you choice before copying in the new files.
Title: Re: MJTiming discussion and releases
Post by: MurrayPeterson on November 19, 2019, 11:22:32 AM
Updated PAX values for 2020:
https://drive.google.com/open?id=1t95VvwkyljcyhBcfOd3q8OwXCOvga95B

Just copy this file over top if the existing one in c:\mjtiming\config
Title: Re: MJTiming discussion and releases
Post by: MurrayPeterson on September 07, 2020, 03:54:56 PM
For those that might be interested in such things, I have released the source code for the program that generates HTML formatted scores (htmlscores.cs).  Go to my Facebook group called MJTiming for more details.
Title: Re: MJTiming discussion and releases
Post by: MurrayPeterson on September 18, 2023, 03:28:19 PM
https://drive.google.com/file/d/1Sul0_Tcys_UTDGzLJL0ODyA_cuxVTUVy/view?usp=drive_link

Added RAWtoNext and RAWtoFirst in PAX scoring output.
Title: Re: MJTiming discussion and releases
Post by: MurrayPeterson on March 02, 2024, 09:55:14 AM
https://drive.google.com/file/d/1w_oK_W5fp7ZcVgTa9zwqbG-cvdqa5Oaw/view?usp=drive_link

Ensured that UTF-8 characters were honoured all the way through to the results text file.  Note that when you view this file, you must use a font that honours UTF-8 character sets in order to not mangle some people's names (my suggestion is Lucida Console font).