mersenneforum.org  

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

Reply
 
Thread Tools
Old 2013-03-17, 05:51   #1
Uncwilly
6809 > 6502
 
Uncwilly's Avatar
 
"""""""""""""""""""
Aug 2003
101×103 Posts

22×3×11×71 Posts
Exclamation Inconsistent page display

For quite some time PrimeNet has been serving up pages that are not consistent. Some of them work ok and some are malfed. For example http://www.mersenne.org/primenet/ gives me a page (in Opera, which follows the HTML standards uber faithfully) with all of the menu choices strung out across the top and the data way of to the right after that (it is in the right 1/6 of the page, so a lot of scrolling.) But some others like http://www.mersenne.org/report_recent_results/ don't have that problem, they are aligned ok.

I poked around the code and found the differences that see to make it work or not.

This is the working section from a page that works
Code:
<body>

<div align="left">
  <table border="0" cellpadding="2" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="1000" height="533">
    <tr>
      <td colspan="2" width="714" height="19"><div align="left">
  <table border="0" cellpadding="2" cellspacing="0">
    <tr>
      <td valign="top">
      <a href="/webarchive/">
      <img border="0" src="/images/sm_logo_2007.jpg" width="184" height="92"></a></td>
      <td>
      <b><font size="5" face="Tahoma">Great Internet Mersenne Prime Search<br>
      PrimeNet </font></b><font face="Verdana" size="4">(v5.0)</font></td>
    </tr>
  </table>
</div></td>
    </tr>
    <tr>
      <td width="50" height="483" valign="top"><script src="/TreeMenu.js" language="JavaScript" type="text/javascript"></script>
<script language="JavaScript" type="text/JavaScript">
The is the similar section from a page that does not work:
Code:
<body>
<div align="left">
  <table border="0" cellpadding="2" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" >
    <tr>
      <td colspan="2"><div align="left">
  <table border="0" cellpadding="2" cellspacing="0">
    <tr>
      <td valign="top">
      <a href="/webarchive/">
      <img border="0" src="/images/sm_logo_2007.jpg" width="184" height="92"></a></td>
      <td>
      <b><font size="5" face="Tahoma">Great Internet Mersenne Prime Search<br>
      PrimeNet </font></b><font face="Verdana" size="4">(v5.0)</font></td>
    </tr>
  </table>
</div></td>
    </tr>
    <tr>
      <td width="8%" valign="top"><script src="/TreeMenu.js" language="JavaScript" type="text/javascript"></script>
<script language="JavaScript" type="text/JavaScript">
This works: <td width="50" height="483" valign="top"> this does not:<td width="8%" valign="top">

These work:
Code:
http://www.mersenne.org/report_top_500/
http://www.mersenne.org/report_top_500_LL/
http://www.mersenne.org/report_top_500_LLD/
http://www.mersenne.org/report_top_500_P-1/
http://www.mersenne.org/report_top_500_ECM/
http://www.mersenne.org/report_top_teams/
http://www.mersenne.org/report_top_teams_TF/
http://www.mersenne.org/report_top_teams_LL/
http://www.mersenne.org/report_top_teams_LLD/
http://www.mersenne.org/report_top_teams_P-1/
http://www.mersenne.org/report_top_teams_ECM/
http://www.mersenne.org/report_recent_results/
http://www.mersenne.org/report_recent_cleared/
http://www.mersenne.org/account/default.php
These are malfed (and the pages generated upon input for reports):
Code:
http://www.mersenne.org/primenet/
http://www.mersenne.org/thresholds/
http://www.mersenne.org/report_exponent/
http://www.mersenne.org/report_factors/
http://www.mersenne.org/report_factoring_effort/
http://www.mersenne.org/report_LL/
http://www.mersenne.org/report_ECM/
http://www.mersenne.org/report_benchmarks/
http://www.mersenne.org/update/
http://www.mersenne.org/cpus/
http://www.mersenne.org/workload/
http://www.mersenne.org/results/
http://www.mersenne.org/v4_migration/
http://www.mersenne.org/team/
http://www.mersenne.org/tmembers/
http://www.mersenne.org/tcpus/
http://www.mersenne.org/tworkload/
http://www.mersenne.org/tresults/
Uncwilly is offline   Reply With Quote
Old 2013-03-17, 15:00   #2
cheesehead
 
cheesehead's Avatar
 
"Richard B. Woods"
Aug 2002
Wisconsin USA

22×3×641 Posts
Default

Quote:
Originally Posted by Uncwilly View Post
For quite some time PrimeNet has been serving up pages that are not consistent. Some of them work ok and some are malfed.
Thanks for taking the time to document this!

Quote:
For example http://www.mersenne.org/primenet/ gives me a page (in Opera, which follows the HTML standards uber faithfully) with all of the menu choices strung out across the top and the data way of to the right after that (it is in the right 1/6 of the page, so a lot of scrolling.)
I've never seen that happen on any mersenne.org page (incl. all those you list) in Firefox. (I don't know whether that says anything about Opera vs. Firefox, or whether Firefox is sloppy -- I'm just reporting that for comparison. Maybe it means Firefox wouldn't be good for debugging these pages.)

Last fiddled with by cheesehead on 2013-03-17 at 15:05
cheesehead is offline   Reply With Quote
Old 2013-03-17, 15:21   #3
Mr. P-1
 
Mr. P-1's Avatar
 
Jun 2003

116910 Posts
Default

Quote:
Originally Posted by cheesehead View Post
I've never seen that happen on any mersenne.org page (incl. all those you list) in Firefox. (I don't know whether that says anything about Opera vs. Firefox, or whether Firefox is sloppy -- I'm just reporting that for comparison. Maybe it means Firefox wouldn't be good for debugging these pages.)
Ditto Chromium
Mr. P-1 is offline   Reply With Quote
Old 2013-03-17, 18:52   #4
sdbardwick
 
sdbardwick's Avatar
 
Aug 2002
North San Diego County

2·11·31 Posts
Default

No formatting errors on IE9.
Based on a cursory look at the HTML and description of the problem, it might just be a missing </td>...
sdbardwick is offline   Reply With Quote
Old 2013-03-17, 19:06   #5
ET_
Banned
 
ET_'s Avatar
 
"Luigi"
Aug 2002
Team Italia

3×1,601 Posts
Default

Quote:
Originally Posted by sdbardwick View Post
No formatting errors on IE9.
Based on a cursory look at the HTML and description of the problem, it might just be a missing </td>...
Firefox works great without </td>s...

Luigi
ET_ is offline   Reply With Quote
Old 2013-03-17, 20:33   #6
chalsall
If I May
 
chalsall's Avatar
 
"Chris Halsall"
Sep 2002
Barbados

19·499 Posts
Default

Quote:
Originally Posted by ET_ View Post
Firefox works great without </td>s...
Yeah. It shouldn't, but it does.

WRT Uncwilly report above, validator.w3.org can be a good friend to any web developer. It's results for the Primenet Activity Summary is an example.

(Not to pick on George or Scott -- it can be a royal pain to get an HTML page to be fully conformant while still working correctly in all browsers (*cough* Internet Exploder *caugh*). I haven't checked myself recently to see if all of GPU72 is.)
chalsall is offline   Reply With Quote
Old 2013-03-17, 20:58   #7
Batalov
 
Batalov's Avatar
 
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2

22×2,333 Posts
Default

I am an FF user (the institute IT installed IE on all company computers though, and just recently proudly "rolled out" IE9 (!) oh yes!), but for the compatibilty sake, I also have to check some pages every once in a while.

I've just noticed the latest M$soft bid to bump up the html5 compliance ...IE10. Tested it now. Hmm, canvas is alive for the first time! Oh joy, rapture!
Batalov is offline   Reply With Quote
Old 2013-03-23, 05:57   #8
cheesehead
 
cheesehead's Avatar
 
"Richard B. Woods"
Aug 2002
Wisconsin USA

11110000011002 Posts
Default

Quote:
Originally Posted by chalsall View Post
<snip> validator.w3.org can be a good friend to any web developer.
Yes!
cheesehead is offline   Reply With Quote
Old 2014-02-03, 01:07   #9
Uncwilly
6809 > 6502
 
Uncwilly's Avatar
 
"""""""""""""""""""
Aug 2003
101×103 Posts

22×3×11×71 Posts
Default

Thanks James for addressing this in your ministrations to PrimeNet!
It has been noticed.
Uncwilly is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Stats won't display Unregistered Information & Answers 1 2013-06-29 15:40
Inconsistent factors with TPSieve Caldera Twin Prime Search 7 2013-01-05 18:32
How to display the date davieddy Forum Feedback 3 2011-06-12 00:45
Problem with display garo Hardware 6 2005-05-17 15:38
Trouble with display ThomRuley Hardware 3 2005-01-17 23:11

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

Fri Mar 5 13:36:05 UTC 2021 up 92 days, 9:47, 0 users, load averages: 3.72, 2.94, 2.94

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.