Huge qqTimer Update!

Status
Not open for further replies.

qqwref

Member
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:

tozies24

Member
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
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:

qqwref

Member
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.
I'll take a look at the IE stuff later, right now I have to go do a final

DavidWoner

The Punchmaster
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

Super Moderator
Staff member
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
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

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:

qqwref

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

PandaCuber

Member
I wish there is an offline version. Not really a problem. But it is amazing!

Status
Not open for further replies.