peacelilly·4 tahun yang lalu·discussThe secret to wrapping errors is the erros.As and errors.Is special interfaces called out only in the documentation: https://pkg.go.dev/errors#IsYou must build a Directed Acyclic Graph (DAG) to ensure these special interfaces don't hit an infinite loop.To stop the infinite loop cycles, and actually implement a DAG, I marked visited nodes and returned `false` if the nodes were already marked.
peacelilly·4 tahun yang lalu·discussYou conflate seeing the future, and wanting to improve it. Microsoft very likely tried to subvert the future. See the Halloween Documents: http://www.catb.org/esr/halloween/halloween1.html
peacelilly·5 tahun yang lalu·discussNowadays cable TV targets ads too. If your diabetic grandma connects to your cable provided wifi router, you will get ads for glucose monitors and insulin pumps. Targeted advertising should be illegal.
You must build a Directed Acyclic Graph (DAG) to ensure these special interfaces don't hit an infinite loop.
To stop the infinite loop cycles, and actually implement a DAG, I marked visited nodes and returned `false` if the nodes were already marked.