Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Blockchain beliefs

Blockchain beliefs

Scheduled Pinned Locked Moved The Lounge
comsysadmincollaborationtutorialquestion
38 Posts 20 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R raddevus

    I'm reading this book, Building Blockchain Apps (Addison-Wesley Professional)[^] and I came across the following which explains Smart Contracts:

    Quote:

    In Code We Trust The smart contracts can often closely resemble legal contracts in the real world. For example, the transaction parties might enter an escrow agreement that the fund will be paid out only when certain conditions are met. It is now up to network validators and maintainers to assert whether such conditions are met and how the transaction should be executed when new blocks are appended to the blockchain. However, unlike legal contracts that are enforced by the centralized government power, the smart contracts can automatically apply collaboration rules on the blockchain. The rules are written in code and checked by trustless participants of the network to prevent corruption or collusion. Because of that, we consider smart contract code the “law” in blockchain networks. The code is executed as written. Even if the code contains bugs or side effects unexpected by its author, it is still trusted as a source of truth and enforced as the law.

    So smart contracts are going to enforce rules for transactions which become "law" (the system will not break the "law" (code), no matter how fouled up the "law" may be"). Do these Blockchain enthusiasts not understand how buggy software is? :rolleyes: Oh, no worries, when this all lands our AI Overlords will settle it all. :laugh:

    B Offline
    B Offline
    BabyYoda
    wrote on last edited by
    #6

    raddevus wrote:

    how buggy software is?

    True, but computers only do what they are told to do. They never, ever break the law. They can't. They can't think or decide. They simply execute code and do exactly what they are told to do. Even when there is a "bug" the computer did exactly what it was told to do.

    R T M 3 Replies Last reply
    0
    • B BabyYoda

      raddevus wrote:

      how buggy software is?

      True, but computers only do what they are told to do. They never, ever break the law. They can't. They can't think or decide. They simply execute code and do exactly what they are told to do. Even when there is a "bug" the computer did exactly what it was told to do.

      R Offline
      R Offline
      raddevus
      wrote on last edited by
      #7

      BabyYoda wrote:

      True, but computers only do what they are told to do. They never, ever break the law. They can't. They can't think or decide. They simply execute code and do exactly what they are told to do. Even when there is a "bug" the computer did exactly what it was told to do.

      But life ain't like that is it. BabyYoda <talking to bank clerk> Why all my savings is gone from my account? Bank clerk: The computer has operated correctly sir. Now, I have other people to help. Please step aside or I'll have the nice bank guard pistol whip you. Have a nice day. :laugh:

      B 1 Reply Last reply
      0
      • R raddevus

        BabyYoda wrote:

        True, but computers only do what they are told to do. They never, ever break the law. They can't. They can't think or decide. They simply execute code and do exactly what they are told to do. Even when there is a "bug" the computer did exactly what it was told to do.

        But life ain't like that is it. BabyYoda <talking to bank clerk> Why all my savings is gone from my account? Bank clerk: The computer has operated correctly sir. Now, I have other people to help. Please step aside or I'll have the nice bank guard pistol whip you. Have a nice day. :laugh:

        B Offline
        B Offline
        BabyYoda
        wrote on last edited by
        #8

        raddevus wrote:

        The computer has operated correctly sir

        I didn't say correctly. But the computer only did what it was told to. A computer can't do anything but what it is told to do. It's impossible.

        R 1 Reply Last reply
        0
        • B BabyYoda

          raddevus wrote:

          The computer has operated correctly sir

          I didn't say correctly. But the computer only did what it was told to. A computer can't do anything but what it is told to do. It's impossible.

          R Offline
          R Offline
          raddevus
          wrote on last edited by
          #9

          BabyYoda wrote:

          A computer can't do anything but what it is told to do. It's impossible.

          I know what you mean, but this isn't as true as you would like to believe any more. To discuss it further you would have to read the entire book, The Creativity Code by (mathematician and professor) Marcus du Sautoy[^] That sounds a bit arrogant, but it's not intended to be. That book explains that there are now algorithms that are continually updated by AI which make decisions which humans no longer have a way to track. The really interesting example is where the Go (ancient game) algorithm made a Go move while playing the best Go player in the world. The commentators noted that the move was not intelligent. But then that move caused the algorithm to beat the human player. Now that move is a standard move at the stage of a game of Go but the move was "created" by an algorithm and no one can explain why the computer chose that particular move. There are many other things where it is now becoming impossible to point to source code where the decision came from. quite interesting. Read the book and see if it starts to change your mind on these things. It's really fascinating.

          B D 2 Replies Last reply
          0
          • R raddevus

            BabyYoda wrote:

            A computer can't do anything but what it is told to do. It's impossible.

            I know what you mean, but this isn't as true as you would like to believe any more. To discuss it further you would have to read the entire book, The Creativity Code by (mathematician and professor) Marcus du Sautoy[^] That sounds a bit arrogant, but it's not intended to be. That book explains that there are now algorithms that are continually updated by AI which make decisions which humans no longer have a way to track. The really interesting example is where the Go (ancient game) algorithm made a Go move while playing the best Go player in the world. The commentators noted that the move was not intelligent. But then that move caused the algorithm to beat the human player. Now that move is a standard move at the stage of a game of Go but the move was "created" by an algorithm and no one can explain why the computer chose that particular move. There are many other things where it is now becoming impossible to point to source code where the decision came from. quite interesting. Read the book and see if it starts to change your mind on these things. It's really fascinating.

            B Offline
            B Offline
            BabyYoda
            wrote on last edited by
            #10

            raddevus wrote:

            becoming impossible to point to source code where the decision came from.

            Using your bank analogy, can you imagine a financial application that could not track down when and how money moved? :laugh: :doh:

            R N 2 Replies Last reply
            0
            • B BabyYoda

              raddevus wrote:

              becoming impossible to point to source code where the decision came from.

              Using your bank analogy, can you imagine a financial application that could not track down when and how money moved? :laugh: :doh:

              R Offline
              R Offline
              raddevus
              wrote on last edited by
              #11

              BabyYoda wrote:

              Using your bank analogy, can you imagine a financial application that could not track down when and how money moved?

              :laugh: :laugh: Yeah, they'll just tell the customer, "well the computer decided and we know computers do things correctly". :laugh: :laugh:

              W P 2 Replies Last reply
              0
              • R raddevus

                BabyYoda wrote:

                Using your bank analogy, can you imagine a financial application that could not track down when and how money moved?

                :laugh: :laugh: Yeah, they'll just tell the customer, "well the computer decided and we know computers do things correctly". :laugh: :laugh:

                W Offline
                W Offline
                W Balboos GHB
                wrote on last edited by
                #12

                It seems the real question that should be asked is not if "code is the law" and buggy and all that. The code needs to be interpreted and the interpreter can be not only buggy, itself, but even deliberately designed to be corrupt. Thus, those making this 'contract' are having involvement (with neither their knowledge nor consent) by a third party. The entire concept falls apart.

                Ravings en masse^

                "The difference between genius and stupidity is that genius has its limits." - Albert Einstein

                "If you are searching for perfection in others, then you seek disappointment. If you seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010

                R 1 Reply Last reply
                0
                • B BabyYoda

                  raddevus wrote:

                  becoming impossible to point to source code where the decision came from.

                  Using your bank analogy, can you imagine a financial application that could not track down when and how money moved? :laugh: :doh:

                  N Offline
                  N Offline
                  Nelek
                  wrote on last edited by
                  #13

                  BabyYoda wrote:

                  can you imagine a financial application that could not track down when and how money moved? :laugh:

                  I thought we already had it... see 2008.

                  M.D.V. ;) If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you Rating helpful answers is nice, but saying thanks can be even nicer.

                  J 1 Reply Last reply
                  0
                  • R raddevus

                    I'm reading this book, Building Blockchain Apps (Addison-Wesley Professional)[^] and I came across the following which explains Smart Contracts:

                    Quote:

                    In Code We Trust The smart contracts can often closely resemble legal contracts in the real world. For example, the transaction parties might enter an escrow agreement that the fund will be paid out only when certain conditions are met. It is now up to network validators and maintainers to assert whether such conditions are met and how the transaction should be executed when new blocks are appended to the blockchain. However, unlike legal contracts that are enforced by the centralized government power, the smart contracts can automatically apply collaboration rules on the blockchain. The rules are written in code and checked by trustless participants of the network to prevent corruption or collusion. Because of that, we consider smart contract code the “law” in blockchain networks. The code is executed as written. Even if the code contains bugs or side effects unexpected by its author, it is still trusted as a source of truth and enforced as the law.

                    So smart contracts are going to enforce rules for transactions which become "law" (the system will not break the "law" (code), no matter how fouled up the "law" may be"). Do these Blockchain enthusiasts not understand how buggy software is? :rolleyes: Oh, no worries, when this all lands our AI Overlords will settle it all. :laugh:

                    T Offline
                    T Offline
                    theoldfool
                    wrote on last edited by
                    #14

                    computers make very precise errors, very fast.

                    If you can keep your head while those about you are losing theirs, perhaps you don't understand the situation.

                    R G 2 Replies Last reply
                    0
                    • W W Balboos GHB

                      It seems the real question that should be asked is not if "code is the law" and buggy and all that. The code needs to be interpreted and the interpreter can be not only buggy, itself, but even deliberately designed to be corrupt. Thus, those making this 'contract' are having involvement (with neither their knowledge nor consent) by a third party. The entire concept falls apart.

                      Ravings en masse^

                      "The difference between genius and stupidity is that genius has its limits." - Albert Einstein

                      "If you are searching for perfection in others, then you seek disappointment. If you seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010

                      R Offline
                      R Offline
                      raddevus
                      wrote on last edited by
                      #15

                      Yes, the beauty of the system is that there is no central authority. However, that is also the problem that could destroy the system also. It seems as if the people who are for blockchain smart contracts are saying, "oh, it'll all work out, just fine". :suss:

                      1 Reply Last reply
                      0
                      • T theoldfool

                        computers make very precise errors, very fast.

                        If you can keep your head while those about you are losing theirs, perhaps you don't understand the situation.

                        R Offline
                        R Offline
                        raddevus
                        wrote on last edited by
                        #16

                        theoldfool wrote:

                        computers make very precise errors, very fast.

                        Exactly! :) Bank teller: <explaining why all your money gone> Well, it looks as if the computer only deducted $0.05, so no big deal. Customer: Yes, isn't that lovely. Only $0.05...But it deducted it 4 trillion times!!! :wtf: :laugh: :laugh:

                        1 Reply Last reply
                        0
                        • R raddevus

                          I'm reading this book, Building Blockchain Apps (Addison-Wesley Professional)[^] and I came across the following which explains Smart Contracts:

                          Quote:

                          In Code We Trust The smart contracts can often closely resemble legal contracts in the real world. For example, the transaction parties might enter an escrow agreement that the fund will be paid out only when certain conditions are met. It is now up to network validators and maintainers to assert whether such conditions are met and how the transaction should be executed when new blocks are appended to the blockchain. However, unlike legal contracts that are enforced by the centralized government power, the smart contracts can automatically apply collaboration rules on the blockchain. The rules are written in code and checked by trustless participants of the network to prevent corruption or collusion. Because of that, we consider smart contract code the “law” in blockchain networks. The code is executed as written. Even if the code contains bugs or side effects unexpected by its author, it is still trusted as a source of truth and enforced as the law.

                          So smart contracts are going to enforce rules for transactions which become "law" (the system will not break the "law" (code), no matter how fouled up the "law" may be"). Do these Blockchain enthusiasts not understand how buggy software is? :rolleyes: Oh, no worries, when this all lands our AI Overlords will settle it all. :laugh:

                          L Offline
                          L Offline
                          Lost User
                          wrote on last edited by
                          #17

                          The mentally ill cannot enter into "contracts", even if they do.

                          It was only in wine that he laid down no limit for himself, but he did not allow himself to be confused by it. ― Confucian Analects: Rules of Confucius about his food

                          1 Reply Last reply
                          0
                          • R raddevus

                            PIEBALDconsult wrote:

                            "Mostly Harmless"

                            Five years from now. PiebaldConsult: <on phone with bank> What do you mean my account has a negative balance!?! AI Banker : It is the will of the code. :laugh:

                            P Offline
                            P Offline
                            PIEBALDconsult
                            wrote on last edited by
                            #18

                            This is the way.

                            1 Reply Last reply
                            0
                            • R raddevus

                              I'm reading this book, Building Blockchain Apps (Addison-Wesley Professional)[^] and I came across the following which explains Smart Contracts:

                              Quote:

                              In Code We Trust The smart contracts can often closely resemble legal contracts in the real world. For example, the transaction parties might enter an escrow agreement that the fund will be paid out only when certain conditions are met. It is now up to network validators and maintainers to assert whether such conditions are met and how the transaction should be executed when new blocks are appended to the blockchain. However, unlike legal contracts that are enforced by the centralized government power, the smart contracts can automatically apply collaboration rules on the blockchain. The rules are written in code and checked by trustless participants of the network to prevent corruption or collusion. Because of that, we consider smart contract code the “law” in blockchain networks. The code is executed as written. Even if the code contains bugs or side effects unexpected by its author, it is still trusted as a source of truth and enforced as the law.

                              So smart contracts are going to enforce rules for transactions which become "law" (the system will not break the "law" (code), no matter how fouled up the "law" may be"). Do these Blockchain enthusiasts not understand how buggy software is? :rolleyes: Oh, no worries, when this all lands our AI Overlords will settle it all. :laugh:

                              Sander RosselS Offline
                              Sander RosselS Offline
                              Sander Rossel
                              wrote on last edited by
                              #19

                              Report: Blockchain-related hacks have declined in 2020[^] Yes, Blockchain hacks have declined, meaning they exist. I remember reading about hacked Bitcoin wallets so not even Blockchain is 100%, despite what they say. The decline may be attributed to the fact Blockchain isn't as hot and happening as in 2019. In fact, this post of yours may be the first I see of it in 2020 :laugh:

                              Best, Sander Azure DevOps Succinctly (free eBook) Azure Serverless Succinctly (free eBook) Migrating Apps to the Cloud with Azure arrgh.js - Bringing LINQ to JavaScript

                              1 Reply Last reply
                              0
                              • T theoldfool

                                computers make very precise errors, very fast.

                                If you can keep your head while those about you are losing theirs, perhaps you don't understand the situation.

                                G Offline
                                G Offline
                                Gaston Verelst
                                wrote on last edited by
                                #20

                                To err is human but to really foul up requires a computer.

                                Check out my blog at http://msdev.pro/

                                1 Reply Last reply
                                0
                                • R raddevus

                                  I'm reading this book, Building Blockchain Apps (Addison-Wesley Professional)[^] and I came across the following which explains Smart Contracts:

                                  Quote:

                                  In Code We Trust The smart contracts can often closely resemble legal contracts in the real world. For example, the transaction parties might enter an escrow agreement that the fund will be paid out only when certain conditions are met. It is now up to network validators and maintainers to assert whether such conditions are met and how the transaction should be executed when new blocks are appended to the blockchain. However, unlike legal contracts that are enforced by the centralized government power, the smart contracts can automatically apply collaboration rules on the blockchain. The rules are written in code and checked by trustless participants of the network to prevent corruption or collusion. Because of that, we consider smart contract code the “law” in blockchain networks. The code is executed as written. Even if the code contains bugs or side effects unexpected by its author, it is still trusted as a source of truth and enforced as the law.

                                  So smart contracts are going to enforce rules for transactions which become "law" (the system will not break the "law" (code), no matter how fouled up the "law" may be"). Do these Blockchain enthusiasts not understand how buggy software is? :rolleyes: Oh, no worries, when this all lands our AI Overlords will settle it all. :laugh:

                                  G Offline
                                  G Offline
                                  GenJerDan
                                  wrote on last edited by
                                  #21

                                  raddevus wrote:

                                  The rules are written in code and checked by trustless participants of the network to prevent corruption or collusion.

                                  "Trustless" Yes, I know what it means. Still, it'll look scary to ordinary people.. ;P

                                  We won't sit down. We won't shut up. We won't go quietly away. YouTube, and My Mu[sic], Films and Windows Programs, etc. and FB

                                  R 1 Reply Last reply
                                  0
                                  • R raddevus

                                    I'm reading this book, Building Blockchain Apps (Addison-Wesley Professional)[^] and I came across the following which explains Smart Contracts:

                                    Quote:

                                    In Code We Trust The smart contracts can often closely resemble legal contracts in the real world. For example, the transaction parties might enter an escrow agreement that the fund will be paid out only when certain conditions are met. It is now up to network validators and maintainers to assert whether such conditions are met and how the transaction should be executed when new blocks are appended to the blockchain. However, unlike legal contracts that are enforced by the centralized government power, the smart contracts can automatically apply collaboration rules on the blockchain. The rules are written in code and checked by trustless participants of the network to prevent corruption or collusion. Because of that, we consider smart contract code the “law” in blockchain networks. The code is executed as written. Even if the code contains bugs or side effects unexpected by its author, it is still trusted as a source of truth and enforced as the law.

                                    So smart contracts are going to enforce rules for transactions which become "law" (the system will not break the "law" (code), no matter how fouled up the "law" may be"). Do these Blockchain enthusiasts not understand how buggy software is? :rolleyes: Oh, no worries, when this all lands our AI Overlords will settle it all. :laugh:

                                    B Offline
                                    B Offline
                                    BDieser
                                    wrote on last edited by
                                    #22

                                    It is scary to an extent. In fairness, human contracts and laws can be ambiguous and have loop holes too. Many people sign contracts without actually reading them. Some of them get burned badly because of that. I think smart contracts have their place, but the technology is just a little too new yet.

                                    1 Reply Last reply
                                    0
                                    • G GenJerDan

                                      raddevus wrote:

                                      The rules are written in code and checked by trustless participants of the network to prevent corruption or collusion.

                                      "Trustless" Yes, I know what it means. Still, it'll look scary to ordinary people.. ;P

                                      We won't sit down. We won't shut up. We won't go quietly away. YouTube, and My Mu[sic], Films and Windows Programs, etc. and FB

                                      R Offline
                                      R Offline
                                      raddevus
                                      wrote on last edited by
                                      #23

                                      GenJerDan wrote:

                                      Still, it'll look scary to ordinary people.

                                      I think so too. It seems like an odd term to try to convince people that it is safe.

                                      1 Reply Last reply
                                      0
                                      • B BabyYoda

                                        raddevus wrote:

                                        how buggy software is?

                                        True, but computers only do what they are told to do. They never, ever break the law. They can't. They can't think or decide. They simply execute code and do exactly what they are told to do. Even when there is a "bug" the computer did exactly what it was told to do.

                                        T Offline
                                        T Offline
                                        theDrd2k1
                                        wrote on last edited by
                                        #24

                                        That it what they said about #5!

                                        K B 2 Replies Last reply
                                        0
                                        • R raddevus

                                          BabyYoda wrote:

                                          Using your bank analogy, can you imagine a financial application that could not track down when and how money moved?

                                          :laugh: :laugh: Yeah, they'll just tell the customer, "well the computer decided and we know computers do things correctly". :laugh: :laugh:

                                          P Offline
                                          P Offline
                                          Pete Kelley
                                          wrote on last edited by
                                          #25

                                          "...just tell the customer, 'well the computer decided and we know computers do things correctly'. "

                                          This is exactly what they do today! If it came out of a computer or cash register display the teller/cashier/branchmanager is dumbfounded that anyone would question it! Thinking is so old-school.

                                          R 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups