lifeviewer bug

Has something gone haywire? Let us know about it!
User avatar
rowett
Moderator
Posts: 4586
Joined: January 31st, 2013, 2:34 am
Location: UK
Contact:

Re: lifeviewer bug

Post by rowett »

LuveelVoom wrote: December 3rd, 2024, 9:52 pm Memory leak of some sort in LTL rules, especially generations ones? They just get laggier and laggier the longer you spend in a pattern.
The performance of the LtL/HROT algo is related to the area of the bounding rectangle. So if you have a pattern like the one in your signature where you have spaceships going off to infinity then it will get slower and slower. In this case you can limit the slow down by running the pattern in a bounded grid. For example:

Code: Select all

x = 74, y = 29, rule = R1,C3,S2-3,B3,NW211111112,012:P400
$56.A$56.2BA$53.A3.2B$51.B.BA2.B$52.B4.A$4.A48.B$4.BA41.B$46.A3.B.A$52.
B$53.BA$2.A3.B$.B$2.B51.B$52.A$70.BA$68.A3B$71.BA2$60.B2.A5.A$63.B3.B
.BA$59.A4.BA2.B$69.B$65.B3$66.B$65.A!
LuveelVoom wrote: December 3rd, 2024, 9:52 pm Also, if there’s an error in a rulestring, it deletes the entire rulestring, which is REALLY annoying. Not sure if that’s a bug.
In what scenario?
User avatar
b-engine
Posts: 3762
Joined: October 26th, 2023, 4:11 am
Location: Somewhere on where Earth At
Contact:

Re: lifeviewer bug

Post by b-engine »

Use the browser's built-in webpage translator to translate the entire page with LifeViewer window open, then you'll spot that the X at top left turns into 十. Use an image or finding a similar cross from Window's Character Map should fix the problem.
Screenshot 2024-12-04 210056.png
Screenshot 2024-12-04 210056.png (61.88 KiB) Viewed 7163 times
User avatar
rowett
Moderator
Posts: 4586
Joined: January 31st, 2013, 2:34 am
Location: UK
Contact:

Re: lifeviewer bug

Post by rowett »

b-engine wrote: December 4th, 2024, 9:08 am Use the browser's built-in webpage translator to translate the entire page with LifeViewer window open, then you'll spot that the X at top left turns into 十.
Fixed, thanks!
User avatar
LuveelVoom
Posts: 544
Joined: April 27th, 2022, 7:59 pm

Re: lifeviewer bug

Post by LuveelVoom »

rowett wrote: December 4th, 2024, 1:59 am
LuveelVoom wrote: December 3rd, 2024, 9:52 pm Memory leak of some sort in LTL rules, especially generations ones? They just get laggier and laggier the longer you spend in a pattern.
The performance of the LtL/HROT algo is related to the area of the bounding rectangle. So if you have a pattern like the one in your signature where you have spaceships going off to infinity then it will get slower and slower. In this case you can limit the slow down by running the pattern in a bounded grid. For example:
pattern
Yes. What I am describing here persists after reducing bounding rectangle size, however.
LuveelVoom wrote: December 3rd, 2024, 9:52 pm Also, if there’s an error in a rulestring, it deletes the entire rulestring, which is REALLY annoying. Not sure if that’s a bug.
rowett wrote: December 4th, 2024, 1:59 am
In what scenario?
Pretty much any? If the rulestring is invalid, it throws an error, sends me to the null pattern, and wipes the rulestring from memory, losing me the rulegolf. It also makes long rulestring annoying to correct.
User avatar
rowett
Moderator
Posts: 4586
Joined: January 31st, 2013, 2:34 am
Location: UK
Contact:

Re: lifeviewer bug

Post by rowett »

LuveelVoom wrote: December 4th, 2024, 12:40 pm Yes. What I am describing here persists after reducing bounding rectangle size, however.
Please provide an example pattern that shows the slowdown and describe the steps you take that demonstrates it. Also give details of the device being used.
LuveelVoom wrote: December 3rd, 2024, 9:52 pm Pretty much any? If the rulestring is invalid, it throws an error, sends me to the null pattern, and wipes the rulestring from memory, losing me the rulegolf. It also makes long rulestring annoying to correct.
Again I need some repeatable steps that show this.
WhiteHawk
Posts: 1378
Joined: July 10th, 2024, 5:34 pm

Re: lifeviewer bug

Post by WhiteHawk »

I am having trouble copying patterns between different clipboards, especially when it comes to transferring patterns between LifeWiki, Catagolue, and/or the forums.

The problem is that when I try to cross-copy an object from one LV to another, I can't get it to copy over or appear on the external clipboard.

EDIT: it seems to be fixed now.
Last edited by WhiteHawk on December 5th, 2024, 2:21 pm, edited 3 times in total.
Currently working to improve Life's guns and work on updating SKOPs and Isotropic rules most similar to B3/S23 to Life standards. Will get software to begin searches eventually.

Pseudastur albicollis
User avatar
dvgrn
Moderator
Posts: 12023
Joined: May 17th, 2009, 11:00 pm
Location: Madison, WI
Contact:

Re: lifeviewer bug

Post by dvgrn »

WhiteHawk wrote: December 5th, 2024, 1:58 pm I am having trouble copying patterns between different clipboards, especially when it comes to transferring patterns between LifeWiki, Catagolue, and/or the forums.
Try writing down the very specific steps of a copy/paste sequence that is causing you trouble. If you just say you're having trouble, that's too vague to allow anyone else to duplicate the problem.
User avatar
b-engine
Posts: 3762
Joined: October 26th, 2023, 4:11 am
Location: Somewhere on where Earth At
Contact:

Re: lifeviewer bug

Post by b-engine »

rowett wrote: December 4th, 2024, 1:48 pm Again I need some repeatable steps that show this.
Open the pattern below:

Code: Select all

x = 0, y = 0, rule = B3/S234i6c
obo$b2o$bo!
Then go to Pattern > Change Rule, add an invalid character (for example "v" which will work anywhere) into the rulestring, and the pattern will disappear, but not the rulestring.
User avatar
rowett
Moderator
Posts: 4586
Joined: January 31st, 2013, 2:34 am
Location: UK
Contact:

Re: lifeviewer bug

Post by rowett »

b-engine wrote: December 5th, 2024, 5:55 pm Then go to Pattern > Change Rule, add an invalid character (for example "v" which will work anywhere) into the rulestring, and the pattern will disappear, but not the rulestring.
This is fixed in build 1221.
User avatar
pifricted
Posts: 1118
Joined: May 25th, 2024, 10:26 am
Location: Click here to set your location

Re: lifeviewer bug

Post by pifricted »

When LifeViewer loads PCA rules, LifeViewer crashes.
...is enjoying his teenage time.
User avatar
b-engine
Posts: 3762
Joined: October 26th, 2023, 4:11 am
Location: Somewhere on where Earth At
Contact:

Re: lifeviewer bug

Post by b-engine »

pifricted wrote: December 7th, 2024, 3:30 am When LifeViewer loads PCA rules, LifeViewer crashes.
It doesn't:

Code: Select all

x = 25, y = 25, rule = 2PCA4,0,1,2,12,4,10,9,13,8,6,5,14,3,7,11,15|2PCA4,0,4,8,12,1,10,9,7,2,6,5,11,3,13,14,15
12.D$11.B.H$12.N2$12.D7$.A21.A$H.G.H15.B.M.B$.D21.D$4.E$3.J5$12.A2$12.
K$11.B.H$12.A! 
User avatar
pifricted
Posts: 1118
Joined: May 25th, 2024, 10:26 am
Location: Click here to set your location

Re: lifeviewer bug

Post by pifricted »

b-engine wrote: December 7th, 2024, 4:17 am
pifricted wrote: December 7th, 2024, 3:30 am When LifeViewer loads PCA rules, LifeViewer crashes.
It doesn't:

Code: Select all

x = 25, y = 25, rule = 2PCA4,0,1,2,12,4,10,9,13,8,6,5,14,3,7,11,15|2PCA4,0,4,8,12,1,10,9,7,2,6,5,11,3,13,14,15
12.D$11.B.H$12.N2$12.D7$.A21.A$H.G.H15.B.M.B$.D21.D$4.E$3.J5$12.A2$12.
K$11.B.H$12.A! 
On my iPad:
Attachments
09BA4EE7-4730-4E8C-A385-5C7016C4BF38.jpeg
09BA4EE7-4730-4E8C-A385-5C7016C4BF38.jpeg (705.53 KiB) Viewed 6969 times
Last edited by pifricted on December 7th, 2024, 6:52 am, edited 1 time in total.
...is enjoying his teenage time.
User avatar
b-engine
Posts: 3762
Joined: October 26th, 2023, 4:11 am
Location: Somewhere on where Earth At
Contact:

Re: lifeviewer bug

Post by b-engine »

pifricted wrote: December 7th, 2024, 4:39 am On mobile phone:
On mobile phone:
Screenshot_20241207_173718_com.android.chrome.jpg
Screenshot_20241207_173718_com.android.chrome.jpg (275.35 KiB) Viewed 6967 times
User avatar
rowett
Moderator
Posts: 4586
Joined: January 31st, 2013, 2:34 am
Location: UK
Contact:

Re: lifeviewer bug

Post by rowett »

pifricted wrote: December 7th, 2024, 3:30 am When LifeViewer loads PCA rules, LifeViewer crashes.
Please let me know:
  1. The device you are using
  2. The operating system and version
  3. The browser and version
User avatar
pifricted
Posts: 1118
Joined: May 25th, 2024, 10:26 am
Location: Click here to set your location

Re: lifeviewer bug

Post by pifricted »

rowett wrote: December 7th, 2024, 6:26 am Please let me know:
  1. The device you are using
  2. The operating system and version
  3. The browser and version
  1. iPad mini 2 (too old?)
  2. iOS 12.5.5
  3. Just Safari
...is enjoying his teenage time.
User avatar
unname4798
Posts: 2534
Joined: July 15th, 2023, 10:27 am
Location: Near ConwayLife servers

Re: lifeviewer bug

Post by unname4798 »

pifricted wrote: December 7th, 2024, 6:51 am
rowett wrote: December 7th, 2024, 6:26 am Please let me know:
  1. The device you are using
  2. The operating system and version
  3. The browser and version
  1. iPad mini 2 (too old?)
  2. iOS 12.5.5
  3. Just Safari
1. Samsung Galaxy A14
2. Android 14
3. My user-agent:

Code: Select all

Mozilla/5.0 (Linux; Android 14; SM-A145F Build/UP1A.231005.007; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/131.0.6778.104 Mobile Safari/537.36
User avatar
b-engine
Posts: 3762
Joined: October 26th, 2023, 4:11 am
Location: Somewhere on where Earth At
Contact:

Re: lifeviewer bug

Post by b-engine »

unname4798 wrote: December 7th, 2024, 7:02 am
1. Currently using Huawei P10+ (Is this old enough?)
2. Presumably Android 7.1
3. Chrome 131.0.6778.104
User avatar
rowett
Moderator
Posts: 4586
Joined: January 31st, 2013, 2:34 am
Location: UK
Contact:

Re: lifeviewer bug

Post by rowett »

pifricted wrote: December 7th, 2024, 6:51 am
  1. iPad mini 2 (too old?)
  2. iOS 12.5.5
  3. Just Safari
Thanks. Try build 1224 and let me know if it works for you please.
User avatar
pifricted
Posts: 1118
Joined: May 25th, 2024, 10:26 am
Location: Click here to set your location

Re: lifeviewer bug

Post by pifricted »

rowett wrote: December 7th, 2024, 7:52 am Thanks. Try build 1224 and let me know if it works for you please.
It works.
...is enjoying his teenage time.
User avatar
pifricted
Posts: 1118
Joined: May 25th, 2024, 10:26 am
Location: Click here to set your location

Re: lifeviewer bug

Post by pifricted »

Move right, then you will see the bug:

Code: Select all

# [[ ANGLE 180 ZOOM 3 X -4000 ]]
x = 7802, y = 1, rule = B3/S23
7802o!
...is enjoying his teenage time.
User avatar
b-engine
Posts: 3762
Joined: October 26th, 2023, 4:11 am
Location: Somewhere on where Earth At
Contact:

Re: LifeViewer bug on mobile devices

Post by b-engine »

rowett wrote: November 26th, 2024, 6:20 pm It wasn't fixed because I can't reproduce the problem.
You can only reproduce it by opening LifeViewer in LifeWiki or ConwayLife forums on device with only touchscreen device. What's the browser, OS and device you're using to try to reproduce the bug?
User avatar
unname4798
Posts: 2534
Joined: July 15th, 2023, 10:27 am
Location: Near ConwayLife servers

Re: LifeViewer bug on mobile devices

Post by unname4798 »

b-engine wrote: December 14th, 2024, 11:44 am What's the browser, OS and device you're using to try to reproduce the bug?
Android 14, Chrome, Galaxy A14
User avatar
rowett
Moderator
Posts: 4586
Joined: January 31st, 2013, 2:34 am
Location: UK
Contact:

Re: lifeviewer bug

Post by rowett »

pifricted wrote: December 14th, 2024, 6:34 am Move right, then you will see the bug
This has been fixed and will be in the next release.

EDIT: This is now released.
User avatar
LuveelVoom
Posts: 544
Joined: April 27th, 2022, 7:59 pm

Re: lifeviewer bug

Post by LuveelVoom »

When pressing "randomize rule" in an INT rule, a OTL rule will be rolled instead.
Steps to reproduce:
1. Create a new pattern in an INT rule (for example, B2-a3/S3k4enri7-c, just to give one with a variety of symbols)
2. Press randomize rule.
3. Observe that lifeviewer miraculously pulls out one of the 262,144 OTL rules from the space of countless undecillions of INT rules.

This glitch may occur for other rulespaces as well, I haven't yet tested it.
User avatar
confocaloid
Posts: 6697
Joined: February 8th, 2022, 3:15 pm
Location: learn to protect yourself against stray gliders and sparks and self-destruct mechanisms

Re: lifeviewer bug

Post by confocaloid »

LuveelVoom wrote: December 14th, 2024, 9:15 pm When pressing "randomize rule" in an INT rule, a OTL rule will be rolled instead.
Steps to reproduce:
1. Create a new pattern in an INT rule (for example, B2-a3/S3k4enri7-c, just to give one with a variety of symbols)
2. Press randomize rule.
3. Observe that lifeviewer miraculously pulls out one of the 262,144 OTL rules from the space of countless undecillions of INT rules.

This glitch may occur for other rulespaces as well, I haven't yet tested it.
Not sure whether I understand correctly what you mean by "OTL", the forum search returns no relevant results: search.php?keywords=OTL
The quote below may be relevant, though.

Personally I don't see lack of such a feature as a "glitch".
I think generating "random" isotropic 2-state cellular automata with range-1 Moore neighbourhood would be more confusing than helpful.
  • The space is very large, and there are different subspaces. (B0, A0 B1c, A01c B1e, A01 B2a, A012a, ... ???) It is unclear whether to stay within a subspace (defined in some way or another), or to allow "jumping" between subspaces.
  • Different birth/survival conditions have significantly different consequences, even within the same subspace (defined in some way or another). How to assign probabilities?
(These issues are already noticeable for Life-like cellular automata to some extent, but the space of Life-like cellular automata is sufficiently small, and I think in that case the usefulness of "give me a pseudorandom ruleset" outweights the problems with the idea / lack of an unique natural way to implement it.)

Things would become even more confusing with RuleLoader-compatible multistate cellular automata. Do you want to make the number of states pseudorandom, or you would prefer to randomize only the actual rules that are followed? Do you want to make the symmetries of the ruleset pseudorandom (i.e. switch between "none", "permute", "rotate4reflect")? Should the number of listed rules in a ruletable be kept constant, or it can change too? What to do with those cellular automata that are defined by a rule tree?
rowett wrote: February 26th, 2024, 10:13 am [...]
muzik wrote: February 26th, 2024, 8:03 am Is Rand All used on isotropic non-totalistic rules giving outer-totalistic results intended, as opposed to a random isotropic non-totalistic rule?
Rand All doesn't yet support isotropic non-totalistic rule generation (for any neighbourhood).
[...]
127:1 B3/S234c User:Confocal/R (isotropic CA, incomplete)
Unlikely events happen.
My silence does not imply agreement, nor indifference. If I disagreed with something in the past, then please do not construe my silence as something that could change that.
Post Reply