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. RyanReese09

    RyanReese09 Premium Member

    4,033
    1
    May 16, 2010
    Whiteford, MD, USA
    WCA:
    2010REES01
    YouTube:
    RyanReese09
    Derp. Why not though? Purely curious.
     
  2. qqwref

    qqwref Member

    7,832
    17
    Dec 18, 2007
    a <script> tag near you
    WCA:
    2006GOTT01
    YouTube:
    qqwref2
    The reasoning was that DNFs are usually mess-ups or times that weren't supposed to be recorded (such as forgetting to stop the timer before spending several minutes finding/fixing a pop), and a lot of people get DNFs in a session. Thus I figured it would be most useful (as a measure of skill or whatever) to give the worst *non-DNF* time.
     
  3. David0794

    David0794 Member

    138
    0
    Jun 10, 2010
    Germany
    WCA:
    2011SCHU03
    Today I got an error message...does this mean that I have to delete the qqtimer cookie and thereby lose my whole session? :(

     
  4. joey

    joey Member

    4,405
    0
    Apr 8, 2007
    WCA:
    2007GOUL01
    YouTube:
    cardologist
    How many solves did you have in there?
     
  5. Same. Before this was happening only on mzrg.com/qqtimer, but now also on qqtimer.net :(
    Is this a result of too many solves in a session?
     
  6. qqwref

    qqwref Member

    7,832
    17
    Dec 18, 2007
    a <script> tag near you
    WCA:
    2006GOTT01
    YouTube:
    qqwref2
    It might be. I guess some browsers/servers don't do well with storing a lot of information there :|
     
  7. David0794

    David0794 Member

    138
    0
    Jun 10, 2010
    Germany
    WCA:
    2011SCHU03
    ~1700 solves I think...
     
  8. Okay, how can I get it back? Would clearing my cache do the trick? Or, is there another qqtimer page?
     
  9. Lucas Garron

    Lucas Garron Super-Duper Moderator Staff Member

    If you store the data in the cookie mostly as a string, how about transparently changing the storage mechanism to HTML5 local storage (which has pretty wide support these days)?
     
  10. Sorry; have no idea what you mean.
     
  11. theZcuber

    theZcuber Premium Member

    2,076
    0
    May 8, 2011
    Central NY, US
    WCA:
    2012PRAT02
    He wants to store the information on your computer, basically
     
  12. aronpm

    aronpm Member

    2,010
    2
    Sep 9, 2009
    This is what cookies already do.

    What Lucas said is probably better, though.
     
  13. qqwref

    qqwref Member

    7,832
    17
    Dec 18, 2007
    a <script> tag near you
    WCA:
    2006GOTT01
    YouTube:
    qqwref2
    I think I remember that the last time I tried to test out localstorage it had some weird bugs/issues that made it really hard to deal with. Lucas, if you want to try to rewrite the functions to get and save cookies/sessions, I'll be interested to see if you can get them to work.
     
  14. AustinReed

    AustinReed Member

    1,295
    0
    Oct 30, 2010
    Tucson, Arizona
    WCA:
    2011REED01
    YouTube:
    CubeKick
    I'm manually entering times. Then I reset the session and it goes back to spacebar to start/stop.

    Mac OSX, Chrome.


    Edit: Resolved. Switch the time style to Gottlieb.
     
    Last edited: Jan 22, 2012
  15. Lucas Garron

    Lucas Garron Super-Duper Moderator Staff Member

    I was going to look into this later, but I looked into localStorage for an assignment. Turns out that it's basically a consistent one-liner in all browsers.

    These changes try to be a bit more robust by falling back to cookie support if localStorage is not available. If you want to be bold, you can literally replace each of the cookie functions by a one-liner. (localStorage.getItem(...) also returns null if the key is not found.)

    This works for me in Chrome, FF, and Safari.
    (Opera doesn't seem to respond to the spacebar for qqtimer at all, and I can't test IE.)
    caniuse.com is very optimistic.
     
  16. DavidWoner

    DavidWoner The Punchmaster

    3,936
    3
    May 7, 2008
    Kansas City, MO, USA
    WCA:
    2008WONE01
    YouTube:
    vault312
    Why did you decide to ruin the 3x3x4 scrambler with S2 and M2?
     
  17. qqwref

    qqwref Member

    7,832
    17
    Dec 18, 2007
    a <script> tag near you
    WCA:
    2006GOTT01
    YouTube:
    qqwref2
    I could put it back to the old style; basically I thought it'd be better to not have so many F2B2 and L2R2s cluttering up the scramble. It was pretty long and hard to read (at least, I thought it was).
     
  18. DavidWoner

    DavidWoner The Punchmaster

    3,936
    3
    May 7, 2008
    Kansas City, MO, USA
    WCA:
    2008WONE01
    YouTube:
    vault312
    Yeah but M2 and S2 suck to execute. At least different scramble types would be nice.
     
  19. iReviewCubes

    iReviewCubes Member

    22
    0
    Feb 26, 2012
    Wheeling, Illinios
    YouTube:
    iReviewCubes
    The timer doesn't even work for me. When I hit the spacebar it doesn't start the timer, and when I try entering times manually it still doesn't add the times.
     
  20. stevecho816

    stevecho816 Member

    446
    0
    Sep 4, 2011
    Illinois
    WCA:
    2012CHOS01
    YouTube:
    stevecuber1
    try it on chrome. That's how my timer worked
     
Thread Status:
Not open for further replies.

Share This Page