Welcome, Guest. Please login or register.
Did you miss your activation email?
2012-Feb-12, 06:10 PM

Login with username, password and session length

Racehorse TALK



Pages: [1] 2 3 ... 9   Go Down
 
Author Topic: Computer Calculations and Knowledge Rules for Race  (Read 6995 times)
0 Members and 1 Guest are viewing this topic.
TheAnalyser
Listed
user 936
Offline Offline
Posts: 339
Original Post 2010-Apr-25, 05:19 PM

As Requested here is a topic to talk about calcuations/rules/ratings formulas.

As an added bonus I will release my code in the next few days(when I get time to write the install instructions) so that others who can not program will be able to collect their own data and devise their own rules/systems/formula.

If anyone wishes to add comments on ideas they use in their computer programs this would be greatly appreciated.
Logged
 
calgary
Group 1
user 61
Offline Offline
Posts: 8225
2010-Apr-25, 09:24 PM

Releasing your code is an extremely generous offer TA.  Thumb Up
Logged
TheAnalyser
Listed
user 936
Offline Offline
Posts: 339
2010-Apr-25, 10:23 PM

For those who want to use my program there a re afew things you need to get ready to use it.

Firstly you are going to need a copy of the mysql database installed.  It can be found at
http://dev.mysql.com/downloads/mysql/

When installing the program as root make the password root123
I have hardcoded this password into the program so if you don't set it to this then the prgram won't work.

Next you are going to need a copy of the java runtime enviroment.  Most computers have a copy of this now but if you need it you can get it from http://java.sun.com/javase/downloads/index.jsp  You only need the JRE unless you want to do your own coding.

Once you have these setup there is still the copy of the code and setting up the database.

The executable jar is attached.  Just extract it to a directory and you should be able to double click the HorseRacingDB.jar (depends on your jre).

Save table.sql to c:\

Next you need to open a command prompt (start - run - cmd) and type the following :

type "mysql -u root -p"

Enter your password of root123

type "create database pns;"

type "exit"

type "mysqldump -u root -p pns < c:\table.sql


Your database should now be created (but empty).

Double clicking the program should now work and the program should run fine.  You hit get Form to get the form daily.  Get Results will get the results from RISA and get Unitab data will get the data from unitab.  It will only record results/unitab data for those races for which ou have form.   It allows you to set how many days to go back for the results/unitab data.  Just leave this on 5 usually and you shouldn't have a problem

There are still lots of bugs but it is useable.

I'll improve it over time and will release the improvements to everyone.

[ ERROR: SPECIFIED ATTACHMENT MISSING ]
Logged
TheAnalyser
Listed
user 936
Offline Offline
Posts: 339
2010-Apr-25, 11:00 PM

table,.sql was not attached. .

It is attched to this post.

[ ERROR: SPECIFIED ATTACHMENT MISSING ]
Logged
TheAnalyser
Listed
user 936
Offline Offline
Posts: 339
2010-Apr-25, 11:03 PM

The program provided gets data from RISA and unitab.  Because of their copyright issues no prior data can be supplied.
Logged
Stormy
VIP Club
Group 2
user 112
Offline Offline
Posts: 2803
2010-Apr-25, 11:24 PM

Most of stuff is in FOXpro 
Logged
TheAnalyser
Listed
user 936
Offline Offline
Posts: 339
2010-Apr-25, 11:35 PM

FOXpro ?

Logged
Stormy
VIP Club
Group 2
user 112
Offline Offline
Posts: 2803
2010-Apr-25, 11:45 PM

you dont know foxpro
Logged
Stormy
VIP Club
Group 2
user 112
Offline Offline
Posts: 2803
2010-Apr-25, 11:46 PM

one of the best databases for handling huge data, straight up sql statments.
Logged
Stormy
VIP Club
Group 2
user 112
Offline Offline
Posts: 2803
2010-Apr-25, 11:51 PM

Do you know of

Sybase, Oracle, Foxpro, these are all SQL based.
Logged
TheAnalyser
Listed
user 936
Offline Offline
Posts: 339
2010-Apr-25, 11:54 PM

Quote
Sybase, Oracle, Foxpro, these are all SQL based.

Yep


I just used mysql cause its free.
I used java to code it cause its free.
I get the data from RISA and unitab cause its easy and free.

A quick  bug ... well mainly because I didn't need to fix it for myself ...
1. "Load system"  button doesn't work. I put it there but never found a use for it as I could grab the sql and run it against the database.  to do this just download toad for mysql, but then you need to learn SQL.

If some people end up using this program I'll fix it up.
Logged
Stormy
VIP Club
Group 2
user 112
Offline Offline
Posts: 2803
2010-Apr-25, 11:57 PM

fair enough .
Logged
Stormy
VIP Club
Group 2
user 112
Offline Offline
Posts: 2803
2010-Apr-25, 11:58 PM

so let me get this right, you are using RISA reults and UNitab data YES ?
and no other data .
« Last Edit: 2010-Apr-26, 12:01 AM by Stormy » Logged
TheAnalyser
Listed
user 936
Offline Offline
Posts: 339
2010-Apr-26, 12:01 AM

I use RISA Form data.
I use RISA results (cause it has full results)
I use the Unitab XML feed for further form data (and comparison with RISA data).  I mainly grab the unitab rating, track condition and various pool prices/results.

At the moment yes ... no other data.

I intend to get the data from racingandsports as well.
Logged
Stormy
VIP Club
Group 2
user 112
Offline Offline
Posts: 2803
2010-Apr-26, 12:04 AM

I use RISA Form data.
I use RISA results (cause it has full results)
I use the Unitab XML feed for further form data (and comparison with RISA data).  I mainly grab the unitab rating, track condition and various pool prices/results.

At the moment yes ... no other data.

I intend to get the data from racingandsports as well.


That's it and nothing else ?  not being smart, just asking. biggrin
Logged
Pages: [1] 2 3 ... 9   Go Up
 
 
Jump to:  

 - Links - Luxbet Horse Racing Betting - Racenet - Horse Racing - Noms and Acc - QTAB - TAB Horse Racing Betting - Racing and Sports - Horse Racing Only
Powered by SMF 1.1.15 | SMF © 2011, Simple Machines
TinyPortal v0.9.8 © Bloc | Adagio design by Bloc