# Cube Explorer 5.00 released - with slice moves

#### CubeExplorer

##### Member
Thank you, Lucas for your suggestion.

Alg does not work on this old windows xp machine wihout java, im operating here. So I can not say much. I will try it later on another machine.

qwr

#### qwr

##### Member
Ah, interesting. I stand corrected.

CE does seem to support bracketing (so e.g. "(R y)1260" works as you'd expect), but the apostrophe is being parsed as equivalent to 3. Probably because for normal moves inverting and power-3 are the same thing, an assumption that breaks down for arbitrary sequences.
oh yeah that makes a lot more sense.

#### Lucas Garron

##### Member
Ah, interesting. I stand corrected.

CE does seem to support bracketing (so e.g. "(R y)1260" works as you'd expect), but the apostrophe is being parsed as equivalent to 3. Probably because for normal moves inverting and power-3 are the same thing, an assumption that breaks down for arbitrary sequences.

Cube Explorer handles such algs in these two files, but I can't easily find the bug:

This line (and a similar one on line 949) looks like an obvious culprit, except that it's guarded by a check that only applies it to moves.
It might be worth telling Kociemba: https://github.com/hkociemba/CubeExplorer/issues

Thank you, Lucas for your suggestion.

Alg does not work on this old windows xp machine wihout java, im operating here. So I can not say much. I will try it later on another machine.
Hmm, neither alg.cubing.net nor Twizzle have ever used Java. But Twizzle especially (which I linked to) relies on newer browser features, so unfortunately breaking in Windows XP is pretty expected. :-/
Let me know if you're find issues on something new!

#### xyzzy

##### Member
https://github.com/hkociemba/CubeExplorer/blob/ee7772e2da38d6538dedd3b158b6277ae3eb144e/RubikMain.pas

Should be this. Replaces apostrophe and hyphen with the digit '3', then later parses it as an integer. So e.g. (R U' F B2 D)2'1' gets preprocessed into (R U3 F B2 D)2313.

#### qwr

##### Member

Should be this. Replaces apostrophe and hyphen with the digit '3', then later parses it as an integer. So e.g. (R U' F B2 D)2'1' gets preprocessed into (R U3 F B2 D)2313.
It would be great if CubeExplorer weren't written in... Pascal and PHP

#### CubeExplorer

##### Member
... neither alg.cubing.net nor Twizzle have ever used Java. But Twizzle especially (which I linked to) relies on newer browser features, so unfortunately breaking in Windows XP is pretty expected. :-/
Thank you again, Lucas. Its interesting background info to me.

Anyway my original confusion concerning the inversion of a maneuver ist cleared now. The using of sage did help a lot.

Looking for a visual representation of the algebraic output of sage I put this into Cube Explorer Program and I found a surprising result again.
Code:
print('(F*R*U*Ri*Ui*Fi)*U^2*(F*R*U*Ri*Ui*Fi)*U^2 ==',(F*R*U*Ri*Ui*Fi)*U^2*(F*R*U*Ri*Ui*Fi)*U^2)
#   (F*R*U*Ri*Ui*Fi)*U^2*(F*R*U*Ri*Ui*Fi)*U^2 == (4,7,26)(5,10,18)
print(((F*R*U*Ri*Ui*Fi)*U^2*(F*R*U*Ri*Ui*Fi)*U^2) == (F*R*U*Ri*Ui*Fi *U^2* F*R*U*Ri*Ui*Fi *U^2))
#   True

CE wrong:
(FRUR'U'F')U2(FRUR'U'F')U2
CE OK:
FRUR'U'F' U2 FRUR'U'F' U2
Maybe the brackets have a different meaning in CE, but I could not find Info to this point.

I post it here, because I will notify Herbert Kociemba with a link to this thread.

#### qwr

##### Member
Thank you again, Lucas. Its interesting background info to me.

Anyway my original confusion concerning the inversion of a maneuver ist cleared now. The using of sage did help a lot.

Looking for a visual representation of the algebraic output of sage I put this into Cube Explorer Program and I found a surprising result again.
Code:
print('(F*R*U*Ri*Ui*Fi)*U^2*(F*R*U*Ri*Ui*Fi)*U^2 ==',(F*R*U*Ri*Ui*Fi)*U^2*(F*R*U*Ri*Ui*Fi)*U^2)
#   (F*R*U*Ri*Ui*Fi)*U^2*(F*R*U*Ri*Ui*Fi)*U^2 == (4,7,26)(5,10,18)
print(((F*R*U*Ri*Ui*Fi)*U^2*(F*R*U*Ri*Ui*Fi)*U^2) == (F*R*U*Ri*Ui*Fi *U^2* F*R*U*Ri*Ui*Fi *U^2))
#   True

CE wrong:
(FRUR'U'F')U2(FRUR'U'F')U2
CE OK:
FRUR'U'F' U2 FRUR'U'F' U2
Maybe the brackets have a different meaning in CE, but I could not find Info to this point.

I post it here, because I will notify Herbert Kociemba with a link to this thread.
Did you try putting spaces in between moves? I think it's customary to put a space in between every move.

#### CubeExplorer

##### Member
Did you try putting spaces in between moves? I think it's customary to put a space in between every move.
Thanks for the hint. Could not find anything like this in the help file.

The Program normally works correctly without spaces BUT after the closing Brackets there is a space needed.
Code:
(FRUR'U'F') U2(FRUR'U'F') U2
FRUR'U'F'U2FRUR'U'F'U2
Both lines work well.

Anyway the issue with the apostrophe remains unsolved.

Last edited:

#### Herbert Kociemba

##### Member
My program does not support bracketing at all. The only brackets it is intended not get confused with are the eventually existing brackets at the end of a maneuver which include the maneuver length.

#### CubeExplorer

##### Member
My program does not support bracketing at all.
Thank you for the answer. Its good to know this.