cs0x7f / cstimer Goto Github PK
View Code? Open in Web Editor NEWProfessional Speedcubing/Training Timer
License: GNU General Public License v3.0
Professional Speedcubing/Training Timer
License: GNU General Public License v3.0
The following is an incorrect output that was generated when my friend used the timer:
Generated By csTimer on 2017-6-27
single: 1:00.00
Time List:
1. 59.99 (mega scramble)
The time was 59.997 with the millisecond option on. Notice that the single is incorrectly displayed.
This also goes into calculating averages. The times should be truncated first before calculating the average, like on competition.
For example, five 1.009s gives a 1.009 average in millisecond mode. That is fine. However, the same times in centisecond mode count as 1.00s, but the timer shows a 1.01 average. The times should be truncated first before the average is calculated.
I messed up my PLL and so upon fixing my S2L it left me with 2 twisted corners on the LL, however the timer recognised it as solved and gave me a time.
Since roux method is becoming popular, it would be good if there is a first-block solver like cross and EO-Line solver for CFOP and ZZ methods.
My suggestion is to add a function 'Solve first-block' that shows solutions for first-block with white or yellow base(x2 y color neutrality)
I was planning on clearing out my current sessions ready for the new year but I am unable to delete all times from a session now. Alt+d now adds a session as the hotkey is linked to the button (I believe).
I would still like to be able to keep the session but delete all times within it.
I believe most cubers like to see the full stats and progression of long-running sessions of months or even years, but on the other hand also want to see the stats of the current "mini-session" they're doing right now. Being able to switch between the two modes would provide the full picture, a kind of a new session within the session.
A possible implementation: on click, "archive" all current solves so you have a clean session. No solves in the list, solve counter starts with 1 and in your stats you only see those new solves, no old PBs. On click you either get back to seeing all solves, including the new ones, or you just "archive" the ones you did and start a new session again.
All the recent updates are so awesome, this is the only thing keeping me from switching back from Twisty Timer :)
Here's what it looks like when I load csTimer (all solves are missing).
And after I do a single solve it shows three dots, and then when I click on them it shows this (UI is broken, as when I hover over times it won't give me options to +2/delete/etc.).
Here are two errors I'm getting in the developer console:
Uncaught TypeError: r.slice is not a function
at new r (cstimer.js:314)
at Array.nb (cstimer.js:338)
at r (cstimer.js:98)
at Object.reg [as regProp] (cstimer.js:106)
at HTMLDocument.<anonymous> (cstimer.js:377)
at k (jquery.min.js:2)
at Object.fireWith [as resolveWith] (jquery.min.js:2)
at Function.ready (jquery.min.js:2)
at HTMLDocument.D (jquery.min.js:2)
Uncaught TypeError: this.timeAt is not a function
at r.runAvgMean (cstimer.js:319)
at n (cstimer.js:322)
at $a (cstimer.js:324)
at Qa (cstimer.js:363)
at IDBTransaction.<anonymous> (cstimer.js:312)
Generated By csTimer on 2018-12-12 (solving from 2018-12-08 17:52:25 to 2018-12-08 17:52:25)
single: 2.70
Time List:
For blind events we don't use inspection time.
Would it be possible to deactivate inspection automatically if the scramble type is 3BLD, 4BLD, 5BLD or mbld?
Another possibility would be to safe the inspection option for each session independently, like it is with multi phase.
Thx for adding multi-phase timing input, this is awesome! While playing around with it, I realised that the input is a bit buggy if you include the timestamp at the end.
Right now this:
2:36.50=1:48.32+48.18 D2 R2 B2 U' L2 U' L2 U' F2 D U' L B2 R B' U2 B2 L2 R' B2 Rw' Uw2 @6.12.2018, 16:32:36
becomes this.
- 2:36.50=1:48.32+48.18 D2 R2 B2 U' L2 U' L2 U' F2 D U' L B2 R B' U2 B2 L2 R' B2 Rw' Uw2 @6.12.2018 @7.12.2018, 13:40:46
- 16:32:36.00 F' R' D2 L2 B D' R2 U L' F2 B2 U R2 U' L2 U2 L2 D' L2 D' @6.12.2018, 21:10:47
The time at the end will be added as another solve, the scramble is the current scramble displayed in the session at the top. Also for the first added solve it keeps the date (here: @6.12.2018) and adds a current timestamp (here: @7.12.2018, 13:40:46).
Random state Square-1 scrambles seem to always stay in cubeshape for a few slices. Thus, some sort of indication when the scramble leaves the cubeshape would be helpful in my opinion to reduce the number a user misscrambles. (btw I use cubeshape as synonym for Square/Square, the “solved” cubeshape)
The idea comes from Squanmate (https://cdn.rawgit.com/sp3ctum/squanmate/master/resources/public/index.html#/ and https://github.com/sp3ctum/squanmate/) that does this. Go to the website, select a case and then generate a new scramble. Here’s a screenshot of what it looks like.
The blue part indicates that after (0,-2)/ you should be out of cubeshape. Sometimes there’s an asterisk indicating that you leave the cubeshape with misaligned squares but that’s not relevant here. I would like to see something similar to this blue font color in csTimer that shows me when I have to leave the cubeshape.
Somewhere, an explantion what this asterisk/different color (or whatever it ends up to be) represents is needed and I have no good idea how to display it. Maybe the same way like Squanmate does with a mousehover? This would be bad for mobile users though and they would be confused at first.
Special cases: Scrambles that go back into Square/Square would need a second asterisk to denote going back into cubeshape. I’ve btw created the same issue for TNoodlee and copied it almost 1:1.
I saw some elements not translated yet, however, some which are translated appear not in UFT-8 (chars like Ç are making some grammar errors).
In what all format can we export sessions ?
I can only export the sessions in txt format and I can't see any other option there. But after seeing this it seems that I am missing something.
WCA order is:
3x3, 2x2, 4x4, 5x5, 6x6, 7x7, bld, fmc, oh, wf, clock, mega, pyra, skewb, sq1, 4bld, 5bld, mbld.
Something like this often happens on my sceen:
(0, -1) / (3, 0) / (4,
-2) / (-1, 0) / (-3, 0)
It makes reading the scramble really hard to read. Either replace the space in (x, y) with a non-breaking space, or remove it altogether to get (x,y).
Please save the timestamps of the solves. It's incredibly useful for analysis!
Breaking a PB is a huge excitement, and it would be great if cstimer could display a message when a PB is broken in a session -- whether single or aoN. Perhaps even with a few bits of data like by how much, after how many solves, and after how much time (now that dates are available).
Thanks again for your work on this timer, it's awesome!
Please display the session name in confirmations -- this is especially relevant for using the new and awesome session manager, and especially on mobile. When I'm merging, splitting and deleting sessions, I'm never sure if I tapped the correct small link/icon, and it would be very helpful to know on which session the action is going to be performed.
Right now, you can only add one +2 penalty. Since it's possible to get multiple penalties in WCA regulations, I request adding multiple +2's (+2, +4, +6 etc) somehow.
Right now there's no way to change the session order. So for many the sessions order is pretty chaotic. I'd like to have my 4BLD and 5BLD session right beneath my 3BLD session. An option to change the order of the sessions would be awesome.
Currently getting the following error in chrome's JS console:
cstimer.js:378 Uncaught ReferenceError: TOOLS_HUGESTATS is not defined
at HTMLDocument. (cstimer.js:378)
at k (jquery.min.js:2)
at Object.fireWith [as resolveWith] (jquery.min.js:2)
at Function.ready (jquery.min.js:2)
at HTMLDocument.D (jquery.min.js:2)
I was regularly uploading my times to the server when suddenly yesterday i tried exporting to the server and i was told that "Some errors occured". Tried using a different name and got the same error.
It'd be really nice to have a quick overview on how many solves I did today (today/week/month/year) in total and how many in each session.
I imagine a toolbox could be a good way to just show all session names and the number solves and the sum of all those solves. A drop down menu to specify ../day/month/year.
Could you also add sth like last 24 hours and last 12 hours. When you'd cube past midnight the "today" option wouldn't really help.
CSP is a technique in square-1 to solve the cube without parity problem.
One thing that can help in this is get scrambles in a fixed case or list of cases because, once when we learn one is bored wait for the case randomly (one chance in 3678 values).
Thinking in this I have been used sq12phase java classes to generating these fixed cube shapes (once I'm not familiar with javascript). I just created this gist to expose my code, using, as base, your sq12phase:
https://gist.github.com/LucasAlfare/0a3089b60c908ac6147336445641f247
Now in relation to the interface can be tought some ways to make user able to choose their cube shapes, like comboBoxes with a sided button to add that value to "UserShapes" list. This is just a approach.
Beyond this, another tool related to CSP can be a Parity Checker, to user checks if the result is odd or even. This should take in mind the two inspections methods for CSP: BLD and Cale Tracing. In case of implementing Cale Tracing Checker, this tool should do the user click in the scramble preview (in the pieces) and get the triads and result.
If you have any questions about the CSP feel free to ask.
Thanks so much for implementing all the various improvements lately! I've now switched back to cstimer, and it's great to be back.
This request is for myself and around 10% of the male population who are colorblind. Could we get a custom color scheme for the scrambles display?
For example, on my cubes I use black instead of orange, and grey instead of green. I almost can't tell apart the green and orange on the scramble display.
Giiker is working great in the new version!
A few feature requests:
At the same time that I'd like to have a blank session every time I start solving, it's always nice to be able to see progress over time and big averages that can't be done in one sitting, like ao1000. The best way I can think to solve both issues is to have session folders. For example, lets imagine I have a folder called 3x3, and in it, I start daily sessions in which I do 3x3 solves, it would be nice to, at the end of the day, go back to the 3x3 folder and see all the sessions in that folder merged, but maintain the ability to go back to a specific session and see it's times, as well as solve more. I don't have any relevant programming experience, so I don't know how hard that'd be to implement, just thought it was a cool idea.
Since we have solving date now, theoretically csTimer is able to do all statistics like some other analysis tools. Write down your suggestion that you think csTimer should implement.
Please bring back the old statistocs tool, the new one is absolute ass
It's always the session best single :)
Would it be possible to save the points, amount of solves cubes and amount of attempted cubes for multi blind and also show those in the stats together with the times, but ranked after the criteria of the wca?
When you click on the export button usually there is coming a little screen where you can save your times and import them. but i doesn't work anymore, for me at least. I hope you can fix it!
What it says on the tin: I cannot see the correct state of the E-slice in the drawn scramble. Whether it's square-shaped or kite-shaped.
I have two separate sessions for 3x3 Blindfolded right now with two different timer inputs.
On the first session, where I time memo/exec splits, I use the regular "Timer" input. On the second, which I use for my stackmatted solves, I use the "Typing" input.
This leads me to the following request:
Being able to define, per session, how times are entered. This way I won't have to manually switch it every time I change sessions.
A small request, please add:
I believe would be best to use something like the YYYY-MM-DD HH-MM-SS format for clarity and natural sorting.
The WCA 4x4 scrambles on cstimer are not random state, although the WCA requires it for 4x4.
option -> statistics -> Statistical indicators -> Custom
isn't working on https://cstimer.net/new/
edit:
Also when I switch from https://cstimer.net/ to https://cstimer.net/new/, tools aren't working anymore: on the right bot of the the screen they are just gone and a click on tools does nothing. Mouse over the tools button just shows a blank box. In the options -> tools I can only see time distribution precision, nothing else. Same if I go to https://cstimer.net/new/ and import a backup that I made with https://cstimer.net/.
So I can connect my Gen4 to the computer using the mic jack. In Edge, csTimer recognises it is plugged in but does not display anything other than --:-- as if it were turned off or not connected. In Chrome, csTimer doesn't recognise it is connected at all and does not ask to even allow microphone usage.
Seem like stackmat mode is unreliable when it comes to inspection. For me inspection sometimes starts randomly. Could there possibly be an option to only start inspection with space and not some motion on the timer itself? Of course direct starts still need to work for BLD.
Alert says "Some errors occurred..." when trying to export to server
Jay has this problem with his stackmat. The stackmat connects to cstimer but sometimes it take like 5 seconds to actually respond and start the time on the screen(though it when it starts showing the time on the screen it goes to the correct time). Also more importantly, when he stops the timer(stackmat) the stackmat stops but the computer(cstimer) continues to count up. Though when he turns the timer off and on it shows the correct time.
Jay's video showing the problem:
https://www.youtube.com/watch?v=se_QnHCl-W8&feature=push-u-sub&attr_tag=c9HrWPJlbmNvyA7r%3A6&ab_channel=JaydenMcNeill
It happens that I click "last" to go back to the previous scramble, and afterwards forget about it and do the same scramble yet again.
Could you mark it somehow that the previous scramble is displayed? Perhaps even by just disabling the "last" link, which does nothing in this case anyway.
Can you integrate a login function through Google or Facebook so we can save out times online and be able to easier access them from multiple devices?
Please differentiate them somehow. Thanks!
Line 21 in 95b7860
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.