Bitcoin Forum
April 26, 2024, 10:59:15 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 [2476] 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 ... 2557 »
  Print  
Author Topic: NXT :: descendant of Bitcoin - Updated Information  (Read 2761529 times)
Come-from-Beyond
Legendary
*
Offline Offline

Activity: 2142
Merit: 1009

Newbie


View Profile
April 02, 2014, 07:16:32 AM
 #49501

Floating point for "scientific calculations" is and always has been *perfectly fine*.

Money is not "scientific calculations" and *everyone in the money business* knows that you don't use binary floating point.

Again my simple example:
Code:
#define test( v1, op, v2 ) if( v1 op v2 ) printf( #v1 " " #op " " #v2 "\n" )

#include <stdio.h>
#include <math.h>

int main( )
{
   volatile double a, b, c;
   char buf[ 50 ];

   a = 13.06;
   b = 0.54;
   sprintf( buf, "%lf", a + b );
   c = atof( buf );

   printf( "a = %lf, b = %lf, c = %lf\n", a, b, c );

   test( c, >, 13.60 );
   test( c, ==, 13.60 );
   test( c, <, 13.60 );
   test( a + b, >, 13.60 );
   test( a + b, ==, 13.60 );
   test( a + b, <, 13.60 );

   return 0;
}

Basically it shows that 13.06 + 0.54 != 13.60 and this is because 0.1 (and 0.01) *cannot* be represented in binary floating point (same as 1/3 cannot be represented in decimal).

The problems are *not just rounding issues* but actually are *logic issues* (and therefore not obvious to "math" people who are only thinking about things like rounding).

It means that code which say says is A > 0 might *fail* because of a simple addition or subtraction.


As was already said this problem is solved by using EPSILON.
The forum was founded in 2009 by Satoshi and Sirius. It replaced a SourceForge forum.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
ChuckOne
Sr. Member
****
Offline Offline

Activity: 364
Merit: 250

☕ NXT-4BTE-8Y4K-CDS2-6TB82


View Profile
April 02, 2014, 07:30:28 AM
 #49502

As was already said this problem is solved by using EPSILON.

I fear, I have to disagree.

One does not solve the problem of missing information by adding an epsilon. If I have $1000000000000000000000 and want to add $0.01, then it is $1000000000000000000000.01 and NOT $1000000000000000000000 as it would be with FP. In the example above, also data is missing, so that it cannot be reconstructed with 100% probability.

That is the whole issue with IEEE 754. Other approaches like fixed point (with arbitrary precision) etc. are the secure way to go at least in financial sector.
Come-from-Beyond
Legendary
*
Offline Offline

Activity: 2142
Merit: 1009

Newbie


View Profile
April 02, 2014, 07:33:28 AM
 #49503

As was already said this problem is solved by using EPSILON.

I fear, I have to disagree.

One does not solve the problem of missing information by adding an epsilon. If I have $1000000000000000000000 and want to add $0.01, then it is $1000000000000000000000.01 and NOT $1000000000000000000000 as it would be with FP.

That is the whole issue with IEEE 754. Other approaches like fixed point (with arbitrary precision) etc. are the secure way to go at least in financial sector.

Haha, u can't do the same using integers too.  Cheesy
ChuckOne
Sr. Member
****
Offline Offline

Activity: 364
Merit: 250

☕ NXT-4BTE-8Y4K-CDS2-6TB82


View Profile
April 02, 2014, 07:35:23 AM
 #49504

As was already said this problem is solved by using EPSILON.

I fear, I have to disagree.

One does not solve the problem of missing information by adding an epsilon. If I have $1000000000000000000000 and want to add $0.01, then it is $1000000000000000000000.01 and NOT $1000000000000000000000 as it would be with FP.

That is the whole issue with IEEE 754. Other approaches like fixed point (with arbitrary precision) etc. are the secure way to go at least in financial sector.

Haha, u can't do the same using integers too.  Cheesy

Was not saying this.

Btw. different languages have "real" integers in the sense of unlimited size. And if you want 100% security, use those fixed point with unlimited size. Nobody needs to wrap his mind how to convert an integer forth and back between its currency counterpart by dividing by 10 or so.
limingz
Member
**
Offline Offline

Activity: 120
Merit: 10


View Profile WWW
April 02, 2014, 08:34:45 AM
 #49505

With the crazy copy launches of all kinds of alt coins.  Do you think btc and nxt will be buried by them.

TwinWinNerD
Legendary
*
Offline Offline

Activity: 1680
Merit: 1001


CEO Bitpanda.com


View Profile WWW
April 02, 2014, 08:44:44 AM
 #49506

With the crazy copy launches of all kinds of alt coins.  Do you think btc and nxt will be buried by them.

Do any of those coins provide any new features or anything new?

bitcoinpaul
Hero Member
*****
Offline Offline

Activity: 910
Merit: 1000



View Profile
April 02, 2014, 08:46:00 AM
 #49507

Obviously, all these shitcoins get buried under BTC, NXT, Ethereum, ...
zorke
Full Member
***
Offline Offline

Activity: 238
Merit: 100


View Profile
April 02, 2014, 08:49:57 AM
 #49508

With the crazy copy launches of all kinds of alt coins.  Do you think btc and nxt will be buried by them.

Exactly, I read a Black Coin thread few days ago and all they talk about is pump, dump and price!!
They have one dev, only feature that they have is interest rate of 1% yearly.
OK they are mentioning multipools all the time as well.
Apart from these two things they have nothing.
Yet somehow they are sure they will be the next big thing.

I don't understand!!

All these clones are just living short lives on the current fame and are instruments for pump & dumps in order for big players to make BTCs.
That is really all it is to it.
TwinWinNerD
Legendary
*
Offline Offline

Activity: 1680
Merit: 1001


CEO Bitpanda.com


View Profile WWW
April 02, 2014, 08:54:52 AM
 #49509

With the crazy copy launches of all kinds of alt coins.  Do you think btc and nxt will be buried by them.

Exactly, I read a Black Coin thread few days ago and all they talk about is pump, dump and price!!
They have one dev, only feature that they have is interest rate of 1% yearly.
OK they are mentioning multipools all the time as well.
Apart from these two things they have nothing.
Yet somehow they are sure they will be the next big thing.

I don't understand!!

All these clones are just living short lives on the current fame and are instruments for pump & dumps in order for big players to make BTCs.
That is really all it is to it.

Yeah, many coins have a big amount of followers, but NO innovation and no Dev team. Big blahblah and no substance.

instacalm
Hero Member
*****
Offline Offline

Activity: 798
Merit: 500



View Profile
April 02, 2014, 08:59:29 AM
 #49510

With the crazy copy launches of all kinds of alt coins.  Do you think btc and nxt will be buried by them.

Let me quote Vitalik for you:

"I personally think the 2.0 stuff is by far the most interesting part of the cryptocurrency scene in general... Ok, you can send money instantly from A to B -- congrats, you know. There's a whole bunch of services that let you do that in China. Sure, Bitcoin is an improvement in a lot of ways. But that by itself isn't really enough of an improvement to get the entire world excited and get [it] switch over on to a cryptographic ecosystem. I think the reason why people want cryptocurrencies and cryptoprotocols is precisely because of some of these 2.0 smart contracts and decentralised incentivised protocol ideas; like that's the sort of thing that you can absolutely not do with traditional finance, no matter how hard you try" [hear]

Now ask yourself, do "crazy copy launches of all kinds of alt coins" have a future?
TwinWinNerD
Legendary
*
Offline Offline

Activity: 1680
Merit: 1001


CEO Bitpanda.com


View Profile WWW
April 02, 2014, 09:01:30 AM
 #49511

With the crazy copy launches of all kinds of alt coins.  Do you think btc and nxt will be buried by them.

Let me quote Vitalik for you:

"I personally think the 2.0 stuff is by far the most interesting part of the cryptocurrency scene in general... Ok, you can send money instantly from A to B -- congrats, you know. There's a whole bunch of services that let you do that in China. Sure, Bitcoin is an improvement in a lot of ways. But that by itself isn't really enough of an improvement to get the entire world excited and get [it] switch over on to a cryptographic ecosystem. I think the reason why people want cryptocurrencies and cryptoprotocols is precisely because of some of these 2.0 smart contracts and decentralised incentivised protocol ideas; like that's the sort of thing that you can absolutely not do with traditional finance, no matter how hard you try"

Now ask yourself, do "crazy copy launches of all kinds of alt coins" have a future?

While i agree that the 2.0 features are the most intresting thing about cryptos, i doubt that the majority of people give a shit. If they will ever use those features, then without knowing that they do!

instacalm
Hero Member
*****
Offline Offline

Activity: 798
Merit: 500



View Profile
April 02, 2014, 09:08:08 AM
 #49512

While i agree that the 2.0 features are the most intresting thing about cryptos, i doubt that the majority of people give a shit. If they will ever use those features, then without knowing that they do!

Yes. Just like protocols such as http or smtp indeed. Lotta people use these protocols on a daily basis, but hardly think about what they're using.
TwinWinNerD
Legendary
*
Offline Offline

Activity: 1680
Merit: 1001


CEO Bitpanda.com


View Profile WWW
April 02, 2014, 09:12:55 AM
 #49513

While i agree that the 2.0 features are the most intresting thing about cryptos, i doubt that the majority of people give a shit. If they will ever use those features, then without knowing that they do!

Yes. Just like protocols such as http or smtp indeed. Lotta people use these protocols on a daily basis, but hardly think about what they're using.

Exactly, but Vitalik talks about getting the world exited. That won't happen. Period.

I hope it would, but most people don't even appreciate the internet even though they use it 16hours a day...

Sad but true!

instacalm
Hero Member
*****
Offline Offline

Activity: 798
Merit: 500



View Profile
April 02, 2014, 09:14:32 AM
Last edit: April 02, 2014, 09:31:49 AM by instacash
 #49514

While i agree that the 2.0 features are the most intresting thing about cryptos, i doubt that the majority of people give a shit. If they will ever use those features, then without knowing that they do!

Yes. Just like protocols such as http or smtp indeed. Lotta people use these protocols on a daily basis, but hardly think about what they're using.

Exactly, but Vitalik talks about getting the world exited. That won't happen. Period.

I hope it would, but most people don't even appreciate the internet even though they use it 16hours a day...

Sad but true!

There's a lot of excitement about the internet in the world & there are lots of different people around -- the world is a diverse place. Wink

I believe that we are just at the beginning, aren't we? Smiley
jaime
Sr. Member
****
Offline Offline

Activity: 339
Merit: 250


División de Poderes s.XXI es Descentralización


View Profile WWW
April 02, 2014, 09:21:00 AM
 #49515

Vitalik is a good guy, but quoting him on any other thing that it's not programming... risky.

instacalm
Hero Member
*****
Offline Offline

Activity: 798
Merit: 500



View Profile
April 02, 2014, 09:23:15 AM
Last edit: April 02, 2014, 09:33:58 AM by instacash
 #49516

Vitalik is a good guy, but quoting him on any other thing that it's not programming... risky.

Hola jaime, that's a pretty redundant comment Grin
TwinWinNerD
Legendary
*
Offline Offline

Activity: 1680
Merit: 1001


CEO Bitpanda.com


View Profile WWW
April 02, 2014, 09:23:45 AM
 #49517

While i agree that the 2.0 features are the most intresting thing about cryptos, i doubt that the majority of people give a shit. If they will ever use those features, then without knowing that they do!

Yes. Just like protocols such as http or smtp indeed. Lotta people use these protocols on a daily basis, but hardly think about what they're using.

Exactly, but Vitalik talks about getting the world exited. That won't happen. Period.

I hope it would, but most people don't even appreciate the internet even though they use it 16hours a day...

Sad but true!

There's a lot of excitement about the internet in the world & there are lots of different people around -- the world is a diverse place. Wink

We are just at the beginning.

Sure there is. Many people do that, still most don't understand it or appreciate it.

A study in austria (my homecountry) made a comparison. If the internet were a book, than most austrians would be illiterate Wink

instacalm
Hero Member
*****
Offline Offline

Activity: 798
Merit: 500



View Profile
April 02, 2014, 09:25:22 AM
Last edit: April 02, 2014, 09:43:52 AM by instacash
 #49518

Sure there is. Many people do that, still most don't understand it or appreciate it.

A study in austria (my homecountry) made a comparison. If the internet were a book, than most austrians would be illiterate Wink

Sure, it all comes down to how one decides to interpret "getting the world excited".

Just to make sure, what I quoted was meant to illustrate the/a future trend of cryptographic/digital (decentralised) financial networks in order to show that Btc copycat clones are nothing but smoke and mirrors. Wink

Viele Grüße
TwinWinNerD
Legendary
*
Offline Offline

Activity: 1680
Merit: 1001


CEO Bitpanda.com


View Profile WWW
April 02, 2014, 09:27:01 AM
 #49519

Sure there is. Many people do that, still most don't understand it or appreciate it.

A study in austria (my homecountry) made a comparison. If the internet were a book, than most austrians would be illiterate Wink

Sure, it all comes down to how one decides to interpret "getting the world excited".

Viele Grüße

That is also true!
Vielen Dank Smiley

salsacz
Hero Member
*****
Offline Offline

Activity: 490
Merit: 504


View Profile
April 02, 2014, 10:28:44 AM
 #49520

21 eshops already accept Nxt: https://www.coinpayments.net/store-directory--1-0-All%20Stores

Buy nice art: http://www.oxpal.com/shop

- free delivery in Amsterdam Cheesy
Pages: « 1 ... 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 [2476] 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 ... 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!