News for hackers. Stuff that matters.
Re:Systems built on trust, norms, and institutions function ... by gtrubetskoy on Friday April 06, 2018 @12:44PM (#16774682)
The problem that proof-of-work blockchain solves is widely misunderstood. It uses proof-of-work to establish consensus over points in time which are universally unique. Prior to the publication of Satoshi's paper we did not have a solution to this problem and for that reason it is a significant advance in technology. I wouldn't call it crappy, it's actually quite brilliant.

For a detailed description see this: https://grisha.org/blog/2018/01/23/explaining-proof-of-work/

Re:Systems built on trust, norms, and institutions function ... by simias on Friday April 06, 2018 @01:33PM (#16775253)
> I wouldn't call it crappy, it's actually quite brilliant.

I agree with you, I always thought that the Bitcoin algorithm was very clever and "mind opening" in a way. It's one of these things I'd never have thought about but almost seems obvious in hindsight. What's even more interesting is that basically all of it is pre-existing technology: HashCash, ECC, Merkle trees etc... Just combined together in a clever way to create something that's more than the sum of their parts.

Now where I become a naysayer is when we switch from the realm of intellectual curiosity and into the world of cryptocurrencies today. Being clever and innovative doesn't necessarily mean useful or valuable. We have plenty of clever ideas out there that don't have much of a practical use (or used to have one but are now obsolete). Duff's Device, sleep sort, the fast inverse square root, one instruction set computers, code golf and 4KB demos ...

I think I do understand the technological value of Bitcoin's PoW blockchain, I just think that its only practical use is for a tiny niche. It's the Prolog of consensus algorithms, I'm sure it'll be useful to some but I doubt it's going to be the new C++. You say that "It uses proof-of-work to establish consensus over points in time which are universally unique" and it's true but how useful or valuable is that? Is it such a huge problem in our modern society to agree on a sequence of events? Do you often program something and think "man, I wish that there was a way to establish a consensus over points in time which are universally unique" and 1/ there's no other simpler solution to achieve that and 2/ a blockchain could actually solve it? There's only a tiny gap between these two propositions.

But I think at this point talk is cheap and all that needs to be said about the blockchain has been said long ago and multiple times. How many billion of dollars has been poured into "blockchain" technology these past few years, in the form of pre-mined coins or ICOs? How many hundreds of engineers are working on those killer blockchain applications? How many high profile companies have boldly announced blockchain-related tech investments lately? So.... where are the results? How long do we wait for them until we decide that maybe it's not that revolutionary?

Re:Systems built on trust, norms, and institutions function ... by gtrubetskoy on Friday April 06, 2018 @01:41PM (#16775354)
> HashCash, ECC, Merkle trees etc... Just combined together in a clever way to create something that's more than the sum of their parts.

No, not really. The way proof-of-work is used is nothing like in HashCash (more generally known as a time lock puzzle), the solution to a decentralized clock is the one piece that is new. In the paper it is referred to as "Timestamp Server". Everything else is previously known tech, but the clock piece is an invention, the invention that made it all possible.

Re:Systems built on trust, norms, and institutions function ... by simias on Friday April 06, 2018 @01:49PM (#16775449)
What I meant is that this decentralized clock is an emergent property from the use of these various algorithms. The code is actually HashCash, just used in a way that creates a new side-effect. The Time Server is not an algorithm, it's a side effect. I agree that it's a bit subjective though.
Re:Systems built on trust, norms, and institutions function ... by gtrubetskoy on Friday April 06, 2018 @02:42PM (#16776090)
Well - the way you describe it is it's like Satoshi used a bread knife to cut something other than bread, but it's more like he used it as an antenna. He is exploiting a feature of HashCash that Adam Back (who invented it) didn't even know existed. It has to do with multiple participants solving the same timelock puzzle in parallel and some very interesting stuff happens then - you should read the link I posted (I take it you have not read it), I think it does a fair job of explaining how incredibly clever it is.
Re:Systems built on trust, norms, and institutions function ... by simias on Friday April 06, 2018 @03:00PM (#16776302)
But we're in complete agreement and that's my point, he took something (HashCash) and found out that it could be used for something it wasn't meant to. That's what's so clever about it. It's not like inventing elliptic curve cryptography designing the first internal combustion engine, it's taking something and realizing that it could be a lot more. It's not using a bread knife to cut something else, it's using a bread knife to create a more efficient battery. Or like using sleep as a sorting algorithm or figuring out that you could abuse the floating point representation to compute an inverse square root without actually having to compute a square root.

I'm not trying to diminish the discovery, it's quite the contrary, I think its simplicity and elegance is what makes it so impressive. It's a very elegant solution to a very complex problem and you could explain it in a few minute to somebody with the right technical background.

Re:Systems built on trust, norms, and institutions function ... by dnautics on Friday April 06, 2018 @02:25PM (#16775897)
I think also important is that there are exploits that break the existing system (e.g. 50% attack) but it's not in the financial interest of any given actor to exploit it. Part of the algorithm is economic.
Re:Systems built on trust, norms, and institutions function ... by webmaven on Friday April 06, 2018 @10:20PM (#16779060)
Not all interests are financial, so unfortunately, there IS a class of actor with an incentive to exploit it.

(ノಠ益ಠ)ノ彡┻━┻

That class of actor can even potentially avoid the financial sunk costs that would ordinarily be required, although that in turn would require the use of several zero-day exploits and/or the use of similarly high-value resources usually available only to state-level actors.

Still, under certain circumstances I could see something along these lines being the opening move in World War IV (not to be overly dramatic or anything). Or perhaps a much smaller conflict, should any state be foolish enough to standardize on a national cryptocurrency of their own creation for internal use.

Re:Systems built on trust, norms, and institutions function ... by monochromatic on Friday April 06, 2018 @01:06PM (#16774944)
It’s very interesting as a matter of pure technology. I’m just not sure it’s that useful as a banking system.
Re:Systems built on trust, norms, and institutions function ... by ghthor on Friday April 06, 2018 @01:35PM (#16775265)
It doesn't have to be either or, the banking system of the future can be a mix of different technologies. Personally I see bitcoin(and friends) as the higher layers of a hierarchy used by humans to securely trade value. The 3rd record of account doesn't have to contain 100% of all transactions taken by it's holders, but when the transaction is big enough, or the values held by 2 parties is questionable because the time since either of them updated the 3rd record has been too long, then write to the blockchain. Most other transactions can be taken care of between the 2 parties without involving the chain at all, as long as in the future someone squashes all their transactions and writes to the public ledger, to prove they haven't cheated or made a mistake.
Re:Systems built on trust, norms, and institutions function ... by specialist on Friday April 06, 2018 @01:44PM (#16775384)
IMHO, banking & finance are its least interesting potential use cases.

---

Medical Records

Mid aughts, I was trying to figure out how to use tamper evident logs (rolling hashes) for our electronic medical records infrastructure. To answer questions like "what did you know and when did you know it?" and "where did this bad data come from?"

Coupled with the notions for Translucent Databases (all data at rest is encrypted) to protect privacy.

We hadn't even gotten to the consensus and trust issues.

---

Authenticity

I'm now most interested in verification of sources.

Where did this cotton or wheat or cobalt come from? Are these pills authentic?

Is the data cited by this paper legit?

Verify copyrights, perhaps even a realization of Ted Nelson Xanadu's notions of transcopyrights. (Disney's DragonChain and others have floated those use cases.)

Is this news report real or agitprop? Is this quote actually legit?

Did someone(s) silently update some published information?

Etc, etc.

---

Tursted Rules & Constraints Satisfaction

Since seeing a presentation on using ethereum style smart contracts for medical claims processing, I've been reading up.

I can barely wrap my head around this stuff. Computability, Turing complete, N vs NP, etc. But the domain experts I heard told a great narrative, so now I'm interested too.

Re:Systems built on trust, norms, and institutions function ... by spookthesunset on Friday April 06, 2018 @01:49PM (#16775445)
All of this is hype. Blockchain is only useful when you bolt a speculative asset on top because otherwise, who the heck will pay for the miners to make it work? If your answer is "the people using it will", that means there is already enough trust in the system to just use a Real Database....

And even if you manage to solve that problem, the blockchain still doesn't help with medical records, authenticity or anything else. You still have to trust the people entering those records. you still have to trust that the person who said "those pills are authentic" on the blockchain.

Smart contracts are also the biggest pile of hype. You can't have "code is law" because other wise you wind up with The DAO.... All code has bugs. All code has corner cases where assumptions fall apart. You can't code law.

Blockchain is pure, 100% hype. Almost every single use case falls apart under even a small amount of scrutiny. The only use the blockchain serves is as a platform for fraud. If you are a scammer, there is no better place to be than in crypto.

Re:Systems built on trust, norms, and institutions function ... by specialist on Friday April 06, 2018 @02:02PM (#16775625)
FFS.

It's turtles all the way down, right?

None of my proposed use cases rely on PoW, bitcoin.

Perhaps I should have said it more clearly: I'm not interested in currency et al, because best as I can tell, bitcoin is just a better escrow, or worse a collectable (like baseball cards). And those things don't interest me.

--

Have you done accounting, bookkeeping, auditing? Another way to think about blockchains is an interoperable ledger. If your data doesn't leave your org, you can just using tamper evident logs (rolling hashes), no consensus stuff required.

I worked on election integrity issues for a decade. I'm the biggest technoskeptic. I pretty much oppose all things new until they're battle proven.

The biggest challenge for election administration is verifying and publishing the physical chain of custody of all the gear and materials. And no matter how hard you try, there's always some yahoos (flat earther types) that will demand ever greater proof.

Whaddya gonna do?

Well, based on my experience, applying some blockchain technologies to document and publish chain of custody would simplify A LOT of the public accountability and transparency issues.

At the end of the day, it's just double ledger accounting. Debits match credits. The parts of blockchain that interest me make it easier to "show your work".

Re:Systems built on trust, norms, and institutions function ... by nickpsecurity on Friday April 06, 2018 @03:57PM (#16776837)
What you're describing are hashchains and logs that predate Bitcoin. They're useful. They might even be part of the solution to the problems you were talking about. Here's some old ones just to illustrate that people have been on the topic for a while.

https://www.cis.upenn.edu/~ahae/papers/peerreview-tr2.pdf

https://eprint.iacr.org/2005/002.pdf

http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.625...

And here's you a blockchain-based solution to medical sharing since you said you were looking into such things.

http://ieeexplore.ieee.org/stamp/stamp.jsp?arnumber=7990130

Re:Systems built on trust, norms, and institutions function ... by specialist on Friday April 06, 2018 @07:36PM (#16778451)
Thank you.

Those papers are from about the same time frame, but I don't immediately recognize them. I do remember the implementation I modeled mine after was patent encumbered.

I may have adopted "tamper evident logging" because I was talking to a lot of non-geeks at the time and they were familiar with terms like "tamper evident seals".

That MeDShare paper is kinda weird. We were very fortunate to have domain experts (nurses, doctors, admins) on staff. So what we ended up with (after a few years) didn't look much like what MeDShare proposes. For example, access control is a non-starter, because in an emergency no one cares about permission. So the best we could do is log access. Also, demographic data at rest is plaintext, because in the USA there's no GUID, so you need access to all the fields to do record matching (linking) and mitigate poor data quality.

Repeating myself: my interest in tamper evident logging was for legal liability and improving our own QA/test.

I haven't thought much about all the other areas blockchains could be used in medicine, like prescriptions.

Re:Systems built on trust, norms, and institutions function ... by specialist on Friday April 06, 2018 @02:13PM (#16775771)
PS- My default position is that smart contracts are a malware vector.

But if there's some meat on those bones, I wanna know about it. I think of it as a constraints satisfaction problem. If the "vocabulary" can be kept simple enough, where our current theorem provers are sufficient, that could be cool.

Re:Systems built on trust, norms, and institutions function ... by C14L on Friday April 06, 2018 @01:12PM (#16775000)
Have to try it to find out. That's what we are doing right now.
Re:Systems built on trust, norms, and institutions function ... by dragontamer on Friday April 06, 2018 @01:09PM (#16774968)
> It uses proof-of-work to establish consensus over points in time which are universally unique.

Did we really?

BTC vs BCH, Ethereum vs Ethereum Classic. Sigwitx2.

These hardforks technically break established consensus and rely upon social means (hey everyone: switch algorithms right now!!) to stay in order. At the end of the day, it seems to me that the "blockchain" is only as strong as the community's resolve to work together.

As far as I can tell, Bitcoin is turning into a governance structure. The current power players are the devs, who most people trust (and I see no reason not to trust them). And the social structure is organized on Github and forums.

Re:Systems built on trust, norms, and institutions function ... by dorgo on Friday April 06, 2018 @05:03PM (#16777411)
Laws change (get broken) when establishd consensus shifts (hey everyone: women should also have the right to vote!!). Crypto/Blockchain doesn't going to change how consensus works (nor is it supposed to). It's just the digitalisation of laws/currency etc. Edit: But Crypto/Blockchain allows you to opt out of laws/currency without physically leaving the country.
Re:Systems built on trust, norms, and institutions function ... by dragontamer on Saturday April 07, 2018 @12:35PM (#16781446)
> But Crypto/Blockchain allows you to opt out of laws/currency without physically leaving the country.

As do clubs, corporations, and "Roberts Rules". People have been making secret societies and private laws since the mid 1850s. That's a long solved problem. Chuck-E-Cheese tokens, Disney Resort Meal Points, and hell, even credit card money is "made up money" to some extent.

For example of all the above: https://en.wikipedia.org/wiki/Capitol_Hill_Babysitting_Co-op

The thing is, people need to understand the laws for them to be useful. You can't just "outsource" the rules to the blockchain.

My point is that the currently established social structure behind these cryptocommunities is horribly defined right now. Its pretty much structured around trusting a few developers. The key for success is a true governance body. Blockchain doesn't solve the hard problem at all. (Case in point: should Ethereum hardfork right now, or wait for Proof of Stake? GPU miners want a hardfork ASAP due to the ASIC miners incomming, but the rest of the community doesn't want unnecessary hardforks. Finally, the ASIC-investors definitely don't want a hard fork.)

Someone needs to make a decision, and a group of people will lose out. Probably the ASIC guys / Bitmain based on the current political environment.

But then it all begs the question: if everyone is centralizing trust in the developers, then what the hell is the point of the blockchain? Its no different than trusting the rules of the Capitol Hill Babysitting Co-op and their fake monopoly money (erm... babysitting "scrip")

Re:Systems built on trust, norms, and institutions function ... by pron on Friday April 06, 2018 @01:58PM (#16775568)
> I wouldn't call it crappy, it's actually quite brilliant.

The New Oxford American Dictionary defines technology as "the application of scientific knowledge for practical purposes". If the application does not fulfill the purpose, the technology is crappy, regardless of how brilliant the science behind it is. The author is not saying that the science is crappy but that the technology -- i.e. the application for the practical purpose -- is.

Re:Systems built on trust, norms, and institutions function ... by 411mrc on Friday April 06, 2018 @01:36PM (#16775283)
I think the designer's own words are a better summary of the problem solved:

http://satoshi.nakamotoinstitute.org/emails/cryptography/11/

The magical thing is that you can actually know that the distributed system is consistent by how much work was performed.

Re:Systems built on trust, norms, and institutions function ... by holtalanm on Friday April 06, 2018 @01:02PM (#16774887)
> Prior to the publication of Satoshi's paper we did not have a solution to this problem

what was the problem that this solved, exactly?

Re:Systems built on trust, norms, and institutions function ... by bllguo on Friday April 06, 2018 @01:05PM (#16774930)
there's literally a link in the comment. Show some effort please..
Re:Systems built on trust, norms, and institutions function ... by jeremyjh on Friday April 06, 2018 @01:13PM (#16775011)
Imagine a few different personas, such as investment banker, retail store owner, and soccer mom. Then complete the following sentence: I need a decentralized time ordered log so that I can ...
Re:Systems built on trust, norms, and institutions function ... by miles on Friday April 06, 2018 @01:37PM (#16775302)
https://www.laphamsquarterly.org/revolutions/miscellany/paul...

> A winner of the Nobel Prize in Economics, Paul Krugman wrote in 1998, “The growth of the Internet will slow drastically, as the flaw in ‘Metcalfe’s law’—which states that the number of potential connections in a network is proportional to the square of the number of participants—becomes apparent: most people have nothing to say to each other! By 2005 or so, it will become clear that the Internet’s impact on the economy has been no greater than the fax machine’s.”

Re:Systems built on trust, norms, and institutions function ... by jeremyjh on Friday April 06, 2018 @05:17PM (#16777537)
This is a complete non-sequitor. The usefulness of blockchain is not assured because people have been skeptical of useful technology in the past. You must actually propose and defend an application of this technology. Otherwise you are offering my skepticism as evidence itself that blockchain will be useful. If that had merit we can go into business together: you propose a technology and patent it, and then I express skepticism and then - profits!
Re:Systems built on trust, norms, and institutions function ... by kaistinchcombe on Friday April 06, 2018 @01:25PM (#16775146)
People say that a lot about the internet – that nobody knew what it would be useful for at the time it was invented. It had MORE uses than originally foreseen (same as computers) but one of the internet pioneers chimed in on the comments thread to the first article saying that actually they did know exactly why they built the internet at the time they built it: they wanted a better way to send messages and share files, so they built one, and the day it was built it was the best way in the world to do that. Same with IBM - scope wasn't foreseen, but those machines were the best in the world for the purposes they were designed for.

But the myth that people create amazing technology that has no use (TCP/IP, the computer), and then a decade later people discover what it's useful for, is just that: a myth.

Re:Systems built on trust, norms, and institutions function ... by DINKDINK on Friday April 06, 2018 @01:36PM (#16775294)
Imagine a few different personas, such as investment banker, retail store owner, and soccer mom. Then complete the following sentence: I need a decentralized method of sending bits to other academic computers across the country so that I can ...
Re:Systems built on trust, norms, and institutions function ... by gizmo686 on Friday April 06, 2018 @02:25PM (#16775904)
I can easily imagine a persona who could complete that sentence: scientists who wanted to share data across the country. The internet was built because it satisfied an actual need at the time, and grew organically.

It is even in the name. The "Internet" was not some monolithic project. It was a way of connecting the many different networks that had already been built.

Re:Systems built on trust, norms, and institutions function ... by scabarott on Friday April 06, 2018 @08:21PM (#16778651)
The internet as we use it today is far beyond what anyone originally envisioned. No one thought we would be using it for e-commerce or social networks or in fact anything other than for a few geeky scientists to occasionally collaborate
Re:Systems built on trust, norms, and institutions function ... by slededit on Friday April 06, 2018 @01:21PM (#16775091)
Imagine playing that game in the 1950s about computers. IBM thought there was a market for maybe 5.
Re:Systems built on trust, norms, and institutions function ... by specialist on Friday April 06, 2018 @01:49PM (#16775452)
I know this Gucci handbang is not counterfeit.

My prescriptions are the real deal.

As a better escrow for exchanging goods, services.

I can verify if the trog on Fox News is just making shit up. (Verified sources, citations are baked into all content.)

Re:Systems built on trust, norms, and institutions function ... by spookthesunset on Friday April 06, 2018 @01:54PM (#16775519)
> I know this Gucci handbang is not counterfeit.

> My prescriptions are the real deal.

How does the blockchain solve any of this? You still need a human to say "this Gucci handbag is not counterfeit". A human still needs to type in "yup, this prescription is real".

Re:Systems built on trust, norms, and institutions function ... by specialist on Friday April 06, 2018 @02:07PM (#16775698)
How are anti-counterfeiting efforts done today?

Accounting.

For this use case, think of blockchains as a shared ledger.

Re:Systems built on trust, norms, and institutions function ... by wsy on Friday April 06, 2018 @03:34PM (#16776628)
If you already trust the accountant, he can set up a conventional database, and you can look stuff up there. Much simpler and cheaper.

A blockchain-based shared ledger is only useful in case the participants don't trust each other. In which case you cannot do anything with it to help detecting counterfeits.

Re:Systems built on trust, norms, and institutions function ... by specialist on Friday April 06, 2018 @05:43PM (#16777724)
Or when you have a supply chain composed of various participants.
Re:Systems built on trust, norms, and institutions function ... by eridius on Friday April 06, 2018 @06:17PM (#16777995)
And now you're trusting each participant to enter their portion of the ledger accurately.

The original articles goes into this very problem. What's to stop your mango provider from spraying pesticides all over their mangoes and then entering "organic" into the ledger?

Re:Systems built on trust, norms, and institutions function ... by specialist on Friday April 06, 2018 @07:15PM (#16778320)
Yup. Turtles all the way down.

I'm not saying blockchains are a cure all. I'm saying I'm keenly interested in using shared ledgers for this use case.

My experiences with election integrity, for better or worse, inform my views (optimism). There was a lot of interest in auditing elections. And it was studied extensively.

For my part, I read up on Medicare fraud and forensic accounting, because they seemed to be the most mature related domains (at the time). My conclusion was that reducing fraud is best accomplished thru simplifying the accounting.

You still need relationships and face-to-face and "trust but verify".

My ultimate hope is that something like blockchains (not talking cryptocurrency, bitcoin, PoW) will somehow make the chasm between the physical and digital worlds smaller. Thereby reducing transaction costs, waste, fraud, uncertainty and so forth.

Re:Systems built on trust, norms, and institutions function ... by scabarott on Friday April 06, 2018 @08:36PM (#16778715)
I can think of at least 2 promising areas: 1.Micropayments- currently it's very hard to charge for anything on the internet so we get ads, which everyone hates or paywalls which people hate even more. Internet money doesn't need to be decentralized but then who will issue or build it -google, facebook? So far this is the most promising. 2. Data privacy - everyone's complaining about Facebook now. So far public decentralized blockchains have offered the most promising way to build truly decentralized apps (while still providing an incentive/payment to developers). I'm pretty sure even more uses we can't think of now will open up as the technology matures
Re:Systems built on trust, norms, and institutions function ... by badloginagain on Friday April 06, 2018 @01:12PM (#16775001)
To "establish consensus over points in time which are universally unique"