87 karma · joined Mar 30, 2016 (10y ago) · 13 submissions
comment 8y ago · link · parent
Several years later I saw a Matlab demo that did this by indexing the grid using values from a 3x3 magic square[1]. In a magic square, every row, column, and diagonal has the same sum. So checking for a winner was just checking if a player’s three moves added up to 15. Finding a space that would make the computer win, or block the human opponent from winning, was subtracting two moves from 15 and checking if that spot was available.
comment 9y ago · link · parent
I find it much easier to control by deciding on a policy up front and letting my browser help me enforce it.
comment 9y ago · link · parent
If the tool applied reasonable wrapping heuristics and got it wrong once in a while, it could easily offer a `--no-wrap` option to let users see the message exactly as it was composed.
comment 10y ago · link · parent
That's all well and good, until someone posts a photo of you, tags you in a message, or embeds its tracking widgets on another page you visit, and you become its product despite not being its user.
comment 10y ago · link · parent
Much easier to not pay a liability -- especially if it's a double-digit percentage of your annual income, and not just a small rounding error like it typically is today.
comment 10y ago · link · parent
Is this view particular to software defects? For example, do government inspectors have an obligation to report food safety violations that they've discovered? In either case, the problem puts the public at risk.