Live data from Hacker News

Ethereum from scratch – Part 1: Ping

ocalog.com

111–120 of 134 posts

Re: Ethereum from scratch – Part 1: Ping

#111
Hi! Thank you all for the attention! I was not expecting it!

It seems that the user registration emails are causing a 500 server error and I'm working on a fix.

Edit: I'm bypassing the email confirmations for now, if you got a 500 error, please try to login using the account you signed up with. It should work, otherwise email me at mflynn210 gmail.com.

Re: Ethereum from scratch – Part 1: Ping

#112
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?

I can write secure smart contracts in Solidity or straight in EVM assembly, it's really not that hard as long as you code it defensively.

Re: Ethereum from scratch – Part 1: Ping

#113

Earlier quoted context omitted.

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.)

What does the code have access to other than the blockchain? Can it access the internet? The node's computer?

You can access external data from Ethereum contracts via what they call an "Oracle" which is an intermediary between a third party service and the blockchain.

If the connection to the third party service is cryptographically secure, the Oracle can even provide proof the results were not tampered with, and if multiple data sources are used it can provide a consensus answer based on them.

Otherwise, the smart contract only has access to what is in the blockchain, but Oracles are pretty easy to write and use.

Re: Ethereum from scratch – Part 1: Ping

#114

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.

This article mentions and briefly explains smart contracts in a way that really helped me understand. http://haseebq.com/a-hacker-stole-31m-of-ether/

Re: Ethereum from scratch – Part 1: Ping

#115
post #72
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!

Signed up and got 500 server error :(

Sorry! You should be able to login with the account you signed up with now.

Re: Ethereum from scratch – Part 1: Ping

#116
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!

Bad news! Your site is vulnerable to XSS https://ocalog.com/post/15/

See "OWASP top 10" for getting started with web security.

Re: Ethereum from scratch – Part 1: Ping

#117
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!

Bad news! Your site is vulnerable to XSS https://ocalog.com/post/15/ See "OWASP top 10" for getting started with web security.

ty

Re: Ethereum from scratch – Part 1: Ping

#118
post #76
post #66

Earlier quoted context omitted.

the problem is that the tools don't facilitate writing correct contracts i don't know how to do this myself, mind your. to be broadly applicable the tech has to be accessible to people who would be writing contracts. a fucking professional using the state of the art for this shit has very little tooling support for checking that the contract actually operates in a particular fashion. something like an SQL query plann…

Write your own tools. The EVM, which is what executes contracts, has a public spec. It's a bytecode machine and writing a compiler for it should be rather trivial compared to x86. There are also several other languages you can code in and there are some code verifier tools that allow you to check if your contract is good. The problem is that despite these tools existing, even if they are used, they are underused.

Writing custom tools is not a solution for the standard professional developer. If Ethereum is to take off, it will need one of

* Little to none "get up and running" time. Custom tools don't allow for that.

* Provide such tremendous value that it is worth overcoming the initial setup hurdle.

Right now, Ethereum has neither.

Re: Ethereum from scratch – Part 1: Ping

#119
post #76

Earlier quoted context omitted.

Write your own tools. The EVM, which is what executes contracts, has a public spec. It's a bytecode machine and writing a compiler for it should be rather trivial compared to x86. There are also several other languages you can code in and there are some code verifier tools that allow you to check if your contract is good. The problem is that despite these tools existing, even if they are used, they are underused.

Writing custom tools is not a solution for the standard professional developer. If Ethereum is to take off, it will need one of * Little to none "get up and running" time. Custom tools don't allow for that. * Provide such tremendous value that it is worth overcoming the initial setup hurdle. Right now, Ethereum has neither.

There are plenty of alternative tools for Ethereum, including alternative languages.

I was merely pointing out that nobody is being stopped from improving the situation, if it was as bad as some portrait it.

Re: Ethereum from scratch – Part 1: Ping

#120
post #78

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.

Imagine you and your friends are for some reason dissatisfied with the way you are able to deal with money among yourselves. For example, maybe you like to quickly reimburse each other for dinner, but you won't or can't use Facebook Messenger payments, perhaps because some of you aren't on Facebook, or you're not in the US. So you want to make your own little payments system. You might start with just setting up a si…

Thanks! This is an easier to digest explanation.

What about another use case that's also fairly mundane but is date/time triggered and has a slightly different result/outcome?

Say someone wants to use ethereum to manage the sending of a bunch of birthday cards to friends.

Is it possible for an ethereum script be set up to trigger an event on a specific day to send a pre-composed email along with some funds (e.g. bitcoin or ethereum).

Post reply on HN