Better HN
topnewbestaskshowjobs
Log inSign up

nullc

19,337 karma · joined Dec 24, 2010 (15y ago) · 7,234 submissions

gmaxwell

http://nt4tn.net/

Submissions

comment 13y ago · link · parent

Yes, indeed. And yet he thoroughly and aggressively misunderstands Bitcoin.

They also claim that Bitcoin stores its data in HTML files and other crazy stuff that made it clear that the paper must have somehow passed review on the name alone.

comment 13y ago · link · parent

I'm not contradicting myself: In the same comment I wrote "It is statically validated and purposefully not turing complete".

There is no contradiction between between being very limited and also allowing extreme flexibility. I don't think many people here would agree that CSS is "executable code", and yet CSS is turing complete and substantially more complicated than Bitcoin's script. This is why I said it depends on what you mean by "executable code". There is nothing that is jumped to, no looping, the processor never jumps to and runs anything fed in off the network, etc. Just a simple set of operations for manipulating a stack and doing comparisons. But, even though the implementation is simple the results are powerful.

There are several implementations of script evaluation— I can think of at least 6— now though the reference is by far the norm on full nodes.

comment 13y ago · link · parent

> the 51% attack, which is pretty serious flaw even if to carry it out is unfeasable

There isn't anything magical about the number 51, the original Bitcoin paper gives a program that can be used to compute the success probability for an attacker with a given share of the computing power to reverse transactions to a given depth... At >=50% the probability becomes one but at that point only if the attack is of infinite duration. But, for example an attacker with 40% hashpower can reverse six blocks with a 50% success rate.

Any kind of consensus system is going to be vulnerable to a majority attack of some kind— otherwise you'd have "minority imposes a wrong outcome" attacks.

At least in Bitcoin the "consensus" only controls transaction ordering: a majority attacker can't inflate the supply or spend other people's coins... they can only DOS and remove transactions from the fixed consensus (and thus replace their own). Which is powerful but still limited.

comment 13y ago · link · parent

> Some rules, though, are social. For example, why does everyone try to extend the longest branch in the block chain? Sure, the protocol says it's the rule, but why should that mean anything? People don't follow rules because they want to. They follow rules because it's in their enlightened self interest to do so.

You're taking a fundamentally confused position here. Consider: You have UberCoin— it is whatever spherical cow cryptocoin. EvilPal(Inc) then forks UberCoin and replaces its insides with a frontend to their EvilPal website (which then also copies in all the UberCoin ledger). By reduction, all digital currency systems are "social rules". It's not a useful description.

The longest chain rule is a rule that comes about for creating consensus in the system. If you change it in yours you will eventually break off into a private universe. The behavior actually does work by construction— but like my EvilPal example, that doesn't stop a stupid user from changing their own software to break off into another universe.

If you would like a longer formal analysis of the consensus mechanism in Bitcoin please see: https://socrates1024.s3.amazonaws.com/consensus.pdf

comment 13y ago · link · parent

Funny how random HN posters seem to have better reading skills than PHD holding paper authors and their peer reviewers.

comment 13y ago · link · parent

Chaum's system was centralized. A chaum token bank may be blinded but is still a great big single central point of failure and control— they can still inflate the currency— they can still selectively deny access. The centralization created a huge operating risk and would make any such effort untrustworthy just from the perspective of political exposure.

The whole point of Bitcoin (http://p2pfoundation.ning.com/forum/topics/bitcoin-open-sour... was to build a zero trust decentralized system.

Chaum's system provides some properties "perfectly" but they aren't the properties such a system needed to have in order to exist, much less be successful.

comment 13y ago · link · parent

It depends on how you're defining "executable instructions".

There is a small set of operators and a single conditional. No looping, etc. It's strictly less powerful than CSS, for example.

The implementation is a very simple loop over a switch with a simple 'stack'. The size of a script has a hard maximum of 10kbytes.

comment 13y ago · link · parent

C not for applications? (or LISP for that matter) A little bias showing there.

comment 13y ago · link · parent

It's a simple sequence of opcodes: https://en.bitcoin.it/wiki/Script The code has been thoroughly audited by many people with substantial experience. Finding an important flaw in Bitcoin would be a major feather in any Whitehat's cap, and a major skull on the mantle for any blackhat.

Script adds extreme flexibility to Bitcoin, allowing the complete decentralization of services which would otherwise require trusted servers like escrow. It is statically validated and purposefully not turing complete. For extra conservativeness scripts not matching a set of standard forms are ignored by the unmodified reference software until transactions show up in blocks.

This is important because its what makes it possible to build other safe distributed transaction systems on top of Bitcoin... it's also what will allow Bitcoin to backwards compatibly upgrade its signing primitives if ECDSA begins looking weak.

comment 13y ago · link · parent

An illicitly copied movie is still fun to watch— even if none of your friends watch illicitly copied movies.

Illicit money? Thats _far_ less useful. Money like goods get their value from being accepted as valuable by large numbers of people.

comment 13y ago · link · parent

One of the most awesome things about this is that there is a tremendous profit reward from diamond consumption brainwashing— so tons of money flows into doing it.

Profit available from stopping it? Probably none unless you're going to just replace it with another kind of brainwashing.

Often the truth is simply out competed by manipulation in the market because the truth belongs to everyone and can't be monetized well.

After seeing my girlfriend's Facebook session plastered with wedding crap and her recently married friend's Facebook plastered with baby crap it became clear to me how potentially harmful to society as a whole this grand brainwashing infrastructure— all of these advertising platforms invading every moment of our lives— we've built is… and I try to stay as far away from it as I can. Because that is all I can do: I certainly can't outspend it.

comment 13y ago · link · parent

Sunlight is the best disinfectant. Aaron's name was released in all the court materials— those of his accusers should be too.

comment 13y ago · link · parent

The fork is now resolved, sites like mtgox should begin processing deposits again after a couple more blocks.

comment 13y ago · link · parent

0.8 clients were wrong to accept it, because doing so caused a failure of consensus.

Unfortunately the limit that was hit (which isn't quite as simple as 'size') was implicit in BDB and how Bitcoin prior to 0.8 used BDB. So no one was aware of it.

Extensive testing during 0.8 turned up several consensus breaking issues that were created during the database switch out, and very large blocks were tested... but the particular kind of very large block required to reveal this difference in behavior was not.

comment 13y ago · link · parent

There are plenty of malloc alternatives (tcmalloc,jemalloc, etc)— and yet I'm not aware of any that has bothered with a realloc_only_if_you_dont_need_to_move(). I'm not aware of any higher level language construct that reduces to that— where your program flow changes depending on details of the systems memory management. If this were an interesting case, I would have thought someone would have implemented it somewhere.

Seems to me that you're making a weird strawman argument there.

comment 13y ago · link · parent

> as there's so much more that can go wrong

Uh. Everything that can go wrong in C can go wrong in C++ by definition.

C++ also adds a lot of extra things that can go wrong which don't exist in C. There are plenty of arguments to be made for C++ over C but "so much more that can go wrong in C" is not one of them.

The C++ FQA is strongly recommended reading: http://yosefk.com/c++fqa/

comment 13y ago · link · parent

I'm wondering if you watched the video yet? It spends some time on exactly this point.

comment 13y ago · link · parent

How does this compare with Mozilla Persona?

Persona uses cryptographic tokens so that identity providers can't spy on what sites you're using, and can't selectively deny service to various sites.

I think that people should resolutely refuse to use any identity service that doesn't have at least those properties.

comment 13y ago · link · parent

> Can the converter itself not create the signal incorrectly?

Certainly the converter can be bad or malfunctioning... but there is only one bandlimited signal that passes through the sampling points.

The ideal behavior is perfect and described by simple (if surprising) math and we can measure any converter against the ideal. It turns out that _very_ good converters— ones with variation from the ideal are at the level of the thermal noise in the electronics— are commonly and cheaply available.

There was another chapter of the video that got dropped due to length, the desire to get something shipped, and because the tone didn't quite fit with the rest which compared the performance of a couple of consumer grade DAC/ADCs and basically showed they were all very good. Hopefully it should make its way out as 'bonus material' sometime soon.

comment 13y ago · link · parent

You've seen the first one, right? http://xiph.org/video/vid1.shtml

They take an insane amount of work, so they are slow in coming. This latest one had about 50kloc of code written to build the demo software, animations, and to improve the FOSS video editing software that was used.

7101.

Digital audio signals and how they really behave [video](xiph.org ↗)

304 points · by nullc · 13y ago · 61 comments

comment 13y ago · link · parent

If you use blockchain.info you're depending on a central server. Might as well use paypal— at least they are regulated.

The multibit client is a much better, though still reduced-security, option.

The sync comments there are outdated— I installed a new Bitcoin node two days ago and the sync only took about 2 hours from nothing.

comment 13y ago · link · parent

https://en.bitcoin.it/wiki/Hardfork_Wishlist

https://en.bitcoin.it/wiki/User:Gmaxwell/alt_ideas

comment 13y ago · link · parent

> There are simple ways to gather lists of likely independent servers. For example, agencies you trust could publish such lists.

This isn't a procedure, it's a hand-wave. How do the agencies make their lists? And why should I trust them? If I can trust the agencies, why don't I just have them process all the transactions and then dispense with the inefficient global consensus stuff? What happens when courts order the agencies to direct people to processors who seize particular funds or block particular traffic? When the agency servers are hacked?

comment 13y ago · link · parent

They can be useful experimental platforms... also, the fundamental rules of Bitcoin are fixed— changing how Bitcoin works could be rightfully argued as theft from all the people who hold Bitcoin at the current moment.

If you wanted something like Bitcoin but with different properties, different security, different inflation— an altcoin is the only way to get it.

Unfortunately, practically all altcoins have been almost identical to Bitcoin.

comment 13y ago · link · parent

> which is the problem Bitcoin elegantly solved. I like this solution as well.

Why do you like it? The ripple model depends on picking trusted servers which cannot be controlled by the same party/common interests. The system cannot automatically pick trusted servers because there is no electronic way to determine independence, except the way that it currently works— fiat of the developers: they hardcode the servers.

To me it seems that when encountering the fundamental problem bitcoin solved, "How do you achieve a fair consensus when its cheap to make sibyls?" their response was to completely punt on the issue.

comment 13y ago · link · parent

I don't know how anyone can call it a Bitcoin competitor.

Instead of a proof of work decentralized consensus ripple depends on a consensus of _trusted servers_. In Bitcoin language ripple is distributed but not decentralized.

Then multiply that out by the fact that its native currency XRP was all pre-created and given to the founders and their org... people like to call Bitcoin a ponzi scheme, but policies like this make me wonder if Ripple isn't a joke designed to point out the comparative equality Bitcoin provides.

It might be more accurate to call it a paypal competitor but it retains the Bitcoin scalability challenge of requiring global synchronization, so its unlikely to be a great one.

comment 13y ago · link · parent

It's patents, so the terminology has to be confusing!

The "First to" is speaking about what happens in an interference proceeding between two patent applicants. What counts as prior art is largely unchanged— it's arguably even strengthened a bit (as a dishonest player could previously get away with more backdating of his lab notebooks).

Third party— that is, not derived from the applicant's work— public practice (which is pretty broad, including publication and use in a product available to the public) is an absolute bar to patentablity. After one year the "not derived" part goes away and even the applicants own publication (and work derived from it) constitute prior art. (this was all also the case before, though the details a somewhat subtly different)

To quote the statute:

(a) NOVELTY; PRIOR ART.—A person shall be entitled to a patent unless—

(1) the claimed invention was patented, described in a printed publication, or in public use, on sale, or otherwise available to the public before the effective filing date of the claimed invention; or

[...]

(b) EXCEPTIONS.—

(1) DISCLOSURES MADE 1 YEAR OR LESS BEFORE THE EFFECTIVE FILING DATE OF THE CLAIMED INVENTION.—A disclosure made 1 year or less before the effective filing date of a claimed invention shall not be prior art to the claimed invention under subsection (a)(1) if—

(A) the disclosure was made by the inventor or joint inventor or by another who obtained the subject matter disclosed directly or indirectly from the inventor or a joint inventor; or

(B) the subject matter disclosed had, before such disclosure, been publicly disclosed by the inventor or a joint inventor or another who obtained the subject matter disclosed directly or indirectly from the inventor or a joint inventor.

comment 13y ago · link · parent

God forbid you want to save the data for personal archival or bulk digital analysis. If they allowed that you might defeat the museums careful control and curation of the data and potentially even use it in ways they don't agree with!

:P

comment 13y ago · link · parent

> and splitting it is ad-hoc patchwork

What are you talking about here?

> The network was obviously not designed for such a thing

Are you talking about Section 7 "Reclaiming Disk Space" and section 8 "Simplified Payment Verification" in the initial design document, which have a profound influence on the design— as Bitcoin uses a hash tree to aggregate transactions instead of just a simple hash in order to accommodate those design features?

> There is still no easy integration method with extant payment systems.

Unfortunately existing online payment systems are highly reversible for months after the transaction completes. This is problematic for many kinds of merchants and it's one of the reasons that digital goods sales on the Internet have mostly been a failure outside of a few special marketplaces.

> In many cases you must supply a lot of personal documentation to do anything meaningful on the exchanges.

This is common anti-money laundering law conformance— same thing you deal with w/ paypal... not exactly a limitation of Bitcoin.

> The system of block verification makes it impossible to do truly instantaneous transfers.

Nothing requires you to do payments in Bitcoin by directly transacting on the Bitcoin network. Scalability and speed require that not all transactions are made directly— likewise, the USD is a dumb piece of paper that can't be sent over electronic networks... and yet the USD is a widely used currency. You can do instant transaction trivially in Bitcoin, e.g. using mtgox codes and less centralized systems can be built if anyone cares.

> The system is vulnerable to 51%+ attacks.

Can you suggest any currency or system of agreement that doesn't have an analogous weakness?

At least in the context of Bitcoin the things a majority hashpower attacker can do are strictly limited: they can reorder transactions (and only recent ones unless they are a very big supermajority).

Compare this to a government created currency which can be inflated boundlessly by a small percentage of the population choosing to mint a trillion dollar 'coin' on a political whim.

> single-home GPU farms are going to be enough to compete

Mining's rewards are linear. Participants make on average their share of the new coin relative to the computing power they provide to secure the currency. And indeed, it's specialized. Is the USD uncompetitive because printing your own gets you imprisoned or gold uncompetitive because gold mining is hard?

Get a job, Kid. It's a currency not a free-money-for-nothing-thing.

> Many of the perceived benefits of bitcoin are illusory or misunderstood.

Well, that's true of many things.

> every transaction ever made with bitcoin is published publicly

Not so— a significant fraction of transactions are made off the blockchain, perhaps even a majority. Even within the blockchain the transactions are pseudonymous.

> I have "actual reasons" for it.

You may, but many of your perceived weaknesses are also illusory or misunderstood.

> A currency that doesn't have (at least most of) these issues will be super awesome, and bitcoin is an important predecessor, but it's not the end of the story

The most important difference between Bitcoin and your hypothetical perfect digital currency is that Bitcoin exists and it works. Satoshi didn't waste time waxing philosophical on the internet, he shut up and wrote code. If there is one thing you could learn from Bitcoin, this should probably be it.

1
236237238
242