News for hackers. Stuff that matters.
Re:Translating math into code with examples in Java, Racket,... by falcor84 on Wednesday May 29, 2019 @03:19AM (#20037557)
>infinity itself is something that cannot be embedded in a finite program

I am not sure what you mean by infinity here, but there are many ways in programming to handle infinite streams in an otherwise finite program. Python's itrrtools.count and the ability to map and filter over it would be a basic example.

Indeed I could argue that every game's or webserver's event loop is embedding infinity in a finite program.

Re:Translating math into code with examples in Java, Racket,... by yters on Wednesday May 29, 2019 @09:32AM (#20039919)
What you are describing is a potential infinity. I'm talking about an actual infinity.
Re:Translating math into code with examples in Java, Racket,... by falcor84 on Wednesday May 29, 2019 @07:55PM (#20046963)
How is ∞ more "actual" than Python's itertools.count or float('inf') ?
Re:Translating math into code with examples in Java, Racket,... by yters on Thursday May 30, 2019 @08:17AM (#20050384)
The symbol is not an actual infinity. The abstract concept we access with our minds is an actual infinity. That's the point. The abstract principle cannot itself be embedded in a program or symbol. All we can do is describe it with rules we infer from observing it. Like a painting of a tree will never be the tree itself, and we will not be able to infer everything about the tree just by looking at the painting.