mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > PrimeNet

Reply
 
Thread Tools
Old 2016-01-02, 12:10   #1
NBtarheel_33
 
NBtarheel_33's Avatar
 
"Nathan"
Jul 2008
Maryland, USA

45B16 Posts
Default LL results page

How difficult would it be to allow a search of LL results by a range of dates, rather than the present situation where one can only specify a start date and the search carries on all the way to the present?

For instance, let's say that I would like to check for LLs completed in the 52M range between 2010-01-01 and 2010-03-01. Right now, the best I can do is to search on the 52M range, and have results returned for 2010-01-01 to the present. I then have to ask the system to sort these results (of which there may be tens of thousands) by date, which takes time and places an undue burden on the server.

Surely, there is a better way. Just thought I'd throw out the idea.
NBtarheel_33 is offline   Reply With Quote
Old 2016-01-02, 20:45   #2
Madpoo
Serpentine Vermin Jar
 
Madpoo's Avatar
 
Jul 2014

2·5·7·47 Posts
Default

Quote:
Originally Posted by NBtarheel_33 View Post
How difficult would it be to allow a search of LL results by a range of dates, rather than the present situation where one can only specify a start date and the search carries on all the way to the present?

For instance, let's say that I would like to check for LLs completed in the 52M range between 2010-01-01 and 2010-03-01. Right now, the best I can do is to search on the 52M range, and have results returned for 2010-01-01 to the present. I then have to ask the system to sort these results (of which there may be tens of thousands) by date, which takes time and places an undue burden on the server.

Surely, there is a better way. Just thought I'd throw out the idea.
If your search needs are particular and specific, you could consider snagging the XML dumps of an entire year of results and parsing them on your system.

For any particular year from 1997 onwards:
http://www.mersenne.org/result_archive/2015.7z

Each yearly file is an archive of individually compressed .xml.bz2 files for each day (the same bz2 files that can be accessed separately, e.g. http://www.mersenne.org/result_archi...-12-31.xml.bz2

Warning, the compiled annual files are large. 2015 is 140 MB, 2010 like you might want is 165 MB.

(oh, and for anyone who does snarf these XMLs already, now that 2015 is history I did go ahead and create the 2015.7z archive for the whole year).
Madpoo is offline   Reply With Quote
Old 2016-01-02, 20:48   #3
Madpoo
Serpentine Vermin Jar
 
Madpoo's Avatar
 
Jul 2014

CDA16 Posts
Default

Quote:
Originally Posted by NBtarheel_33 View Post
How difficult would it be to allow a search of LL results by a range of dates, rather than the present situation where one can only specify a start date and the search carries on all the way to the present?

...

Surely, there is a better way. Just thought I'd throw out the idea.
PS, I could work on adding a date range (or single day) option, but I wanted to mention the XML option and "self serve" since that's already available for whatever complex analysis people have in mind.
Madpoo is offline   Reply With Quote
Old 2016-01-02, 21:42   #4
Madpoo
Serpentine Vermin Jar
 
Madpoo's Avatar
 
Jul 2014

2×5×7×47 Posts
Default

Quote:
Originally Posted by Madpoo View Post
PS, I could work on adding a date range (or single day) option, but I wanted to mention the XML option and "self serve" since that's already available for whatever complex analysis people have in mind.
Well, bleagh... fighting a cold and I wasn't doing anything else today except going through box after box of Kleenex...

Try this:
http://www.mersenne.org/report_ll/default.mock.php

Seems like it works okay. There weren't any results in the time frame and exponent range, you were curious about, by the way.

I'll have to test it more and maybe make it clear that leaving the end date blank will include everything up to the current time, but it's a start.
Madpoo is offline   Reply With Quote
Old 2016-01-03, 12:57   #5
alpertron
 
alpertron's Avatar
 
Aug 2002
Buenos Aires, Argentina

2·11·61 Posts
Default

Quote:
Originally Posted by Madpoo View Post
Try this:
http://www.mersenne.org/report_ll/default.mock.php

Seems like it works okay. There weren't any results in the time frame and exponent range, you were curious about, by the way.

I'll have to test it more and maybe make it clear that leaving the end date blank will include everything up to the current time, but it's a start.
I would like http://www.mersenne.org/report_factors/ to also have start date and end date options and for all users and for one specific user. Thanks in advance.
alpertron is offline   Reply With Quote
Old 2016-01-03, 13:32   #6
NBtarheel_33
 
NBtarheel_33's Avatar
 
"Nathan"
Jul 2008
Maryland, USA

111510 Posts
Default

Quote:
Originally Posted by Madpoo View Post
Well, bleagh... fighting a cold and I wasn't doing anything else today except going through box after box of Kleenex...

Try this:
http://www.mersenne.org/report_ll/default.mock.php

Seems like it works okay. There weren't any results in the time frame and exponent range, you were curious about, by the way.

I'll have to test it more and maybe make it clear that leaving the end date blank will include everything up to the current time, but it's a start.
Hope you're feeling better today. Knock on wood, no one in the family here has caught anything yet this year, thanks most likely in part to the general laziness of Winter in these parts so far .

That works beautifully, and does just what I was envisioning. I had recently been checking out some of the earlier milestone dates, and it was looking like a few of them were off by a day or two early or late, so I thought it might help resolve things to actually go back and look at when certain results were reported.

You could actually populate the "end date" box with the current date, and then it would be up to the user to change it to something else. Similar to the default "2" in the lower exponent limit box.

Anyway, thanks again. Perhaps your title ought to be elevated to "PrimeNet Server Ninja"!
NBtarheel_33 is offline   Reply With Quote
Old 2016-01-03, 13:33   #7
NBtarheel_33
 
NBtarheel_33's Avatar
 
"Nathan"
Jul 2008
Maryland, USA

21338 Posts
Default

Quote:
Originally Posted by Madpoo View Post
If your search needs are particular and specific, you could consider snagging the XML dumps of an entire year of results and parsing them on your system.

For any particular year from 1997 onwards:
http://www.mersenne.org/result_archive/2015.7z

Each yearly file is an archive of individually compressed .xml.bz2 files for each day (the same bz2 files that can be accessed separately, e.g. http://www.mersenne.org/result_archi...-12-31.xml.bz2

Warning, the compiled annual files are large. 2015 is 140 MB, 2010 like you might want is 165 MB.

(oh, and for anyone who does snarf these XMLs already, now that 2015 is history I did go ahead and create the 2015.7z archive for the whole year).
I was not aware of this resource. Very interesting and useful! Thanks!
NBtarheel_33 is offline   Reply With Quote
Old 2016-01-03, 23:33   #8
Madpoo
Serpentine Vermin Jar
 
Madpoo's Avatar
 
Jul 2014

2×5×7×47 Posts
Default

Quote:
Originally Posted by alpertron View Post
I would like http://www.mersenne.org/report_factors/ to also have start date and end date options and for all users and for one specific user. Thanks in advance.
Man, I stepped into that one... tweak one report and I shoulda knowed people would want the same feature on others. LOL

I can look at adding it to that one too. It's a very similar structure and the change itself wasn't too complicated. Won't be today though... I'll add it to the backburner.
Madpoo is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
New Manual Results Submission Page TheMawn PrimeNet 12 2014-04-09 14:30
results page no information jpldudes Information & Answers 1 2013-10-08 23:16
M47 not listed in LL results page Dubslow PrimeNet 7 2011-12-22 05:48
User summary page: CPU results last 24 hours thureduehrsen PrimeNet 2 2011-04-01 12:42
"Factoring only" results / stats in account details page schneelocke PrimeNet 3 2004-01-07 22:12

All times are UTC. The time now is 22:44.

Mon Mar 1 22:44:22 UTC 2021 up 88 days, 18:55, 0 users, load averages: 2.50, 2.57, 2.55

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, 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.