News for hackers. Stuff that matters.
Re:Show HN: Interactive implementation of the NIST Blockchai... by cwyers on Monday November 05, 2018 @12:17AM (#18380044)
I think there's a bug in this. If I answer "Will data records ever need to be updated or deleted once they are written?" with "No" it says "You Don't Need a Blockchain Blockchains do not allow for modification of historical data. Consider a database." It seems like blockchains actually meet that requirement per my entry?
Re:Show HN: Interactive implementation of the NIST Blockchai... by aplummer on Monday November 05, 2018 @12:21AM (#18380055)
Yep I hit the same bug, if you answer “yes” the next question has the same bug.
Re:Show HN: Interactive implementation of the NIST Blockchai... by pmontra on Monday November 05, 2018 @12:31PM (#18384129)
The problem are the double negative questions. They should be reworded into positives to remove ambiguity.
Re:Show HN: Interactive implementation of the NIST Blockchai... by brucemacd on Monday November 05, 2018 @12:30AM (#18380083)
Just fixed the wording to match the actual NIST flowchart. Thanks.
Re:Show HN: Interactive implementation of the NIST Blockchai... by davidy123 on Monday November 05, 2018 @08:06AM (#18381989)
I realize this isn't a life's work, but can you support the back button? Some of the questions are double-negative-ish, or maybe I'm just not a morning person, either way the back button to revise answers without having to go through the whole thing again would be useful.
Re:Show HN: Interactive implementation of the NIST Blockchai... by Theodores on Monday November 05, 2018 @05:21AM (#18381201)
Brilliant. I have found a use case for blockchain thanks to this tool. Who wants to go co-founder on my YC application for...

"Blockchain for nuclear weapons"

Any fan of Dr Strangelove should know that there is a problem with the system, it is not just the president's nuclear football that can bring on the omnicide that the people in CND are so scared of.

Blockchain for nuclear weapons - where could it go wrong?

It is an obvious use case, not a solution in search of a problem. I stand corrected with all my scepticism regarding blockchain. We don't need pesky INF treaties, we can just go with smart contracts and have only the president able to launch that decapitation strike rather than some rogue general.

Re:Show HN: Interactive implementation of the NIST Blockchai... by randaouser on Monday November 05, 2018 @02:06AM (#18380437)
although sensitive data should never be written to a public ledger, that does not automatically disregard the need for a blockchain technology. Take a supply chain scenario where multiple control points would input data, however, none of the contributors trust any single touchpoint to maintain the datastore.

The senstivity issue can be overcome by submitting a cryptographic hash of the information (say sha256) and storing the encrypted data on ipfs. In future audits, one can reveal the unencrypted data and ensure the hashes match.

Re:Show HN: Interactive implementation of the NIST Blockchai... by aeijdenberg on Monday November 05, 2018 @03:23AM (#18380731)
Not quite as simple as a cryptographic hash alone - remember that if the set of possible inputs can be easily enumerated, then it's trivial to find the input data by brute force.

There are ways to work around this, for example objecthash[0] describes a small modification that prepends the input data with 32 bytes of random data before hashing in order to prevent this.

[0] https://github.com/benlaurie/objecthash#redactability

Re:Show HN: Interactive implementation of the NIST Blockchai... by randaouser on Thursday November 08, 2018 @12:00AM (#18404414)
yes precisely, you must include a random value that remains secret until the appropriate reveal time.
Re:Show HN: Interactive implementation of the NIST Blockchai... by ketzu on Monday November 05, 2018 @07:18AM (#18381710)
One problem of this solution is you can not verify the write in the first place, as the encrypted data is no longer publicly verifiable.
Re:Show HN: Interactive implementation of the NIST Blockchai... by randaouser on Thursday November 08, 2018 @12:01AM (#18404421)
you can share the encrypted data and allow anyone to perform the block hash of the file. As the data is encrypted it should be publicly accessible. EDIT

yes the data itself becomes difficult to verify. Then you must move towards are for more complicated ZKSnark or Homomorphic scheme

Re:Show HN: Interactive implementation of the NIST Blockchai... by mistrial9 on Monday November 05, 2018 @11:40AM (#18383697)
is this NISTIR 8202 -- Blockchain Technology Overview ?

https://doi.org/10.6028/NIST.IR.8202

Re:Show HN: Interactive implementation of the NIST Blockchai... by klenwell on Monday November 05, 2018 @12:25PM (#18384063)
That's what I found, too. It looks like the flowchart in question is on p. 42.

This is really helpful by the way. My sister is completing her MBA and I think IBM is a program sponsor or something and has really been pushing their blockchain product. Whatever the case, she's drank the Blockchain Kool-Aid. I'm going to point her to this (this site and the NIST doc) the next time she brings it up.

[dead]
Re:Show HN: Interactive implementation of the NIST Blockchai... by brucemacd on Monday November 05, 2018 @12:46AM (#18380128)
Don't take it too seriously. I was trying for a similar vibe to "howfuckedismydatabase.com".
Re:Show HN: Interactive implementation of the NIST Blockchai... by yodude on Monday November 05, 2018 @12:49AM (#18380140)
No worries about being taken seriously.
Re:Show HN: Interactive implementation of the NIST Blockchai... by nootropicat on Monday November 05, 2018 @12:37AM (#18380104)
>Data records, once written, are never updated or deleted?

>Blockchains do not allow for modification of historical data. Consider a database.

If that was true it wouldn't even be possible to send any tokens. Log of all past actions can't be deleted or updated, which is a quite different thing.

Re:Show HN: Interactive implementation of the NIST Blockchai... by village-idiot on Monday November 05, 2018 @01:31AM (#18380312)
The log entries in a blockchain are supposed to be immutable. You can add new entries, but not change old ones.
Re:Show HN: Interactive implementation of the NIST Blockchai... by nootropicat on Monday November 05, 2018 @02:53AM (#18380618)
It depends on how you define what a 'data record' is. State of a specific address can be changed and deleted if the contract is designed to allow it. It's directly equivalent to a normal database that keeps logs of all historical commands entered.
Re:Show HN: Interactive implementation of the NIST Blockchai... by decentralised on Monday November 05, 2018 @05:24AM (#18381215)
We often talk about "blockchain as a database" but don't clarify what type of data we are discussing.

In second generation blockchains like Ethereum there's a difference between world state and ledger data. Only the Ledger data (record of state transitions) is immutable by design.

Re:Show HN: Interactive implementation of the NIST Blockchai... by browsercoin on Monday November 05, 2018 @07:07AM (#18381658)
so what's wrong with Datomic? why do people insist on using blockchain?
Re:Show HN: Interactive implementation of the NIST Blockchai... by quellobiondo on Monday November 05, 2018 @07:28AM (#18381761)
The point is on the ownership of the database and the trust among participants. In Datomic there is a single owner that has full control on the data (probably you, or a company that you fully trust). In the blockchain use-cases there are multiple parties that depend on the data, and no one of them is trusted enough to have full control on the database. (trust-less scenarios) Apart from Bitcoin[0] check out the original trustless timestamping service proposal [1].

[0] https://bitcoin.org/bitcoin.pdf [1] H. Massias, X.S. Avila, and J.-J. Quisquater, "Design of a secure timestamping service with minimal trust requirements," In 20th Symposium on Information Theory in the Benelux, May 1999.

Re:Show HN: Interactive implementation of the NIST Blockchai... by browsercoin on Monday November 05, 2018 @03:01PM (#18385426)
In Datomic, you are responsible for the contents on it, but this is the exactly the same for people writing to the blockchain. The notion that by organizing a group of profit motivated to validate transactions is really the same thing as a centralized organization. Look at the Chinese bitcoin miners. How many times have we forked? Now the forked bitcoin is forking!

Say you took out a mortgage on an open ledger (a PoW based blockchain ledger), BYOB. What happens when you get scammed? How do you reverse the transaction? What legal enforcement is there? Remember, you've said it yourself, the blockchain's supposed value comes from that nobody has full control of the database, but this is flawed thinking-the absence of authority does not make a ledger more trustable just because it's not in the control of anyone, which is false, bitcoin being a clear example of centralized ownership, or a perfect model of "rich miners getting richer".

Trust is not a simple matter of storing information, it's much more than that. It's based on human to human level trust, which blockchain industry has pretty much failed spectacularly with the vast majority of ICO pump-dump schemes.

Re:Show HN: Interactive implementation of the NIST Blockchai... by dustingetz on Monday November 05, 2018 @08:38AM (#18382200)
CDIXON: Complement effects are one of the main reasons that technology adoption is non-linear. There are other reasons, including network effects, viral product features, and plain old faddishness.

http://cdixon.org/2009/09/10/non-linearity-of-technology-ado...

Blockchain is 3 for 3!

Re:Show HN: Interactive implementation of the NIST Blockchai... by village-idiot on Monday November 05, 2018 @08:07AM (#18381991)
To be fair, you can modify datomic, there’s a mutable delete operation so that you can comply with legal requirements to delete data.
Re:Show HN: Interactive implementation of the NIST Blockchai... by moocowtruck on Monday November 05, 2018 @12:40PM (#18384211)
can't you technically modify block chain in the same way, rollback and fork or something? i feel like this was done for bitcoin at one point
Re:Show HN: Interactive implementation of the NIST Blockchai... by browsercoin on Monday November 05, 2018 @02:54PM (#18385372)
yes. but obviously common sense goes out the window as soon as blockchain and crypto comes into play.