8 karma · joined May 22, 2017 (9y ago) · 23 submissions
because HackerNews admin banned it for having the audacity to get into an argument with someone. Use VPN account they can't censor.
comment 9y ago · link · parent
In my current job we have lots of large and often 'sparsely populated' objects which means basically you can never count on any of the properties you were hoping would be present will actually be present. This means the data objects are essentially useless (at least for knowing what data you have to work with as you are writing code), and violate Pike's rules mentioned about data object design being critically important. In the modern world the younger generation of developers thinks "functional programming is great, and OOP (inheritance, etc) is obsolete", and only after 20yrs of coding they look back and eventually realize OOP had it right all along.
In architectures with massive numbers of sparsely populated objects only the guy who originally wrote any given function will be able to understand it, and everyone else who tries to work in the code is pretty much screwed.
comment 9y ago · link · parent
The only difference between an order-one (degree-one) merkle tree (wired like a 'linked list' graph) and a blockchain, is that merkle doesn't require new data to hash on each non-leaf node, but has data only on leaf nodes. In merkle, each level up the tree is rehashing ONLY the actual child hashes below it, so that all hashes are ultimately determined only by "hashes of hashes" (recursively) of LEAF nodes.
So this means from a coding standpoint every order-one merkel is a single line of code away from being a blockchain. That is: The line of code that adds the 'node data' byte array to the SHA256 Hash Digester input stream, before outputting the node's hash. However this may also be a case where the Merkle wiki is not fully complete and accurate, because I cannot fathom that Merkle never thought of a case where each node contains data of it's own to add into the hashing. I bet the original source material from Merkle does include node data as an option, and would make him technically the actual first inventor of blockchain.
comment 9y ago · link · parent
Here's another for ya:
https://medium.com/@lhartikk/a-blockchain-in-200-lines-of-co...
Regarding Merkle: Even the Wikipedia page on "blockchain" explains the Merkle connection and it's precisely what I said, and the Merkle Wiki page says: "Hash trees are a generalization of hash lists and hash chains.", which was also my point.
comment 9y ago · link · parent
Of course, most actual APPLICATIONS of blockchain also ADD ON a lot of other concepts, like distributed ledger, distributed consensus, etc. Trust me, i'm not the guy in this conversation confusing algorithms with applications.
comment 9y ago · link · parent
comment 9y ago · link · parent
comment 9y ago · link · parent
I'm sure there's at least one arse who'll tell me the DIFFERENCE between a tree and a linked list. lol. Gotta love social media.
comment 9y ago · link · parent
comment 9y ago · link · parent
SubNode -> http://sbnode.com
comment 9y ago · link · parent
comment 9y ago · link · parent
comment 9y ago · link · parent
I have a lot of capability now in SubNode, but it doesn't yet 'federate', beyond what the JCR can do insofar as storage distribution. However it does show what an internet 'could' be like if most everything was build out of 'SubNodes'... or at least in the area of Social Media, having this kind of open standard would revolutionize the internet, and make Facebook and Twitter look like Bell Telgraph: You know, the old, unneeded, proprietary, manipulative, 'sell your data to the highest bidder' type of social media that the world needs to get off of.
comment 9y ago · link · parent
Demonstration site is: http://sbnode.com