Huge qqTimer Update!

Discussion in 'Software Area' started by qqwref, Dec 20, 2011.

Welcome to the Speedsolving.com. You are currently viewing our boards as a guest which gives you limited access to join discussions and access our other features. By joining our free community of over 30,000 people, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us and we'll help you get started. We look forward to seeing you on the forums!

Already a member? Login to stop seeing this message.
Thread Status:
Not open for further replies.
  1. qqwref

    qqwref Member

    7,832
    17
    Dec 18, 2007
    a <script> tag near you
    WCA:
    2006GOTT01
    YouTube:
    qqwref2
    Christmas comes early this year :)

    I think it's a good time to formally release the newest version of qqTimer. If you've been using the "secret" updated version, there are a lot of changes. If you've been using the mzrg.com/qqtimer version, there are a TON of changes! I made about half of the changes (mostly several months ago), and Aron made the rest, so make sure to thank him. The new version should be online at mzrg.com/qqtimer already. (Oh, and it's also at qqtimer.net.)


    Here are all the changes made:
    Changes made by me:
    - organized code better
    - put in $ for getElementById
    - options are open when you open qqtimer
    - cookie format is changed to take up only 1 cookie, variables changed to integer values
    - waits 0.3 sec before starting timer, not 1.0 sec
    - changed "mean of 3" to "average of N" (you can set N)
    - found a way to make IE show the stats window properly
    - save times between sessions (but not scrambles or comments)
    - fixed comment code (it was broken)
    - allow importing of times, time-cell format or average-details format
    - when using hundredths, round then average then round again
    - saves last scramble type in cookie
    - reversed option text to make it easier to understand
    - can set all 5 colors, reset colors to default, saves in cookies, recognizes some common names
    - fixed standard deviation calculations (divides by n-1 instead of n)
    - for average of N, drop best and worst ceil(N/20) - doesn't affect avg5/12
    - changed the minimum length of suboptimal 2x2/pyra to 9 and 8 (the mode) - should be a bit less predictable
    - added a style-changing option, with default style and a second one from John Tamanas (and Andreas Viklund)
    - added <R,r,U>
    - modified session cookies to allow saving any number of times
    - you can add ?333 etc. to set scramble type
    - inspection updates even when updating is off
    - added more 3x3 scramblers based on Shuang Chen's solver: edges only, corners only, LL, and random-state LSLL
    - added scramblers for just the edges of 4x4x4 through 7x7x7

    Changes made by aronpm:
    - added suboptimal random state 3x3x3
    - random state square-1 (not default because it's slow to initialize)
    - BLD mode (records the memo time as a comment, must press space twice)
    - adjustable scramble size
    - fixed last solve's penalty not loading
    - removed NaN.NaN from loading new session
    - fixed scramble size resetting when times were reset
    - comments are now saved with sessions
    - fixed highlight not showing up unless changed
    - fixed color changes of links
    - fixed header changing to cyan
    - fixed 2-4, 2-5 relays not showing 2x2 scramble
    - added 2-6 and 2-7 relays
    - toggle for monospaced font scrambles
    - fixed color errors for "get last scramble" and stats links
    - fixed error with loading sessions that caused "undefine" comments

    And, if you want to mirror qqTimer anywhere else, here are the files you'll need:
    index.htm
    scramble_sq1.js
    scramble_333_edit.js
    style0.css
    style1.css

    Enjoy!


    PS: If you still prefer the behavior of the old one - no long initialization time, no saved sessions - then you may want to use this: qqtimer.net/minimal
     
    Last edited: Dec 25, 2011
  2. tozies24

    tozies24 Member

    371
    0
    Mar 9, 2011
    Minnesota
    WCA:
    2010TOZI01
    YouTube:
    tozies24
    Maybe it didn't update or something, but I am not able to make the timer go or display a scramble or choose a puzzle.

    EDIT: maybe its cuz I am on IE. oh well. The old qqtimer was good enough for me.
     
  3. JyH

    JyH Member

    1,004
    0
    Jan 5, 2011
    Massachusetts
    WCA:
    2011HORI01
    Wow, this is awesome! The amount of changes is great! :tu
    I really like how it saves your sessions like the miniSites version, except that now it's not very glitchy. The customization is superb. :D

    EDIT: Suboptimal 3x3 scrambles :D
     
    Last edited: Dec 20, 2011
  4. qqwref

    qqwref Member

    7,832
    17
    Dec 18, 2007
    a <script> tag near you
    WCA:
    2006GOTT01
    YouTube:
    qqwref2
    I'll take a look at the IE stuff later, right now I have to go do a final :p
     
  5. DavidWoner

    DavidWoner The Punchmaster

    3,936
    3
    May 7, 2008
    Kansas City, MO, USA
    WCA:
    2008WONE01
    YouTube:
    vault312
    Here is a problem I have had with qqtimer for a while:

    Using stackmat/manual entry.
    Cube accidentally hits space when I drop it, I don't notice.
    Enter time as " 10.00"
    Nothing seems to happen, reenter "10.00" and it appears as "10.00[10.00]"
    Delete it.
    Re-enter "10.00"
    Appears as "10.00[10.00]" yet again.

    I'd like a way to COMPLETELY disable comments and whenever a non-numeral/decimal character is entered it prompts you to re-enter the data. Or at least a way to prevent the aforementioned from occurring.
     
  6. @uguste

    @uguste Member

    96
    0
    Feb 6, 2010
    Marseille, France
    WCA:
    2010OLIV01
    The random-state square one scrambler doesn't seem to work for me. It displays "scramble : [object Object]"
     
  7. marcobelotti

    marcobelotti Member

    104
    0
    Dec 8, 2010
    WCA:
    2010belo01
    YouTube:
    makirubik
    i like it....very nice work
     
  8. Mike Hughey

    Mike Hughey Super Moderator Staff Member

    8,562
    79
    Jun 7, 2007
    Indianapolis
    WCA:
    2007HUGH01
    YouTube:
    MikeHughey1
    I just tried importing my times for the holiday competition for square-1 (50 times), and I see that it left out what appears to be the three best and the three worst times to give the session average. Perhaps it's always done this - I never wanted to try it before now. Is this a feature, and if so, what is the algorithm by which it determines how many times to throw out? (It seems to me there was a discussion about this a while back, but I don't remember how it came out.)
     
  9. hcfong

    hcfong Member

    453
    0
    Aug 3, 2011
    WCA:
    2011FONG02
    I think there's something wrong with the way it calculates the mean. I just did an average of 5 solves, but it gives a mean faster than my fastest time.
     
  10. Specs112

    Specs112 Member

    322
    1
    Dec 19, 2010
    Ithaca, NY
    WCA:
    2011ANDE03
    this is so awesome it's like it's my birthday, AND Christmas all at once or something.
     
  11. Lucas Garron

    Lucas Garron Super-Duper Moderator Staff Member

    Awesome; I've been waiting for MRSS 3x3x3 scrambles.

    www.qqtimer.net is updated.

    How much do I need to bribe you to add this project to GitHub and accept pull requests?

    I have a few things to add, including but not limited to:
    - Web worker support so that the UI doesn't freeze when 3x3x3 or Square-1 scrambles are initializing/generating.
    - Touch events
    - HTML5 offline caching

    EDIT: Pushed my updates to GitHub. Stuff like this is very easy: Tags! If you're interested in setting up GitHub and want to know anything about the process, just find me on GChat some time.
     
    Last edited: Dec 20, 2011
  12. qqwref

    qqwref Member

    7,832
    17
    Dec 18, 2007
    a <script> tag near you
    WCA:
    2006GOTT01
    YouTube:
    qqwref2
    OK, should be fixed now. The problem was adding a comment when the time wasn't allowed to record.

    Yeah, the discussion came out that we should throw out N/20 times on each side rounded up. This doesn't affect averages of 5 and 12.

    I can't replicate this - can you provide a screenshot or something? Did you have a DNF?
     
  13. aronpm

    aronpm Member

    2,010
    2
    Sep 9, 2009
    This line
    Code:
    ss[0]=scramblers["sq1"].getRandomScramble();
    should be
    Code:
    ss[0]=scramblers["sq1"].getRandomScramble().scramble;
    I don't know why it doesn't load in IE (I never checked... >_>) but I know Firefox has some speed issues running the square-1 random-state scrambler, so I suspect it's that.
     
  14. PandaCuber

    PandaCuber Member

    1,693
    2
    Jun 24, 2011
    Uruguay
    YouTube:
    brusinque
    I wish there is an offline version. Not really a problem. But it is amazing!
     
  15. vcuber13

    vcuber13 Member

    2,475
    2
    Oct 14, 2009
    Near Toronto
    WCA:
    2009METH01
    YouTube:
    simpsons36109
    save the page on your computer
     
  16. Robocopter87

    Robocopter87 Member

    220
    0
    Dec 2, 2010
    New York
    WCA:
    2013KUNK01
    Totally Boss. Thanks qqwref
     
  17. PandaCuber

    PandaCuber Member

    1,693
    2
    Jun 24, 2011
    Uruguay
    YouTube:
    brusinque
    Wow im dumb. thanks.
     
  18. danthecuber

    danthecuber Member

    772
    0
    Jan 26, 2011
    College Park, MD
    WCA:
    2011SELZ01
    YouTube:
    danszr64
    Problem: [​IMG]
    After switching sessions and doing 5 solves on that session:
    [​IMG]
    Those scrambles look similar. :confused:
     
    Last edited: Dec 20, 2011
  19. :D :D
     
Thread Status:
Not open for further replies.

Share This Page