|
BloodyRookie
|
 |
February 26, 2014, 05:48:58 PM |
|
Am pretty sure that whether you pick the "highest" or "lowest" is not relevant - so although not identical in coding it is statistically equivalent.
If you'd like to change it and try please post the results (especially if that percentages or "lucky runs" change much).
Right, I just calculated the probability and (at least for two accounts) it does not make a difference. I should have looked into the calculation for more than 2 accounts. It's just coincidence that the method doesn't matter for 2 accounts. If you take 3 or more accounts, it does matter of course. Consider 100 accounts A1 to A100 with 1 nxt and 1 account B with 100 nxt. If you calculate (rand() % 100) * balance for A1 to A100 it can't be greater than 99. So B will win in 99% of the cases. The other way B will only win in about (e-1)/e cases which is about 63%. It wasn't taking into account the idea that your "ticket number" actually "changes with time" (my updated version does that and produces very much the same as "log" results that the earlier version got without actually using "log").
The time in the nxt algorithm doesnt decide who will forge, just when he will forge the block.
|
Nothing Else Matters NEM: NALICE-LGU3IV-Y4DPJK-HYLSSV-YFFWYS-5QPLYE-ZDJJ NXT: 11095639652683007953
|
|
|
CIYAM
Legendary
Offline
Activity: 1890
Merit: 1135
Ian Knowles - CIYAM Lead Developer
|
 |
February 26, 2014, 05:49:11 PM |
|
It's just that when the inspiration comes I have to release it
I understand and your interest is appreciated - we just have to do this stuff "step by step" and most importantly "get it right". Look at the situation with Mt. Gox at the moment - mistakes can have some rather hefty consequences (am glad that I am not Mark Karpeles).
|
|
|
|
CIYAM
Legendary
Offline
Activity: 1890
Merit: 1135
Ian Knowles - CIYAM Lead Developer
|
 |
February 26, 2014, 05:51:05 PM |
|
The time in the nxt algorithm doesnt decide who will forge, just when he will forge the block.
That is *not* my current understanding (and why my updated model now seems to match the *real* stats). You might want to check that (my initial model made that assumption and CfB pointed me to one that did what my one is now doing). Again - feel free to change my algo and publish the new algo and results. It is just a simulation - if you can make it *better* then that would be appreciated (it isn't easy to get the simulation to be even reasonably close to reality but it does still serve a purpose to at least look at "average" vs. "worst cases" in a purely statistical sense).
|
|
|
|
|
mthcl
|
 |
February 26, 2014, 05:57:13 PM |
|
The time in the nxt algorithm doesnt decide who will forge, just when he will forge the block.
That is *not* my current understanding (and why my updated model now seems to match the *real* stats). Here I would agree with BloodyRookie, since all targets remain proportional as time grows.
|
|
|
|
|
|
bitcoinpaul
|
 |
February 26, 2014, 06:00:11 PM |
|
@all: Where did you obtain your knowledge regarding the used algorithm in Nxt?
|
|
|
|
|
CIYAM
Legendary
Offline
Activity: 1890
Merit: 1135
Ian Knowles - CIYAM Lead Developer
|
 |
February 26, 2014, 06:00:22 PM |
|
Here I would agree with BloodyRookie, since all targets remain proportional as time grows.
In that case I am not sure how to fix my model - we seem to have multiple communication problems (native language, level of math and computer language). 
|
|
|
|
Come-from-Beyond
Legendary
Offline
Activity: 2142
Merit: 1010
Newbie
|
 |
February 26, 2014, 06:00:33 PM |
|
So it's Andreas? (I don't understand what he is talking about)
|
|
|
|
|
CIYAM
Legendary
Offline
Activity: 1890
Merit: 1135
Ian Knowles - CIYAM Lead Developer
|
 |
February 26, 2014, 06:02:02 PM |
|
@all: Where did you obtain your knowledge regarding the used algorithm in Nxt?
I tried my best to understand the Java source code that was released (and will readily admit I've failed to "grok" it). It is not written in a way that makes it easy to follow at all and I am not a Java programmer (I do C++).
|
|
|
|
redsn0w
Legendary
Offline
Activity: 1778
Merit: 1043
#Free market
|
 |
February 26, 2014, 06:04:00 PM |
|
@all: Where did you obtain your knowledge regarding the used algorithm in Nxt?
You should ask to Jean-Luc
|
|
|
|
|
|
mthcl
|
 |
February 26, 2014, 06:04:26 PM |
|
@all: Where did you obtain your knowledge regarding the used algorithm in Nxt?
From conversations with CfB and Ian.
|
|
|
|
|
|
bitcoinpaul
|
 |
February 26, 2014, 06:06:12 PM |
|
I wanted to point out that different sources could result in different understandings of the algo.
|
|
|
|
|
utopianfuture
Sr. Member
  
Offline
Activity: 602
Merit: 268
Internet of Value
|
 |
February 26, 2014, 06:09:00 PM |
|
Agreed (minus the vulgar language), we can market AE when it's finished with testing and we are happy with it.
Btw, who is really testing it? I got only a few bug reports. I don't really need AE working (I'm not a trader and don't need to IPO anything), so I can wait till April. The community should focus on testing if it does need AE. The best test is on the mainnet. If there wasn't any bugs reported recently then it is the time to bring it on.
|
|
|
|
CIYAM
Legendary
Offline
Activity: 1890
Merit: 1135
Ian Knowles - CIYAM Lead Developer
|
 |
February 26, 2014, 06:09:14 PM |
|
So I think I am about done with trying to simulate our blockchain (it is too tiring and this is not my area of expertise).
If someone else is interested to take over then you have my source code and at least some mathematical analysis has been done on the "real" algorithm (without penalty being considered).
Unfortunately the result is that "we just don't know" if the Nxt TF algo is going to work at this stage (and we have not got any idea if anything else will work better).
Sorry I couldn't provide a better analysis but maybe others can improve on this.
|
|
|
|
|
salsacz
|
 |
February 26, 2014, 06:13:25 PM |
|
So it's Andreas? (I don't understand what he is talking about) he says his second book will be called: How Bitcoin failed and how we can get the Next one right. So he knew about Nxt in September 
|
|
|
|
|
|
Jerical13
|
 |
February 26, 2014, 06:14:32 PM |
|
How is going on the AE test? this is real markeeting, not speakers for freaks/geeks
Hell yeah!!! This is what will sell NXT. Functional and secure network, decentralized currency, Free market economy. It only needs to be that difficult. If these things are in place, peoples own self interest will do the rest. The AE offers up so many opportunities, if the network is functional and secure.
|
|
|
|
|
|
Jerical13
|
 |
February 26, 2014, 06:20:34 PM |
|
How is going on the AE test? this is real markeeting, not speakers for freaks/geeks
who the fuck cares? AE is not working that is why nobody talks about it. That is soooo short sighted to say. I will talk about it. It will be worth it when it's ready. The guys working on it don't have time to talk as they have there ears to the grind stone. what you wanna talk about?
|
|
|
|
|
redsn0w
Legendary
Offline
Activity: 1778
Merit: 1043
#Free market
|
 |
February 26, 2014, 06:21:20 PM |
|
So it's Andreas? (I don't understand what he is talking about) he says his second book will be called: How Bitcoin failed and how we can get the Next one right. So he knew about Nxt in September  He just said || Next ||, we do not know he was referring to NXT 
|
|
|
|
|
|
gs02xzz
|
 |
February 26, 2014, 06:21:44 PM |
|
So it's Andreas? (I don't understand what he is talking about) At the time he was talking that Bitcoin might not survive in the future because of some security flaws and in the "next crypto-currency" he is sure that everything will be fixed.
|
|
|
|
|
|
wakasaki808
|
 |
February 26, 2014, 06:21:59 PM |
|
How is going on the AE test? this is real markeeting, not speakers for freaks/geeks
who the fuck cares? AE is not working that is why nobody talks about it. That is soooo short sighted to say. I will talk about it. It will be worth it when it's ready. The guys working on it don't have time to talk as they have there ears to the grind stone. what you wanna talk about? Don't worry about Emule...he's the NXT troll around these parts 
|
|
|
|
|
Come-from-Beyond
Legendary
Offline
Activity: 2142
Merit: 1010
Newbie
|
 |
February 26, 2014, 06:22:33 PM |
|
he says his second book will be called: How Bitcoin failed and how we can get the Next one right. So he knew about Nxt in September  Interesting. One of the guys who were sitting there could be BCNext...
|
|
|
|
|
|