flat assembler
Message board for the users of flat assembler.

Index > Heap > Bitcoins?

Goto page Previous  1, 2, 3  Next
Author
Thread Post new topic Reply to topic
sleepsleep



Joined: 05 Oct 2006
Posts: 8885
Location: ˛                             ⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣Posts: 334455
sleepsleep
interesting, seems like collision is a matter of time,

maths should be teach in ssuch a way that the student desire to figure out an answer for a question and use his whole life time to seek. =)
Post 18 Dec 2013, 21:18
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 17270
Location: In your JS exploiting you and your system
revolution
A collision is guaranteed by simply hashing enough inputs. But reaching 100% coverage of outputs is still an open question.
Post 18 Dec 2013, 21:37
View user's profile Send private message Visit poster's website Reply with quote
sleepsleep



Joined: 05 Oct 2006
Posts: 8885
Location: ˛                             ⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣Posts: 334455
sleepsleep
revolution wrote:
A collision is guaranteed by simply hashing enough inputs. But reaching 100% coverage of outputs is still an open question.


interesting, Cool
Post 19 Dec 2013, 04:30
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 17270
Location: In your JS exploiting you and your system
revolution
2^256+1 hashes guarantees at least one collision. There is nothing new or unexpected in that. Same thing with birthdays, with 367 people in a room there is guaranteed at least one duplicate.

Perhaps a bit surprising is that with only 23 randomly selected people in a room there is p~=0.5 chance of a duplicate birthday. Collisions are not hard to generate, it just needs enough samples.
Post 19 Dec 2013, 04:47
View user's profile Send private message Visit poster's website Reply with quote
tthsqe



Joined: 20 May 2009
Posts: 724
tthsqe
Here is an interesting question:
Suppose I give you 1000 random integers from 1 to 1000 with equal probability. How many DISTINCT numbers do you expect to have? Then do this problem with the first 1000 replaced by m and the second 1000 replaced by n.

encrypted answer: "x42;72;7;9x3hw3"
Post 19 Dec 2013, 05:21
View user's profile Send private message Reply with quote
tthsqe



Joined: 20 May 2009
Posts: 724
tthsqe
Just to clarify, the expected value when m=n=20 is exactly 12.83028155182915531285179119110107421875. Now, I generate 20 random numbers, each between 1 and 20:
13, 19, 11, 18, 16, 7, 18, 13, 14, 20, 1, 9, 8, 7, 15, 6, 1, 2, 17, 13
there are 15 distinct values, which is close to the expected value of 12.8.
Post 19 Dec 2013, 18:36
View user's profile Send private message Reply with quote
sleepsleep



Joined: 05 Oct 2006
Posts: 8885
Location: ˛                             ⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣Posts: 334455
sleepsleep
sorry, i couldn't grab what you are presenting tthsqe, if you don't mind, is that possible to simplify the question? or answer?

and how is that to define random?

1 to 1000, if 5 shows up 10 times, 108 shows up 10 times, or a number shows up 20 times or more, is there a maximum picked count value impose on random generated numbers.

good random and bad random, is there a line?
Post 20 Dec 2013, 15:10
View user's profile Send private message Reply with quote
baldr



Joined: 19 Mar 2008
Posts: 1651
baldr
sleepsleep,

Let's take a 20-sided dice and throw it 20 times, placing a mark on a side that faces up each time. Note the final number of marked faces. Wash, rinse and repeat until tired. An average of those numbers noted is the expected value, approximately.
Post 20 Dec 2013, 16:13
View user's profile Send private message Reply with quote
sleepsleep



Joined: 05 Oct 2006
Posts: 8885
Location: ˛                             ⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣Posts: 334455
sleepsleep
so random conform to a balance distribution of each number?

if let say the average from distinct chosen numbers are something we could "expected", how is that the "way" to generate random is random?
Post 20 Dec 2013, 17:12
View user's profile Send private message Reply with quote
tthsqe



Joined: 20 May 2009
Posts: 724
tthsqe
ok, let me make it more precise. baldr has the correct idea.
Code:
E(n,m): 
 rand(n): gives a random integer between 1 and n with each integer chosen with  equal probability.
 now, initialize the array L with n zeros
 repeat m times
   L[rand(n)] = 1
 end repeat
 return L[1] + L[2] + ... + L[n]    
Your goal is to determine an exact formula for the expected value E(n,m) of the number of distinct values returned by m trials on rand(n). The formula will be in terms of n and m.
Post 20 Dec 2013, 21:24
View user's profile Send private message Reply with quote
Tyler



Joined: 19 Nov 2009
Posts: 1216
Location: NC, USA
Tyler
Did anyone notice BTC going to $1250 in November? They're still way about $130.
Post 21 Dec 2013, 03:14
View user's profile Send private message Reply with quote
HaHaAnonymous



Joined: 02 Dec 2012
Posts: 1180
Location: Unknown
HaHaAnonymous
[ Post removed by author. ]


Last edited by HaHaAnonymous on 28 Feb 2015, 19:00; edited 1 time in total
Post 21 Dec 2013, 04:03
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 17270
Location: In your JS exploiting you and your system
revolution
HaHaAnonymous wrote:
Can US government stop Bitcoin?
Perhaps. I suppose they could buy them all. I can't see any other way to stop it unless everyone just loses confidence and it dies naturally.
Post 21 Dec 2013, 04:06
View user's profile Send private message Visit poster's website Reply with quote
sleepsleep



Joined: 05 Oct 2006
Posts: 8885
Location: ˛                             ⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣Posts: 334455
sleepsleep
Quote:
Did anyone notice BTC going to $1250 in November?

notice that,
1 BTC around USD 630 now, which is still pretty high,

maybe the best thing to do now is mining litecoin and sell them in some future.
Post 21 Dec 2013, 17:47
View user's profile Send private message Reply with quote
sleepsleep



Joined: 05 Oct 2006
Posts: 8885
Location: ˛                             ⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣Posts: 334455
sleepsleep
i am trying cudaminer and cpu miner (minerd),

low khash rate =( with -a scrypt, i aim for litecoin.

if to choose, which one logically better? 32 or 64 bit miner program?

minerd.exe around 368 KB,
Post 21 Dec 2013, 20:25
View user's profile Send private message Reply with quote
HaHaAnonymous



Joined: 02 Dec 2012
Posts: 1180
Location: Unknown
HaHaAnonymous
[ Post removed by author. ]


Last edited by HaHaAnonymous on 28 Feb 2015, 19:00; edited 1 time in total
Post 21 Dec 2013, 20:35
View user's profile Send private message Reply with quote
sleepsleep



Joined: 05 Oct 2006
Posts: 8885
Location: ˛                             ⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣Posts: 334455
sleepsleep
it seems to me, bitcoin is no longer worth mining, they use fast asic sha256 machines,

i am thinking abuot getting r280x,

using G2020 cpuminer rightnow, i got around 15 khash/s (since this machine always on, i just make it do some extra job)
Post 21 Dec 2013, 20:39
View user's profile Send private message Reply with quote
HaHaAnonymous



Joined: 02 Dec 2012
Posts: 1180
Location: Unknown
HaHaAnonymous
[ Post removed by author. ]


Last edited by HaHaAnonymous on 28 Feb 2015, 18:59; edited 1 time in total
Post 21 Dec 2013, 21:08
View user's profile Send private message Reply with quote
sleepsleep



Joined: 05 Oct 2006
Posts: 8885
Location: ˛                             ⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣Posts: 334455
sleepsleep
HaHaAnonymous wrote:

Hmm, just realized this thing is not for me.

in what sense?
electricity cost?

scrypt coin is probably more value in long term atm,

/me waiting for new coin that maybe with following features.
- coins mined or purchased must be used in 1 year time start from date mined, after that, those coins would get retired and possible to be mined by others after the end of total coins distributed.

- 2 kinds of wallet, BUYER wallet and SELLER wallet,
mined coin are put inside BUYER wallet
1 spend money only, 1 accept money

- promote, BUYER -> SELLER relationship and prevent middleman, coin could be used twice only, BUYER mined and spend to buy stuff directly from SELLER, buyer wallet to seller wallet

- algo will balance global BUYER & SELLER wallet,
eg. if global BUYER wallet market = SSC (sleepsleep coin) 567,000 million
and SELLER wallet market = SSC 760,000 million,

this mean, no purchase are allow anymore from buyer wallet to seller wallet, the money in anytime must somehow balance with +- 10 percent. so seller must spend the money back on buyer wallet.


- coins distributed in a way that prevent asic based mining,

- a maximum khash/s is imposed

- program live and distribute inside mining block, (something like virtual program)

- programmer would get added advantage for more efficient ideas, algo and etc


sounds like communism coins? Laughing
Post 22 Dec 2013, 03:10
View user's profile Send private message Reply with quote
HaHaAnonymous



Joined: 02 Dec 2012
Posts: 1180
Location: Unknown
HaHaAnonymous
[ Post removed by author. ]


Last edited by HaHaAnonymous on 28 Feb 2015, 18:56; edited 1 time in total
Post 22 Dec 2013, 05:31
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  
Goto page Previous  1, 2, 3  Next

< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar.

Powered by rwasa.