Live data from Hacker News

Ethereum from scratch – Part 1: Ping

ocalog.com

21–30 of 134 posts

Re: Ethereum from scratch – Part 1: Ping

#21
post #17
post #2

Hi all, I'm the author of the post, and also the creator of the website. I'm writing this series of posts to demonstrate the site. Do you guys get what the site's trying to do? Hope you enjoy the post. If you have any constructive criticism you'd like to give regarding either the post or the website, let me know!

Can you support comments?

Working on it. My current top 4 todos are:

- [ ] add edit view

- [ ] add autosave

- [ ] add comments

- [ ] add subscribe button

Re: Ethereum from scratch – Part 1: Ping

#22
post #2

Hi all, I'm the author of the post, and also the creator of the website. I'm writing this series of posts to demonstrate the site. Do you guys get what the site's trying to do? Hope you enjoy the post. If you have any constructive criticism you'd like to give regarding either the post or the website, let me know!

So this is like Medium but with monetised upvotes? Who would pay for upvotes? (and in particular, for a subscription)

Re: Ethereum from scratch – Part 1: Ping

#23
post #22
post #2

Hi all, I'm the author of the post, and also the creator of the website. I'm writing this series of posts to demonstrate the site. Do you guys get what the site's trying to do? Hope you enjoy the post. If you have any constructive criticism you'd like to give regarding either the post or the website, let me know!

So this is like Medium but with monetised upvotes? Who would pay for upvotes? (and in particular, for a subscription)

Welcome to Reddit Gold?

Re: Ethereum from scratch – Part 1: Ping

#24
post #8

Neat. I contemplated writing something like that, only without the "import rlp" cheat. Basically, there were a lot of blind spots in the official documentation and it took me a while to figure out things like how to make a proper key recovery id or which endianness to use where in the messages. How far have you been able to get to? I still can't quite wedge into the mainnet - the nodes keep disconnecting me for unkno…

> the "import rlp" cheat.

Ah, I knew someone was going to get me on that. They actually give you the encode function in the specification. It's pretty straightforward and if I was to write it, would end up the same, so I decided to just import the library. But I agree it does go against the "from scratch" title a little bit.

> there were a lot of blind spots in the official documentation

Totally agree.

> How far have you been able to get to?

I'm actually trying to get the mainnet nodes to talk to me as well.

Re: Ethereum from scratch – Part 1: Ping

#25
post #22
post #2

Hi all, I'm the author of the post, and also the creator of the website. I'm writing this series of posts to demonstrate the site. Do you guys get what the site's trying to do? Hope you enjoy the post. If you have any constructive criticism you'd like to give regarding either the post or the website, let me know!

So this is like Medium but with monetised upvotes? Who would pay for upvotes? (and in particular, for a subscription)

Subscribers. Creators can mark their posts as free, as I have done here, but if posts are not marked free you have to subscribe to view them.

Unless you're a seed user (first 1000 people who sign up), then you don't have to subscribe to view non-free posts.

Re: Ethereum from scratch – Part 1: Ping

#26

Though I meet the criteria as stated (knowledge level wise - I'm a retired IT Exec/long time geek), yet this still is a bit too esoteric for me. As one of the 'killer apps' for ethereum is smart contracts, I'd like to see this explained in a 'for dummies' high level way, then decomposed into the finer technical chunks needed to make it happen.

professional etherem devs haven't even gotten to the point where they can write correct contracts themselves. but the concept is pretty simple.

a "smart contract" is a script that runs on a blockchain to execute terms and manage funds.

the problem is that the tools that you use to make these are basically garbage. you don't write fin-tech in what amounts to javascript y'know?

Re: Ethereum from scratch – Part 1: Ping

#27
post #26

Though I meet the criteria as stated (knowledge level wise - I'm a retired IT Exec/long time geek), yet this still is a bit too esoteric for me. As one of the 'killer apps' for ethereum is smart contracts, I'd like to see this explained in a 'for dummies' high level way, then decomposed into the finer technical chunks needed to make it happen.

professional etherem devs haven't even gotten to the point where they can write correct contracts themselves. but the concept is pretty simple. a "smart contract" is a script that runs on a blockchain to execute terms and manage funds. the problem is that the tools that you use to make these are basically garbage. you don't write fin-tech in what amounts to javascript y'know?

People were saying the same thing about non-C++ back in the day. "Web apps aren't written in scripting languages y'know?"

Re: Ethereum from scratch – Part 1: Ping

#28

Though I meet the criteria as stated (knowledge level wise - I'm a retired IT Exec/long time geek), yet this still is a bit too esoteric for me. As one of the 'killer apps' for ethereum is smart contracts, I'd like to see this explained in a 'for dummies' high level way, then decomposed into the finer technical chunks needed to make it happen.

Ethereum allows you to write a program that executes on the blockchain. State variables are synchronized the same way that a Bitcoin blockchain synchronizes sums. (This means it's impossible to have private state that's also synchronized via a blockchain, but in many applications private state isn't needed.)

Re: Ethereum from scratch – Part 1: Ping

#29
post #26

Earlier quoted context omitted.

professional etherem devs haven't even gotten to the point where they can write correct contracts themselves. but the concept is pretty simple. a "smart contract" is a script that runs on a blockchain to execute terms and manage funds. the problem is that the tools that you use to make these are basically garbage. you don't write fin-tech in what amounts to javascript y'know?

People were saying the same thing about non-C++ back in the day. "Web apps aren't written in scripting languages y'know?"

I view this more as "web apps should not be written in C++ due to security issues that we have long come to understand" than "web apps should be written in C++ due to performance issues we are guessing at"... like, do you believe that in a few years people will decide "no, strongly typed and proof assisted languages were overkill for contracts: it was actually better to code them in a language that has weirdly fluid rules and type semantics for reasons they did not quite grok in 2017"?

Re: Ethereum from scratch – Part 1: Ping

#30
post #13

Earlier quoted context omitted.

Registered assets are always more secure and cheaper than bearer assets. And if you needed bearer assets, there's multisig, which does everything turing complete code does, cheaper and more secure

Its the interactions between assets, agreements and trusted devices which opens up possibilities greater than the scope of this thinking.

I see. What blockchain does the NYSE use?
Post reply on HN