• Welcome to the Speedsolving.com, home of the web's largest puzzle community!
    You are currently viewing our forum as a guest which gives you limited access to join discussions and access our other features.

    Registration is fast, simple and absolutely free so please, join our community of 40,000+ people from around the world today!

    If you are already a member, simply login to hide this message and begin participating in the community!

Huge qqTimer Update!

Status
Not open for further replies.

qqwref

Member
Joined
Dec 18, 2007
Messages
7,834
Location
a <script> tag near you
WCA
2006GOTT01
YouTube
Visit Channel
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:

tozies24

Member
Joined
Mar 9, 2011
Messages
371
Location
Minnesota
WCA
2010TOZI01
YouTube
Visit Channel
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.
 

JyH

Member
Joined
Jan 5, 2011
Messages
1,004
Location
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:

DavidWoner

The Punchmaster
Joined
May 7, 2008
Messages
3,936
Location
Kansas City, MO, USA
WCA
2008WONE01
YouTube
Visit Channel
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.
 

Mike Hughey

Administrator
Staff member
Joined
Jun 7, 2007
Messages
11,304
Location
Indianapolis
WCA
2007HUGH01
SS Competition Results
YouTube
Visit Channel
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.)
 

hcfong

Member
Joined
Aug 3, 2011
Messages
454
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.
 

Lucas Garron

Administrator
Joined
Jul 6, 2007
Messages
3,718
Location
California
WCA
2006GARR01
YouTube
Visit Channel
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:

qqwref

Member
Joined
Dec 18, 2007
Messages
7,834
Location
a <script> tag near you
WCA
2006GOTT01
YouTube
Visit Channel
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.
OK, should be fixed now. The problem was adding a comment when the time wasn't allowed to record.

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.)
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 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.
I can't replicate this - can you provide a screenshot or something? Did you have a DNF?
 

aronpm

Member
Joined
Sep 9, 2009
Messages
2,010
The random-state square one scrambler doesn't seem to work for me. It displays "scramble : [object Object]"
This line
Code:
ss[0]=scramblers["sq1"].getRandomScramble();
should be
Code:
ss[0]=scramblers["sq1"].getRandomScramble().scramble;

tozies24 said:
EDIT: maybe its cuz I am on IE. oh well. The old qqtimer was good enough for me.
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.
 

danthecuber

Member
Joined
Jan 26, 2011
Messages
771
Location
College Park, MD
WCA
2011SELZ01
YouTube
Visit Channel
Problem:
5O5aa.png

After switching sessions and doing 5 solves on that session:
zpPE7.png

Those scrambles look similar. :confused:
 
Last edited:
Status
Not open for further replies.
Top