Understanding Bitcoin

Companion Video: https://youtu.be/wnCmm2wXBIw Bitcoin is just another currency. Bitcoin refers to the entire currency system and BitCOINS are basic units (just like Dollar or Pound) Like other currencies, you can save/ spend Bitcoins, or exchange with other currencies. What is Digital currency? Digital currency can be easily stored and used on a computer. Dollar can be … Continue reading Understanding Bitcoin

Swift 2.0 for programmers Part#4

Structures Points to be noted Int, Bool, Double, String, Array, Dictionary are all structures, not class struct is identical to class. Change a class keyword to struct keyword and everything should work fine Differnece between struct and class Structures are value types (pass by value) unlike class Swift generates member wise intializer for struct. Member … Continue reading Swift 2.0 for programmers Part#4

Swift 2.0 for programmers Part#3

Class Inheritance Computer property Class level/Type level/Static members Lazy property Points to be noted lazy can not be constant variable, i.e can not started with let lazy property won't get initialized until the variable gets called Observers Access Modifies Points to be noted There are 3 access modifiers: private, internal, public private: Accessible from the … Continue reading Swift 2.0 for programmers Part#3

Swift 2.0 for programmers Part#2

Arrays Points to be noted Arrays are typed Arrays are mutable when created with var Arrays are immutable when crated with let Dictionary Optionals Tuple Enum Closures Points to be noted Closures group code into a self-contained, reusable unit Functions are a type of closure Closure doesn't have a name unlike functions In other languages … Continue reading Swift 2.0 for programmers Part#2

Swift 2.0 for programmers Part#1

Key points about Swift programming language: Swift is not a superset of C or C++. Whereas, Objective-C was a superset of C. Swift statements do not require semicolon. The compiler won't complain if you use one, but it is recommended not to. There is no main method/function in Swift. Code executes from top and works … Continue reading Swift 2.0 for programmers Part#1

Android: Speed up Gradle build process in Android Studio

These techniques will help you to make the Gradle build process faster. Technique #1 Open up gradle.properties file add the following line org.gradle.daemon=true Side effects Gradle daemon is a background process. If you use this, it might take (300-400) MB memory or more from your system. After adding the above line, try to Rebuild the … Continue reading Android: Speed up Gradle build process in Android Studio