Friday, April 20, 2018

BlockChain


Reference -  https://intellipaat.com/blockchain-training-course-chennai/#course-content

Demo no Block chain -  https://www.youtube.com/watch?v=jKYhLpHJv8U

Introduction to Blockchain, the technology of Blockchain, network and mechanism, history of blockchain, the benefits of Blockchain, blocks and transactions, Peer to Peer systems, the block structure in blockchain, what is Dynamic shared ledger, digital signatures, how to build a blockchain solution, hashes as addresses, using a key as identity, ways of storing Bitcoin Keys, Trade and transact with Bitcoins, Global Blockchain Ecosystem Core, Layers Of A Blockchain, Data Layer, Network Layer, Consensus Layer.

Detailed study of Blockchain

Understanding what is bitcoin, the network of bitcoins, how to mine a bitcoin, the various bitcoin wallets, what are the alternative blockchains available, what is a smart contract, what is a public network and a private consortium, Ethereum Virtual Machine, the Merkle Tree, the Ethereum environment, DApps, Decentralized Autonomous Organizations (DAO), the problem of double-spend, how blockchain impacts cryptocurrencies, Mechanics Of Bitcoin, Transcriptions, Scripts, Blocks, Peer-to-peer network, Security Measures.

Blockchain and Bitcoin

Identify Bitcoin and its Era Understand Where & How to Get Bitcoins Identify Bitcoin Wallets Identify Jaxx Wallet Define Selling Bitcoins Compare Bitcoin Blockchain, Transaction & Transaction Script Describe Various Transaction Forms in Bitcoin, Define Scripts in Bitcoin, List Nodes in Bitcoin Network.

Bitcoin Mining

Understand Economics of Bitcoin Define Bitcoin Mining Describe Fabrication of a Block Header Define Mining Identify Successful Mining List Difficulties in Solo Mining Understand Mining: By pool of Miners, Mining and consensus, autonomous verification of mining, independent verification of mining, checklist for verification of mining, combining transactions into blocks, combination of verified transactions, combining transactions into blocks, portrayal of difficulty, condition of difficulty, creation of block header, main chain, orphan block, creation of new block, independent validation of new block, the race for bitcoin mining and hash race, difficulty rising with the hashing power of the miners, solo mining, difficulty of solo mining, benefits of pooled mining, types of mining pools.

Ethereum and working with Smart Contracts

Understand Ethereum, Define Smart Contracts, Identify Cryptocurrency used in Ethereum, Describe Transactions in Ethereum, Define Consensus Mechanism in Ethereum, List Development Technologies, Identify Ethereum Clients, Define Platform Functions, Understand Solidity, Describe Solidity Operators and Functions, setting up Metamask, how to interface with ethereum network, first smart contract, Ethereum accounts and how to receive ether, structuring a contract, declaring a function, deploying and redeploying of a contract, comparing Wei & Ether, what is a gas transaction, Remix testing.

Setting up a private Blockchain environment

Understand Creating Smart Contracts on Ethereum, Remix Browser Define MetaMask, Describe Installing Blockchain, Perform Go lang Installation, Explain Creating Blockchain – Genesis Block List Genesis.json File Parameters, Explain Making rules for our Blockchain, Perform Mining Blockchain, Contract Deployment for Blockchain Environment, Boilerplate Requirements, Project File Walkthrough, Syntax Highlighters, Compiling Solidity, The Compile Script, Testing Architecture, Running Windows, Installing Modules, Web3 Versioning, Web3 Providers, Refactor to Async/Await, Deployment with Web3, Web3 Version Fix, Verifying the Initial Message, Testing Message Updates, Deployed Contracts in Remix, Complete Example: Crowd Funding Smart Contract, Complete Example: Voting Ballot Smart Contract, Ethereum Application Architecture, Application Overview, Getting Started with Create-React-App, Multiple Web3 Instances, Web3 Setup.

Hyperledger

Define Hyperledger Blockchain, Understand Hyperledger Consensus Algorithm, Explain Hyperledger Iroha, Identify Hyperledger Components, Describe Setting up Channels, Policies, and Chaincodes List Hyperledger Explorer Components, Define Hyperledger Composer, Introduction to Hyperledger, What is Hyperledger?, Distributed Ledger Technology & its Challenges, Hyperledger & Distributed Ledger Technology
Setting up the Hyperledger Fabric Developer Environment Tools, Linux/Ubuntu & AWS: Setup of Fabric Development on Local & Cloud VM, Mac OS: Setup of Fabric Development Environment, Windows : Fabric development environment setup, How to use the Dev Tools, Development Environment Topology, Fabric Under the Hood (Concepts & Terminology), Ledger Implementation, Dev Environment Walkthrough: Peer & CouchDB setup, Ledger Implementation, Peers Nodes : Anchors and Endorsers, Anchor Peers & Endorsing Peers, Clients Node: Endorsement Policies, Client Peer & Endorsing Policies, Orderer Nodes, Membership Service Provider & Certification Authority, Dev Environment Walkthrough: Orderer and CA Server, Chaincode Development.

Hyperledger Composer

What is hyperledger composer, benefits of hyperledger composer, conceptual components and structure, example business network car auction market, conceptual components and structures, the model, ACL, script file, metadata, the archive, open development toolset, modeling business networks, testing business networks, hyperledger composer playground, developing application using Hyperledger composer.

Creating private Blockchain with Multichain

Define Multichain, Describe MultiChain Streams, Create & deploy private blockchain, Explain Connecting to a Blockchain, Identify Multichain Interactive Mode, List Native assets, Define Transaction Metadata, Explain Streams Explain Mining, Bitcoin to private blockchain, aim of multichain, hand-shake process, multi-chain use cases, multichain permission, multichain assets, multichain streams, basics of retrieving from streams, consensus model, multichain flexibility, deployment options, speed and scalability of multichain, downloading and installing multichain, initializing blockchain, connecting to blockchian, connecting from second server, permission for connection, multichain interactive mode, creating new address, connected peers, native assets, permission to create assets, new assets, verifying transactions, checking asset balance, resending assets, transaction metadata.

Blockchain Use Cases

Selected potential Use Cases in Blockchain, Proof of existence, Record keeping, Identity management, UPROOV – Mobile Trust Machine, Log operational maintenance data, Car leasing and Sales – DocuSign, Forecasting – Augur, Online music problem solution, Cloud storage, STORJ – Decentralized cloud storage, Retail – OpenBazaar, Ascribe – Secure your work, Ride sharing, supply chain management, Blockchain and IoT, Autonomous Decentralized Peer to Peer Telemetry, ADEPT, IBM Watson IoT, IOTA, Freight Transportation, Banking industry projects – Payments, KYC, Trading platform, Fraud reduction, Loan Management Process, Capital Market System, Government – Online Voting, Capital Markets, Real Estate, Devising Public Policy, Georgia – Blockchain Land Registry, Estonia – Identity management and e-voting, Delaware, USA – Smart contracts, Public Policy, Dubai – Digital passports.

Blockchain Projects

Project 1 : Creating a ‘to-do’ list with blockchain
Industry : General
Problem Statement :  How to successfully manage a project with blockchain based assigning of tasks to various team members
Topics : In this blockchain project you will work on creating a ‘to-do’ list. You will define the structure of each list, create the mapping of the notes, create function to add new to-do to the sender, add a function to mark a task as completed all using blockchain technology. Each note will have a date of creation and owner information stamped on it.
Highlights :
  • Deploying Ethereum smart contract
  • Implementing Solidity code
  • Creating a web3.js app to interact with contract.
Project 2 : Securing the Supply Chain System
Industry – Logistics
Problem Statement – To see there are no loopholes or fraud occurrence between the manufacturer and the end consumer.
Topics : This project gives you hands-on experience in Blockchain technology as deployed for supply chain management. You will work on recording transaction every time the product changes hands. This project includes learning how blockchain is implemented in recording, tracking, assigning, and linking the supply chain tasks. Finally learn how blockchain is all set to become a universal supply chain operating system.
Highlights :
  • Recording transaction with the hash key
  • Monitoring the process through distributed application
  • Creating new blocks & transmitting the process
Project 3 : Voting with Ethereum blockchain
Industry – Government
Problem Statement – To ensure there is no vote rigging in a democratic election and there is complete transparency.
Topics : This projects includes deploying the Ethereum blockchain for building a secure voting system to elect a democratic government. You will learn how the Ethereum blockchain ensures confidentiality. Some of the aspects of this project include learning how to secure and validate the voting process, understanding how blockchain overcomes vote rigging, guarantees immutability and more.
Highlights :
  • Building a decentralized blockchain network
  • Issuing digital tokens to all eligible voters
  • Recording the votes with Ethereum blockchain
  • Announcing the winner in a swift manner

Tuesday, April 10, 2018

Scala - Initial Steps






Scala is statically typed:

->  Statically typed language binds the type to a variable for its entire scope.

->  Dynamically typed languages bind the type to  the actual value referenced by a variable.

Mixed paradigm - OOP


Functional Programming :

->  Pure functional languages don't allow any mutable state, thereby avoiding the need for synchronization on shared access to mutable state.


Python is interepreted language  and  scala is compiled language

Scala and Java are very similar in most of cases.

Same byte code can use in Java,  similar to java can  compiles one run any where with jvm


Installation of Scala 

1)    click - https://www.scala-lang.org/

2)   First, make sure you have the Java 8 JDK installed.



3)  Download the Scala binaries for windows 


Verifying installation 







REPL  ( Read Evaluate Print Loop)

--> Whatever type here, will read by scala and will be printing here

eg:



scala> 'a'
res3: Char = a


scala>"bigdata"

res4: String = bigdata


scala>  :quit  (  to exit from scala prompt




About variables: examples 


immutable variable :  val  ( Once  we define we can't modify value)

mutable variable : var

Scala is a statically typed, dynamically inferred programming language.

example for statically typed :

        scala>val x= "a2zmyworld"
           x: String  = a2zmyworld

          scala x = "Devendra"
          <console>:12: error: reassignment to val
               x = "Devendra"

Error

Dynamically inferredd:

scala> var y = "a2zmyworld"
y: String = raghu


scala> y = 123
<console> :123:

When defined ( originally variable is string , and can't assign integer value)



String Manipulation examples :

scala> y.toLo
toLong toLowerCase

scala>y.toLowerCase
res9: String = devendra123

scala>y.toUpperCase
res10:  String = devendra123

scala>y.length
res11: Int = 10

scala> y = "Hello World"
y: String = Hello Worldd




Block Expression :

scala> var add = {var a=10; var b=20; a+b}
add: Int = 30

scala> var add = {var a = 10; var b= 20; a+b; a-b; b/a}
add: Int = 2


Scala documentation 

Very basic for beginers - very useful of this tour

https://docs.scala-lang.org/tour/tour-of-scala.html


A scala tutorial for Java Programmers

https://docs.scala-lang.org/tutorials/scala-for-java-programmers.html





About "Laziness " in Scala
----------------------------------

Goto paste mode



scala> :paste

//Entering paste mode ( ctrl-D to finish)

lazy val x = {println("foo");10}  ( Here  x will not be initialize) 

println("bar")
println(x)


only one deference with lazy x

in previious example

val x = {println("foo"); 10}

here  it  was output

bar
foo
10

Since  x was defined as lazy,  the output will differ as compared  in the screen.


One realtime scenario where laziness is much useful :

Let us  say  we  have a Spark cluster.

A =  load 'abc.json';

abc.json is a 1 TB file.  For example, when you have entered this command, and for some reason you went for break,  at this time, it will be loaded  entire  1 TB file.

In this scenario,  we can define  as

lazy  A = load 'abc.json';

count A 

Another scenario :

scala command to read a file :

scala> val file = scala.io.source.fromFile("devendra.txt").mkString

scala> lazy val file = scala.io.source.fromFile("devendra.txt").mkString


file: String = <lazy>



About Singleton Object in Scala :

Scala has the idea of "Singleton Object".
This is equivalane to static classes in Java.

object if_else{
def main(arg: Array[String]){
                  
                   var fruit =  "apple"
                   val  color = if(fruit == "apple") println("red")
                   else println("no color")
}


}


Example - 2

object while_loop{
  def main(arg: Array[String]){

   var i = 10
   while(i  > 0) {

       println ( "Hello: "+i)
           i = i -1
    }

}
}


Example for For loop :

object for_loop{

   def main(arg: Array[String]){

         for(i <- 1 to 3; j < - 1 to 3)
             println(i,j)
      }
}

Example for Array :


object Magic{
  def main(arg: Array[String]){
      var numguess = 0
     do {
            println("Enter number :")
           numguess =  readline.toInt
         }while(numguess ! = 10)

            println("You got the number!!!")

           }
}





JIRA




The Why of JIRA - Reasoning for the migration


The previous JIRA was created to align to with the stages of the project lifecycle. Items for remediation, solution requests, GPO approvals, project activities, documentation and quality reviews were scattered throughout many different JIRA projects making it extremely difficult to gauge the status and health of each deployment project.After a review of this problem a new JIRA was proposed which combines all aspects of a deployment  project into one JIRA location. There is an integrated workflow process which takes an issue from the remediation process all the way to the system integration process in preparation for go-live.From mid-September to late-October the deployment teams worked to identify and gather all JIRA issues related to their respective projects and uploaded this information into the blue JIRA instance. After the migration the teams went through the issues to sanitize the issues further and begin to assign those to the appropriate individuals or functional areas, i.e., Soulution Architects, GPOs, Development Team, etc.Direction was given to the GPOs and Solution Architects that they should use deployment projects only and review and approve the issues in those projects in order to improve the management of  the solution requests.The existing COEGTG, GTWINF, DEPLAPRM, DEPLAMX and DEPLABR green JIRA projects should not be used for any deployment project activities.




The Where of JIRA – URLs for team members
The When of JIRA – Timeline
The How of JIRA – Functionality differences
The What of JIRA - Using JIRA, searching, filtering, dashboards
The expectations from all Users, issue creation and timekeeping



Dashboards to provide “at a glance” information, standard or custom,Issue creation, assignment, approval and closure,Project reporting information provided in workbooks or charts. 
Time tracking, individual or by teams
Orderly process workflows which follow development lifecycle
Issue escalation and review

Search for issues across projects or filter and focus on specific details


Tuesday, April 3, 2018

Very good websites




http://www.hacker9.com/facebook-hacking-methods-in-2015.html

http://www.hacker9.com/find-ip-address-fake-facebook-profile-user.html

https://www.facebook.com/help/community/question/?id=10152959995623322


http://realhackerspoint.blogspot.com/2013/05/tracking-person-by-facebook-by-cell.html

http://www.hacker9.com/javascript-code-add-all-friends-facebook-group.html


http://madeintg.com/mvr-shasthry/

http://www.amulyam.in/



Popular deals websites

http://www.bradsdeals.com/

http://www.backcountry.com/

https://www.fatwallet.com/

http://www.woot.com/

http://dealnews.com/
http://www.quill.com/


http://www.everydayhealth.com/

www.lifehack.org                           http://www.lifehack.org/364291/7-ways-intermittent-fasting-can-transform-your-health
http://www.nateliason.com/5-day-water-fast-health-benefits/
http://www.leanhigh.com/weight-loss/challenge/water-fasting-weight-loss-challenge-flushing-body-fat-away

http://www.koumudi.net/gollapudi/index.html

http://www.koumudi.net/Monthly/2016/october/index.html


http://www.koumudi.net/gollapudi/

Hyderabad Trip - Best Places to visit

 Best Places to Visit  in Hyderabad 1.        1. Golconda Fort Maps Link :   https://www.google.com/maps/dir/Aparna+Serene+Park,+Masj...