We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexDiscussionGeneral Discussion,  Status › userbase, java-stats
Page Index Toggle Pages: 1
userbase, java-stats (Read 1119 times)
userbase, java-stats
May 4th, 2006, 7:13pm
 
hi ben,

in an old thread from the alpha-days you mentioned posting the stats from the version-check which processing does when starting up ... will you do so

is there any way to read the java-stats collected by the applet on the processing.org start-page

thanks,
F
Re: userbase, java-stats
Reply #1 - May 5th, 2006, 12:22pm
 
I collect the stats from people who come ot my site and look at my various Java stuff. It shoudl be noted, that most people who visit my site do so for the games on it, and so are more likely to have a newer version of Java I think.

Anyway, here's the raw numbers from the last 7 days:

Code:
 383 Java 1.1
1 Java1.1.4
2 Java1.1.8
9 Java1.3.1
3 Java1.3.1_02
2 Java1.3.1_04
2 Java1.3.1_09
1 Java1.3.1_13
7 Java1.3.1_15
16 Java1.3.1_16
4 Java1.3.1_17
36 Java/1.4.1
14 Java/1.4.1_01
69 Java/1.4.1_02
6 Java/1.4.1_03
16 Java/1.4.1_04
1 Java/1.4.1_05
17 Java/1.4.1_07
360 Java/1.4.2
1 Java/1.4.2-01
6 Java/1.4.2-03
19 Java/1.4.2_01
892 Java/1.4.2_03
108 Java/1.4.2_04
181 Java/1.4.2_05
96 Java/1.4.2_06
23 Java/1.4.2_07
9 Java/1.4.2_08
148 Java/1.4.2_09
61 Java/1.4.2_10
283 Java/1.5.0
1 Java/1.5.0-beta2
3 Java/1.5.0-rc
156 Java/1.5.0_01
248 Java/1.5.0_02
222 Java/1.5.0_03
528 Java/1.5.0_04
254 Java/1.5.0_05
2936 Java/1.5.0_06
1014 No Java version string when downloading a .jar file


And grouped:
Code:
No Java?:1014
Java 1.1: 386
Java 1.3: 44
Java 1.4:2063
Java 1.5:4631
Re: userbase, java-stats
Reply #2 - May 5th, 2006, 2:48pm
 
i've not had time to put it together (i assume you'd rather i be working on p5 itself and helping casey get the book out Smiley) are you just looking for general numbers for people using various versions of java, or?

the numbers for the people visiting the p5 site/using p5 aren't quite as useful, because they're biased heavily towards having (the latest) java installed. the better numbers i've found have been to use visitors to my zipdecode piece, which seems to be a better cross section of internet users in general.

johng's 1.1 numbers look low, but the not installed vs 1.3/1.4/1.5 are in line with what i've seen elsewhere. (thanks for posting, john)

actually an interesting thing to try might be to make a simple set of code to report this data that people could include in their applets, and then have it report back centrally so we can get a better feel for this stuff. (err, yeah, um, i was saying something about not having time..)
Re: userbase, java-stats
Reply #3 - May 5th, 2006, 4:31pm
 
It'd be fairly easy to include the version call back, you just need a small PHP file on the processing site that peopel can call with a version number, and a PHP file on the author's site so that the net sandbox doesn't complain, then just call something like:
Code:
open("http://www.MySite.com/JavaVersion.php?version="+System.getProperty("java.version")); 


straight after size();

In fact, the page on the processing site doesn't even have to exist, the full URL with the version should still appear in the logs somewhere.

I think the PHP code needs to be no more complex than the following:
Code:
<?php
$ver=$_GET["version"];
if($ver!="")
{
//example only.
$a=fopen("http://www.processing.net/JavaVersion.html?version=".$ver,"r");
fclose($a);
}
echo($ver);
?>
Re: userbase, java-stats
Reply #4 - May 5th, 2006, 7:07pm
 
thanks john and ben!

i was looking for the versions installed on machines of people that are interessted in processing (for the secret project i'm working on). but i think johns visitors are a similar folk, so that'll do i guess. thanks, john!

the second question was indeed about the processing-versions being used. i have little snitch installed so i see the ping going out every ide-start ... looking at the source over at dev i can tell how it's recorded so i got very cusious. Smiley
maybe the high-master can allow me to do some grep-awk on the log-file someday (which in return will leave him more time for coding).

about the php ..

i guess that opens the door for script-kiddies to flood the file (or db) and render the stats unusable. not sure how to secure it though.
and not everyone has php on their server (shame!).
... and it'll make the applet-startup yet another little bit slower.

i'll think about it ..

thanks again!
F

Page Index Toggle Pages: 1