mersenneforum.org  

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

Reply
 
Thread Tools
Old 2012-04-17, 15:14   #12
LaurV
Romulan Interpreter
 
LaurV's Avatar
 
Jun 2011
Thailand

22×5×419 Posts
Default

Thanks James, meantime I clarified it by myself, as I edited my previous post to put the link to your page in the "notes", then I saw the "show source" button on your page (I am not using it very often). Looking into the source I saw the "$scaling" variable. The time limit forbade me to edit the post.
LaurV is online now   Reply With Quote
Old 2012-04-18, 00:01   #13
petrw1
1976 Toyota Corona years forever!
 
petrw1's Avatar
 
"Wayne"
Nov 2006
Saskatchewan, Canada

17×251 Posts
Default

Quote:
Originally Posted by chalsall View Post
What is even funnier (or, perhaps, sadder) is I and a few others compiled our own versions of mprime to remove the sanity check, and took the last few hundred low candidates up to 60 bits using CPUs just for the hell of it a couple of years ago....
Or you could have checked for a v24 client. It did not have the sanity check.
petrw1 is offline   Reply With Quote
Old 2012-04-22, 20:59   #14
chalsall
If I May
 
chalsall's Avatar
 
"Chris Halsall"
Sep 2002
Barbados

23×1,103 Posts
Default

Quote:
Originally Posted by chalsall View Post
Would it be OK if this was a function from the View Assignments page? It would be much easier to implement there.
OK, this has now been implemented on the View Assignments page after regenerating one or more assignments. Below the text to cut and paste there appears a "Download WORKTODO.TXT" button.

Could I ask people check that this works across all browsers and OSs? It works fine under Firefox on Linux, but I'm not sure the HTTP Header MIME type ("application/force-download") will work under Internet Exploder.

I'll also add this abiliity to each of the worktype reservation pages, so it will be available after someone reserves work initially. This is obviously so they don't have to go through the extra steps of Viewing Assignments, selecting the new ones, regenerating and then downloading.
chalsall is offline   Reply With Quote
Old 2012-04-22, 22:10   #15
James Heinrich
 
James Heinrich's Avatar
 
"James Heinrich"
May 2004
ex-Northern Ontario

52×113 Posts
Default

Quote:
Originally Posted by chalsall View Post
Could I ask people check that this works across all browsers and OSs? It works fine under Firefox on Linux, but I'm not sure the HTTP Header MIME type ("application/force-download") will work under Internet Exploder.
Does anyone actually use IE? :surprised

Unsurprisingly, it works perfectly under Windows on Firefox 3, Opera, and Chrome. IE fails to download (just displays as HTML, as in line breaks ignored).

It would probably be better to do this:
Code:
header('Content-type: text/plain');
header('Content-Disposition: attachment; filename="worktodo.txt"');
echo $worktodo;
James Heinrich is offline   Reply With Quote
Old 2012-04-22, 22:23   #16
chalsall
If I May
 
chalsall's Avatar
 
"Chris Halsall"
Sep 2002
Barbados

23×1,103 Posts
Default

Quote:
Originally Posted by James Heinrich View Post
It would probably be better to do this:
Code:
header('Content-type: text/plain');
header('Content-Disposition: attachment; filename="worktodo.txt"');
echo $worktodo;
Cool. Thanks James.

Of course, I had to modify the PHP to be Perl....

Can you test it again, and make sure it works under Internet Exploder?
chalsall is offline   Reply With Quote
Old 2012-04-23, 00:10   #17
James Heinrich
 
James Heinrich's Avatar
 
"James Heinrich"
May 2004
ex-Northern Ontario

52·113 Posts
Default

Quote:
Originally Posted by chalsall View Post
Can you test it again, and make sure it works under Internet Exploder?
Amazing, it does!
I'm sure I'll be the last person ever to know that.
James Heinrich is offline   Reply With Quote
Old 2012-04-23, 02:21   #18
LaurV
Romulan Interpreter
 
LaurV's Avatar
 
Jun 2011
Thailand

22·5·419 Posts
Default

@James Heinrich && chalsall :
Good job!

p.s. still waiting for my visualization-related request, see OP....

edit: didn't realize this is first-in-last-served list (just kidding).

Last fiddled with by LaurV on 2012-04-23 at 02:23
LaurV is online now   Reply With Quote
Old 2012-04-23, 03:51   #19
Batalov
 
Batalov's Avatar
 
"Serge"
Mar 2008
Phi(3,3^1118781+1)/3

898610 Posts
Default

Quote:
Originally Posted by LaurV View Post
Yeah, I would do it with pleasure! I am the crazy farang who took M1061 from 62 to 63 bits...
This number was ECM'd to ~200-bit (t60, i.e. 60-digits). It is virtually impossible for it to have 62, 63, 64-bit factors, or even 80-bit or 100-bit factors (if you are thinking about going forward, forward and beyond in your endevour). If you are thinking that "ECM misses some tough factors", then you are thinking about P-1. Estimate the corresponding probabilities using the known formulae.

Quote:
Originally Posted by LaurV View Post
I HAVE THE HARDWARE!
That is a fairly poor excuse to effectively waste it. Instead, it is a good idea to let the hardware run something useful and mainstream software -- and in parallel let your brain "run" some new and exciting ideas and possibly find something for the hardware. That's my two cents, but of course you can do whatever you desire if your h/w.
Batalov is offline   Reply With Quote
Old 2012-04-23, 05:30   #20
LaurV
Romulan Interpreter
 
LaurV's Avatar
 
Jun 2011
Thailand

22×5×419 Posts
Default

Quote:
Originally Posted by Batalov View Post
...
I generally agree with everything you said. Did you click the link which follows after "I have the hardware" in my post? I am talking about ECM too, in almost the same words.
LaurV is online now   Reply With Quote
Old 2012-04-23, 15:22   #21
chalsall
If I May
 
chalsall's Avatar
 
"Chris Halsall"
Sep 2002
Barbados

23×1,103 Posts
Default

Quote:
Originally Posted by James Heinrich View Post
I'm sure I'll be the last person ever to know that.
Indeed. You certainly saved me a great deal of Googling (and head bashing). It is annoying how Micro$oft still delude themselves that they're so dominate that their Internet browser does just about everything differently than everyone else...

To hopefully help others who have a need for the cross-browser ability to force a download rather than rendering the returned data, the Perl needed (using the CGI Perl module) is:

Code:
$q = new CGI;
print $q->header( -type => "text/plain",
-Content_Disposition => "attachment; filename=\"worktodo.txt\"");
And, so everyone knows, I've added the "Download WORKTODO.TXT" functionality to all the "Get Assignment" pages.

Plus, I took the opportunity to implement a request from Dubslow from quite some time ago -- the P-1 assignment page now offers Number of CPUs / Number per CPU / [Worker #n] functionality.
chalsall is offline   Reply With Quote
Old 2012-04-23, 15:26   #22
chalsall
If I May
 
chalsall's Avatar
 
"Chris Halsall"
Sep 2002
Barbados

23·1,103 Posts
Default

Quote:
Originally Posted by LaurV View Post
p.s. still waiting for my visualization-related request, see OP....

edit: didn't realize this is first-in-last-served list (just kidding).
I know you were kidding, but so you know... What you've requested is a bit more "tricky" -- the download request was trivial.

Work on your and Dubslow's requests are already underway in the Mersenne.Info development and testing environment. Plus a couple of other things I've been wanting to implement for quite some time....
chalsall is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
AVX? (Other new features?) Dubslow Software 6 2011-10-16 14:03
A little request 10metreh Aliquot Sequences 8 2009-10-07 18:13
Upcoming features Xyzzy Forum Feedback 1 2007-11-26 18:57
New features in Prime95 v22.9 guido72 Software 4 2003-03-02 23:54
Desired Features/Addins Complex33 Software 5 2002-09-05 06:13

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

Tue Mar 31 02:22:47 UTC 2020 up 5 days, 23:55, 0 users, load averages: 1.74, 1.77, 1.70

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.