vsj.co.uk— A very informative tutorial on solving sudoku puzzles and a bit of SQL too.Probably not your typical use for SQL.
Mar 29, 2006View in Crawl 4
I'm fairly sure he didn't use Prolog because only about half a dozen people on the planet (aside from math classes) use Prolog in the first place. However, lots of people know SQL, and it's still very much in use.
This solution went way overboard in terms of methodology. I once programmed a Sudoku solver in Java. It was a brute force algorithm - it would fill in blanks with numbers, and backtrack when it hit a dead end. There was absolutely no strategy in it.It solved any Sudoku problem I gave it in under a second.*Humans* need to use the properties outlined above to solve Sudoku. Computers are fast enough to the point that they can just guess-and-check.
Good to see that Digg's community has been reduced to a trove of illiterate (I think you meant "does," FreakTrap...) douche bags that make fun of other people because they are so self-conscious.At least he's got a girlfriend to put on Flickr... go back to your pr0n... assuming your wrist isn't too tired.
Sudoku is already widespread in math classes in the UK, mostly as a down-time activity for the slower kids who like something they can plow through mechanically and solve eventually, no matter how slow. I don't mean to suggest Sudoku is for slow kids, merely that the "bright" kids already have their schedule full with a bigger curriculum and less down time. And for what it's worth, I think Sudoku really does help kids engage with numbers and learn to think logically.
"The dog ate my code. Really! Why are you guys looking at me like that?! I really coded it! My girlfriend saw it! I'd let her tell you, but she's in... um... Canada... um... modeling!"
tokachuMar 29, 2006
I'm fairly sure he didn't use Prolog because only about half a dozen people on the planet (aside from math classes) use Prolog in the first place. However, lots of people know SQL, and it's still very much in use.
quakesMar 29, 2006
Scary? Come on, she has a cute smile.
rk_crMar 29, 2006
This solution went way overboard in terms of methodology. I once programmed a Sudoku solver in Java. It was a brute force algorithm - it would fill in blanks with numbers, and backtrack when it hit a dead end. There was absolutely no strategy in it.It solved any Sudoku problem I gave it in under a second.*Humans* need to use the properties outlined above to solve Sudoku. Computers are fast enough to the point that they can just guess-and-check.
dmorin74Mar 29, 2006
The article seems to be missing one of the stored procedures that its referring to in the write up.
rk_crMar 29, 2006
Unfortunately, I coded it on a computer that died on me a few months ago. However, it looks like someone else has already done what I did, and made an applet of it: <a class="user" href="http://sudoku.klaas.nl/">http://sudoku.klaas.nl/</a>
jcb1987Mar 29, 2006
Good to see that Digg's community has been reduced to a trove of illiterate (I think you meant "does," FreakTrap...) douche bags that make fun of other people because they are so self-conscious.At least he's got a girlfriend to put on Flickr... go back to your pr0n... assuming your wrist isn't too tired.
burnt1ce85Mar 29, 2006
This person has wayyy too much time. you might as well try to prove P=NP
hdwowMar 30, 2006
Sudoku is already widespread in math classes in the UK, mostly as a down-time activity for the slower kids who like something they can plow through mechanically and solve eventually, no matter how slow. I don't mean to suggest Sudoku is for slow kids, merely that the "bright" kids already have their schedule full with a bigger curriculum and less down time. And for what it's worth, I think Sudoku really does help kids engage with numbers and learn to think logically.
schnorkyMar 30, 2006
A version of the sudoku solver using Oracle SQL:<a class="user" href="http://www.adp-gmbh.ch/blog/2005/september/6.html">http://www.adp-gmbh.ch/blog/2005/september/6.html</a>
Closed AccountApr 1, 2006
"The dog ate my code. Really! Why are you guys looking at me like that?! I really coded it! My girlfriend saw it! I'd let her tell you, but she's in... um... Canada... um... modeling!"
puzzletownJul 12, 2008
Our solver is partially using mysql.<a class="user" href="http://mypuzzle.org/sudoku/play.html">http://mypuzzle.org/sudoku/play.html</a>