|
|
Go to page [Previous] 1~2~3~4~5~6 [Next] | ||||||||||
msc455magic Inner circle Taipei, Taiwan 1523 Posts |
Great stuff. Thanks!!!
Magic of Japan:
http://www.youtube.com/watch?v=tks9xf13Pqs |
|||||||||
Harald New user 82 Posts |
Thank you Joe for posting. There is a software named stackview, available for free at stackview.com which also might interest you if you did not know that before.
|
|||||||||
Jasper-1975 New user 4 Posts |
Super!
I will definitely use this when trying to learn the Aronson stack.....again But also Stackview, mentioned above, is a great tool. |
|||||||||
CardWiz Special user Charleston, SC 626 Posts |
Quote:
On 2010-02-28 22:28, huruey wrote: Yes, I see your point, but with 10000-100000 loops (which only takes about .2 seconds) every card is practically guaranteed to be called upon, and with 52 loops there is always the chance of swapping a pair twice. But I suppose it does not matter as both sequences get the job done. CW
People have been calling me "Yu" lately. I don't know, must be Chinese.
|
|||||||||
Medifro Inner circle Miami 1258 Posts |
Joe that's AWESOME
~ Feras |
|||||||||
huruey Loyal user York, UK 205 Posts |
Quote:
On 2010-03-01 23:21, CardWiz wrote: It does not matter if a card gets swapped twice, because by the end of the loop there is still a 1/52 of any card appearing at any position in the array. If you are having trouble seeing this, consider an alternative algorithm which more clearly produces the most random deck possible (for pseudo-random numbers at least), which creates a second array then loops through each element of the input array, randomly assigning it to any empty position in the second, thus every element has a 1/52 chance of finishing in any position in the output array. The first algorithm achieves this same result. When the loop is on an element, it has a 1/52 chance of going to any position in the array. The other 51 iterations, it has a 1/52 chance of being swapped with the current element. Counting itself, as it may end up swapping with itself, this means that every element is equally likely to swap to any position. Also, regarding speed, for a start you'll find older browsers take significantly longer, and rather than 0.2 seconds, it would be taking closer to 5 seconds, and just one more 0 would take that to 50 seconds, and just a couple more operations inside the loop would might double that again. Also, should you, for any reason, later want to repeat the operation many times in succession, for example to produce test data for some model which involves shuffling a deck of cards, multiplying your shuffling operation by just 10000 more could leave people waiting several hours. It is always best to use the most efficient algorithm because in real life, you don't necessarily know when you or somebody else may want to use a procedure for something more intensive, especially in industry when many people end up working on and using the same code. Joe
Joe Williamson
Chair of the University of York Magic Society Free Memorized Stack Trainer: http://huruey.webs.com |
|||||||||
Furniture Elite user London 415 Posts |
I created a trainer in Excel few months ago. You may find some ideas, like the ACAAN trainer, for you web built-in version
tamariz |
|||||||||
Close.Up.Dave Inner circle Behind you! 2956 Posts |
Anyone remember this one? http://www.stackview.com
|
|||||||||
Mike Powers Inner circle Midwest 2983 Posts |
Joe's explanation is dead on. You really can't get more random than switching every card with a random card. And the loop is only 1 to 52. I think this is the standard way to "shuffle" a deck.
"It doesn't simulate a real riffle shuffle, though. In a real shuffle cards fall in clumps. Persi Diaconis worked out the math on shuffling. It takes 7 "good" riffle shuffles to randomize a deck. I think "random" in this case means that you can't find a pattern in the shuffled deck that gives you any info as to the initial condition of the deck before the 7 shuffles. " From Wikipedia: ( http://en.wikipedia.org/wiki/Shuffling#Randomization ) "A famous paper by mathematician and magician Persi Diaconis, and mathematician Dave Bayer, on the number of shuffles needed to randomize a deck, concluded that the deck did not start to become random until five good riffle shuffles, and was truly random after seven, in the precise sense of variation distance described in Markov chain mixing time; of course, you would need more shuffles if your shuffling technique is poor." Mike
Mike Powers
http://www.mallofmagic.com |
|||||||||
nspikito Elite user 413 Posts |
Thanks, Joe. This is a super tool, both for learning a stack and keeping it fresh.
Spike |
|||||||||
leosx1 Veteran user 337 Posts |
Thank you Joe, what a great tool ! adding a tune of a song to each specific card also helps me a lot in remembering the card.
|
|||||||||
Scott F. Guinn Inner circle "Great Scott!" aka "Palms of Putty" & "Poof Daddy G" 6586 Posts |
Hi Joe,
I'm one of those "Joyal guys", but I used CHaSeD instead of SHoCkeD order. Unless I'm missing something, that isn't an option in your trainer. How hard would it be to add the CHaSeD stack? I know I can put it in myself, but it might be good to have it as a preset, if it's not too much trouble: JH,6C,6H,4C,10D,AD,7C,4H,9C,5D,QH,AS,KC 7H,10S,4S,JS,9H,KD,5S,7S,2C,QC,AH,10H,6S 9S,7D,QD,5H,KH,4D,3C,3H,10C,9D,QS,3S,3D 2H,8C,2S,JC,2D,8H,8S,KS,AC,JD,5C,8D,6D
"Love God, laugh more, spend more time with the ones you love, play with children, do good to those in need, and eat more ice cream. There is more to life than magic tricks." - Scott F. Guinn
My Lybrary Page |
|||||||||
huruey Loyal user York, UK 205 Posts |
CHaSeD Joyal has been added.
In other news, I am going to attempt to develop an app version over the next 6 weeks. Joe
Joe Williamson
Chair of the University of York Magic Society Free Memorized Stack Trainer: http://huruey.webs.com |
|||||||||
lunatik Inner circle 3222 Posts |
Hi Joe,are you planning on making an iPhone app? That would be awesome!
"Don't let your Dreams become Fantasies"
|
|||||||||
lunatik Inner circle 3222 Posts |
I was looking at your stck but I see 2 queen of hearts back to back, was this correct?
Quote: On 2010-02-28 12:33, Lawrence O wrote:
"Don't let your Dreams become Fantasies"
|
|||||||||
Scott Cram Inner circle 2678 Posts |
Quote:
On 2010-03-19 08:52, lunatik wrote: There's already Stacked Deck (iTunes Link). I reviewed it here, and then gave another review to the update. |
|||||||||
huruey Loyal user York, UK 205 Posts |
Quote:
On 2010-03-19 11:37, Scott Cram wrote: Ah. I was planning on doing an iphone version, but I guess there's no need or it. Joe
Joe Williamson
Chair of the University of York Magic Society Free Memorized Stack Trainer: http://huruey.webs.com |
|||||||||
Scott Cram Inner circle 2678 Posts |
You could still put one out, Joe. Who knows? Maybe you could do a better one!
|
|||||||||
lunatik Inner circle 3222 Posts |
Anyone else know the answer to my question about the two queen of hearts in lawrences modified si stebbens?
"Don't let your Dreams become Fantasies"
|
|||||||||
fyi2 Loyal user 291 Posts |
Just a thought you might consider adding Osterlind's stack BCS as well. (You'd need to get Richard's permission but I have found him very generous)
|
|||||||||
The Magic Cafe Forum Index » » Shuffled not Stirred » » Memorized Stack Trainer (Free) (16 Likes) | ||||||||||
Go to page [Previous] 1~2~3~4~5~6 [Next] |
[ Top of Page ] |
All content & postings Copyright © 2001-2024 Steve Brooks. All Rights Reserved. This page was created in 0.06 seconds requiring 5 database queries. |
The views and comments expressed on The Magic Café are not necessarily those of The Magic Café, Steve Brooks, or Steve Brooks Magic. > Privacy Statement < |