Solidity does not support optional parameters, but what it does support is method overrides. Just like in Java you can declare a function multiple times as long as the arity and/or types are different.…

I recently published a npm module of mine called wordify on the IPFS network. First things first, follow the getting started guide. Then run the daemon with ipfs daemon. For ease, we will install stay-cli…

What did you do that for? So what is your purpose for learning? What do you want to get out of it? This could be broken down to each study session you have - you…

Definitions Cryptography From the Greek meaning 'hidden writing' Code A system of symbols or words used to represent other meanings. Sometimes used for the purposes of secrecy Encryption Turning something communicable information into gibberish. Comes…

This is the first of many brain dumps of Crypto technologies. Definitions Ledger A book of financial accounts Distributed Shared amongst a number of recipients Cryptography The art of writing or solving secret codes Immutable…

In the beginning I was using functions that interacted with the DOM - time consuming and messy. Then we had libraries like jQuery, MooTools, Yahoo etc, equally messy. Then we had MV* such as Backbone,…

This is my little foray into the world of functional programming. I mean, I was sold when Curry was mentioned. See the source code. Functional programming is one of the original paradigms of computing. Then…

The source code for this is on Github. Also read the Graylog docker installation docs first. Graylog has dependencies on Mongo and Elasticsearch which I didn't know. Elasticsearch is cool. Build the node image with:…

YAML ain't markup language. But it is. YAML is a 'data serialisation standard', or basically a way to convert your data into a text format that can be converted back while maintaining integrity. It's technically…

It's called Docker for a reason. Imagine all the worlds goods being transported from country to country as-is. What a nightmare. Instead lets create a standard container, then we can put anything we want inside,…

We did a hackathon at work and wanted to do some geographical data visualisation so D3 is the first choice. I mean, that is the name of it D * 3 = Data Driven Documents. I've had…

I was working on a contract recently where there was a lot of JSON objects passed around from api to api. We investigated lots of validation methods for this type of thing. Simple key value…

Angular 2 is written in TypeScript, which is a superset of ES6. This means ES6 will work in TypeScript, but TypeScript has a lot of extra cool features such as types and annotations. Annotations from…