Index  | Recent Threads  | Unanswered Threads  | Who's Active  | Guidelines  | Search
 

Quick Go »
No member browsing this thread
Thread Status: Active
Total posts in this thread: 14623
Posts: 14623   Pages: 1463   [ Previous Page | 967 968 969 970 971 972 973 974 975 976 | Next Page ]
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 2750016 times and has 14622 replies Next Thread
RTS48
Veteran Cruncher
Bolivia
Joined: Aug 2, 2009
Post Count: 1353
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: Good morning team.

Good afternoon team. I've just brought another couple of cores online (only an Android tablet), so I can get ahead of RTS48 in the daily runtime. Seems a safer bet than relying on a Bolivian heatwave biggrin


Right - that's it dc! I'm firing up my two unused laptops - only dual core but should add another 4 days / day to my run time - the war is on smile
----------------------------------------
Rod Peel
Santa Cruz
Bolivia
South America

,
,
----------------------------------------
[Edit 1 times, last edit by RTS48 at Feb 13, 2016 3:31:28 PM]
[Feb 13, 2016 3:31:05 PM]   Link   Report threatening or abusive post: please login first  Go to top 
RTS48
Veteran Cruncher
Bolivia
Joined: Aug 2, 2009
Post Count: 1353
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: Good morning team.

Hmmm. Small niggle dc I notice an anomaly in some of your stats. You tend to quote Points, Results and Run Time for team UK but the world rankings are based on the total points including all previous team contributions. Perhaps you should make that clear because World Rankings are not based solely on Team UK crunching.
----------------------------------------
Rod Peel
Santa Cruz
Bolivia
South America

,
,
[Feb 13, 2016 3:43:26 PM]   Link   Report threatening or abusive post: please login first  Go to top 
dcrobinson
Veteran Cruncher
UK
Joined: Mar 10, 2009
Post Count: 1176
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: Good morning team.

Hmmm. Small niggle dc I notice an anomaly in some of your stats. You tend to quote Points, Results and Run Time for team UK but the world rankings are based on the total points including all previous team contributions. Perhaps you should make that clear because World Rankings are not based solely on Team UK crunching.

Yes, you're absolutely right RTS48. I can put an explanation at the top of the list, or maybe have another 3 lists of team members who are in the top 5000, or something? I hope to get the first draft of my head-2-head comparator up and running this weekend, so that you'll be able to see how far behind me you are in the current runtime figures biggrin

EDIT 1: I've now added 3 more tables for your delectation and delight.
EDIT 2: I've added the most basic compare feature that I could in order to prove the concept. Much more to come, including remembering what you've picked after you refresh the page.
----------------------------------------
Dave Robinson, Malvern, UK
----------------------------------------
[Edit 3 times, last edit by dcrobinson at Feb 13, 2016 9:44:02 PM]
[Feb 13, 2016 4:49:40 PM]   Link   Report threatening or abusive post: please login first  Go to top 
Thargor
Veteran Cruncher
UK
Joined: Feb 3, 2012
Post Count: 1291
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: Good morning team.

Milestone! biggrin

Total Run Time (y:d:h:m:s) (Rank) : 120:006:10:28:37 (#790)
----------------------------------------

[Feb 13, 2016 5:57:33 PM]   Link   Report threatening or abusive post: please login first  Go to top 
dcrobinson
Veteran Cruncher
UK
Joined: Mar 10, 2009
Post Count: 1176
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: Good morning team.

Congrats Thargor. 125 years or 150 million points next? My next one is a mere 25 years, and I'm going to have to wait 3 weeks or so for that.
----------------------------------------
Dave Robinson, Malvern, UK
----------------------------------------
[Edit 1 times, last edit by dcrobinson at Feb 13, 2016 6:28:10 PM]
[Feb 13, 2016 6:27:01 PM]   Link   Report threatening or abusive post: please login first  Go to top 
RTS48
Veteran Cruncher
Bolivia
Joined: Aug 2, 2009
Post Count: 1353
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: Good morning team.

Good Evening Team.

Dave (dc) I think your stats are brilliant. Obviously from small acorns, great big oak trees grow. I knew that once you made a start that you would continue tweaking and adding and improving. Although I am a relapsed programmer (Basic and Fortran - with punched tape and card packs) I haven't the faintest idea how you are doing what you do except that it must be some form of SQL from a results database. I would be interested to know how you acquire your data as you are producing figures that I have never found in detail such as Run Time ranking and Results ranking. All I can do now is use Excel to generate points / hour and weekly (if I get round to it) differential progress.

You may note that I have added my real name to my signature so from now on it's Rod and not RTS48 (one day I may explain the origin of RTS)
----------------------------------------
Rod Peel
Santa Cruz
Bolivia
South America

,
,
----------------------------------------
[Edit 2 times, last edit by RTS48 at Feb 14, 2016 1:01:44 AM]
[Feb 14, 2016 12:59:46 AM]   Link   Report threatening or abusive post: please login first  Go to top 
Former Member
Cruncher
Joined: May 22, 2018
Post Count: 0
Status: Offline
Reply to this Post  Reply with Quote 
Good morning team.

Good morning everyone. smile

Congrats Thargor. biggrin

dcrobinson stats are looking good. biggrin
----------------------------------------
[Edit 1 times, last edit by Former Member at Feb 14, 2016 9:07:50 AM]
[Feb 14, 2016 9:01:56 AM]   Link   Report threatening or abusive post: please login first  Go to top 
Former Member
Cruncher
Joined: May 22, 2018
Post Count: 0
Status: Offline
Reply to this Post  Reply with Quote 
Re: Good morning team.

Good morning all
[Feb 14, 2016 10:06:44 AM]   Link   Report threatening or abusive post: please login first  Go to top 
dcrobinson
Veteran Cruncher
UK
Joined: Mar 10, 2009
Post Count: 1176
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
How my stats pages work

Thanks for the compliments Rod (aka RTS48) and domonijo.

Here are the full details of how it works, including some links in case you fancy some light reading smile.

I have my own server (sat under my desk at home) on which I run several virtual machines . I have added one especially for the stats, running the latest Debian "Jessie" GNU/Linux operating system.

The WCG has a number of webpages containing the statistics by team and member. On many of these, if you add "&xml=true" to the end of the URL you get the same data in structured XML format . For example, https://secure.worldcommunitygrid.org/team/viewTeamInfo.do?teamId=L721SPD4BN1 is the main team UK page, but https://secure.worldcommunitygrid.org/team/vi...=L721SPD4BN1&xml=true gives you the same page but just the raw data in a structured format. Notice also that at the bottom of the XML page there are links to yet more data, enabling you to drill down through the structure.

I have written some software (it's what I do for a living), in the Java language, which sends off web requests to the WCG site and pulls down the data in XML format. As an aside, Java gets a bad press for security issues. However, most of these are related to the web browser plugin... the desktop and server versions of Java are pretty good and are widely used (for example, most Android applications, and many big websites are powered by Java).

I process the XML data using something called JAXB which makes it really easy to turn a wodge (technical term) of XML data into a bunch (another technical term) of nicely linked-together hierarchical Java objects. I then traverse this data and shove various bits of it into an SQL database. I do a small amount of upfront calculation at this point (very little). This takes about 10 minutes, but I only pull down the team data for the top 250 teams, and the member data for just team UK. Originally I was ingesting data for 17,000+ teams, but that was largely pointless and took over 90 minutes.

The slurping up of the data runs at 02:30 (UK local time) every night. I have deemed this to be a sufficient time after the midnight UTC stats update. Once the data ingest has completed, it notifies the second part of the solution that something has changed.

A second Java program serves out the web pages, using an embedded web server called Jetty . This uses a technology called Java servlets . On startup, this program does a whole lot of calculations (such as working out the rankings and movements), and stores the data in memory. This involves a lot of SQL queries and some basic arithmetic. Being a computer, these calculations take about a second. It repeats these calculations nightly when notified that new data has arrived. Most of the data displayed on the website is just a manifestation of this precalculated data. However, some of the member comparison data is directly obtained from the SQL database on request.

What you see in your web browser is an AJAX website built with the help of jQuery Mobile . This is a JavaScript code library for building web interfaces for multiple screen resolutions, so the stats site is supposed to work well on mobile devices (note that JavaScript has little in common with Java other than the name). This is the one side of the technology that's new to me, so it's not perfect, yet. The graphs are rendered using something called Flot , which is an extension to jQuery.

I hope some of that is interesting. FYI, I've written FORTRAN 66 myself in the past (good old Holerith strings), but when I started at university in 1983 the card reader was just about to be pensioned off.
----------------------------------------
Dave Robinson, Malvern, UK
----------------------------------------
[Edit 4 times, last edit by dcrobinson at Feb 14, 2016 9:44:47 PM]
[Feb 14, 2016 11:16:39 AM]   Link   Report threatening or abusive post: please login first  Go to top 
RTS48
Veteran Cruncher
Bolivia
Joined: Aug 2, 2009
Post Count: 1353
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: How my stats pages work

Good Morning All

Dave that's fantastic and very interesting (especially some of the technical terms such as wedge and bunch), it's nice to see that programmers are expanding the English (?) language too. So, if I understand rightly, while you are tucked up in the land of nod, all of this weaves and crunches and publishes automatically. You have talent and I hope your day job rewards you with more than compliments (although a few of those never go amiss).

Thanks a lot - I'll save your documentary to a separate file so I can peruse at my leisure.
----------------------------------------
Rod Peel
Santa Cruz
Bolivia
South America

,
,
[Feb 14, 2016 1:11:07 PM]   Link   Report threatening or abusive post: please login first  Go to top 
Posts: 14623   Pages: 1463   [ Previous Page | 967 968 969 970 971 972 973 974 975 976 | Next Page ]
[ Jump to Last Post ]
Post new Thread