OZONE Asylum
Forums
Server-Side Scripting - Oh my!
Unique Shuffle, Chaos-n-Chains
This page's ID:
33322
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
Been meaning to get back to this, but I keep getting side-tracked. Been hanging with a guitar player and he's got me playing ukulele again. And we both discovered Mississippi John Hurt. Big side-track. He's been playing guitar for 40 years and he took a big step when he put down the pick. Lately he's been manipulating those strings like I manipulate data. Good stuff. Anyways... The first thing about the above code is changing the name of the def. Naming defs in vague kind of way bites my booty on occassion. The other thing about the above code is that it is still on the brutish side of things. That is, you don't have to worry about min in pool until you get towards the end. I'll be tossing a lot of large sequences into it and it is wasting a great deal of processing power. Old school thinking, but still applicable on the scale that I will be using it for. Back when I originally wrote it, I did extend it into 2d for latin square generation. And it worked like a charm. Everytime. I did eventually extend it into more dimensions, but things started getting far more complicated. I had to start adding more rules. This is, in part, how I managed to take a known orthogonal and x2 it in 2 dims. Now we go back a little bit. My first method of creating sudoku grids involved orthogonal latin squares. It worked, but ortho pattern all over the place. Not good. Then I came up with a mostly different way of creating sudoku grids. The starting pattern is way different, but some of the ideas are the same. This method involves using two very particular chains. And it works... for the most part. For small sudoku, it is amazing. But larger ones, it starts to fall apart. For example, sudoku 256x256 is absolutely atrocious. That is why I started playing with chains some more. While the above code does improve sudoku 256x256, the improvement is negligable. I went back, used orthogonals, and one particular chain. While digging through my archives, I found some code that I had set-up several years ago for this. It's almost like I knew that I would eventually be able to create orthogonals big enough to do what I wanted. Copy, Paste, Save, and go. Done deal. And I'm hapy. (I did have to play with Gimp a little bit just to make sure, though.) Orthogonals and chains? The orthogonals that I used are XOR. Why? Because XOR has the kind of chains that I want all over the place. Absolutely replete. I like to think of XOR as a master pattern to rule them all. It really is amazing on several levels. It took 3 years going down several rabbit holes. And a few detours here-n-there. But I can now create sudoku 256x256 that make me happy. But, the question that was asked, what to do with it? I honestly don't know. I have my uses, but for the public at large? I don't know. But I do know that I would love to walk into the comp-sci department at a local uni and see what they think. It's funny because I quit uni a little early because they went far too slow for me. I work so much better on my own without Pascal being shoved down my throat. Fuck that. I've got work to do. I love you guys. Hands down love you guys. Thanks for listening. Cheers.
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »
Maximum Security
OZONE
DHTML/Javascript
Server-Side Scripting - Oh my!
CSS - DOM - XHTML - XML - XSL - XSLT
Stupid Basic HTML
Visual Therapy
Photoshop
Photoshop Pong, Anyone?
***WARNING*** BIG SIG APPROACHING
Photography
3D Modelling & Rendering
Multimedia/Animation
Print Graphics
Holding Pens
Philosophy and other Silliness
Outpatient Counseling
Site reviews!
Mad Scientists' Laboratory
Getting to know the Grail