inersha
You wouldn't be allowed to do this unfortunately.
ruby sha256.rb sizzzzlerz enter
I didn't do anything special for the terminal animation. I just work out the current state of the hash function at each step, clear the terminal, and print the entire state back to the screen. I know it looks like I'm directly manipulating each individual bit in your terminal, but really I'm just redrawing your screen.
I'd like to do something more practical in future, but for this I just did what I needed to do to get an animation working. Still, every bit you are seeing is correct.
2) It's certainly a combination I never anticipated.
3) I look forward to the book.
I'm new to hash functions though, so I don't yet know why SHA-256 has been designed in the way it has (e.g. why exact numbers were chosen in the bitwise rotations).
As far as I understand, the Sigma functions promote diffusion of bits to help prevent collisions, and Choice/Majority/Addition help to make it a one-way function, but I'm not entirely sure. I'd be interested in learning more about the design if anyone has experience in this field.
Show HN: Get a list of every unspent Bitcoin in the blockchain
Such a shame to see this. Dr. Evil is a good guy.
Show HN: How to import the entire Bitcoin blockchain in to Neo4j
If you're interested, I've done some explanation of it here: http://learnmeabitcoin.com/neo4j/
My experience with Neo4j has been a good one. The database is currently around 1TB and runs continuously without a problem. It's fast enough to use it as a public blockchain explorer, whilst simultaneously keeping up with importing all the latest transactions and blocks on the network.
It took some time to get the hang of the Cypher query language to get it to do what I want, but the browser it comes with is handy for learning via trial and error. I found the people on the Neo4j slack channel to be incredibly helpful with my questions.
Show HN: A visualisation of the live Bitcoin transaction rate
How to create a Bitcoin transaction from scratch
Ask HN: Do you play games between programming?
When I'm coding throughout the day I sometimes play games like Agar.io to break up the work. Probably not quite as good as taking a walk, but still enjoyable.Do you play any small/simple games between coding sessions? If so, which ones?
I'm trying to make it as easy as possible to understand (and work with) bitcoin data.