Search

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.

Go to page

Member

Maybe this does tell Lucas something, but my question to statements like that is always: But is it a problem?

Because in general, it can be quite normal to not free memory as soon as possible. Garbage collection can get off its lazy ass and get to work whenever it feels it's appropriate. Surely you have a trash can inside your house, right? Do you take it out as soon as you put one thing into it? Or do you wait, put more and more things into it, and only take it out when it's (almost) full or you for some reason feel like it (like you having nothing better to do)? So unless it's actually a problem, like you getting full-memory errors, everything might just be going according to plan.

That said, if I'm wrong and misjudge the technology and such increasing memory consumption likely does indicate a real problem, please let me know.

Member

Maybe this does tell Lucas something, but my question to statements like that is always: But is it a problem?

Because in general, it can be quite normal to not free memory as soon as possible. Garbage collection can get off its lazy ass and get to work whenever it feels it's appropriate. Surely you have a trash can inside your house, right? Do you take it out as soon as you put one thing into it? Or do you wait, put more and more things into it, and only take it out when it's (almost) full or you for some reason feel like it (like you having nothing better to do)? So unless it's actually a problem, like you getting full-memory errors, everything might just be going according to plan.

That said, if I'm wrong and misjudge the technology and such increasing memory consumption likely does indicate a real problem, please let me know.

Well, yeterday after an hour or two of playing around with alg cubing net (doing some FMC), my 4 GB memory became full, and everything was like frozen. I was able to move the mouse, but every single click (or button press) had a minute(!) long reaction time. It was annoying and frustrating. So yes, I call it a problem, because if you don't watch about it, eventually it becomes almost like a blue death.

Applying your trash can analogy: not just your trash can, but your enitre house gets full of trash, and you only notice that when you can't even move.

Moreover, alg.garron.us don't have this problem. I know that it works differently, but this problem forces me to use alg.garron.us, while alg.cubing.net should be the superior page if I understand well.

Moreover, alg.garron.us don't have this problem. I know that it works differently, but this problem forces me to use alg.garron.us, while alg.cubing.net should be the superior page if I understand well.

Apart from the ability to have cubes larger than the 7x7x7, I find that alg.garron.us is more user-friendly (and simple) to use overall (no offense Lucas). If it confused me when I first saw it, how can we expect beginners to be more comfortable using it than alg.garron.us (apart from the fact that it is not built to rely on Java)? Also, Lucas, when my mouse pointer is in the cube window, and I accidentally touch the scroll dial on my mouse, the cube disappears.

Moderator

The more I use it, the more memory it consumes. So if I put there some scramble, a solution in the move section, another scramble, different solutions, etc. (playing arond with FMC), the physical memory usage always increases, but never decreases (only if I close the webpage).

The current internals are extremely inefficient right now; an entirely new cube is constructed for every letter you type.
I'm going to rewrite the internals soon, and this will become a lot more efficient as a side effect (it should be able to reuse the same cube every time). It just hasn't been a priority because modern browsers can handle the current situation for most users.

As a simple workaround, you highlight your browser's URL bar and hit Enter to reload the page; memory usage will start from scratch with your current state.

Apart from the ability to have cubes larger than the 7x7x7, I find that alg.garron.us is more user-friendly (and simple) to use overall (no offense Lucas). If it confused me when I first saw it, how can we expect beginners to be more comfortable using it than alg.garron.us (apart from the fact that it is not built to rely on Java)?

That isn't very specific, but I'm always happy to hear feedback; can you point to specific things that were user-friendly, and that are not anymore?

I'm focused on features right now, but I eventually want it to be just as useful for alg.garron.us for everything. (However, playback mode is already meant to make viewing algs as simple as possible, by hiding all the input controls.)

The cube should change orientation by a bit, but it should remain visible.
Does it ever reappear? Do you see any error messages in the browser console?
What is your OS/browser?
(Perhaps the scroll event triggers and exception, causing everything not to be drawn. I don't usually test on IE because I work on OSX.)

Member

1. a tool (a button) to count the moves after each line of solve and add them like (moves of the step/total moves) at the end of the line
2. make the visual cube like a sim (is that hard to do?) so you can do the same process the other way round: make moves on the visual cube and the script then writes them down properly.
3. along with the simplify/expand/invert/image buttons there could be a "remove rotations" button, that does what it says: removes all x/y/z/ or even x/y/z/M/E/S/Uw/Dw/Bw/Fw/Rw/Lw moves from the algorithm like this:

4. just like 3. it would then be cool to be able to add a cube rotation in the algorithm, not just adding it in between the moves, but so that the program then changes the remaining moves of the algorithm accordingly, like this:

Those are all good suggestions! In fact, my plan is to support all of them eventually – roughly in the order you listed.
It's also great to hear explicit feature requests. I honestly don't have much time to work on this, but if I know people want something I can give it higher priority.

One reason I implemented to cubing.net/touch recently is so that I can support both keyboard and mobile input.

If someone wants to work on something that can remove rotations or add rotations, it should be easy to work on alg.js if you know Javascript. I'd be happy happy to expose contributions as features in alg.cubing.net.

Member

Those are all good suggestions! In fact, my plan is to support all of them eventually – roughly in the order you listed.
It's also great to hear explicit feature requests. I honestly don't have much time to work on this, but if I know people want something I can give it higher priority.

Premium Member

Those are all good suggestions! In fact, my plan is to support all of them eventually – roughly in the order you listed.
It's also great to hear explicit feature requests. I honestly don't have much time to work on this, but if I know people want something I can give it higher priority.

One reason I implemented to cubing.net/touch recently is so that I can support both keyboard and mobile input.

If someone wants to work on something that can remove rotations or add rotations, it should be easy to work on alg.js if you know Javascript. I'd be happy happy to expose contributions as features in alg.cubing.net.

Yeah, I'm aware. It's a good place to look at. Unfortunately, the problem isn't really figuring out how to implement it. It's the time to make it work in a way that can be reused and adapted with twisty.js.

Maybe not. None of the tools affect the setup right now, and there is no way to guess what the user wants in general.
I can think of use cases for mirroring with either behaviour for the setup. I'm going to leave it unaffected for now. It's at least possible to copy the setup into the moves field to mirror it.

About Speedsolving.com

SpeedSolving.com is a community focused on speed-solving puzzles, particularly the Rubik’s cube and alike. Created in 2006, the speedcubing community has grown from just a few to over 35,000 people that make up the community today. Competitions and unofficial meetups are organized all over the world on a weekly basis. The forum now has well over 1,200,000 posts and growing.