Live data from Hacker News

A from-scratch tour of Bitcoin in Python

karpathy.github.io

31–40 of 293 posts

Re: A from-scratch tour of Bitcoin in Python

#31

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.

How many hours a day do you work? And what does your daily schedule look like?

I count myself very fortunate that I find the word "work" very confusing.

Re: A from-scratch tour of Bitcoin in Python

#32
post #6

I wonder how strong would Elliptic Curve Cryptography be compared to other methods if there is a major breakthrough in quantum computing.

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…

Just don't re-use addresses. Bitcoin does not expose your public key until you spend from it.

Re: A from-scratch tour of Bitcoin in Python

#33

Kind of surprised Andrej has time to work on anything besides self-driving cars

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.

Would you be open to doing an AMA on here? I'm sure a lot of software people would love to hear more of your thoughts on software and stuff!

Re: A from-scratch tour of Bitcoin in Python

#34

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.

How many hours a day do you work? And what does your daily schedule look like?

[deleted]

Re: A from-scratch tour of Bitcoin in Python

#35

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…

Just don't re-use addresses. Bitcoin does not expose your public key until you spend from it.

> Bitcoin does not expose your public key until you spend from it.

Are you sure, what about when someone sends to it?

Re: A from-scratch tour of Bitcoin in Python

#36

Earlier quoted context omitted.

How many hours a day do you work? And what does your daily schedule look like?

I count myself very fortunate that I find the word "work" very confusing.

I know what you mean but I still think that there’s a number you can give. Like this counts as work.

What does your average daily schedule look like?

Re: A from-scratch tour of Bitcoin in Python

#37
post #6

I wonder how strong would Elliptic Curve Cryptography be compared to other methods if there is a major breakthrough in quantum computing.

In theory, it is also broken.

It practice, it appears to be slightly harder to break than RSA for the same security level as we define it in non-quantum computing, but not by much.

Re: A from-scratch tour of Bitcoin in Python

#38
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.

He links committing transactions to the blockchain to storing state in a distributed data structure... which is of course, in the case of Bitcoin, implemented in arguably the most wasteful, ham-fisted, environmentally disastrous way possible. There's also the ethereum VM which is a slow decentralized state machine capable of executing code...

Check yourself.All progress was 'wasteful' with resources at one time. And yes, bitcoin is progress.

Re: A from-scratch tour of Bitcoin in Python

#39

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…

Just don't re-use addresses. Bitcoin does not expose your public key until you spend from it.

If the QC can crack your private key within a few minutes, it would still have a decent chance to steal your money.

Re: A from-scratch tour of Bitcoin in Python

#40
post #35

Earlier quoted context omitted.

Just don't re-use addresses. Bitcoin does not expose your public key until you spend from it.

> Bitcoin does not expose your public key until you spend from it. Are you sure, what about when someone sends to it?

They're correct. The blockchain just records that the funds were sent to your address. To spend the funds you have to show the public key which hashes to that address, in another transaction signed by the private key.

If the sender wanted to send you a private message, they would need your public key, but that's not what transactions do.

Post reply on HN