![]() |
|
|
#67 |
|
Sep 2004
2·5·283 Posts |
Tnerual kindly sent me a new modem. I'll only change it when I upgrade the server to a quad-core, maybe next week or so.
Thank you very much. Carlos |
|
|
|
|
|
#68 |
|
Mar 2006
Germany
23·3·112 Posts |
i use an awk script to put one result (from the LLRnet server one result contains 3 text-lines with user, date/time and result) in a file with one line per result and all needed data. after that i load them into Ex*el with some vb-scripts to summarize the data or make the graph. that's it. this update i need an hour or so, includes updating the html-pages!
|
|
|
|
|
|
#69 | |
|
Banned
"Luigi"
Aug 2002
Team Italia
32·5·107 Posts |
Quote:
Now I decided to use MySQL and PHP, it's WAAAAAY faster to update ![]() Chapeau to your will and dedition! ![]() Luigi |
|
|
|
|
|
|
#70 |
|
Sep 2004
283010 Posts |
|
|
|
|
|
|
#71 |
|
Banned
"Luigi"
Aug 2002
Team Italia
32·5·107 Posts |
Well... the hard thing is designing the needed tables. I use the following schema.
Code:
USERS
id bigint(20) not null key unique
user varchar(30) not null
country varchar(25)
stats decimal(10,3)
n_divisori_propri smallint
n_divisori_programma smallint
TASK_DONE
from_N integer not null
to_N integer not null
from_k bigint(20) not null
to_k bigint(20) not null
user varchar(30) not null
stats decimal(10,3) not null
id bigint(20) not null key unique
type varchar(10) not null
TASK_RUNNING
from_N integer not null
to_N integer not null
from_k bigint(20) not null
to_k bigint(20) not null
user varchar(30) not null
date varchar(10) not null
status varchar(25) not null
id bigint(20) not null key unique
Then install MySQL on the server (or check MySQL and PHP services from your ISP). If you use a local installation of MySQL, you can preload all the tables, export the file in CSV format, and import it onto the ISP database. Once your tables are loaded, create some PHP pages: they are like HTML, but with some script in them that allow SQL queries from the database. Put the variables you get from the queries into PHP variables and print them out as HTML tables. You swear a week to get all the fields centered, and finally forget all the burden of counting and summing and substituting. The key is the script that inserts your results into the tables, and you can do it locally, reloading the tables via import on the server each time you modify it. All the accounting, HTML and recalculation of positions is done by PHP embedded into HTML. We can work a template together if you like it. Luigi Last fiddled with by ET_ on 2008-02-08 at 22:19 |
|
|
|
|
|
#72 |
|
Mar 2006
Germany
23×3×112 Posts |
sounds good.
i know, www.rieselprime.org provide php too, but my php-knowledge is far away from setting up a database with sql-statements (i know sql quite good). all the data shown in the summary-pages on that hompage should be stored in such DB so maintaining is heavenly easy. (by now i do this with awk scripts too). would be nice to work on such things! after the 24h race??? ![]()
|
|
|
|
|
|
#73 | |
|
Banned
"Luigi"
Aug 2002
Team Italia
481510 Posts |
Quote:
![]() I learnt PHP doing jobs like this, and now maintain both Billion Digits Project and FermatSearch in zero time. It's not hard to learn, one just has to keep in mind three or four items. We can arrange some discussion after the race, agreed. ![]() Luigi |
|
|
|
|
|
|
#74 |
|
Sep 2004
B0E16 Posts |
We appreciate. BTW, my offer still stands, I just need more free time to learn ecmserver settings. Last time I played with it I couldn't run it because a few files were missing, probably the work files
.Carlos |
|
|
|
|
|
#75 |
|
Sep 2004
2·5·283 Posts |
Top 5000 candidates are already in the server. It will take a day or two to clean the lower ranges. Let the real fun begin!
Last fiddled with by em99010pepe on 2008-02-10 at 21:16 |
|
|
|
|
|
#76 | |
|
May 2007
Kansas; USA
33×5×7×11 Posts |
Quote:
I'll delete the 320-333.2 files from the 1st post in that thread. It looks like I better add some more files to drive 1. I'll do that on Monday or Tuesday. From here on, I'll just leave it to you and Karsten to make sure all k / n pairs get tested that are reserved by the LLRnet server. If needed, I can assist in verifying. Gary Last fiddled with by gd_barnes on 2008-02-10 at 21:53 |
|
|
|
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| LLRnet servers for NPLB | kar_bon | No Prime Left Behind | 1343 | 2014-08-20 09:38 |
| NPLB LLRnet server #1 - dried | em99010pepe | No Prime Left Behind | 19 | 2008-03-26 06:19 |
| New LLRnet servers discussion | IronBits | Conjectures 'R Us | 11 | 2008-03-20 03:43 |
| CRUS LLRnet server discussion | em99010pepe | Conjectures 'R Us | 181 | 2008-02-04 19:51 |
| llrnet server down? | Molnar | Prime Sierpinski Project | 4 | 2006-10-19 14:32 |