You can subscribe to this list here.
2005 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(15) |
Aug
|
Sep
(72) |
Oct
(34) |
Nov
(10) |
Dec
(20) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2006 |
Jan
|
Feb
(22) |
Mar
(9) |
Apr
(11) |
May
(18) |
Jun
(68) |
Jul
(10) |
Aug
(4) |
Sep
(13) |
Oct
(29) |
Nov
(21) |
Dec
(24) |
2007 |
Jan
(32) |
Feb
(19) |
Mar
(11) |
Apr
(14) |
May
(8) |
Jun
(7) |
Jul
(3) |
Aug
|
Sep
|
Oct
(8) |
Nov
(26) |
Dec
(16) |
2008 |
Jan
(1) |
Feb
(4) |
Mar
(4) |
Apr
(25) |
May
(23) |
Jun
(22) |
Jul
(18) |
Aug
(61) |
Sep
(129) |
Oct
(106) |
Nov
(99) |
Dec
(24) |
2009 |
Jan
(6) |
Feb
(2) |
Mar
(29) |
Apr
(84) |
May
(106) |
Jun
(70) |
Jul
(56) |
Aug
(42) |
Sep
(62) |
Oct
(140) |
Nov
(38) |
Dec
(9) |
2010 |
Jan
(19) |
Feb
(15) |
Mar
(32) |
Apr
(36) |
May
(28) |
Jun
(17) |
Jul
(12) |
Aug
(13) |
Sep
(7) |
Oct
(9) |
Nov
(156) |
Dec
(56) |
2011 |
Jan
(53) |
Feb
(25) |
Mar
(6) |
Apr
|
May
(1) |
Jun
(22) |
Jul
(8) |
Aug
(20) |
Sep
(50) |
Oct
(60) |
Nov
(44) |
Dec
(3) |
2012 |
Jan
(2) |
Feb
(11) |
Mar
(32) |
Apr
(35) |
May
(13) |
Jun
(90) |
Jul
(15) |
Aug
(27) |
Sep
(15) |
Oct
(28) |
Nov
|
Dec
|
2013 |
Jan
|
Feb
(119) |
Mar
(91) |
Apr
(68) |
May
(29) |
Jun
(24) |
Jul
(4) |
Aug
(14) |
Sep
(3) |
Oct
(11) |
Nov
(31) |
Dec
(36) |
2014 |
Jan
(48) |
Feb
(1) |
Mar
(23) |
Apr
(14) |
May
(15) |
Jun
(4) |
Jul
(8) |
Aug
(18) |
Sep
|
Oct
(14) |
Nov
|
Dec
(5) |
2015 |
Jan
(2) |
Feb
|
Mar
(11) |
Apr
(3) |
May
(44) |
Jun
(14) |
Jul
(7) |
Aug
(2) |
Sep
(5) |
Oct
(23) |
Nov
(27) |
Dec
(7) |
2016 |
Jan
(15) |
Feb
(22) |
Mar
(23) |
Apr
(41) |
May
(25) |
Jun
(1) |
Jul
(27) |
Aug
(9) |
Sep
(5) |
Oct
|
Nov
(27) |
Dec
|
2017 |
Jan
|
Feb
|
Mar
(3) |
Apr
(2) |
May
(1) |
Jun
(18) |
Jul
(16) |
Aug
(11) |
Sep
|
Oct
(3) |
Nov
|
Dec
|
2018 |
Jan
(11) |
Feb
(2) |
Mar
(3) |
Apr
|
May
(13) |
Jun
(12) |
Jul
(16) |
Aug
|
Sep
|
Oct
(1) |
Nov
|
Dec
|
2019 |
Jan
|
Feb
(3) |
Mar
(21) |
Apr
(8) |
May
(12) |
Jun
|
Jul
|
Aug
(4) |
Sep
(4) |
Oct
(2) |
Nov
(5) |
Dec
(16) |
2020 |
Jan
|
Feb
|
Mar
(1) |
Apr
(2) |
May
(16) |
Jun
|
Jul
(10) |
Aug
(24) |
Sep
(31) |
Oct
(17) |
Nov
(4) |
Dec
|
2021 |
Jan
(3) |
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(4) |
Nov
(12) |
Dec
(10) |
2022 |
Jan
|
Feb
(3) |
Mar
(2) |
Apr
(15) |
May
(4) |
Jun
|
Jul
|
Aug
(15) |
Sep
|
Oct
|
Nov
|
Dec
|
2023 |
Jan
|
Feb
|
Mar
|
Apr
(3) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2024 |
Jan
|
Feb
|
Mar
(1) |
Apr
(6) |
May
(1) |
Jun
|
Jul
(1) |
Aug
(3) |
Sep
|
Oct
|
Nov
|
Dec
(1) |
2025 |
Jan
(1) |
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
(1) |
Jul
(3) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
S | M | T | W | T | F | S |
---|---|---|---|---|---|---|
|
|
|
|
1
|
2
|
3
|
4
|
5
|
6
|
7
|
8
|
9
|
10
|
11
|
12
|
13
|
14
|
15
|
16
|
17
|
18
|
19
|
20
(3) |
21
|
22
|
23
|
24
|
25
|
26
(1) |
27
|
28
|
29
|
30
|
31
|
From: Dave G. <dav...@gm...> - 2019-08-26 22:31:29
|
Okay, I've checked in a Lua version of the old change-state.py, with a few adjustments that I hope are improvements. Have posted an explanation of some of the details here: http://conwaylife.com/forums/viewtopic.php?p=81875#p81875 I should have added a comment like the ones in toLife.lua and toLifeHistory.lua, like "-- intended to be mapped to a keyboard shortcut, e.g., Alt+K" Will put that line in along with any other updates that turn out to be a good idea. Keep the cheer, Dave On Tue, Aug 20, 2019 at 6:48 PM Tomas Rokicki <ro...@gm...> wrote: > > I also like it, and frankly I'm happy to get it! Thanks, Dave! > > On Tue, Aug 20, 2019 at 4:47 PM Andrew Trevorrow <an...@tr...> wrote: >> >> Dave: >> >> > Meanwhile, this evening I spent an hour merging the good points of >> > change-state.py and toChangeColors.py. So far I've ended up with the >> > following. I'd be curious as to whether a port of this would be >> > welcome in the Lua folder under the name "toChangeColor.lua", maybe >> > with an Alt+K keyboard shortcut. >> >> Sounds fine to me. >> >> Andrew >> >> >> _______________________________________________ >> Golly-test mailing list >> Gol...@li... >> https://lists.sourceforge.net/lists/listinfo/golly-test > > > > -- > -- http://cube20.org/ -- http://golly.sf.net/ -- > _______________________________________________ > Golly-test mailing list > Gol...@li... > https://lists.sourceforge.net/lists/listinfo/golly-test |
From: Tomas R. <ro...@gm...> - 2019-08-20 23:48:43
|
I also like it, and frankly I'm happy to get it! Thanks, Dave! On Tue, Aug 20, 2019 at 4:47 PM Andrew Trevorrow <an...@tr...> wrote: > Dave: > > > Meanwhile, this evening I spent an hour merging the good points of > > change-state.py and toChangeColors.py. So far I've ended up with the > > following. I'd be curious as to whether a port of this would be > > welcome in the Lua folder under the name "toChangeColor.lua", maybe > > with an Alt+K keyboard shortcut. > > Sounds fine to me. > > Andrew > > > _______________________________________________ > Golly-test mailing list > Gol...@li... > https://lists.sourceforge.net/lists/listinfo/golly-test > -- -- http://cube20.org/ -- http://golly.sf.net/ -- |
From: Andrew T. <an...@tr...> - 2019-08-20 23:47:14
|
Dave: > Meanwhile, this evening I spent an hour merging the good points of > change-state.py and toChangeColors.py. So far I've ended up with the > following. I'd be curious as to whether a port of this would be > welcome in the Lua folder under the name "toChangeColor.lua", maybe > with an Alt+K keyboard shortcut. Sounds fine to me. Andrew |
From: Dave G. <dav...@gm...> - 2019-08-20 04:35:43
|
For years now I've been posting links to a Python script that I always keep handy myself for editing purposes, toChangeColors.py: http://conwaylife.com/forums/viewtopic.php?p=14742#p14742 That was basically my version of change-state.py in Golly's online scripts database. It's a lot faster than change-state.py, because it iterates through lists of non-zero cells instead of doing a getcell() on every cell in the chosen bounding box. Of course that means that it can't change state-0 cells to some other state. For me that's okay -- I mainly use toChangeColors.py for changing LifeHistory state-2 blue envelope cells to state 0, and changing state-1 labels to state 4 A couple of Golly versions back I started working on a super-fast version of the toChangeColors script. If you were operating on an entire pattern rather than a selection, it would write out a custom rule to do the state change in one fell swoop -- no iterating through cells at all. I think I still have that script around somewhere, pretty much in working order. It just needed some user-friendly error-checking, and then a port to Lua. But I'm no longer terribly interested in it. It seems to be pretty rare that color changes are needed on huge patterns, and most people working with such huge patterns can also write a one-off rule script in a minute or two to solve specific color-change requirements... Maybe we could put a toChangeColorsQuick.lua into the online scripts database, if a good user-friendly version ever shows up. Meanwhile, this evening I spent an hour merging the good points of change-state.py and toChangeColors.py. So far I've ended up with the following. I'd be curious as to whether a port of this would be welcome in the Lua folder under the name "toChangeColor.lua", maybe with an Alt+K keyboard shortcut. It seems to me that easy bulk color changing is a big missing piece of functionality in Golly, and change-state.py just doesn't seem convenient enough enough any more... especially nowadays when the number of Lua-only Golly installs might be gradually on the rise. Votes in favor? Votes against? I can get the remaining TODOs done pretty quick, but if the rest of the Golly Gang thinks it's a lousy idea anyway, I might invest the time elsewhere. Keep the cheer, Dave # toChangeColor.py/.lua # Switch all cells of a clicked-on color in the selected pattern to the current brush color # TODO: Convert this Python script to Lua # TODO: Set the current drawing color to whatever is saved in (file equivalent to shift.ini -- toChangeColor.ini) # This way the utility can be preset as a single-purpose change-to-0 script # (if its primary use will be to get rid of LifeHistory cells) # but it can still be reconfigured by changing the drawing state while the script is running, # and that change would then stick until the next time the tool is used. # TODO: Assign a shortcut key? Alt+K would put it in line with Alt+H and alt+J tools, # allowing toChangeColor.lua to be used to (K)ill state-2 cells in a LifeHistory pattern # without affecting states 3 through 6 in the way that an Alt+J, Alt+H cycle does. import golly as g from time import time limits = "selection" seltype = " selected" r = g.getselrect() if len(r)==0: limits = "pattern's bounding box" seltype = "" r = g.getrect() if len(r)==0: g.exit("No pattern to change.") # set fill limits to the chosen rectangle minx, miny, sizex, sizey = r maxx = minx + sizex maxy = miny + sizey area = g.getcells(r) if len(area)%2 == 0: g.exit("Nothing to do here -- rule is not multistate.") newstate = g.getoption("drawingstate") oldstate = newstate # wait for user to click a cell g.show("Click a cell to change all" + seltype + " cells of that state to current drawing state, " + str(newstate) + ", or Esc to cancel.") while 1: event = g.getevent() # user may change drawing state at any time newstate = g.getoption("drawingstate") if newstate != oldstate: g.show("Click a cell to change all" + seltype + " cells of that state to current drawing state, " + str(newstate) + ", or Esc to cancel.") oldstate = newstate if event.startswith("click"): # event is a string like "click 10 20 left none" evt, xstr, ystr, button, mods = event.split() x = int(xstr) y = int(ystr) if x < minx or x >= maxx or y < miny or y >= maxy: g.warn("Click inside the " + limits + ".") else: oldstate = g.getcell(x, y) if oldstate == newstate: g.warn("The clicked cell must have a different state\n"+ "from the current drawing state, " + str(newstate) + ".") else: break else: g.doevent(event) # tell Golly to handle all further keyboard/mouse events g.getevent(False) if oldstate == 0: changed = 0 total = float(sizex) * float(sizey) oldsecs = time() for row in xrange(miny, maxy): # might be large pattern so show percentage done each second newsecs = time() if newsecs - oldsecs >= 1.0: oldsecs = newsecs g.show("Changing cell states: " + str(int(100 * (row - miny) * sizex / total)) + "%") g.update() # allow keyboard interaction g.dokey( g.getkey() ) for col in xrange(minx, maxx): if g.getcell(col, row) == oldstate: g.setcell(col, row, newstate) changed += 1 else: oldsecs = time() numcellsx3 = len(area) count = 0 for i in range(0,len(area)-2,3): # might be large pattern so show percentage done each second newsecs = time() if newsecs - oldsecs >= 1.0: oldsecs = newsecs g.show("Changing cell states: " + str(int(100 * i / numcellsx3)) + "%") g.update() if area[i+2]==oldstate: g.setcell(area[i],area[i+1],newstate) count +=1 # allow keyboard interaction g.dokey( g.getkey() ) g.show("Changed " + str(count) + " cells to state " + str(newstate) + ".") |