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)

James Heinrich 2015-09-17 15:44

[QUOTE=LaurV;410616]I see now a different problem, the links to your tables. They are not valid anymore the next day, because the things moved. Some "time absolute" links, like "from date, to date" would have to be used in posts like the one I put there, otherwise the links I give don't have any connection anymore with what I was saying[/QUOTE]That problem is now solved, at the expense of breaking any existing links :whistle:

Some examples:[list][*][url]http://www.mersenne.ca/status/tf[/url] = most recent available single-day status[*][url]http://www.mersenne.ca/status/tf/20150913/0/1/0[/url] = single-day status of a particular date (13-Sep-2015)[*][url]http://www.mersenne.ca/status/tf/0/2/1/0[/url] = compare most recent data to data of 2 days before[*][url]http://www.mersenne.ca/status/tf/20150913/2/1/0[/url] = compare specific date (13-Sep-2015) to data of 2 days prior[*][url]http://www.mersenne.ca/status/tf/20150916/20150913/1/0[/url] = compare specific date (16-Sep-2015) to data of another specific date (13-Sep-2015)[/list]

chalsall 2015-09-17 16:17

[QUOTE=James Heinrich;410630]That problem is now solved, at the expense of breaking any existing links :whistle:[/QUOTE]

Thanks James. I've updated the links on GPU72.

However, there's something not quite right with your GUI... For example, if you go to [URL="http://www.mersenne.ca/status/tf/0/7/3/4000"]http://www.mersenne.ca/status/tf/0/7/3/4000[/URL] things are as expected. But if you then change the "Days Prior" field and Submit, things are not as expected.

James Heinrich 2015-09-17 16:25

It seems to be working for me.

It's possible your browser is caching the .js file -- do a Ctrl-F5 to force-refresh the linked javascript file and I think it should fix your problem?

chalsall 2015-09-17 16:28

[QUOTE=James Heinrich;410637]It's possible your browser is caching the .js file -- do a Ctrl-F5 to force-refresh the linked javascript file and I think it should fix your problem?[/QUOTE]

Thanks.... :redface:

James Heinrich 2015-09-17 17:29

Another forced refresh will bring some changes that fixes some issues with the days-back part of the GUI.

Did I ever mention how much I hate working with Date objects in Javascript?
And then just when you think you got it working you try a different browser and it does something totally different. :bangheadonwall:

Madpoo 2015-09-17 18:26

[QUOTE=James Heinrich;410637]It seems to be working for me.

It's possible your browser is caching the .js file -- do a Ctrl-F5 to force-refresh the linked javascript file and I think it should fix your problem?[/QUOTE]

FWIW, whenever I update a JS or CSS or something like that, I bump a query parameter on it which will usually cache bust it.

Like /blah.js?v=20150917.1

Of course how cacheable it is depends on the server and it's expiration time on objects in the first place, but oh well.

chalsall 2015-09-17 18:49

[QUOTE=Madpoo;410657]FWIW, whenever I update a JS or CSS or something like that, I bump a query parameter on it which will usually cache bust it.[/QUOTE]

Yes... This is a common "trick" used with AJAX fetches et al.

James Heinrich 2015-09-17 19:12

[QUOTE=Madpoo;410657]FWIW, whenever I update a JS or CSS or something like that, I bump a query parameter on it which will usually cache bust it.[/QUOTE]I usually do as well, I was lazy. I have added that now.

LaurV 2015-09-17 19:42

Brilliant James! It is working perfect for me, and it seems the old links are redirected too (i.e. it won't let me with some "error 404" or so). Few more clicks and I am in the range and date I want. Perfect. Thanks a million. That is what I call "technical support in real time". You and Scott rock at it!

snme2pm1 2015-09-20 02:59

Something doesn't feel right in the propagation of the date specific qualification.
The algorithm seems too quick to introduce an absolute date.
I maintain tabs that I would refresh on new days.
In recent days, I tend to find that they have become date specific rather than "today".
Thus when refreshed they present unchanged information.

P.S. What would be the proper place for future discussion about mersenne.ca. facilities?
Chris might become annoyed by the continued use of this thread for matters quite unrelated to his GPU72 project.
Whilst there was a historic connection, that has been broken.

LaurV 2015-09-20 07:13

The non-date-specific links still work for me, you can bookmark them and click the bookmark instead of clicking refresh tab - tht is also a single mouse click.

Edit: I don't think Chris is upset about this discussion at all, it is connected to GPu72 and Gimps Visu anyhow. And because you reminded me, one thing which should be extremely useful to be saved from the old side, for "historical" reasons, is the collection of the movies with moving candle bars... Few of the movies I really love, I was part of them, and it should be a pity to be lost... Of course, an update of some of them would not hurt either, a lot o' progress was done since that time and a lot of other people contributed to it much more than myself, but I know that updating them is a freaking time consuming activity (I mean not only to put the data together, but rendering and compressing the movie too)


All times are UTC. The time now is 18:26.

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