mersenneforum.org  

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

Reply
 
Thread Tools
Old 2017-11-07, 15:44   #1332
kladner
 
kladner's Avatar
 
"Kieren"
Jul 2011
In My Own Galaxy!

97×103 Posts
Default

Quote:
Originally Posted by Dubslow View Post
Not even a checkbox, a more aethestic version (IMO) would be a single line with something like "x expired assignments (click to expand)", which expansion would replace said line.
+1
kladner is offline   Reply With Quote
Old 2017-11-07, 16:52   #1333
GP2
 
GP2's Avatar
 
Sep 2003

1010000101012 Posts
Default

Quote:
Originally Posted by Dubslow View Post
Not even a checkbox, a more aethestic version (IMO) would be a single line with something like "x expired assignments (click to expand)", which expansion would replace said line.
That's less than ideal, because you are merely hiding the results. You are still spending the time to do the database query. The checkbox would skip the database query entirely.

For small exponents with lots of expired assignments, it can take several seconds to check their status, for instance M1277. If it is a 10k range of exponents rather than a single exponent, it can take half a minute or so. Whereas exponents without a lot of "baggage" usually display almost instantly.

A lot of time and server effort is spent on retrieving things that clutter the display and will be ignored anyway.

Maybe the default should be to display only "current status": factors, LL residues, PRP and PRP-cofactor residues, and current assignment if any. A lot of the time that's all you want. Anything that's "history" (including expired assignments) would require a checkbox.
GP2 is offline   Reply With Quote
Old 2017-11-07, 17:05   #1334
James Heinrich
 
James Heinrich's Avatar
 
"James Heinrich"
May 2004
ex-Northern Ontario

55 Posts
Default

Quote:
Originally Posted by GP2 View Post
That's less than ideal, because you are merely hiding the results. You are still spending the time to do the database query.
Not necessarily. You display the "click to expand" on page load, and use AJAX to load in the actual details iff someone clicks that.

Like on my PRP page, if you click "P-<digits>" it expands it to the full decimal representation, but only on demand.

Last fiddled with by James Heinrich on 2017-11-07 at 17:21
James Heinrich is offline   Reply With Quote
Old 2017-11-08, 00:50   #1335
Dubslow
Basketry That Evening!
 
Dubslow's Avatar
 
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88

3·2,399 Posts
Default

Quote:
Originally Posted by GP2 View Post
That's less than ideal, because you are merely hiding the results. You are still spending the time to do the database query. The checkbox would skip the database query entirely.
The full query is only run when expansion is clicked, as JH says. That might make expansion slow in the large cases, but only when you click it.

(I suppose that might require storing the count of expired assignments separately in the table, or just leave it out of the "expand" row.)

Last fiddled with by Dubslow on 2017-11-08 at 00:50
Dubslow is offline   Reply With Quote
Old 2017-11-08, 01:33   #1336
retina
Undefined
 
retina's Avatar
 
"The unspeakable one"
Jun 2006
My evil lair

16B816 Posts
Default

Quote:
Originally Posted by James Heinrich View Post
Not necessarily. You display the "click to expand" on page load, and use AJAX to load in the actual details iff someone clicks that.

Like on my PRP page, if you click "P-<digits>" it expands it to the full decimal representation, but only on demand.
No JS please. I also hate the current trend of websites to hide everything behind "click here to ..." things. I like to have all the information there without having to waste time clicking around for hidden things like it is some sort of game for a 5 year old.

I prefer the checkbox option. It can also be stored as a link in the GET query so once someone has got their desired information they can save the link for future visits without needing to "click here" after the page is loaded.
retina is online now   Reply With Quote
Old 2017-11-10, 19:19   #1337
Madpoo
Serpentine Vermin Jar
 
Madpoo's Avatar
 
Jul 2014

29·113 Posts
Default

Quote:
Originally Posted by Mark Rose View Post
I like to see expired LL/TF assignments so I have a good idea if I'm about to get poached if I'm manually reserving an assignment.
I do too... so I did think of an alternate idea which is to show recent expired assignments (in the past XX days), or maybe only show expired assignments if they're still checking in even though expired.

There would still, under that idea, be a checkbox to show *all* of the expired assignments for the truly curious folks who may want to look at something in particular, but for the average use, having all of those show up has little benefit and only clutters things... IMO.
Madpoo is offline   Reply With Quote
Old 2017-11-10, 19:28   #1338
Mark Rose
 
Mark Rose's Avatar
 
"/X\(‘-‘)/X\"
Jan 2013

23×359 Posts
Default

Quote:
Originally Posted by Madpoo View Post
I do too... so I did think of an alternate idea which is to show recent expired assignments (in the past XX days), or maybe only show expired assignments if they're still checking in even though expired.

There would still, under that idea, be a checkbox to show *all* of the expired assignments for the truly curious folks who may want to look at something in particular, but for the average use, having all of those show up has little benefit and only clutters things... IMO.
That's fair.
Mark Rose is offline   Reply With Quote
Old 2017-12-06, 03:19   #1339
potonono
 
potonono's Avatar
 
Jun 2005
USA, IL

193 Posts
Default

The mersenne.org/workload/ page shows UNKNOWN WORKTYPE "150" down in the work-to-do section for PRP tests rather than the expected PRP=xyz,#,#,M#,# that is in an actual work-to-do file.
potonono is offline   Reply With Quote
Old 2017-12-09, 18:54   #1340
Madpoo
Serpentine Vermin Jar
 
Madpoo's Avatar
 
Jul 2014

29×113 Posts
Default

Quote:
Originally Posted by potonono View Post
The mersenne.org/workload/ page shows UNKNOWN WORKTYPE "150" down in the work-to-do section for PRP tests rather than the expected PRP=xyz,#,#,M#,# that is in an actual work-to-do file.
Can you share an example worktodo entry for a PRP test (XX out the assignment ID). I can try fixing up that page but since I haven't done any PRP tests myself, I don't actually know what such a line should look like.
Madpoo is offline   Reply With Quote
Old 2017-12-09, 19:13   #1341
James Heinrich
 
James Heinrich's Avatar
 
"James Heinrich"
May 2004
ex-Northern Ontario

55 Posts
Default

Code:
PRP=(<assignment_id>,)1,2,<exponent>,-1(,"comma,separated,knownfactors")
James Heinrich is offline   Reply With Quote
Old 2017-12-09, 20:20   #1342
GP2
 
GP2's Avatar
 
Sep 2003

29·89 Posts
Default

Quote:
Originally Posted by James Heinrich View Post
Code:
PRP=(<assignment_id>,)1,2,<exponent>,-1(,"comma,separated,knownfactors")
Well, not exactly.

For PRP cofactor double checking:

Between the -1 and the comma-separated list of known factors, there is 99,0,3,1 if it's a double-check of a Type 1 first-time result and 99,0,3,5 if it's a double check of a first-time type 5 result.

For PRP cofactor first-time checking:

It's still a valid line if those four fields are omitted, and I think it just defaults to Type 5. If I'm not mistaken, first-time PRP test assignments do omit those fields, but I don't have any current examples to look at.

For PRP primality double-checking:

Obviously there is no list of known factors, and after the -1 there are the fields "75,0,3,4" (no factors below 275, uses base 3 as the work type, and uses residue type 4, to match the first time test that was done by preda using gpuOwL).

For PRP primality first-time checking:

Obviously there is no list of known factors, and the fields just end with the -1
GP2 is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Official "Faits erronés dans de belles-lettres" thread ewmayer Lounge 39 2015-05-19 01:08
Official "all-Greek-to-me Fiction Literature and Cinema" Thread ewmayer Science & Technology 41 2014-04-16 11:54
Official "Lasciate ogne speranza" whinge-thread cheesehead Soap Box 56 2013-06-29 01:42
Official "Ernst is a deceiving bully and George is a meanie" thread cheesehead Soap Box 61 2013-06-11 04:30
Official "String copy Statement Considered Harmful" thread Dubslow Programming 19 2012-05-31 17:49

All times are UTC. The time now is 04:13.

Tue Oct 27 04:13:06 UTC 2020 up 47 days, 1:24, 0 users, load averages: 1.54, 1.78, 1.80

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.