Search found 80 matches

by rokicki
February 22nd, 2024, 11:23 am
Forum: Bugs & Errors
Topic: lifeviewer bug
Replies: 365
Views: 50030

Re: lifeviewer bug

Thanks, Chris! Excellent work!
by rokicki
February 20th, 2024, 11:14 pm
Forum: Bugs & Errors
Topic: lifeviewer bug
Replies: 365
Views: 50030

Re: lifeviewer bug

Support for scaling may have broken things. Chris, feel free to revert the scaling changes. It may well be that the web is not yet a mature platform.
by rokicki
February 20th, 2024, 7:00 pm
Forum: Bugs & Errors
Topic: lifeviewer bug
Replies: 365
Views: 50030

Re: lifeviewer bug

Okay, if I use command-+/command-- to zoom and unzoom in Chrome on MacOS I can replicate the issue.

If I use command-0 to reset the zoom level back to 100% the problem goes away.
by rokicki
February 20th, 2024, 5:15 pm
Forum: Bugs & Errors
Topic: lifeviewer bug
Replies: 365
Views: 50030

Re: lifeviewer bug

For me, on MacOS, I tested with Chrome, Safari, and Firefox, all with the link you provided, all the latest versions of the browsers, and had no problems. The play button highlights and operates perfectly from that Catagolue page. I've confirmed it's build 1113 in each case. Is it possible you are u...
by rokicki
February 20th, 2024, 4:14 pm
Forum: Bugs & Errors
Topic: lifeviewer bug
Replies: 365
Views: 50030

Re: lifeviewer bug

In build 1113, there seems to be something wrong with detecting coordinates of mouse events. E.g. to run a pattern one needs to click at some point away from the "Play" button; to enter "Help" one needs to click at some point away from the "Help" button. From how it works, it seems to be a factor o...
by rokicki
February 20th, 2024, 3:08 pm
Forum: Bugs & Errors
Topic: lifeviewer bug
Replies: 365
Views: 50030

Re: lifeviewer bug

Wow, all fixed! Very nice! Chris, this is some amazing customer service. I'm curious what the difference is in how reveal.js scales the content; some of its code is a bit bewildering. Ooh, with the fix, I just noticed something; LifeViewer has positive Y going down the screen, where Golly (at least ...
by rokicki
February 19th, 2024, 10:14 pm
Forum: Bugs & Errors
Topic: lifeviewer bug
Replies: 365
Views: 50030

Re: lifeviewer bug

When there is more than one lifeviewer on a page, the updateMe() doesn't work. In this test case, I've created two lifeviewers, each with a single pixel set. Then, on window load, I put a *horizontal* bar of six pixels in the *top* and a *vertical* bar of six pixels in the *bottom*. What happens in ...
by rokicki
February 19th, 2024, 10:10 pm
Forum: Bugs & Errors
Topic: lifeviewer bug
Replies: 365
Views: 50030

Re: lifeviewer bug

It works in the small test case I posted, but unfortunately not when embedded into reveal.js. I'll dig into it more later
and try to come up with a resolution.
by rokicki
February 19th, 2024, 6:21 pm
Forum: Bugs & Errors
Topic: lifeviewer bug
Replies: 365
Views: 50030

Re: lifeviewer bug

LifeViewer does not work correctly in pages that use CSS scaling. (Ignore the fact that only part of the LifeViewer is visible; the controls on the canvas should still highlight properly when you mouse over them). This would just be a "don't use CSS scaling" except that other JavaScript packages lik...
by rokicki
February 19th, 2024, 6:19 pm
Forum: Bugs & Errors
Topic: lifeviewer bug
Replies: 365
Views: 50030

Re: lifeviewer bug

LifeViewer does not appear to stop propagation of keyboard events (even ones it processes) which leads to issues when you embed a LifeViewer in another context (such as a reveal.js presentation). <!DOCTYPE html> <html> <head> <meta name="LifeViewer" content="viewer textarea"> <!--required tag--> <sc...
by rokicki
February 19th, 2024, 1:07 pm
Forum: General Discussion
Topic: Golly suggestions
Replies: 416
Views: 202223

Re: Golly suggestions

Thanks for the changes! I've looked at the code diffs and it all looks good so far. I'll try to get some testing in soon.

I don't think these changes justify rushing a release out but I'm grateful to have them underway.
by rokicki
February 17th, 2024, 2:00 pm
Forum: General Discussion
Topic: Golly suggestions
Replies: 416
Views: 202223

Re: Golly suggestions

I believe your list of requirements looks good. We should also probably do the "headerless" fix; I can't think of a reason why not. Chris, if you want to make the changes, that would be great! No one else has volunteered . . . I think all the fixes should be pretty easy. The only one I'm a little un...
by rokicki
February 9th, 2024, 5:50 pm
Forum: General Discussion
Topic: Golly suggestions
Replies: 416
Views: 202223

Re: Golly suggestions

Bump a known issue. For some reason, different people over time consistently post "code" blocks with RLEs that begin with whitespace. Although this seems to be a known issue, I wanted to post it here as a suggestion. LifeViewer seems to ignore leading spaces in RLEs. I think Golly should do the sam...
by rokicki
January 9th, 2024, 5:25 pm
Forum: General Discussion
Topic: Knuth's conjecture about CGoL
Replies: 2
Views: 4636

Re: Knuth's conjecture about CGoL

Don presented on "Recreational Computing" at the Joint Mathematics Meeting in San Francisco this past Saturday, and one of the things he talked about was this problem. I'm also interested in this problem. As I see it, there are two ways it can go. Either, we find a set of constructions that (jointly...
by rokicki
October 2nd, 2023, 2:22 pm
Forum: Bugs & Errors
Topic: Golly bugs
Replies: 86
Views: 18552

Re: Golly bugs

b3s23love wrote:
October 1st, 2023, 4:21 pm
(is it a bug or it has to do with HashLife?) ...
This is my bug, and it's fixed in the repository. Thanks for the report, and I'm sorry for the error.

-tom
by rokicki
April 23rd, 2022, 8:36 pm
Forum: General Discussion
Topic: Conway's Game of Life Textbook Launch
Replies: 22
Views: 5883

Re: Conway's Game of Life Textbook Launch

I ordered a copy through Lulu (ordered March 11th; shipped March 23rd). My copy has the thinner pages (judging from the width of the book compared to the photo Dave showed above). Context: I worked in typography (admittedly, the software side) for many years, and also worked at two different profess...
by rokicki
April 19th, 2022, 5:39 pm
Forum: Patterns
Topic: Binary slow salvos
Replies: 258
Views: 68007

Re: Binary slow salvos

Wow, changing the way we load macrocells (and how mc files are mapped to coordinates) sounds scary! The reason Golly works the way it does is because when I originally wrote the hashlife engine, I had positive y going *up* the screen. Then, the root 16x16 macrocell had NE (quadrant I) as (0,0)..(7,7...
by rokicki
April 19th, 2022, 11:50 am
Forum: Patterns
Topic: Binary slow salvos
Replies: 258
Views: 68007

Re: Binary slow salvos

How about if we simply add the following two operations: mccopy(sx, sy, dx, dy, sz) ; copy the cells from (sx, sy) to (sx + sz, sy + sz) to (dx, dy) + (dx + sz, dy + sz); sz must be a power of two; all four coordinates must be a multiple of that power of two. and mcclear(sx, sy, sz) ; clear all the ...
by rokicki
April 18th, 2022, 11:57 am
Forum: Patterns
Topic: Binary slow salvos
Replies: 258
Views: 68007

Re: Binary slow salvos

I'd be happy to consider doing something like you describe with hashtiles. Adam's lifelib has a pretty nice API for quadtree patterns including many editing operations (see https://gitlab.com/apgoucher/lifelib/blob/master/doc/editing.md) so there is already code to look at and possibly work from (al...
by rokicki
April 18th, 2022, 2:58 am
Forum: Patterns
Topic: Binary slow salvos
Replies: 258
Views: 68007

Re: Binary slow salvos

Ahh, that introduces a whole new level of complexity then. It's *possible* but I'd need to make my bigint class a lot more robust.
by rokicki
April 18th, 2022, 1:30 am
Forum: Patterns
Topic: Binary slow salvos
Replies: 258
Views: 68007

Re: Binary slow salvos

This only affects viewpoint positioning, which is not limited to +/- 1B. I have often thought of raising the limit on editing from +/-1B to +/- 1E18, but it's a pretty big undertaking and may introduce new bugs, so I'm a bit leery. Is this something that people need? If we did this it would probably...
by rokicki
April 17th, 2022, 5:27 pm
Forum: Patterns
Topic: Binary slow salvos
Replies: 258
Views: 68007

Re: Binary slow salvos

Can anyone find a good way to look at negative bignum locations? Just adding minus signs to the above setpos() statement should theoretically work fine, but with numbers bigger than -1000000000 or so it goes to the wrong place (and for big enough numbers it ends up at positive coordinates instead o...
by rokicki
April 16th, 2022, 5:16 pm
Forum: Patterns
Topic: Binary slow salvos
Replies: 258
Views: 68007

Re: Binary slow salvos

Could anyone on Windows who runs this script please try the following.

1. Locate the golly executable (golly.exe).
2. Increase the stack size as follows:
editbin /stack:8000000 Golly.exe
3. Test again.

I think I have the syntax right, but I don't have a Windows environment to try it out.
by rokicki
April 18th, 2021, 2:27 pm
Forum: General Discussion
Topic: Conway/Guy/Game of Life talk, app *Today*
Replies: 1
Views: 1079

Conway/Guy/Game of Life talk, app *Today*

Today at 8PM Eastern (USA), 5PM Pacific, as part of Gathering for Gardner's Celebration of Mind, there will be a zoom presentation on the early days of the game of life. The page for all the Celebration of Mind events are here: https://www.gathering4gardner.org/g4gs-celebration-of-mind-april-2021/ T...
by rokicki
July 15th, 2020, 12:14 pm
Forum: General Discussion
Topic: Golly with Python 3?
Replies: 13
Views: 7154

Re: Golly with Python 3?

This problem can be fixed by changing the way we execute python; instead of exec(open().read()) we need to stick a compile() in there. Easy to fix.

And yes, this is a change between Python2 and Python3; execfile is gone.