Posts

Showing posts with the label #parity

Parity installation on Ubuntu Virtual Machine

Image
Im going to be installing Parity on a Virtual Machine. My current OS is a Windows 10 and use the following settings installing ubuntu should be by downloading the ISO and creating a new VM on oracle virtual machine and attaching the ISO file and running setup until you have installed Ubuntu. To Install Parity on your Ubuntu. Open the terminal window and type away: >sudo apt-get install rustc cargo >sudo apt-get install curl >bash <(curl https://get.parity.io -Lk) >sudo apt-get install snapd >sudo snap install parity-ui >sudo apt install npm >sudo snap install parity OPTIONAL:  (a just in case all the above fails and i dont know what those mean, you would want to do this) go to PARITY.IO download and install the parity debian build for ubuntu once installed. you can now see Parity and Parity UI in your applications Running Parity from the Applications Menu: click on parity first to open the terminal while keeping the terminal op...

Rust Basics for programming

Rust is not a particularly original language. Its design elements came from a wide range of sources.  ▸ Abstract Machine Model : C  ▸ Data types : C, SML, OCaml, Lisp, Limbo  ▸ Optional Bindings : Swift  ▸ Hygienic Macros : Scheme  ▸ Functional Programming : Haskell, OCaml, F#  ▸ Attributes : ECMA-335  ▸ Memory Model and Memory Management : C++, ML Kit, Cyclone  ▸ Type Classes : Haskell  ▸ Crate : Assembly in the ECMA-335 CLI model  ▸ Channels and Concurrency : Newsqueak, Alef, Limbo  ▸ Message passing and Thread failure : Erlang Rust files should have .rs file extension and if you’re using more than one word for the file name, use lower case and separate words with an underscore (snake_case) To Compile rustc file.rs Cargo is Rust’s build-in Package Manager. But mainly it uses for,  ▸ Create new project : cargo new  ▸ Update dependencies : cargo update  ▸ Build project : cargo build  ▸ ...