Bitcoin Forum
May 08, 2024, 08:52:02 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 [1912] 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 ... 2557 »
  Print  
Author Topic: NXT :: descendant of Bitcoin - Updated Information  (Read 2761529 times)
fmiboy
Full Member
***
Offline Offline

Activity: 189
Merit: 100


View Profile
February 27, 2014, 04:07:35 AM
Last edit: February 27, 2014, 05:06:08 AM by fmiboy
 #38221

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.

hm well ... I have tested all the basic functions: placeOrder (bis/ask) cancelOrder(bid/ask),issueAsset, transferAsset, trade. Fetch bidorder/askorder as TX from trade.
The bug with the 'not enough funds'. I am still missing out on the scaling - whether it is 0.01nxt or 1 nxt, little things like that.

May main focus atm is getting the modelView pulled straight in Qt, and then I'll have to switch from GET to POST in requests.

What about a liquid market? How can we simulate one? What kind of test cases can we come up with? Who actually IS testing the AE on the testNET? For sure I know about jl777 and myself but there are 2 or three others - wesleyh / nexern / marcus03 ??

Please chime in whoever is testing, so we can cook up something more lively!





All expected functions are working well on my side... only client need more optimization after mass adoption of AE, it will have much more activity...
1715158322
Hero Member
*
Offline Offline

Posts: 1715158322

View Profile Personal Message (Offline)

Ignore
1715158322
Reply with quote  #2

1715158322
Report to moderator
1715158322
Hero Member
*
Offline Offline

Posts: 1715158322

View Profile Personal Message (Offline)

Ignore
1715158322
Reply with quote  #2

1715158322
Report to moderator
In order to get the maximum amount of activity points possible, you just need to post once per day on average. Skipping days is OK as long as you maintain the average.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715158322
Hero Member
*
Offline Offline

Posts: 1715158322

View Profile Personal Message (Offline)

Ignore
1715158322
Reply with quote  #2

1715158322
Report to moderator
1715158322
Hero Member
*
Offline Offline

Posts: 1715158322

View Profile Personal Message (Offline)

Ignore
1715158322
Reply with quote  #2

1715158322
Report to moderator
brooklynbtc
Sr. Member
****
Offline Offline

Activity: 336
Merit: 250

AKA jefdiesel


View Profile
February 27, 2014, 04:10:56 AM
 #38222

Man, I missed 1973, my year, and didnt even think about 1984.

I hope I can get in on the party (like its) 1999

SN
S   U   P   E   R    N   E   T
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀   
Uniting cryptocurrencies, Rewarding talent, Sharing benefits..

Blockchain Technology.

fmiboy
Full Member
***
Offline Offline

Activity: 189
Merit: 100


View Profile
February 27, 2014, 04:31:41 AM
Last edit: February 27, 2014, 04:52:18 AM by fmiboy
 #38223

Androklis Polymenis (me) donates a million digital NXT coins to BPF! $43,000. Press release [PDF]: http://goo.gl/t8tWY8

https://twitter.com/Lets_Upgrade/status/438525224368107520


wow,so generous.

This needs more media coverage. Anyone has account with http://service.prweb.com/ ?
I am on it, already submitted it to few sites. I am also registered at prweb, but they want $99-499 for one news release, bastards

Yes, but they want money, but they get it published to finance.yahoo.com and other sites
Again I think it's worth it.
I have contacted 20+ big sites already, but if these people can GUARANTEE that it'll be published on some of the biggest news sites in the world then it's worth it in my opinion.
Should be paid straight from the fund. Salsacz is already in control of a marketing fund, so if we're all in agreement on it I don't think that's a problem?

Hold on a moment.....I know it's tempting to look at every marketing/PR issue as something that will be solved if you throw some money at it, but we should at least try to see how far we can get on our own before we throw money at outside agencies.

The press release at the moment is one short page, focussing in the BPF and klee, with almost no information about NXT.
Journalists are lazy bastards (or working to a tight deadline)so u can be sure that they won't bother doing any further research into NXT before posting a story that focusses exclusively on the BPF and maybe klee, with only a passing mention for NXT.

I suggest that someone (not me, no time for next 3-4 days) expands the press release with lots of NXT info and maybe a little interview with klee, then we  can start pushing it ourselves to news outlets, especially mainstream ones like the BBC and old-skool newspapers.
If that doesn't work out, then we hand the improved press release over to the pros and open our wallets.
This story doesn't have to run right now.....


Talking of klee:
tion to keep this ball rolling.  We should ask the Cryptsy folks to document what was required to get NXT plugged into their system. Then we should turn right around to allwelder or some of the other Chinese NXT members and see that this info from Cryptsy gets communicated to BTX38.com in China.  We need to be on both of these exchanges as soon as possible.  It is the only way we are going to get exposure to a new pool of capital to buy NXT and get our exchange volume back up.  

Good idea. Give them some bounty for it.
I support this - a part of unclaimed funds should go as a bounty to cryptsy, btc38 and maybe btc-e (I hate these scammers but..).

Let's move this shit forward, especially cryptsy (big volume) and btc38 (CNY/NXT).

I suggest 100K nxt bounty.


I vote that we don't.
We have talented guys in NXT that have been helping with exchange implementation (opticalcarrier springs to mind, + others).
If we spent the 100 kNXT bounty on financing these guys to set up an exchange implementation workgroup and get them to fully document their procedures, we can get a package together that will allow all exchanges to implement NXT without the technical problems that so many seem to be having.

Helping, documenting, spreading the implementation info and providing support will pay off way better in the long run than simple bribery.
Again, if providing tech help doesn't cut it, then we can try bribery.

Don't forget, we just blew something like 2-3 BTC on MintPal and they then turned around and said: "Sorry , we don't understand NXT, how about some nice TeslaCoin instead? "



good point, and we already have Site integration section in wiki:

http://wiki.nxtcrypto.org/wiki/How-To
http://wiki.nxtcrypto.org/wiki/Automate_Nxt_for_your_website

which is easy to follow I guess
Uniqueorn
Full Member
***
Offline Offline

Activity: 182
Merit: 100

NXT.org


View Profile
February 27, 2014, 04:53:34 AM
 #38224

Androklis Polymenis (me) donates a million digital NXT coins to BPF! $43,000. Press release [PDF]: http://goo.gl/t8tWY8

https://twitter.com/Lets_Upgrade/status/438525224368107520


wow,so generous.

This needs more media coverage. Anyone has account with http://service.prweb.com/ ?
I am on it, already submitted it to few sites. I am also registered at prweb, but they want $99-499 for one news release, bastards

Yes, but they want money, but they get it published to finance.yahoo.com and other sites
Again I think it's worth it.
I have contacted 20+ big sites already, but if these people can GUARANTEE that it'll be published on some of the biggest news sites in the world then it's worth it in my opinion.
Should be paid straight from the fund. Salsacz is already in control of a marketing fund, so if we're all in agreement on it I don't think that's a problem?

Hold on a moment.....I know it's tempting to look at every marketing/PR issue as something that will be solved if you throw some money at it, but we should at least try to see how far we can get on our own before we throw money at outside agencies.

The press release at the moment is one short page, focussing in the BPF and klee, with almost no information about NXT.
Journalists are lazy bastards (or working to a tight deadline)so u can be sure that they won't bother doing any further research into NXT before posting a story that focusses exclusively on the BPF and maybe klee, with only a passing mention for NXT.

I suggest that someone (not me, no time for next 3-4 days) expands the press release with lots of NXT info and maybe a little interview with klee, then we  can start pushing it ourselves to news outlets, especially mainstream ones like the BBC and old-skool newspapers.
If that doesn't work out, then we hand the improved press release over to the pros and open our wallets.
This story doesn't have to run right now.....


Talking of klee:
tion to keep this ball rolling.  We should ask the Cryptsy folks to document what was required to get NXT plugged into their system. Then we should turn right around to allwelder or some of the other Chinese NXT members and see that this info from Cryptsy gets communicated to BTX38.com in China.  We need to be on both of these exchanges as soon as possible.  It is the only way we are going to get exposure to a new pool of capital to buy NXT and get our exchange volume back up. 

Good idea. Give them some bounty for it.
I support this - a part of unclaimed funds should go as a bounty to cryptsy, btc38 and maybe btc-e (I hate these scammers but..).

Let's move this shit forward, especially cryptsy (big volume) and btc38 (CNY/NXT).

I suggest 100K nxt bounty.


I vote that we don't.
We have talented guys in NXT that have been helping with exchange implementation (opticalcarrier springs to mind, + others).
If we spent the 100 kNXT bounty on financing these guys to set up an exchange implementation workgroup and get them to fully document their procedures, we can get a package together that will allow all exchanges to implement NXT without the technical problems that so many seem to be having.

Helping, documenting, spreading the implementation info and providing support will pay off way better in the long run than simple bribery.
Again, if providing tech help doesn't cut it, then we can try bribery.

Don't forget, we just blew something like 2-3 BTC on MintPal and they then turned around and said: "Sorry , we don't understand NXT, how about some nice TeslaCoin instead? "



good point, and we already have Site integration section in wiki:

http://wiki.nxtcrypto.org/wiki/How-To

which is easy to follow I guess


Noone is suggesting such a thing. I already wrote more than enough about NXT in my mails to the biggest websites out there that we need to get on.

Obviously if we're to spend money we will have to write up a professional article, but it can't be too long, people can't be bothered to read a long article about something they haven't heard of.

I kept my mails to 3 semi-long paragraphs.
msin
Legendary
*
Offline Offline

Activity: 1470
Merit: 1004


View Profile
February 27, 2014, 04:54:26 AM
 #38225

Is anyone else having problems with the newer versions?  7.6 is that last version that works for me. Double click on "nxt" and nothing happens.  Am I missing something?
Anon136
Legendary
*
Offline Offline

Activity: 1722
Merit: 1217



View Profile
February 27, 2014, 04:56:49 AM
 #38226

This is an idea that has been going on my mind for some time.I wrote this now,and it is still very ambiguous,as i only want to bring the idea to see if its viable or brings interest.I could develop it more if it gets interest.Note that i am not a programmer or anything similar,so i didnt get deep in this first version with the technical side.I am just passionate about Nxt and read all i can about it and know what kind of things could be done.
 Ive made a living from poker since i was 17(26 now) and I know gambling is not nice for many of you and wouldnt like Nxt related with it,and i am against gambling too in any kind of casino games,or in any way it could be consider hustling. But i think there is nothing wrong if 2 persons want to bet on a fair event.
Gambling is something done worldwide and a new environment for it, fast,private and secure on Internet ,would bring HUGE interest on Nxt




NxtBet

1-Introduction
2-Betting process
3-How can Nxt make this better
4-How it works
5-Risks
6-Conclusion

1-Introduction.
Betting is something that will always exist,it is part of our nature.But betting nowadays is a monopoly of some companies or states(if regulated),which result in abusing odds for everyone,making betting a shell game where only the companies win.

Nxt was born with the idea of bringing a decentralized environment for every kind of exchange,and could perfectly be used to offer a platform where people could exchange “action”.

Online sportsbetting is a huge market that moves billionaire amounts of money.It is possible to bet on many websites,betting against the site,or in an exchange betting against other people.
The objective of this project is not to win money from the bettors,but to give them a place where they can bet fairly with their own conditions,without losing a lot of value.

Normal sites,charge from 10 to 20% for betting in simple events.E.g.: you want to bet on who will start having possession in a football game,which is decided on a coinflip.This should be paid 2 to 1(decimal odds) as there is a 50% chance of guessing,but you often find that you are paid somewhere from 1.80 to 1.95.This EV (expected value) lost,where sportbooks get their margin from,is used to pay taxes,licenses,operation costs and HUGE BENEFITS.


2-Betting process


The idea is to simplify all the betting procedure.

Nowadays to bet you need to create an account on a betting site,give all your personal details and verify ID.In regulated countries governments may have all the information of how much did you bet,and won/lost.
Then you need to deposit money (credit card,bank transfer or online wallet),and verify the depositing method.They may not credit your deposit until its verified,and then you will have a balance that lets you place a bet.

Once you place a bet you have to trust the site to pay it correctly,which often is not a problem.Anyway,there are some markets that can bring some trouble,like tennis games,where if someone retires too soon,the bet could be considered void.Nxtbet would have to be careful with this kind of markets,avoiding them,or having 100% clear rules on how they will be treated.

At any time,you can cash out money,up to the amount that appears in your balance.Depositing and cashing out,is putting trust in the site,hoping they will keep safe the deposits,and pay you.In some cases,disasters have happened,like the mtgox case,with sites not paying out.Often the sites also delay the cashouts as much as they can,to keep the money as long as possible and get revenues from it(interests ,
investments,etc.)


3-How can Nxt make this better

The normal process requires  depositing money in a site,and leaving it there for a long time,in case you want to bet.If you suddenly want to bet on something,it would take plenty of time to create an account,verify it and deposit money.
Leaving money in the site is the best way to catch a bet if you suddenly want to place it,or you risk missing it.And in case you wanted to cash out to use that money on anything else,it  would also take days or weeks until you receive it.

With Nxt a bet could consist of a single escrowed or multi-signature transaction,where a third-party would verify the result of the event,and decide who receives the whole transaction.This way you dont need to trust a site to keep your money and data.
So when you bet on something,for example 100 Nxt,you would only have those 100 Nxt “stopped” until the result is known,instead of having much more money in the site,and waiting to cash it out.
It also provides 100% privacy.



4-How it works

Nxtbet would provide a site similar to www.betfair.com ,which is a P2P exchange market.And it works the same way as any exchange.People places bids or asks, requesting odds on a single event.


When there is a coincidence on the odds requested(A wants 2 to 1 on something happening,and B wants 2 to 1 on the same event not happening), a transaction is created,where each side would put the amount they risk,and a third-party verifies the result and sends the money to the winner.

All this should be done automatically.An option could be to put all the results of the markets in a blockchain,or any kind of ledger,and make the transaction consult that database to verify the result and decide who receives the transaction.

This way the money is never in others hands,and nobody has the information about your bets.


5-Risks

I think all the process could be programmed.But as it happens with P2P decentralized exchanges,there is no way of verifying real life events,so  it  cant be made 100% decentralized.

There is some centralization required to verify the results.It is the only thing that may need to find a solution.It can still be made working as a company,whose only function would be to offer the exchange platform,the mechanism for transactions, and get the results,and put them in the ledger where transactions will search for the result.
Its not how it would work ideally with Nxt,but it is still much better than traditional betting sites.

The only chance of stealing would be to bet on an event,knowing you will put that same result in the ledger to win the bet.It would require real-life mechanisms to avoid that happening.


6-Conclusion

Nxtbet goal is to bring a place where people could bet freely,without limits, on a secure way,without paying huge fees.This would let people bet without losing any value,so they would have the best possible odds,and without giving any private information.

It could be  100% decentralized if possible,or as a private company on top of Nxt.

The market is huge and almost everyone is concerned with how much companies/regulations take from their bets(and they keep betting!).
I think it would be great as a killer app to promote Nxt.

Even as a private company,i think this would bring profit not taking anything from bets,and getting donations,educating people on how they are getting 100% value and its worth to give a tip to maintain Nxtbet,similar to Nxt forging philosophy.But if necessary,it could still get a minimal %,as there is so much margin.

If it had success,the trust it requires from people to use it,would have to increase proggressively;this means,not moving millions the first weeks/months,and bring the necessary real life mechanisms working as a company in the things that require trust.This is risky because a scam in this would have a very negative effect.


just have the derivatives issued by the person who will be the judge of the outcome. or have the judge be chosen by the person who issues the derivative. its the least bad solution.

Rep Thread: https://bitcointalk.org/index.php?topic=381041
If one can not confer upon another a right which he does not himself first possess, by what means does the state derive the right to engage in behaviors from which the public is prohibited?
msin
Legendary
*
Offline Offline

Activity: 1470
Merit: 1004


View Profile
February 27, 2014, 05:11:54 AM
 #38227

Is anyone else having problems with the newer versions?  7.6 is that last version that works for me. Double click on "nxt" and nothing happens.  Am I missing something?

Nevermind, found it here, we really need to update this on wiki and OP for newer versions.

https://bitcointalk.org/index.php?topic=345619.msg5301537#msg5301537
Uniqueorn
Full Member
***
Offline Offline

Activity: 182
Merit: 100

NXT.org


View Profile
February 27, 2014, 05:15:35 AM
 #38228

Is anyone else having problems with the newer versions?  7.6 is that last version that works for me. Double click on "nxt" and nothing happens.  Am I missing something?

Nevermind, found it here, we really need to update this on wiki and OP for newer versions.

https://bitcointalk.org/index.php?topic=345619.msg5301537#msg5301537

I think it'd be better if we actually start using a separate forum where we have better organization of everything ;P
Fry
Newbie
*
Offline Offline

Activity: 45
Merit: 0


View Profile
February 27, 2014, 05:37:30 AM
 #38229

Some TestNXT to 15004211867702614232 Please!
abctc
Legendary
*
Offline Offline

Activity: 1792
Merit: 1038



View Profile
February 27, 2014, 06:01:29 AM
 #38230

I would like to remind you all that PeerExplorer.com runs a great program to award nodes and makes it an incentive to run public nodes.

The system will soon run low on caches (accounts with NXT in them) to award nodes with.

If a big stakeholder is out there reading this, a donation to the person running Peer Explorer would be great so he can add to the cache system of rewards.
+ 1440
I'm rather a small stakeholder, but I am constantly creating some new caches to encourage nodes' owners.

█████████████████████████████████████████████████
███████████████████████████████████████████████████
█████████████████████████████████████████████████████
█████████████████████████████████████████████████████
██████████████████████████████████████████████████████
█████
█████████████████████████████████████████████████████████████
██████████████████████████████████████████████████████
███████████████████████████████████████████████████████
█████████████████████████████████████████████████████████████
███████████████████████████████████████████████████████████████
██████████████████████████████████████████████████████████████████
   
, the Next platform.  Magis quam Moneta (More than a Coin)
Uniqueorn
Full Member
***
Offline Offline

Activity: 182
Merit: 100

NXT.org


View Profile
February 27, 2014, 06:04:39 AM
 #38231

I would like to remind you all that PeerExplorer.com runs a great program to award nodes and makes it an incentive to run public nodes.

The system will soon run low on caches (accounts with NXT in them) to award nodes with.

If a big stakeholder is out there reading this, a donation to the person running Peer Explorer would be great so he can add to the cache system of rewards.
+ 1440
I'm rather a small stakeholder, but I am constantly creating some new caches to encourage nodes' owners.


That is great, but I hope some of these rich guys steps up to the plate soon and take care of such things Smiley
CIYAM
Legendary
*
Offline Offline

Activity: 1890
Merit: 1078


Ian Knowles - CIYAM Lead Developer


View Profile WWW
February 27, 2014, 06:14:18 AM
 #38232

Although the algo still doesn't match what is really going on (if anyone else can make it more correct then please modify it and post the updated results and source) I thought I just do one "slightly more realistic" 10 year analysis:

blocks = 5256000
a = 1
b = 1
c = 1
d = 1
e = 1
f = 1
g = 1
h = 1
i = 1
j = 1
k = 5
l = 5
m = 5
n = 5
o = 10
p = 10
q = 10
r = 10
s = 30
wins( a ) = 1159
wins( b ) = 1174
wins( c ) = 1150
wins( d ) = 1183
wins( e ) = 1193
wins( f ) = 1169
wins( g ) = 1143
wins( h ) = 1177
wins( i ) = 1115
wins( j ) = 1205
wins( k ) = 175337
wins( l ) = 175600
wins( m ) = 174960
wins( n ) = 174629
wins( o ) = 580246
wins( p ) = 579058
wins( q ) = 580492
wins( r ) = 578307
wins( s ) = 2225703
best_streak( a ) = 2
best_streak( b ) = 1
best_streak( c ) = 1
best_streak( d ) = 1
best_streak( e ) = 1
best_streak( f ) = 1
best_streak( g ) = 1
best_streak( h ) = 2
best_streak( i ) = 2
best_streak( j ) = 2
best_streak( k ) = 5
best_streak( l ) = 4
best_streak( m ) = 5
best_streak( n ) = 4
best_streak( o ) = 7
best_streak( p ) = 7
best_streak( q ) = 6
best_streak( r ) = 6
best_streak( s ) = 19
best_combined_streak = 2
(combined the first 6 accounts)

With this simulation we see a combined streak of only 2 when we have grouped together a bunch of very small stakeholders.

I then also tried simulating the idea that forgers will be penalised with higher stake holders being penalised more often but every way I try that I simply end up with worse results (in terms of streaks) like this:

blocks = 5256000
a = 1
b = 1
c = 1
d = 1
e = 1
f = 1
g = 1
h = 1
i = 1
j = 1
k = 5
l = 5
m = 5
n = 5
o = 10
p = 10
q = 10
r = 10
s = 30
wins( a ) = 22634
wins( b ) = 21929
wins( c ) = 21654
wins( d ) = 21987
wins( e ) = 21739
wins( f ) = 21888
wins( g ) = 21492
wins( h ) = 21921
wins( i ) = 21824
wins( j ) = 21706
wins( k ) = 324659
wins( l ) = 318268
wins( m ) = 317664
wins( n ) = 318776
wins( o ) = 635268
wins( p ) = 640399
wins( q ) = 631070
wins( r ) = 630736
wins( s ) = 1220386
penalised( a ) = 62
penalised( b ) = 63
penalised( c ) = 70
penalised( d ) = 53
penalised( e ) = 66
penalised( f ) = 62
penalised( g ) = 61
penalised( h ) = 66
penalised( i ) = 54
penalised( j ) = 57
penalised( k ) = 934
penalised( l ) = 983
penalised( m ) = 976
penalised( n ) = 963
penalised( o ) = 1471
penalised( p ) = 1454
penalised( q ) = 1485
penalised( r ) = 1479
penalised( s ) = 2012
best_streak( a ) = 3
best_streak( b ) = 3
best_streak( c ) = 3
best_streak( d ) = 3
best_streak( e ) = 3
best_streak( f ) = 3
best_streak( g ) = 4
best_streak( h ) = 3
best_streak( i ) = 4
best_streak( j ) = 3
best_streak( k ) = 9
best_streak( l ) = 8
best_streak( m ) = 7
best_streak( n ) = 7
best_streak( o ) = 22
best_streak( p ) = 20
best_streak( q ) = 18
best_streak( r ) = 13
best_streak( s ) = 39
best_combined_streak = 14
(combined the first 6 accounts)

So although it is admittedly not an accurate simulation in my opinion getting large accounts split up into smaller accounts and having lots of pools would probably do a better job of "securing" the blockchain than introducing penalties at all.

Code:
// Copyright (c) 2014 CIYAM Developers
//
// Distributed under the MIT/X11 software license, please refer to the file license.txt
// in the root project directory or http://www.opensource.org/licenses/mit-license.php.

#include <ctime>
#include <cmath>
#include <cstdlib>

#include <string>
#include <vector>
#include <sstream>
#include <iostream>

//#define NUM_DAYS 1
#define NUM_YEARS 10

#define PENALISE_HIGHER_STAKE
//#define PREVENT_IMMEDIATE_REPEAT

//#define SHOW_WINNERS
//#define SHOW_WINNERS_WEIGHT

using namespace std;

const int c_combined_proportion = 3;

#ifndef NUM_YEARS
const size_t c_num_blocks = 1440 * NUM_DAYS;
#else
const size_t c_num_blocks = 1440 * 365 * NUM_YEARS;
#endif

int main( )
{
#ifdef SHOW_WINNERS
   string winners;
#endif
   vector< int > wins;
   vector< int > streaks;
   vector< int > balances;
   vector< int > penalised;
   vector< int > penalising;
   vector< int > best_streak;

   vector< int > combined;
   vector< long > weights;

   long total_balance = 0;

   int combined_streak = 0;
   int best_combined_streak = 0;

   balances.push_back( 1 );
   balances.push_back( 1 );
   balances.push_back( 1 );
   balances.push_back( 1 );
   balances.push_back( 1 );
   balances.push_back( 1 );
   balances.push_back( 1 );
   balances.push_back( 1 );
   balances.push_back( 1 );
   balances.push_back( 1 );
   balances.push_back( 5 );
   balances.push_back( 5 );
   balances.push_back( 5 );
   balances.push_back( 5 );
   balances.push_back( 10 );
   balances.push_back( 10 );
   balances.push_back( 10 );
   balances.push_back( 10 );
   balances.push_back( 30 );

   srand( ( unsigned int )time( 0 ) );

   for( size_t i = 0; i < balances.size( ); i++ )
   {
      total_balance += balances[ i ];

      wins.push_back( 0 );
      weights.push_back( 0 );
      streaks.push_back( 0 );
      combined.push_back( 0 );
      penalised.push_back( 0 );
      penalising.push_back( 0 );
      best_streak.push_back( 0 );
   }

   size_t last_winner = 0;
   for( size_t blocks = 0; blocks < c_num_blocks; blocks++ )
   {
      long total_weight = 0;
      for( size_t i = 0; i < weights.size( ); i++ )
      {
         if( penalising[ i ] )
         {
            --penalising[ i ];
            weights[ i ] = 0;
         }
         else
         {
            int divisor = rand( ) % 10;

            if( divisor == 0 )
               ++divisor;

            weights[ i ] = ( rand( ) % 10000 ) * ( balances[ i ] / divisor );

            if( weights[ i ] == 0 )
               ++weights[ i ];

            total_weight += weights[ i ];
         }
      }

      if( total_weight == 0 )
         ++total_weight;

      size_t winner = 0;
      size_t runner_up = 0;
      long best_target = 0;
      long second_best_target = 0;

      for( size_t i = 0; i < balances.size( ); i++ )
      {
         long adjusted_weight = weights[ i ] * 1000 / total_weight;

         if( adjusted_weight > best_target )
         {
            winner = i;
            best_target = adjusted_weight;
         }
         else if( adjusted_weight > second_best_target )
         {
            runner_up = i;
            second_best_target = adjusted_weight;
         }
      }

#ifdef PENALISE_HIGHER_STAKE
      if( best_target == 350 ) // an above median value
      {
         ++penalised[ winner ];
         penalising[ winner ] = 1440;
      }
#endif

#ifdef PREVENT_IMMEDIATE_REPEAT
      if( winner == last_winner )
         winner = runner_up;
#endif

#ifdef SHOW_WINNERS
      winners += ( char )( 'a' + winner );
#  ifdef SHOW_WINNERS_WEIGHT
      ostringstream osstr;
      osstr << best_target;
      winners += "(" + osstr.str( ) + ")";
#  endif
#endif
      ++wins[ winner ];

      if( winner < balances.size( ) / c_combined_proportion )
      {
         ++combined_streak;
         if( combined_streak > best_combined_streak )
            best_combined_streak = combined_streak;
      }
      else
         combined_streak = 0;

      if( winner == last_winner )
      {
         ++streaks[ winner ];
         if( streaks[ winner ] > best_streak[ winner ] )
            best_streak[ winner ] = streaks[ winner ];
      }
      else
         streaks[ winner ] = 0;

      last_winner = winner;
   }

   cout << "blocks = " << c_num_blocks << endl;

   for( size_t i = 0; i < balances.size( ); i++ )
      cout << ( char )( 'a' + i ) << " = " << balances[ i ] << endl;

#ifdef SHOW_WINNERS
   cout << winners << endl;
#endif
   for( size_t i = 0; i < wins.size( ); i++ )
      cout << "wins( " << ( char )( 'a' + i ) << " ) = " << wins[ i ] << endl;

#ifdef PENALISE_HIGHER_STAKE
   for( size_t i = 0; i < penalised.size( ); i++ )
      cout << "penalised( " << ( char )( 'a' + i ) << " ) = " << penalised[ i ] << endl;
#endif

   for( size_t i = 0; i < best_streak.size( ); i++ )
      cout << "best_streak( " << ( char )( 'a' + i ) << " ) = " << ( best_streak[ i ] + 1 ) << endl;

   cout << "best_combined_streak = " << best_combined_streak << endl;
   cout << "(combined the first " << ( balances.size( ) / c_combined_proportion ) << " accounts)" << endl;
}

With CIYAM anyone can create 100% generated C++ web applications in literally minutes.

GPG Public Key | 1ciyam3htJit1feGa26p2wQ4aw6KFTejU
Anon136
Legendary
*
Offline Offline

Activity: 1722
Merit: 1217



View Profile
February 27, 2014, 06:14:24 AM
 #38233

what kind of font best matches the nxt logo for things like the the text on my silver bar that will say "10 troy ounces of 999 fine silver"?

*edit* rounded letters because the nxt logo is made out of circles but it need to look professional at the same time

Rep Thread: https://bitcointalk.org/index.php?topic=381041
If one can not confer upon another a right which he does not himself first possess, by what means does the state derive the right to engage in behaviors from which the public is prohibited?
nxt-e.com
Member
**
Offline Offline

Activity: 112
Merit: 10


View Profile WWW
February 27, 2014, 06:15:15 AM
 #38234

Is https://nxt-e.com/ fully functional now?

If yes, people need to support the site by buying selling on it.  

 Smiley  Nxt-e.com Server and transmission security topology.



We use SSL for the whole site, and have employ Amazon servers to run our web site. Web site, database and password protected wallets are separated on different server to make sure that any server that is hacked will not breach the whole security and steal the coins.

There are currently 6 servers supported security architecture.   Cool

abctc
Legendary
*
Offline Offline

Activity: 1792
Merit: 1038



View Profile
February 27, 2014, 06:16:00 AM
 #38235

some testnxt plz: 11655792499041825006
Quote
And can someone get me some testnxt please? 16155265664111966451      
please send some (test)NXT to my testnet account: 5630263199875886760
testNXT 14928479602272924530 Please
- 5k testNXT sent to each.

█████████████████████████████████████████████████
███████████████████████████████████████████████████
█████████████████████████████████████████████████████
█████████████████████████████████████████████████████
██████████████████████████████████████████████████████
█████
█████████████████████████████████████████████████████████████
██████████████████████████████████████████████████████
███████████████████████████████████████████████████████
█████████████████████████████████████████████████████████████
███████████████████████████████████████████████████████████████
██████████████████████████████████████████████████████████████████
   
, the Next platform.  Magis quam Moneta (More than a Coin)
Anon136
Legendary
*
Offline Offline

Activity: 1722
Merit: 1217



View Profile
February 27, 2014, 06:21:21 AM
 #38236

i think ill probably go with courier new

Rep Thread: https://bitcointalk.org/index.php?topic=381041
If one can not confer upon another a right which he does not himself first possess, by what means does the state derive the right to engage in behaviors from which the public is prohibited?
swartzfeger
Full Member
***
Offline Offline

Activity: 350
Merit: 100


View Profile
February 27, 2014, 06:22:01 AM
 #38237

If someone need testNXT, write here, or PM me.

Yesterday I've tested AE a bit.. no problem found yet. You can try to buy some of my ABCs on testnet.

I've issued, bought and sold with no issues. I did run into one issue tonight, and not sure if it's an AE issue or a wesleyh client issue:

I decided to cancel an open order to free up some testNXT and create some smaller orders. I click cancel order, I'm prompted to enter my password, and it then tells me I don't have enough funds to cancel the order

My acct balance is only 1000 testNXT and the order is for 3000 testNXT total, but I shouldn't be prevented from canceling my order.
Emule
Full Member
***
Offline Offline

Activity: 168
Merit: 100


View Profile
February 27, 2014, 06:31:43 AM
 #38238

Lowered my rush sale to a solid 0.00008

I am selling 1.8 million now!, gave you colume guys,mget me coins Smiley

call me asshole, but the scary thing is this lopie dude thinks he is doing nxt a favor. that guy is completly retarded
Anon136
Legendary
*
Offline Offline

Activity: 1722
Merit: 1217



View Profile
February 27, 2014, 06:43:23 AM
 #38239

so i really like this motto "Ordo Ab Chao". should i let the fact that this motto is typically used by high ranking free masons stop me from putting it on my bars? i can just hear the conspiracy theories now Roll Eyes

*edit* i really think it perfectly represents everything that our movement stands for

Rep Thread: https://bitcointalk.org/index.php?topic=381041
If one can not confer upon another a right which he does not himself first possess, by what means does the state derive the right to engage in behaviors from which the public is prohibited?
swartzfeger
Full Member
***
Offline Offline

Activity: 350
Merit: 100


View Profile
February 27, 2014, 06:46:49 AM
 #38240

what kind of font best matches the nxt logo for things like the the text on my silver bar that will say "10 troy ounces of 999 fine silver"?

*edit* rounded letters because the nxt logo is made out of circles but it need to look professional at the same time

Anon, are you close to 'firing up' your silver bullion gateway?
Pages: « 1 ... 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 [1912] 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 ... 2557 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!