# 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!

Not open for further replies.
1. ### qqwrefMember

7,830
30
Dec 18, 2007
a <script> tag near you
WCA:
2006GOTT01
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:
- 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)
- 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

- 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)
- 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

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. ### tozies24Member

371
1
Mar 9, 2011
Minnesota
WCA:
2010TOZI01
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. ### TheMachangaMember

Jun 26, 2009
Chicago, Illinois
WCA:
2010LECH01
TheMachanga
YES!

4. ### JyHMember

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.

EDIT: Suboptimal 3x3 scrambles

Last edited: Dec 20, 2011
5. ### qqwrefMember

7,830
30
Dec 18, 2007
a <script> tag near you
WCA:
2006GOTT01
qqwref2
I'll take a look at the IE stuff later, right now I have to go do a final

6. ### DavidWonerThe Punchmaster

May 7, 2008
Kansas City, MO, USA
WCA:
2008WONE01
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.

7. ### @ugusteMember

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]"

8. ### marcobelottiMember

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

9. ### Mike HugheySuper ModeratorStaff Member

8,976
672
Jun 7, 2007
Indianapolis
WCA:
2007HUGH01
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.)

10. ### hcfongMember

454
2
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.

11. ### Specs112Member

322
2
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.

12. ### Lucas GarronSuper-Duper ModeratorStaff 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
13. ### qqwrefMember

7,830
30
Dec 18, 2007
a <script> tag near you
WCA:
2006GOTT01
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?

14. ### aronpmMember

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.

15. ### PandaCuberMember

Jun 24, 2011
Uruguay
brusinque
I wish there is an offline version. Not really a problem. But it is amazing!

16. ### vcuber13Member

Oct 14, 2009
Near Toronto
WCA:
2009METH01
simpsons36109
save the page on your computer

17. ### Robocopter87Member

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

18. ### PandaCuberMember

Jun 24, 2011
Uruguay
brusinque
Wow im dumb. thanks.

19. ### danthecuberMember

772
0
Jan 26, 2011
College Park, MD
WCA:
2011SELZ01
danszr64
Problem:
After switching sessions and doing 5 solves on that session:

Those scrambles look similar. :confused:

Last edited: Dec 20, 2011