![]() |
|
|
#232 |
|
Aug 2012
New Hampshire
23×101 Posts |
Please consider...
F.Y.I. The leaderboard will have to be fixed to work with the new GIMPS pages MISFIT can no longer parse http://www.mersenne.org/report_top_500/ I'll shoot for a MISFIT patch by the weekend. What would really be cool is a version of the stats page that returned XML so I don't have to screen scrape then convert to XML on my side. It sure would make building a GIMPS leaderboard phone app easier. (not that anyone is asking for such a thing) Code:
<?xml version="1.0" standalone="yes"?>
<NewDataSet>
<xs:schema id="NewDataSet" xmlns="" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xs:element name="NewDataSet" msdata:IsDataSet="true" msdata:MainDataTable="StatsTable" msdata:UseCurrentLocale="true">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="StatsTable">
<xs:complexType>
<xs:sequence>
<xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" type="xs:int" />
<xs:element name="rank" msdata:ReadOnly="true" msdata:Caption="Rank" type="xs:int" minOccurs="0" />
<xs:element name="person" msdata:Caption="Person" type="xs:string" minOccurs="0" />
<xs:element name="credit" msdata:Caption="Ghz Days Credit" type="xs:double" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
<xs:unique name="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//StatsTable" />
<xs:field xpath="id" />
</xs:unique>
</xs:element>
</xs:schema>
<StatsTable>
<id>0</id>
<rank>1</rank>
<person>THEJUDGER</person>
<credit>1204413.201</credit>
</StatsTable>
<StatsTable>
<id>1</id>
<rank>2</rank>
<person>NEVER ODD OR EVEN</person>
<credit>906154.351</credit>
</StatsTable>
Last fiddled with by swl551 on 2014-10-12 at 12:18 |
|
|
|
|
|
#233 |
|
Dec 2002
5·163 Posts |
The 'Most recent cleared' list has two vertical scroll bars. One of them is not used. It would be less confusing/more esthetic if a scroll bar is either used or not displayed.
|
|
|
|
|
|
#234 | |
|
"Jacob"
Sep 2006
Brussels, Belgium
1,709 Posts |
Quote:
In that same report some hiccups do appear : Code:
TheJudger Manual testing 68642207 F-PM1 Oct 12 2014 4:39PM 0.0 2.5551 21445402905229038631109113 TheJudger Manual testing 70598147 F-PM1 Oct 12 2014 4:39PM 0.0 5.4743 1566412351258828452690480338649165988814871246977 TheJudger Manual testing 70598147 F-PM1 Oct 12 2014 4:39PM 0.0 5.4743 1566412351258828452690480338649165988814871246977 TheJudger Manual testing 78992827 F-PM1 Oct 12 2014 4:39PM 0.0 8.1747 3277351443012856336789601 TheJudger Manual testing 78951793 F-PM1 Oct 12 2014 4:39PM 0.0 3.8866 8632004845949323282833271 TheJudger Manual testing 70234819 F-PM1 Oct 12 2014 4:39PM 0.0 2.8004 3862142044227688474819567 TheJudger Manual testing 78991153 F-PM1 Oct 12 2014 4:39PM 0.0 8.1747 39391963745149259402173826729 TheJudger Manual testing 72855707 F-PM1 Oct 12 2014 4:39PM 0.0 2.7186 2004965467152274683237527 TheJudger Manual testing 78548549 F-PM1 Oct 12 2014 4:39PM 0.0 3.8866 5420344603509705124758577 TheJudger Manual testing 72855689 F-PM1 Oct 12 2014 4:39PM 0.0 2.7186 88180296313195560474857 TheJudger Manual testing 78548467 F-PM1 Oct 12 2014 4:39PM 0.0 3.8866 56722614925121005645839419906553845091822499901725481423 TheJudger Manual testing 78548467 F-PM1 Oct 12 2014 4:39PM 0.0 3.8866 56722614925121005645839419906553845091822499901725481423 TheJudger Manual testing 74506343 F-PM1 Oct 12 2014 4:39PM 0.0 6.5690 34261612362761935957478977 TheJudger Manual testing 78548417 F-PM1 Oct 12 2014 4:39PM 0.0 8.1747 3102699374115027381906979512991 TheJudger Manual testing 70612307 F-PM1 Oct 12 2014 4:39PM 0.0 5.4743 477421324208926378840703 TheJudger Manual testing 70218359 F-PM1 Oct 12 2014 4:39PM 0.0 2.8004 71445594648112827221596505052906998133757634209 TheJudger Manual testing 70218359 F-PM1 Oct 12 2014 4:39PM 0.0 2.8004 71445594648112827221596505052906998133757634209 TheJudger Manual testing 78548329 F-PM1 Oct 12 2014 4:39PM 0.0 3.8866 108786830247367218130687 TheJudger Manual testing 70612279 F-PM1 Oct 12 2014 4:39PM 0.0 5.4743 62057717201199210463273039 Jacob |
|
|
|
|
|
|
#235 | |
|
"James Heinrich"
May 2004
ex-Northern Ontario
23·149 Posts |
Quote:
Last fiddled with by James Heinrich on 2014-10-12 at 21:03 |
|
|
|
|
|
|
#236 |
|
"Graham uses ISO 8601"
Mar 2014
AU, Sydney
24310 Posts |
PrimeNet Most Recent Results, http://www.mersenne.org/report_recent_results/
and PrimeNet Most Recently Cleared Not-Prime, http://www.mersenne.org/report_recent_cleared/ both sport non-standard date/times. Since often the date is the same or different by only one, space could be saved by removing the date part entirely. The time part of those reports is yet to be made 24 hour format. Known primes, http://www.mersenne.org/primes/ still has non-standard dates. Not to mention some other places of editorial style content with long US style dates. Last fiddled with by snme2pm1 on 2014-10-12 at 21:09 |
|
|
|
|
|
#237 | |
|
Serpentine Vermin Jar
Jul 2014
3,313 Posts |
Quote:
There's something weird where turning on the "overflow:scroll" setting causes those scrollbars to show up no matter what. Maybe there is a way to have those only show up if needed and I'm just dense enough to have missed that. :) |
|
|
|
|
|
|
#238 | |
|
Serpentine Vermin Jar
Jul 2014
3,313 Posts |
Quote:
Changing the date format on those should just be a matter of changing the query to convert the stored datetime to the correct format. The places where dates are manually added tend to be the press releases which tend to have a more formal date... I've run across a few and besides making the date itself bold or something on the home page so it stands out, I didn't think changing them to use yyyy-mm-dd would have made it better... the releases or news items are already listed in chrono order on the home page which should do. A question there is, would this break any scraping scripts people have? There *probably* aren't any scripts grabbing data from those reports because they're non-inclusive... they only run once an hour and show the last XX. It's probably safe to change that, but fair warning... Same thing applies to the different number formats. Different countries use commas or periods for thousands separators, and in some reports it'll use commas, or spaces, or no separator at all. That last is especially true of factors... the factors tend to be so large, adding any separator is pretty pointless. They're too large to store in a database as anything but text. Adding dots/commas/spaces in there would be no fun. :) Having thousands sep on the factors makes them more readable at a glance, I think. If I were to pick a single one to use, I'd go with thousands=comma and decimal=period. It's a US project, US website, but at the same time I recognize the big international contributions. Fortunately I think countries where a period is the thousands separator are used to seeing it writ the other way around. For now I'll let that sleeping dog lie, because it seems like one way or another, someone wouldn't like whatever it does. LOL We could present the data in a raw number and use Javascript to render it in your browser's locale but that seems like overhead it could do without. Last fiddled with by Madpoo on 2014-10-12 at 23:01 |
|
|
|
|
|
|
#239 | |
|
Serpentine Vermin Jar
Jul 2014
3,313 Posts |
Quote:
A quick glance at the view right now shows 4 entries where the same result appears twice, and it doesn't have any more info in there as to why. Looking at one example in particular, a factor for 70598147 was found using ECM by a user, and it's recorded twice in the results table, about 400 milliseconds apart. Not sure why. It's the same story for the other 3 duplicates I see currently... they were submitted twice, 300-400 ms apart. |
|
|
|
|
|
|
#240 |
|
"James Heinrich"
May 2004
ex-Northern Ontario
23×149 Posts |
The manual results form would check for compositeness of the submitted factor, and the results should be handled for each of the prime components of the submitted factor. The 400ms offset between submissions makes perfect sense from processing one factor to the next. As far as I can see from the manual results code it should only be the prime factor passed to the database. If I had to guess (wild speculation), perhaps the full submitted result line (which would contain the composite factor) is being parsed into the report rather than using the actual factor from the database.
|
|
|
|
|
|
#241 | |
|
Serpentine Vermin Jar
Jul 2014
3,313 Posts |
Quote:
|
|
|
|
|
|
|
#242 | |
|
Serpentine Vermin Jar
Jul 2014
63618 Posts |
Quote:
I'll go through all the places I added that and switch it to auto which should look better. I updated that recent cleared report already and it's good. FYI, I forgot I hadn't switched those recent results/recent cleared to use the table format yet instead of that pre-formatted text output. Working on that now. It's just a nicer presentation and can give some sorting options other than the default "date". |
|
|
|
|
![]() |
| Thread Tools | |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Database design | xilman | Astronomy | 1 | 2017-04-30 22:25 |
| Theoretical Experiment Design | c10ck3r | Homework Help | 7 | 2015-02-03 08:54 |
| Digital Logic Design | henryzz | Puzzles | 9 | 2014-12-04 20:56 |
| new intel design | tha | Hardware | 5 | 2007-04-19 11:38 |
| design factoring algorithms | koders333 | Factoring | 14 | 2006-01-25 14:08 |