Pages with invalid RLE files

Has something gone haywire? Let us know about it!
User avatar
Apple Bottom
Posts: 1027
Joined: July 27th, 2015, 2:06 pm
Contact:

Re: Pages with invalid RLE files

Post by Apple Bottom » August 16th, 2017, 6:50 am

gmc_nxtman wrote:487-tick reflector:

The p448 dart gun must be added as an attachment:
Thanks; uploaded both.
dvgrn wrote:Hmm, it seems as if the consensus on what counts as elegance may have shifted just a bit in the last decade.

I've always liked staged-recovery circuits, and this one held the record for recovery time for a while -- but even in 2009, "elegantly fused" may have been a bit of a stretch. "... can be fused with the usual ungainly Herschel plumbing..." would be more like it...!
Wouldn't it be fun if the article said THAT! ;) I've gone ahead and removed the word "elegant" for now -- probably best to avoid such labels (which Wikipedia calls "peacock terms") entirely, and let the reader be the judge.

(I like "the usual ungainly Herschel plumbing", though.)
If you speak, your speech must be better than your silence would have been. — Arabian proverb

Catagolue: Apple Bottom • Life Wiki: Apple Bottom • Twitter: @_AppleBottom_

Proud member of the Pattern Raiders!

User avatar
BZH314
Posts: 16
Joined: August 26th, 2018, 6:05 am
Contact:

Re: Pages with invalid RLE files

Post by BZH314 » January 16th, 2019, 10:11 pm

Some pages with missing .rle file (404):
RLEs are from Catagolue, except:
- the first one (42883M) which is my (hopefuly correct) condensed version of the original post
at viewtopic.php?t=&p=66055#p66055
- Jormungant's G-to-H
- Bronco: RLE is missing

http://www.conwaylife.com/wiki/42883M

Code: Select all

#N 42883M (aka Homer)
#O Adam P. Goucher
#C A methuselah with a lifespan of 42883 generations, discovered on November 30, 2018
#C http://www.conwaylife.com/wiki/42883M
#C http://www.conwaylife.com/patterns/42883m.rle
x = 16, y = 16, rule = B3/S23
obo6b5obo$2b3obobob2o2bob$b2o2bobo2b2o3bo$2bobo2b2obo2b2ob$o2bo4b3o3bo
b$3bob3obo6b$6obobob2obob$6b2ob2ob2o2b$2b3ob8o2b$3b2ob4o4b2o$6obo2bo2b
o2b$bo3b3ob3o2b2o$5obo3bob2obo$2o6bo2bo4b$2ob3o2bob6o$2b2obobob2o2b2ob
!
http://www.conwaylife.com/wiki/Ridiculously_long_boat

Code: Select all

#N Ridiculously long boat
#C http://www.conwaylife.com/wiki/Ridiculously_long_boat
#C http://www.conwaylife.com/patterns/ridiculouslylongboat.rle
x = 11, y = 11, rule = B3/S23
9bo$8bobo$7bobo$6bobo$5bobo$4bobo$3bobo$2bobo$bobo$obo$2o!
http://www.conwaylife.com/wiki/Ludicrously_long_boat

Code: Select all

#N Ludicrously long boat
#C http://www.conwaylife.com/wiki/Ludicrously_long_boat
#C http://www.conwaylife.com/patterns/ludicrouslylongboat.rle
x = 12, y = 12, rule = B3/S23
10bo$9bobo$8bobo$7bobo$6bobo$5bobo$4bobo$3bobo$2bobo$bobo$obo$2o!
http://www.conwaylife.com/wiki/Hat_siamese_vase

Code: Select all

#N Hat siamese vase
#C http://www.conwaylife.com/wiki/Hat_siamese_vase
#C http://www.conwaylife.com/patterns/hatsiamesevase.rle
x = 9, y = 9, rule = B3/S23
b2o3b2o$o2bobo2bo$2obobob2o$3bobo$3bobo$2b2ob2o$3bobo$3bobo$4bo!
http://www.conwaylife.com/wiki/O_quad-loaf

Code: Select all

#N O quad-loaf (or quad-loaf, or tetraloaf I, or bi-loaf tie bi-loaf)
#C A 28-cell still life
#C http://www.conwaylife.com/wiki/O_quad-loaf
#C http://www.conwaylife.com/patterns/oquadloaf.rle
x = 10, y = 10, rule = B3/S23
5bo$4bobo$3bo2bo$2bob2ob2o$bobo2bo2bo$o2bo2bobo$b2ob2obo$3bo2bo$3bobo$4bo!

http://www.conwaylife.com/wiki/Very_long_snake

Code: Select all

#N Very long snake
#C An 8-cell still life
#C http://www.conwaylife.com/wiki/Very_long_snake
#C http://www.conwaylife.com/patterns/verylongsnake.rle
x = 6, y = 4, rule = B3/S23
2o$obo$3bobo$4b2o!
http://www.conwaylife.com/wiki/Very_long_boat

Code: Select all

#N Very long boat
#C An 9-cell still life
#C http://www.conwaylife.com/wiki/Very_long_boat
#C http://www.conwaylife.com/patterns/verylongboat.rle
x = 5, y = 5, rule = B3/S23
bo$obo$bobo$2bobo$3b2o!
http://www.conwaylife.com/wiki/Half-bakery

Code: Select all

#N Half-bakery
#C http://www.conwaylife.com/wiki/Half-bakery
#C http://www.conwaylife.com/patterns/halfbakery.rle
x = 7, y = 7, rule = B3/S23
4b2o$3bo2bo$3bobo$b2obo$o2bo$obo$bo!
http://www.conwaylife.com/wiki/Karel%27s_p177

Code: Select all

#N Karel's p177
#O Karel Suhajda
#C A period 177 oscillator discovered in June 2007
#C http://www.conwaylife.com/wiki/Karel%27s_p177
#C http://www.conwaylife.com/patterns/karelsp177.rle
x = 44, y = 44, rule = B3/S23
7bobo4bo14bo4bobo$7bobo3b3o12b3o3bobo$8bo4bo2bo10bo2bo4bo$14b3o10b3o4$2o40b2o
$2bo38bo$2o40b2o4$b2o38b2o$2obo36bob2o$bobo36bobo$2b2o36b2o11$2b2o36b2o$bobo
36bobo$2obo36bob2o$b2o38b2o4$2o40b2o$2bo38bo$2o40b2o4$14b3o10b3o$8bo4bo2bo10b
o2bo4bo$7bobo3b3o12b3o3bobo$7bobo4bo14bo4bobo!
http://www.conwaylife.com/wiki/Eureka

Code: Select all

#N Eureka (or pre-pulsar shuttle 30)
#O David Buckingham
#C A period 30 pre-pulsar shuttle oscillator found in August 1980
#C http://www.conwaylife.com/wiki/Eureka
#C http://www.conwaylife.com/patterns/prepulsarshuttle30.rle
x = 11, y = 18, rule = B3/S23
bo7bo$obo5bobo$bo7bo3$2bo5bo$2bo5bo$bobo3bobo$2bo5bo$2bo5bo6$bo7bo$obo5bobo$b
o7bo!
http://www.conwaylife.com/wiki/Cottonmouth

Code: Select all

#N Cottonmouth
#O AforAmpere
#C A c/10 orthogonal pushalong for the copperhead and fireship discovered on 24 March 2018
#C http://www.conwaylife.com/wiki/Cottonmouth
#C http://www.conwaylife.com/patterns/cottonmouth.rle
x = 10, y = 34, rule = B3/S23
3b4o2$3bo2bo$2bob2obo$2bo4bo2$2bo4bo$2b2o2b2o$2b6o$b8o$bo6bo$2bo4bo$2o6b2o$2o
6b2o$2o6b2o$2bo4bo$2bo4bo$3bo2bo$2bo4bo$2bo4bo2$4b2o$3bo2bo$2b2o2b2o$2b2o2b2o
$2bob2obo$4b2o$2bo4bo$b2o4b2o3$4b2o$3bo2bo$3bo2bo!
http://www.conwaylife.com/wiki/Jormungant%27s_G-to-H

Code: Select all

#N Jormungant's G-to-H
#O Jormungant
#C http://www.conwaylife.com/wiki/Jormungant%27s_G-to-H
#C http://www.conwaylife.com/patterns/jormungantsgtoh.rle
x = 27, y = 57, rule = B3/S23
8b2o$8bo$2o3b2obo$o4bobo$b3obo$3bob2o2$23bo$8b2o13bo$9b2ob2o9b3o$obo5
bo3b2o11bo$b2o$bo6$7b2obo$7b2ob3o$13bo$7b2ob3o$8bobo$8bobo$9bo6$8b2o$
8bo$2o3b2obo$o4bobo$b3obo$3bob2o2$23bo$8b2o13bo$9b2ob2o9b3o$8bo3b2o11
bo8$8b3o$8bo$9bo10$8b2o$8bo$2o3b2obo$o4bobo$b3obo$3bob2o2$23bo$8b2o13
bo$9b2ob2o9b3o$8bo3b2o11bo7$3o$2bo$bo11$8b2o$8bo$2o3b2obo$o4bobo$b3ob
o$3bob2o2$23bo$8b2o13bo$9b2ob2o9b3o$8bo3b2o11bo7$b2o$obo$2bo!
http://www.conwaylife.com/wiki/Bronco

Code: Select all

#N Bronco
#O Tanner Jacobi
#C A glider-to-Herschel converter discovered in 2018
#C http://www.conwaylife.com/wiki/Bronco
#C http://www.conwaylife.com/patterns/bronco.rle
x = 58, y = 48, rule = B3/S23
MISSING RLE
Also, this page has an error (Expression error: Unrecognized word "n"):
http://www.conwaylife.com/wiki/Electric_fence
Last edited by BZH314 on January 17th, 2019, 2:33 am, edited 2 times in total.

User avatar
77topaz
Posts: 1345
Joined: January 12th, 2018, 9:19 pm

Re: Pages with invalid RLE files

Post by 77topaz » January 16th, 2019, 11:26 pm

What's up with that 42883M RLE? It looks like someone pasted the soup on top of a c/4 diagonal spaceship in Golly.

User avatar
BZH314
Posts: 16
Joined: August 26th, 2018, 6:05 am
Contact:

Re: Pages with invalid RLE files

Post by BZH314 » January 17th, 2019, 12:09 am

@77topaz: dang apologies, the first line was an extra line (post edited and removed now, it should be correct).
Very good catch, thank you!

User avatar
Apple Bottom
Posts: 1027
Joined: July 27th, 2015, 2:06 pm
Contact:

Re: Pages with invalid RLE files

Post by Apple Bottom » January 17th, 2019, 4:16 am

BZH314 wrote:Also, this page has an error (Expression error: Unrecognized word "n"):
http://www.conwaylife.com/wiki/Electric_fence
This is because population, heat etc. are given in parametric form, rather than as pure numbers. Could be fixed by either using {{#iferror:}} in the appropriate places in the pattern templates (complicating them even more), or editing the page to only have numbers in the infobox, and put the more general terms in the article text.

The second feels like an inferior solution to me; we shouldn't be basing the way we write articles on technical limitations, and the current infobox information is, in a sense, more correct than it would be if we only gave specific figures for the specific incarnation of the oscillator displayed. I can edit the templates instead, but it may not happen for a while; it's not a particular high-priority item on my mental to-do list.
If you speak, your speech must be better than your silence would have been. — Arabian proverb

Catagolue: Apple Bottom • Life Wiki: Apple Bottom • Twitter: @_AppleBottom_

Proud member of the Pattern Raiders!

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

Re: Pages with invalid RLE files

Post by dvgrn » January 17th, 2019, 9:02 am

BZH314 wrote:Some pages with missing .rle file (404)...
Thanks for doing this!

However, it shouldn't be necessary to report very many more missing RLE files in this format. As of yesterday there were a total of 319 patterns with missing RLE files on the LifeWiki, and the way I'm trying to handle this is with a bulk upload to the server.

See this Tiki bar discussion for a starting point. Some of the later discussions are also relevant.

How raw RLE and uploads work on LifeWiki
Pretty much all recently added pattern articles make use of LifeViewer, which checks the RLE namespace to see if an RLE article has been created for that pattern name (or more precisely, that "pname", which is a parameter in the infobox that you have to edit the article to see.

All of the patterns you reported have raw RLE files, so the auto-uploader script can collect them with no problem:

http://conwaylife.com/w/index.php?title ... ction=edit
http://conwaylife.com/w/index.php?title ... ction=edit
http://conwaylife.com/w/index.php?title ... ction=edit
http://conwaylife.com/w/index.php?title ... ction=edit
http://conwaylife.com/w/index.php?title ... ction=edit
http://conwaylife.com/w/index.php?title ... ction=edit
http://conwaylife.com/w/index.php?title ... ction=edit
http://conwaylife.com/w/index.php?title ... ction=edit
http://conwaylife.com/w/index.php?title ... ction=edit
http://conwaylife.com/w/index.php?title ... ction=edit
http://conwaylife.com/w/index.php?title ... ction=edit
http://conwaylife.com/w/index.php?title ... ction=edit
http://conwaylife.com/w/index.php?title ... ction=edit
http://conwaylife.com/w/index.php?title ... ction=edit

The auto-uploader script automatically produces #N and #O lines, based on data from each article's infobox template. It also adds the two URL link lines. So when I ran the script yesterday, the script produced

Code: Select all

#N 42883m.rle
#O Adam P. Goucher, 2018
#C http://conwaylife.com/wiki/42883M
#C http://www.conwaylife.com/patterns/42883m.rle
x = 16, y = 16, rule = B3/S23
obo6b5obo$2b3obobob2o2bo$b2o2bobo2b2o3bo$2bobo2b2obo2b2o$o2bo4b3o3bo$
3bob3obo$6obobob2obo$6b2ob2ob2o$2b3ob8o$3b2ob4o4b2o$6obo2bo2bo$bo3b3ob
3o2b2o$5obo3bob2obo$2o6bo2bo$2ob3o2bob6o$2b2obobob2o2b2o!
... along with 318 other files, all in a single folder ready to zip up and send to Nathaniel.

The alternative is a fairly awkward interface to LifeWiki where I'd have to pick files one at a time and upload them to the server. It's easy to make mistakes that way, and the tedium is absolutely deadly.

Additional comments in RLE
Now, your comments were generally just a little better than what my script comes up with! I can only extract the discovery year from the infobox, and I've been putting that year on the #O line with the discoverer name.

As long as the link to the article is available, though, I'm not sure it's really necessary to have a short description of the pattern in the comments. And I definitely don't want to hand-edit all 320+ files.

So if you'd like to have any more of these uploaded RLE files contain short description lines, a great place to add them would be directly in the RLE:{pname} article on the LifeWiki. The script will pick them up along with the RLE, so they'll appear after the auto-generated URL lines.

Miscellaneous maintenance
I'm working slowly through a pile of technical cleanup issues. A bunch of Entity Valkyrie's capitalized pnames need to be un-capitalized, and various comments need to be hand-edited in the RLE namespace before I re-run the script and do the final bulk upload, and I have to double-check my synthesis-RLE collection code, and so forth. That means it will probably be another week or more before all these RLE files actually show up on the server -- but they're definitely going to get there!

If you have any questions about all this, please ask. There's a lot of cleanup to be done in this area, and I could definitely use some help -- it's just the particular missing-RLE problem you mentioned that can mostly get handled automatically.

For example, one issue I ran into is that two of the raw RLE:{pname} files from the list above turned out to have been uploaded without headers. I don't know how widespread a problem that is, yet, but I can write some extra code to check for that condition. Probably that's something that should be fixed on the LifeWiki side.

User avatar
BZH314
Posts: 16
Joined: August 26th, 2018, 6:05 am
Contact:

Re: Pages with invalid RLE files

Post by BZH314 » January 17th, 2019, 3:29 pm

dvgrn wrote:it shouldn't be necessary to report very many more missing RLE files in this format.
Perfect, thanks for the script. It makes my Life easier :-)

I tried to report this process in How to contribute: Pattern Pages.
Link to specific edit if you want to check the process is captured correctly: http://conwaylife.com/w/index.php?title ... ldid=55880

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

Re: Pages with invalid RLE files

Post by dvgrn » January 17th, 2019, 4:40 pm

BZH314 wrote:
dvgrn wrote:it shouldn't be necessary to report very many more missing RLE files in this format.
Perfect, thanks for the script. It makes my Life easier :-)

I tried to report this process in How to contribute: Pattern Pages.
Thanks! Yeah, we've accumulated a _lot_ of technical debt in the documentation department. In several places the docs are still carefully explaining how things worked ten years ago, when there was no LifeViewer, no moderators besides Nathaniel, no RLE: namespace, and so on.

I've done another edit to simplify LifeWiki:Pattern_pages a bit. Took out a few items that are not true any more -- it was still telling people to add pattern files by emailing them to Nathaniel! I mean, that might still work eventually... but I think we can safely say that adding an RLE:{pname} article is a better alternative.

The next thing is probably to dive into the templates and figure out exactly why rle = true is required before LifeViewer will show up in pattern infoboxes, and whether we can somehow do something cleverer for the case where the raw RLE has been added to RLE:{pname}, but the script hasn't been re-run to collect the RLE file yet, or the bulk upload hasn't been done yet (which is where we are right now).

User avatar
Apple Bottom
Posts: 1027
Joined: July 27th, 2015, 2:06 pm
Contact:

Re: Pages with invalid RLE files

Post by Apple Bottom » January 17th, 2019, 5:03 pm

dvgrn wrote:The next thing is probably to dive into the templates and figure out exactly why rle = true is required before LifeViewer will show up in pattern infoboxes, and whether we can somehow do something cleverer for the case where the raw RLE has been added to RLE:{pname}, but the script hasn't been re-run to collect the RLE file yet, or the bulk upload hasn't been done yet (which is where we are right now).
Off the top of my head, I think the pattern templates used to default to not showing images etc. unless nofile = true was explicitely passed. I never quite understood the reasoning behind that, but retained it, on the assumption that there was a reason (code was explicitely added to enforce this behavior, so this seemed like a reasonable assumption to make). If there isn't a reason, removing that particular test should be easy enough.
If you speak, your speech must be better than your silence would have been. — Arabian proverb

Catagolue: Apple Bottom • Life Wiki: Apple Bottom • Twitter: @_AppleBottom_

Proud member of the Pattern Raiders!

User avatar
Nathaniel
Site Admin
Posts: 496
Joined: December 10th, 2008, 3:48 pm
Location: New Brunswick, Canada
Contact:

Re: Pages with invalid RLE files

Post by Nathaniel » January 17th, 2019, 7:56 pm

Apple Bottom wrote:
dvgrn wrote:The next thing is probably to dive into the templates and figure out exactly why rle = true is required before LifeViewer will show up in pattern infoboxes, and whether we can somehow do something cleverer for the case where the raw RLE has been added to RLE:{pname}, but the script hasn't been re-run to collect the RLE file yet, or the bulk upload hasn't been done yet (which is where we are right now).
Off the top of my head, I think the pattern templates used to default to not showing images etc. unless nofile = true was explicitely passed. I never quite understood the reasoning behind that, but retained it, on the assumption that there was a reason (code was explicitely added to enforce this behavior, so this seemed like a reasonable assumption to make). If there isn't a reason, removing that particular test should be easy enough.
I don't believe that there is a good reason for keeping the "nofile = true" stuff anymore. If memory serves, it was originally coded that way (i.e., requiring either rle = true or nofile = true) so that (a) any pattern small enough to have an RLE file would show an image (or an image red link that would then prompt me to upload an image), and (b) any pattern too large to have an RLE file would not show an image, unless I was specifically acknoledging that it was too large to have a file but not too large to have an image (by flagging "nofile = true").

It can be removed/alterned now if it's causing problems -- it shouldn't noticeably affect anything else in the wiki.

Post Reply