mersenneforum.org

mersenneforum.org (https://www.mersenneforum.org/index.php)
-   GPU to 72 (https://www.mersenneforum.org/forumdisplay.php?f=95)
-   -   Future requests? (https://www.mersenneforum.org/showthread.php?t=16727)

LaurV 2012-04-17 15:14

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.

petrw1 2012-04-18 00:01

[QUOTE=chalsall;296562]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.... :smile:[/QUOTE]

Or you could have checked for a v24 client. It did not have the sanity check.

chalsall 2012-04-22 20:59

[QUOTE=chalsall;296563]Would it be OK if this was a function from the View Assignments page? It would be [U][I]much[/I][/U] easier to implement there.[/QUOTE]

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.

James Heinrich 2012-04-22 22:10

[QUOTE=chalsall;297054]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.[/QUOTE]Does anyone actually [i]use[/i] 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;[/code]

chalsall 2012-04-22 22:23

[QUOTE=James Heinrich;297062]It would probably be better to do this:[code]header('Content-type: text/plain');
header('Content-Disposition: attachment; filename="worktodo.txt"');
echo $worktodo;[/code][/QUOTE]

Cool. Thanks James.

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

Can you test it again, and make sure it works under Internet Exploder?

James Heinrich 2012-04-23 00:10

[QUOTE=chalsall;297063]Can you test it again, and make sure it works under Internet Exploder?[/QUOTE]Amazing, it does! :smile:
I'm sure I'll be the last person ever to know that. :razz:

LaurV 2012-04-23 02:21

@James Heinrich && chalsall :
Good job! :tu:

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

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

Batalov 2012-04-23 03:51

[QUOTE=LaurV;296593]Yeah, I would do it with pleasure! I am the crazy farang who took M1061 from 62 to 63 bits... [/QUOTE]
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=LaurV;296593]I HAVE THE HARDWARE![/QUOTE]
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.

LaurV 2012-04-23 05:30

[QUOTE=Batalov;297077]...[/QUOTE]
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.

chalsall 2012-04-23 15:22

[QUOTE=James Heinrich;297067]I'm sure I'll be the last person ever to know that. :razz:[/QUOTE]

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... :cry:

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\"");[/CODE]

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 2012-04-23 15:26

[QUOTE=LaurV;297070]p.s. still waiting for my visualization-related request, see OP.... :razz:

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

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.... :smile:


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

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2022, Jelsoft Enterprises Ltd.