News for hackers. Stuff that matters.
Re:Conway's Game of Life digital clock by tdba on Thursday April 20, 2023 @05:13PM (#35646411)
Incredible! Is the random looking stuff at the top an oscillator for timing seconds?
Re:Conway's Game of Life digital clock by staunton on Thursday April 20, 2023 @05:24PM (#35646571)
Why is this incredible? (Do you know "life in life"?) Is it the way the website is built?
Re:Conway's Game of Life digital clock by happytoexplain on Thursday April 20, 2023 @05:28PM (#35646618)
That's nothing, have you seen CERN's LHC?
Re:Conway's Game of Life digital clock by staunton on Thursday April 20, 2023 @06:24PM (#35647360)
"Life in Life" is actually Conway's game of life... Directly comparable to this, arguably a lot cooler and not a new thing at all. "Incredible" should mean, at least to some extent, you didn't think the thing existed or was possible.

I'm not sure what you're trying to say. Is it "never ask anyone why they find something incredible"?

Re:Conway's Game of Life digital clock by pohl on Thursday April 20, 2023 @07:35PM (#35648003)
Not often I see someone’s ability to decipher what’s being said so completely thrown by the tiniest exaggeration. Are you an LLM?
Re:Conway's Game of Life digital clock by JohnFen on Friday April 21, 2023 @11:03AM (#35654838)
"Incredible" is commonly used synonymously with "amazing". Even though this isn't literally unbelievable (the primary meaning of "incredible"), it certainly is amazing.
Re:Conway's Game of Life digital clock by happytoexplain on Friday April 21, 2023 @01:04PM (#35656774)
It's also relevant to note that "amazing to the point of not being believable" is only the primary literal definition, while you would have a legitimately hard time finding even a single colloquial use of the word that includes the "not being believable" part. A similar case is "awful", which nobody uses to mean "full of awe".
Re:Conway's Game of Life digital clock by calibas on Thursday April 20, 2023 @06:09PM (#35647152)
Looks like it, it sends out a "glider" once every second.
Re:Conway's Game of Life digital clock by danbruc on Thursday April 20, 2023 @06:59PM (#35647684)
It is more than that, it is essentially the entire clock containing the primary oscillator and dividers respectively counters. Watch closely, when several digits change at once, then it emits multiple pulses. Also note that the pulses are emitted from different places, there are essentially three counters, 0 to 12, 0 to 5, and 0 to 9. The three structures above the display are essentially just seven segment decoders, you can see the digit patterns encoded in them similar to mask ROM. There is one column for each digit and two rows for each segment, one to turn the segment on and one to turn it off. If you zoom in on the right of a decoder, the rows are actually labeled with [S]et and [R]eset and a letter A-G for the segment controlled by that row.
Re:Conway's Game of Life digital clock by yoru-sulfur on Thursday April 20, 2023 @05:25PM (#35646584)
Re:Conway's Game of Life digital clock by atleastoptimal on Thursday April 20, 2023 @05:59PM (#35647014)
Zoom sensitivity set 10000x too high by default
Re:Conway's Game of Life digital clock by pmarreck on Thursday April 20, 2023 @06:33PM (#35647427)
Seems fine over here. It doubles to zoom in and halves to zoom out.
Re:Conway's Game of Life digital clock by Etheryte on Thursday April 20, 2023 @06:49PM (#35647576)
Yeah, looks like they didn't account for the fact that trackpads exist. Using zoom shortcuts or a mouse works fine though.
Re:Conway's Game of Life digital clock by mindwork on Thursday April 20, 2023 @06:52PM (#35647606)
I'm constantly blown away by the fact that such a simple rules can lead to complex systems such as this. Changed my perspective on a lot of things after that
Re:Conway's Game of Life digital clock by jeremy_wiebe on Thursday April 20, 2023 @08:11PM (#35648254)
I read Code by Charles Petzold earlier this year and I feel like I had a similar realization. A simple switch can lead to such complex systems.
Re:Conway's Game of Life digital clock by JohnFen on Friday April 21, 2023 @10:59AM (#35654776)
Right. A transistor (as used in most digital logic, anyway) is just a switch, and is what our most complex computers are made of.
Re:Conway's Game of Life digital clock by dclowd9901 on Thursday April 20, 2023 @09:46PM (#35648900)
Do we have an understanding yet of the minimum number of unique rules a system must have in order to be able to be Turing complete?
Re:Conway's Game of Life digital clock by davidrupp on Thursday April 20, 2023 @09:52PM (#35648938)
Not sure how this translates to "rules" in a cellular automaton, but: https://en.wikipedia.org/wiki/One-instruction_set_computer
Re:Conway's Game of Life digital clock by dclowd9901 on Friday April 21, 2023 @01:26AM (#35650064)
This is exactly what I was asking about. Thank you!
Re:Conway's Game of Life digital clock by riffraff on Friday April 21, 2023 @02:00AM (#35650221)
There's also a few "one instruction" CPUs

https://en.m.wikipedia.org/wiki/One-instruction_set_computer

Re:Conway's Game of Life digital clock by dclowd9901 on Friday April 21, 2023 @09:54AM (#35653781)
Here’s a white paper on how one was implemented https://www.sccs.swarthmore.edu/users/06/adem/engin/e25/fina...
Re:Conway's Game of Life digital clock by dnh44 on Friday April 21, 2023 @05:39AM (#35651556)
You can build anything with AND and NOT gates or OR and NOT gates.

https://www.electronics-tutorials.ws/logic/universal-gates.h...

Re:Conway's Game of Life digital clock by JohnFen on Friday April 21, 2023 @11:00AM (#35654799)
You can build anything with just NAND gates.
Re:Conway's Game of Life digital clock by gdprrrr on Friday April 21, 2023 @06:59AM (#35652043)
Well, we know that rule 110, which is like a 2d versions of Conway's game of life, is also Turing complete. So at least that simple.
Re:Conway's Game of Life digital clock by briankelly on Friday April 21, 2023 @01:15AM (#35650028)
Growing Artificial Societies is an interesting book that extrapolates on this.
Re:Conway's Game of Life digital clock by clnq on Thursday April 20, 2023 @06:59PM (#35647676)
By the way, Conway’s GoL has been proven Turing Complete. With inputs and outputs, one could conceptually write and run any software in it.

Interesting CPU designs exist for GoL.

Re:Conway's Game of Life digital clock by zokier on Thursday April 20, 2023 @07:25PM (#35647901)
> With inputs and outputs, one could conceptually write and run any software in it.

IO is major caveat though. And there is also real-time to consider.

I've been long wondering if we should define more interesting computer models in addition to Turing machines. Games make interesting milestones as an example; you could define a system to be e.g. "Tetris-complete" if you could run a playable version of tetris on it, or more advanced would be "Doom-complete" and simpler could be "Chess-complete" or "Zork-complete". Each model would imply something about not just pure computation, but the practical capabilities in terms of inputs and outputs and also something about performance. Of course it doesn't need to be games, you could use anything as a basis for a model.

Re:Conway's Game of Life digital clock by werds on Thursday April 20, 2023 @08:04PM (#35648204)
has anyone run Doom on it yet?
Re:Conway's Game of Life digital clock by WastingMyTime89 on Thursday April 20, 2023 @08:12PM (#35648259)
Any machine which is Turing complete is Tetris-complete and all the other -complete you list. At the end, all of it is just binary values somewhere and trapping instructions which you can perfectly run on anything Turing-complete.
Re:Conway's Game of Life digital clock by zokier on Thursday April 20, 2023 @08:45PM (#35648494)
"receive keyboard events" or "draw pixels on screen" are not properties that arbitrary turing machine has. So it is meaningful to distinguish systems that have those properties (and/or others) from systems that do not.

Paradoxically computation is actually just small part of what computers do.

Re:Conway's Game of Life digital clock by systoll on Friday April 21, 2023 @12:33AM (#35649828)
Turing initially distinguishes between ‘automatic machines’ which do not receive input, and ‘choice machines’, which do. It then describes the latter in terms of the former.

It only talks about binary choices, but keyboards are just methods for sending a few of those at once.

If you don’t abstract away that kind of stuff, it’s not obvious why you’re doing any generalisation at all.

Tetris.app on my phone cannot read from a game boy cartridge, or speak to a joystick or arcade cabinet CRT screen - is it Tetris complete?

Re:Conway's Game of Life digital clock by JohnFen on Friday April 21, 2023 @10:57AM (#35654747)
"receive keyboard events" or "draw pixels on screen" are higher-level actions that are the result of the same computations that are used for everything else.
Re:Conway's Game of Life digital clock by lisper on Thursday April 20, 2023 @08:22PM (#35648324)
> IO is major caveat though. And there is also real-time to consider.

I think you're missing the point here. No one would use Conway's Life to do anything practical (at least no sane person would). The point of this is to serve as a visceral illustration of the fact that computational completeness can emerge from very simple mechanisms.

Re:Conway's Game of Life digital clock by dom111 on Friday April 21, 2023 @04:08AM (#35650998)
Relevant: Build a working game of Tetris in Conway's Game of Life: https://codegolf.stackexchange.com/q/11880/9365

You may already have been aware but sharing in case others aren't!

Re:Conway's Game of Life digital clock by FartyMcFarter on Friday April 21, 2023 @08:05AM (#35652502)
> IO is major caveat though.

Why? It would seem very simple to implement IO in game of life - simply allow the user to change the content of a number of cells dedicated to input. If you think about it, that's the same thing we do with keyboards and mice at some level.

Re:Conway's Game of Life digital clock by nikeee on Thursday April 20, 2023 @07:13PM (#35647781)
Of course, someone did game of life in game of life: https://youtu.be/xP5-iIeKXE8
Re:Conway's Game of Life digital clock by epidemian on Thursday April 20, 2023 @07:29PM (#35647935)
It's more impressive to have it running on your browser, with infinite levels of nesting, both "in" and "out": https://oimo.io/works/life/
Re:Conway's Game of Life digital clock by Camisa on Thursday April 20, 2023 @07:35PM (#35648006)
Damn that's a clever implementation!
Re:Conway's Game of Life digital clock by air7 on Friday April 21, 2023 @06:25AM (#35651831)
This site is extraordinary...
Re:Conway's Game of Life digital clock by ajjenkins on Friday April 21, 2023 @02:56PM (#35658342)
Someone shared this yesterday and I didn’t get what what’s interesting about it. It just looked like a normal GoL simulator. I didn’t realize you could zoom in and out. This is so cool. Thanks for sharing.
Re:Conway's Game of Life digital clock by Tevias on Friday April 21, 2023 @02:08AM (#35650252)
Only a question of time until it runs Doom.
Re:Conway's Game of Life digital clock by zzzeek on Thursday April 20, 2023 @07:23PM (#35647881)
it's all the universe is really, a blip in someone's toy digital clock screen in some other dimension
Re:Conway's Game of Life digital clock by kid64 on Thursday April 20, 2023 @07:33PM (#35647977)
I noticed the title is "Conway life clock PM only" -- does this mean AM isn't implemented?
Re:Conway's Game of Life digital clock by tyingq on Thursday April 20, 2023 @07:42PM (#35648065)
It means it only has a PM indicator...the square box to the left of the "PM" would be an outline instead of filled when it's "AM". Similar to many old LED clocks that just had a single LED to indicate PM.

The stackexchange post has a link to a different implementation that has separate AM/PM indicators instead: https://codegolf.stackexchange.com/questions/88783/build-a-d...

Re:Conway's Game of Life digital clock by kid64 on Thursday April 20, 2023 @07:49PM (#35648104)
Ah, understood, thank you. So impressive!
Re:Conway's Game of Life digital clock by akkartik on Thursday April 20, 2023 @08:51PM (#35648524)
Re:Conway's Game of Life digital clock by vitoralmeidasil on Thursday April 20, 2023 @09:21PM (#35648754)
This is true hacker news! Amazing.
Re:Conway's Game of Life digital clock by est on Thursday April 20, 2023 @10:59PM (#35649313)
I wonder why the : symbol between minute and second was so stable?
Re:Conway's Game of Life digital clock by richardjam73 on Thursday April 20, 2023 @11:33PM (#35649559)
The dots are acutllay made up of little squares of 4 cells each. Each cell has 3 neighbours so will never die or give life and thus becomes stable. You need to zoom in to see it.
Re:Conway's Game of Life digital clock by taeric on Friday April 21, 2023 @12:56AM (#35649944)
Permutation City never felt more relevant.
Re:Conway's Game of Life digital clock by DesiLurker on Friday April 21, 2023 @01:14AM (#35650022)
Wondering is DNA & protein folding can by synthesized by conways GoL.
Re:Conway's Game of Life digital clock by block_dagger on Friday April 21, 2023 @05:23AM (#35651440)
Wonder no more: it can! It is Turing complete.
Re:Conway's Game of Life digital clock by pugworthy on Friday April 21, 2023 @01:20AM (#35650038)
When I look at this, it's hard to grasp just how it's possible. But then I imagine I'm looking at electrons, atoms, small atomic particles. And I think, "These are kind of cool - some pretty simple concepts and they can do stuff!"

Then someone shows me a simple 555 timer that blinks an LED every second that's all built from electrons and atoms. And I "get" how it works, but I'm still blown away how amazing it all is.

Re:Conway's Game of Life digital clock by layer8 on Friday April 21, 2023 @02:20AM (#35650341)
Now contemplate that your brain that is being blown away is also just electrons and atoms.
Re:Conway's Game of Life digital clock by shaftoe444 on Friday April 21, 2023 @04:38AM (#35651178)
Will be staring at this all day.
Re:Conway's Game of Life digital clock by silverfrost on Friday April 21, 2023 @06:56AM (#35652021)
Witchcraft
Re:Conway's Game of Life digital clock by Aardwolf on Friday April 21, 2023 @07:20AM (#35652186)
A right click alters a cell, it's really cool to watch the destruction that altering 1 cell can cause. The only issue is it becomes super slow due to all the irregularities requiring way more computation.
Re:Conway's Game of Life digital clock by arrow7000 on Friday April 21, 2023 @10:04AM (#35653938)
Vacuum decay
Re:Conway's Game of Life digital clock by eigenvalue on Friday April 21, 2023 @12:58PM (#35656672)
Yes, and it suggests how even a minor stroke in the brain that damages only a small region of brain tissue could potentially have personality and life altering effects.
Re:Conway's Game of Life digital clock by bumbledraven on Saturday April 22, 2023 @01:17AM (#35663590)
Would love to have a physical version of this as a wall clock, provided it could al fit on a flat display that wasn't too large. Any suggestions on the display?