11

New version! Includes a view of the posts similar to the Stack Exchange Reputation view. Just click and drag to select a region of ansers. (Note, still kind of buggy. Doesn't seem to exactly match up with the points on the graph. Working on it.) Download it!

Screenshot / Code Snippet

alt text click for full size

About

I just threw this together for fun.

Rep Compare is a little app made to show that StackWrap4J actually works. And, it is really interesting to compare reputation slopes between users. Place Jon Skeet and anyone else on a graph and see how much he dominates.

I plan on adding some features to make this more similar to the Reputation tab in a user's profile.

Features

The main feature is the ability to plot user reputation across all sites against any other user. Other features include:

  • Color-coded key
  • Site icons to distinguish sites
  • Ability to select any range of points [soon]
  • Display posts that fall in selected range [soon]
  • Remove users [soon]
  • Pan and Zoom graph to any scale [future]

Usage

To run, just type the following in the console:

java -jar path/to/repCompare.jar

If you run the command from the directory the jar is located, the path to the jar is simply the name of the jar file.

License

Apache 2.0

Since I used Joda Time and actually packaged it with the app, I figured I should use the same license.

Download

Download it from Google Code

Platform

Compiled against Java 1.6 and tested on Windows 7.

Contact

If you need to get a hold of me, just shoot me an email. jjnguy13 at gmail dot com.

Code

The SVN repository is located on google code

It uses Joda Time to make dealing with time easiser. (duh) And StackWrap4J for the retrieving the data.

21
  • What can I say.... looks great. I'm trying it out now :) Aug 24, 2010 at 3:49
  • @George, thanks. Let me know what you think.
    – jjnguy
    Aug 24, 2010 at 3:54
  • @jjnguy: I did. See my answer. Aug 24, 2010 at 3:54
  • @George, awesome, thanks for trying it out.
    – jjnguy
    Aug 24, 2010 at 3:57
  • I am a complete n00b when it comes to Java. I've got the .jar file and I know I have the Java runtime installed. How to use? I double-click the .jar file but nothing happens. Aug 24, 2010 at 4:55
  • @farseeker, I will update my post with that info. Sorry i didn't include it. (I just double-click on the jar)
    – jjnguy
    Aug 24, 2010 at 4:59
  • @far, updated. Have a look at the Usage section, and let me know if you still have issues.
    – jjnguy
    Aug 24, 2010 at 5:03
  • @far, there is a chance that it was just throwing an exception and exiting...
    – jjnguy
    Aug 24, 2010 at 5:06
  • It's very cool, but it needs a reset/clear feature. Maybe when 0.0.0.1.1 comes out. Maybe for 0.0.0.2 you could have a log scale option. (Who won?) Aug 24, 2010 at 5:26
  • I like it. what IDE do you use? Is java your day job? Aug 24, 2010 at 6:45
  • @Dennis, a remove user feature is planned, and Mexico won. (The right decision IMO)
    – jjnguy
    Aug 24, 2010 at 11:48
  • @code, I use Eclipse 3.5, with no GUI builder. (Au Natural baby!) My day job is mostly C#. I learned Java in school, and it is my language of choice.
    – jjnguy
    Aug 24, 2010 at 11:50
  • @Dennis, Australia won Miss Congeniality. One day I'll be interested enough to google it to find out what it actually means. Aug 25, 2010 at 23:39
  • @far, I thought Australia was the best candidate with real boobs...
    – jjnguy
    Aug 26, 2010 at 3:46
  • Isn't having fake boobs like taking performance enhancing drugs in normal sport? I would have thought that all-naturale would have been a pre-requisite... Aug 26, 2010 at 4:32

3 Answers 3

2

Great job! Check out my graph.

RepGraph

Witness how I used to actually have more rep than Jon Skeet... then he joined the site and put an end to all that. :)

3
  • Haha, good work. As soon as I add a zoom feature, you will be able to look more closely at the point where he swiftly defeated you.
    – jjnguy
    Aug 24, 2010 at 11:47
  • @jjnguy: I'll be cutting it off before that, so I can bask in my August 2008 glory. :) Aug 24, 2010 at 12:13
  • hand drawn circle! Aug 26, 2010 at 6:21
1

Looks great! Here it is running on Ubuntu with my lousy rep. compared to Jon Skeet: alt text

3
  • Glad you got it to work so quickly!
    – jjnguy
    Aug 24, 2010 at 3:56
  • 1
    Just try harder, you will catch him some day... :P
    – jjnguy
    Aug 24, 2010 at 3:57
  • 1
    I certainly have him beat here on StackApps! (Yes, he actually is here on StackApps) Aug 24, 2010 at 3:58
1

I got Jon Skeet beat :)

alt text

I get the following:

C:\Users\mark.henderson>java -jar c:\users\mark.henderson\AppData\Local\Temp\rep
Compare.jar
Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad version n
umber in .class file
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:12
4)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
        at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)

(I realise it's 0.0.0.1 so no hard feelings ;))

10
  • I'm gonna guess you only have 1.5 or before installed. I will see about compiling the Jar for 1.5 instead of 1.6. (I'm pretty sure it is the version issue)
    – jjnguy
    Aug 24, 2010 at 5:14
  • @Far, I'm gonna look into changing the version tomorrow. Bed time. If you install 1.6 it should work though.
    – jjnguy
    Aug 24, 2010 at 5:19
  • @jjn - fair enough. I went to the page to test my version of Java and it crashed my browers (FireFox). I shall check back here in 24 hours :) Have a good night. Aug 24, 2010 at 5:19
  • Wow, sun makes you jump through a ton of hoops to download the compiler for version 5.
    – jjnguy
    Aug 24, 2010 at 21:54
  • Well, unfortunately Joda Time is compiler under 1.6, so i have to stick with that. If you really wanna try it, here is a link to the latest version of java: Link
    – jjnguy
    Aug 24, 2010 at 22:11
  • Also, apparently 1.5 has hit End Of Life, so I don't feel too bad not supporting it.
    – jjnguy
    Aug 24, 2010 at 22:28
  • Last comment: try java -version to test the version of java you have. If it is 1.6 or 6.0 (or something similar) please let me know, cuz it should work.
    – jjnguy
    Aug 24, 2010 at 22:29
  • @jjn - java version "1.5.0_04" - I'll get the update now Aug 24, 2010 at 23:21
  • @jjn - that did the trick thanks. Maybe some other java-based software I've got will stop crashing now... Aug 24, 2010 at 23:35
  • Glad you got it working. Way to beat the Skeet.
    – jjnguy
    Aug 25, 2010 at 0:44

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .