Live data from Hacker News

A from-scratch tour of Bitcoin in Python

karpathy.github.io

51–60 of 293 posts

Re: A from-scratch tour of Bitcoin in Python

#51
post #20
post #2

> We don’t just get to share code, we get to share a running computer, and anyone anywhere can use it in an open and permissionless manner Can someone explain what this means? Its not explained anywhere in the post.

You can think of the Bitcoin block chain as the state of a globally-accessible machine. The state is updated through the publication of valid blocks, each of which builds on a previous block. A block is composed of transactions, each of which incrementally advances the machine's state. Each transaction contains a small program "script" that defines the conditions for the state transition it causes. There's this persi…

Bitcoin's script language is very restricted, claiming that Bitcoin has been doing "smart contracts" is disingenuous to me. I wouldn't call a bitcoin script as "smart". Ethereum was born because of this

Re: A from-scratch tour of Bitcoin in Python

#52
post #29

Earlier quoted context omitted.

https://twitter.com/karpathy/status/1407378320551923718 :) But more seriously, I just really love learning and worked on this on the side, in small increments in between the cracks, and purely from interest for fun.

It's awesome to see you doing this, and taking the time to respond here! Ditto for your (re)implementation of transformers a while back, which you clearly worked on for fun as a side project too. The world would be such a better place if every executive in charge of technology at a large company engaged in these kinds of side projects for fun on a regular basis :-) If I may, let me ask you an unrelated question that…

[deleted]

Re: A from-scratch tour of Bitcoin in Python

#53
post #18
post #12

Earlier quoted context omitted.

Maybe he is losing faith in self driving cars and is looking for an alternate field.

Diversification of interests accelerates creativity due to axiomatic discovery and reinforcement, idea plasticity and abstraction practice. Other interests are not just important, they are necessary.

Right. All really smart people 'play'. Famously, Feynman was spinning plates in the Caltech cafeteria on his fingertip, which gave him the ideas that ended up winning him a Nobel prize.

Play is important for children of all ages.

Re: A from-scratch tour of Bitcoin in Python

#55
post #18

Earlier quoted context omitted.

Diversification of interests accelerates creativity due to axiomatic discovery and reinforcement, idea plasticity and abstraction practice. Other interests are not just important, they are necessary.

Right. All really smart people 'play'. Famously, Feynman was spinning plates in the Caltech cafeteria on his fingertip, which gave him the ideas that ended up winning him a Nobel prize. Play is important for children of all ages.

Surely You're Joking is one of my all time favorite books, for sure.

Re: A from-scratch tour of Bitcoin in Python

#57
This is reminds me of Ken Shirriff's 2014 "Bitcoins the Hard Way" blog post that also used Python to build a Bitcoin transaction from scratch: http://www.righto.com/2014/02/bitcoins-hard-way-using-raw-bi...

(The subtitle of the blog is "Computer history, restoring vintage computers, IC reverse engineering, and whatever" and it is full of fascinating articles, several of which have been featured here on HN)

Re: A from-scratch tour of Bitcoin in Python

#59

Earlier quoted context omitted.

I wish this were talked about more. Quantum computing is the biggest long-term threat to crypto imo. What's the plan once elliptic curve cryptography can be broken? There will be a point in time where there are just a few quantum computers that can break everything before the general public has access to quantum computing. Can crypto work in that scenario? Normal computers wouldn't be able to work with the beastly al…

The first entities that are likely to achieve practical quantum computers will either be governments or big tech companies like Google. And it will be a big deal, so there would likely be several years of warning before it could be at the point where it would make sense to use it to steal someone's bitcoins (I guess the original Satoshi coin address would be the biggest bounty). And in the time period between when th…

Depends on the incentives. If the only interest in quantum computing is to break classically hard encryption then I think the time between poc and widespread availability could be relatively short.

Re: A from-scratch tour of Bitcoin in Python

#60

This is reminds me of Ken Shirriff's 2014 "Bitcoins the Hard Way" blog post that also used Python to build a Bitcoin transaction from scratch: http://www.righto.com/2014/02/bitcoins-hard-way-using-raw-bi... (The subtitle of the blog is "Computer history, restoring vintage computers, IC reverse engineering, and whatever" and it is full of fascinating articles, several of which have been featured here on HN)

No, the hardest way is using pencil and paper to mine a block :)

https://gizmodo.com/mining-bitcoin-with-pencil-and-paper-164...

Post reply on HN