Pages:
Author

Topic: Got my BFL Single today and I'm raffling it away for 0.5BTC! - page 6. (Read 29283 times)

dab
newbie
Activity: 42
Merit: 0
For his next feat, Matthew N. Wright will attempt to operate a lemonade stand...

Is a golden showers booth close enough?

That'll do pig. That'll do.
hero member
Activity: 588
Merit: 500
Hero VIP ultra official trusted super staff puppet
For his next feat, Matthew N. Wright will attempt to operate a lemonade stand...

Is a golden showers booth close enough?
donator
Activity: 1218
Merit: 1079
Gerald Davis
For his next feat, Matthew N. Wright will attempt to operate a lemonade stand...

A cryptographically secure, transparent, and verifiable one (with escrow coming in 2013).
legendary
Activity: 1554
Merit: 1222
brb keeping up with the Kardashians
For his next feat, Matthew N. Wright will attempt to operate a lemonade stand...
hero member
Activity: 588
Merit: 500
Hero VIP ultra official trusted super staff puppet
My hash appears in the referrer column 3 times, but the row with it in the purchaser column has 0 in the referrals column, and I only have 1 ticket credit.

Row is 152, hash is 3c7c2cc979c12fc5074efe3a15f852b40f837437d12653b1ffc71f35dd7697f3

Goddamnit. OpenOffice calc moved my calculation references when I pasted them. One moment.


EDIT: What happened is that the COUNTIF statement was counting starting the row of the referencing record, instead of starting at the top. To put it plainly, it was only checking rows below the current row instead of starting at the top of the page as it should have. I'm modifying each row in the B column manually to make sure this is done right.

Code:
=COUNTIF(C2:C154; #)
member
Activity: 65
Merit: 10
Your call Matt.  I only have 2 tickets so I don't really care.  It would be useful excercise in using the block chain to ensure no ability to cheat.   Random.Org is only random if you actually make it random not pick a buddy as the winner. Smiley  Not saying you would but using the blockchain as a double blind picking method reduces the need for implicit trust.

I totally agree. I want to learn this, but it still doesn't make sense to me completely, and that bothers me since I'm usually a fast mover on things. When the block comes around can you show me hands on what has to happen again?

Matt, the modulo (%) operator returns a remainder.

7 % 5 returns 2

So (hash) modulo (ticket #) will return a a random ticket number.

The hash looks like a complicated jargon of words but that is because it is represented in a different number format (Humans use base10 since we have 10 fingers, Computers use base 2 since switches can be on or off, hexadecimal is base16)

Base 2 - 0 1
Base 10 - 0 1 2 3 4 5 6 7 8 9
Base 16 - 0 1 2 3 4 5 6 7 8 9 A B C D E F

The last part of the hexadecimal hash can be converted into a decimal number (base 10), and the modulo operator can be used to choose the winner.

Since the hash is random and unpredictable, this will be the best way to choose a winner that can be independently verified.

The reverse bias has an extremely low chance of happening, and we can either accept it, or use the next block.  Your call.

I favor this method a lot more since it can be verified by anyone.  It is worth the wait

Now what some people were worried about was this.

*If the hash decimal equivalent is too large, then the last repeating remainder would not include all the tickets.  This would give earlier tickets just the slightest advantage.  This phenomenon happens since the max ticket number does not divide into the hash evenly.  The chances of this are extremely low, and the bias can even be ignored.

I can explain this more if you would like.  But it has been covered already by other posters.  

Just post here if you want me to re sum everything up in a single place.  Its not really complicated at all.
hero member
Activity: 588
Merit: 500
Hero VIP ultra official trusted super staff puppet
My hash appears in the referrer column 3 times, but the row with it in the purchaser column has 0 in the referrals column, and I only have 1 ticket.

Row is 152, hash is 3c7c2cc979c12fc5074efe3a15f852b40f837437d12653b1ffc71f35dd7697f3
Checking.,
hero member
Activity: 896
Merit: 1000
Buy this account on March-2019. New Owner here!!
we would not be Bitcoin enthusiasts if we did not over intellectualize everything


now here is my vote on how we settle this and pick our winner : Wink


legendary
Activity: 1904
Merit: 1002
My hash appears in the referrer column 3 times, but the row with it in the purchaser column has 0 in the referrals column, and I only have 1 ticket credit.

Row is 152, hash is 3c7c2cc979c12fc5074efe3a15f852b40f837437d12653b1ffc71f35dd7697f3
hero member
Activity: 588
Merit: 500
Hero VIP ultra official trusted super staff puppet
I say we boil water and count the number of Steam molecules that evaporate within a 30 second window, determined from when a penny is dropped from the top of a Sky scraper and hits the ground.
I've got the penny, you get the molecules.
dab
newbie
Activity: 42
Merit: 0
I say we boil water and count the number of Steam molecules that evaporate within a 30 second window, determined from when a penny is dropped from the top of a Sky scraper and hits the ground.
hero member
Activity: 588
Merit: 500
Hero VIP ultra official trusted super staff puppet
Just use random.org.  Use a cell phone to stream the pick live on ustream, so that everyone knows you're not cheating, and you're done!  Viola!

You insult me, sir.

I'd create a pinwheel with perfectly measured pie slices in accordance to shares, and stream myself throwing a dart at the spinning wheel to choose the winner.
Hah!  I'd love to see a pinwheel with 47,000 individual slices...

I guess we could do it more complicated than that, use the diameter of our Sun to map out a pie chart for the shares and agree on a 1 minute window to count the surface explosions, where the most explosions in a certain area within that minute dictates the winner.
legendary
Activity: 1400
Merit: 1005
Just use random.org.  Use a cell phone to stream the pick live on ustream, so that everyone knows you're not cheating, and you're done!  Viola!

You insult me, sir.

I'd create a pinwheel with perfectly measured pie slices in accordance to shares, and stream myself throwing a dart at the spinning wheel to choose the winner.
Hah!  I'd love to see a pinwheel with 47,000 individual slices...
dab
newbie
Activity: 42
Merit: 0
lol .5btc isn't much. I think its fun. At the least, we got this fun discussion and show for .5btc. Cheesy
legendary
Activity: 924
Merit: 1000
Think. Positive. Thoughts.
Holy shit, can this get any more complicated? Note to future self: don't do BTC raffles.
hero member
Activity: 588
Merit: 500
Hero VIP ultra official trusted super staff puppet
I have to agree with Matt you guys are making this too complicated. Keep in mind guys raffles are for people who can't do math.

At some point you just need to draw a line in the sand and say you are doing it this way whatever that way may be and if people don't like it then they don't participate.

Yes I did buy a couple tickets but I think the current method is more then fair.

Oh and I know many people who use random.org and just stream the pick on ustream or justin tv.

It's alright. They want to set a precedence and I get that. I also agree with them, as a troll, that if the results are not independently verifiable, it's no-good. Since this won't be the last raffle I run here for fun, I see it as a learning experience at the expense of everyone else. Might as well use it.

hero member
Activity: 588
Merit: 500
Hero VIP ultra official trusted super staff puppet
Just use random.org.  Use a cell phone to stream the pick live on ustream, so that everyone knows you're not cheating, and you're done!  Viola!

You insult me, sir.

I'd create a pinwheel with perfectly measured pie slices in accordance to shares, and stream myself throwing a dart at the spinning wheel to choose the winner.
newbie
Activity: 13
Merit: 0
I have to agree with Matt you guys are making this too complicated. Keep in mind guys raffles are for people who can't do math.

At some point you just need to draw a line in the sand and say you are doing it this way whatever that way may be and if people don't like it then they don't participate.

Yes I did buy a couple tickets but I think the current method is more then fair.

Oh and I know many people who use random.org and just stream the pick on ustream or justin tv.
legendary
Activity: 4466
Merit: 1798
Linux since 1997 RedHat 4
(last-10-digits-of-block-hash) % (number-of-tickets) = winning ticket number

The results of this aren't evenly distributed in most cases.

Say the random number is between 0 and 7, and there are 5 tickets from 0-4. Then the possible results are:
0 mod 5 = 0 (0 is the winner)
1 mod 5 = 1
2 mod 5 = 2
3 mod 5 = 3
4 mod 5 = 4
5 mod 5 = 0
6 mod 5 = 1
7 mod 5 = 2
As you can see, tickets 0-2 have a better chance than 3-4

For proper randomness, you actually need to re-roll when the random number is greater than your range of winners. This could be done by hashing the block hash again or choosing a different block. (There are probably other algorithms for properly distributing the randomness, but AFAIK they're always less efficient when generating random numbers and I don't know any such algorithms off-hand.)
Yeah we discussed this on page 6 when I brought it up the first time in jest Tongue
Yes those shares at the beginning of the list will get 1 extra chance in 2.7Million than those after the point where the final rollover stops.
Bringing it up again after the fact is rather pointless.
legendary
Activity: 1400
Merit: 1005
Your call Matt.  I only have 2 tickets so I don't really care.  It would be useful excercise in using the block chain to ensure no ability to cheat.   Random.Org is only random if you actually make it random not pick a buddy as the winner. Smiley  Not saying you would but using the blockchain as a double blind picking method reduces the need for implicit trust.

I totally agree. I want to learn this, but it still doesn't make sense to me completely, and that bothers me since I'm usually a fast mover on things. When the block comes around can you show me hands on what has to happen again?
Just use random.org.  Use a cell phone to stream the pick live on ustream, so that everyone knows you're not cheating, and you're done!  Viola!
Pages:
Jump to: