mersenneforum.org  

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

Reply
 
Thread Tools
Old 2008-04-25, 00:18   #56
Batalov
 
Batalov's Avatar
 
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2

9,497 Posts
Default Results Details page in V5 need DB tuning

http://v5www.mersenne.org/results/
...this needs a bit of database query optimization. Several times I simply thought that this particular page doesn't work at all, but then decided to sit it out.... and after THREE (!!) minutes - voila -
____________________
Work Results Details
<user> has 11 results in the last 365 days
....<skipped>...

odbc_query_rows_array() 152125.65 ms 99.49%
odbc_fetch_row_column_array() 494.38 ms 0.32%
v5_start_odbc_tx() 162.42 ms 0.11%
.....
Batalov is offline   Reply With Quote
Old 2008-04-25, 08:16   #57
S485122
 
S485122's Avatar
 
"Jacob"
Sep 2006
Brussels, Belgium

1,709 Posts
Default Bad results query problem

When a "Print simple text report" query includes bad results, the query does not give bad results past "14587847,flng" if that record is in the scope of the search of course. A query including that record whithout the simple text option gives a correct result, it appears that the User ID of the problematic record is "flng<LN". Probably the "<" character gives the problems...

Jacob
S485122 is offline   Reply With Quote
Old 2008-04-25, 09:55   #58
James Heinrich
 
James Heinrich's Avatar
 
"James Heinrich"
May 2004
ex-Northern Ontario

23·149 Posts
Default

Quote:
Originally Posted by S485122 View Post
..."flng<LN". Probably the "<" character gives the problems...
As per posts #53/54 above. The "<LN " is interpreted as the start of a new HTML tag and the rest of the page is trying to be interpreted as parameters of the "<LN></LN>" tag, which is why it doesn't show up. All data output in the report should be escaped for HTML special characters (e.g. "<" becomes "&lt;", etc.)
James Heinrich is offline   Reply With Quote
Old 2008-04-25, 13:50   #59
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

1D7716 Posts
Default

Quote:
Originally Posted by James Heinrich View Post
However, normal HTML rules still apply inside <pre> tags, you need to escape special characters, in PHP you'd do it like:
Code:
echo '<pre>'.htmlspecialchars($text).'</pre>';
Thanks James. Your fix has been applied.
Prime95 is offline   Reply With Quote
Old 2008-04-25, 15:47   #60
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

19·397 Posts
Default

Quote:
Originally Posted by Batalov View Post
[odbc_query_rows_array() 152125.65 ms
Fixed. Creating the index - easy. Forcing SQLServer to use it - quite difficult.

Last fiddled with by Prime95 on 2008-04-25 at 15:47
Prime95 is offline   Reply With Quote
Old 2008-04-27, 09:09   #61
Batalov
 
Batalov's Avatar
 
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2

9,497 Posts
Default

Thanks, this was fast. And it works fast.

Another request - for a single p, could we see all three SQL reports in one page -
http://v5www.mersenne.org/report_fac...xp_lo=36771277
http://v5www.mersenne.org/report_fac...xp_lo=36771277
http://v5www.mersenne.org/report_ll/?exp_lo=36771277

==> in one webpage, e.g.
http://v5www.mersenne.org/report/?exp=36771277 plus optionally
"XXX has reserved it and has YY% progress in stage ##".

And yet another (obviates the previous) - the reverse V5-to-V4 bridge (send some V5 data back into V4 database). You know, a lot of exponents are marked "*" in V4 reports while via V5 reports it is clear that P-1 was done and the "*" should have been erased in V4 individual progress reports (avoiding unnecessary work).
Batalov is offline   Reply With Quote
Old 2008-05-01, 15:24   #62
crash893
 
crash893's Avatar
 
Sep 2002

23·37 Posts
Default

I just recently started on v5

i noticed that when i did the client droped the number it was currently working on and started a new one assigned from the v5 server.

I dont mind i will just add it to the work to do for a diffrent client but is there a way to have the clients finish up what they are doing then move over?
crash893 is offline   Reply With Quote
Old 2008-05-04, 17:55   #63
S485122
 
S485122's Avatar
 
"Jacob"
Sep 2006
Brussels, Belgium

1,709 Posts
Default

I hope I did not miss something. It would be nice to have the possibility of loggin in automatically to ones account on the V5 server. It could be done via a cookie or the way it is handled on the V4 server or some other way... But I do not use the feature remember password on my computers for obvious reasons. The PrimeNet password is an exception that will not have me change the settings of Firefox or IE. I manage the cookies via Spy-Bot's exception list.

Suggestion sent to Scott via E-Mail as well.

Jacob
S485122 is offline   Reply With Quote
Old 2008-05-04, 19:31   #64
crash893
 
crash893's Avatar
 
Sep 2002

23×37 Posts
Default

Quote:
Originally Posted by S485122 View Post
I hope I did not miss something. It would be nice to have the possibility of loggin in automatically to ones account on the V5 server. It could be done via a cookie or the way it is handled on the V4 server or some other way... But I do not use the feature remember password on my computers for obvious reasons. The PrimeNet password is an exception that will not have me change the settings of Firefox or IE. I manage the cookies via Spy-Bot's exception list.

Suggestion sent to Scott via E-Mail as well.

Jacob

you can catch the url it sends that has your name and password in it and save that as your page rather than the home page


for example mine is

htt p://v5 ww w.merse nne.org/mem ber/?use r_login=cra sh893&us er_passwor d=xxxxx xx &B1= GO

sorry i had to add some spaces to keep it from being a url and truncating it

Last fiddled with by crash893 on 2008-05-04 at 19:32
crash893 is offline   Reply With Quote
Old 2008-06-06, 13:17   #65
retina
Undefined
 
retina's Avatar
 
"The unspeakable one"
Jun 2006
My evil lair

11000010100102 Posts
Default

Is the milestones page "live" or periodically (p)recompiled?

There is no date to show when it was last updated. Perhaps some kind programmer could add a line to say the date of generation?
retina is online now   Reply With Quote
Old 2008-06-06, 13:24   #66
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

19·397 Posts
Default

It is actually live. However, the data only changes significantly when I download v4 results and upload them to the v5 server.

When the v4-to-v5 bridge is working the changes will occur frequently
Prime95 is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
My plan for RSA factoring distributed computing stathmk Open Projects 37 2019-12-08 04:36
A man, a plan, a cat, a ham, a yak, a yam, a hat, a canal--Panama! Xyzzy Math 5 2015-11-04 17:19
New Server Plan Prime95 PrimeNet 19 2009-11-28 13:56
Wolfram Alpha Mini-Geek Lounge 25 2009-05-23 11:03
v5 PrimeNet alpha & beta testing Old man PrimeNet PrimeNet 94 2007-05-16 05:26

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


Fri Aug 6 07:04:42 UTC 2021 up 14 days, 1:33, 1 user, load averages: 2.60, 2.70, 2.68

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.