Authentication Salt And Hash Mark Robson Authentication is verifying you are who you say you are. Authorisation is letting you do only what you are allowed to do. HTTP is stateless, that is how it was designed. However I (2 min read).
Functional Programming in Javascript Mark Robson I started work on an FP library in order to learn this paradigm. I called it funcker - 'func' in functional, plus getting your head around fp can be a bit of a (4 min read).
Circle.ci Mark Robson Circle.ci is the best CI tool I have seen so far. Super easy to get started. It is more similar to TravisCI then others (Jenkins, Drone.io). I signed up with my (2 min read).
Converting an IPFS Hash to 32 Bytes Mark Robson What is an IPFS hash anyway? Take for example, ‘hello world’. When we add it to IPFS it generates this hash: Qmf412jQZiuVUtdgnB36FXFX7xg5V6KEbSJ4dpQuhkLyfD Breeeaak it down one time. [Qm] - two bytes Q is (1 min read).
Koa.js Basics Mark Robson I've recently started using Koa. I'm a big fan of Express but have heard good things about Koa so thought I would take a look at it. I've created an example api as (1 min read).
Solidity Function Overload Mark Robson 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 (1 min read).
Publishing an NPM Module on IPFS Mark Robson 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 (1 min read).
Creating and Deploying a React Native App to iOs and Android Mark Robson Starting consists of installing Create React Native App globally using yarn global add create-react-native-app. Install Watchman next. We will be developing with Expo.io too, advice from the React people. On your testing (2 min read).
Learning and Staying on Top Mark Robson 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 (2 min read).
Cryptography and Security Primer Mark Robson Definitions Cryptography From the Greek meaning 'hidden writing' Cipher A secret or disguised way of writing something Code A system of symbols or words used to represent other meanings. Sometimes used for the (4 min read).
Blockchains and Distributed Ledger Mark Robson 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 (2 min read).
React.js Mark Robson 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 (2 min read).
Functional Programming in Javascript Mark Robson 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 (3 min read).
Yarn git+ssh Package Installation, ssh and ~/.ssh/config Mark Robson I've been including some private repos in some work I've been doing recently and Yarn has been spitting its dummy out at packages that begin with 'git+ssh'. The fix locally was to (1 min read).
Logging to Graylog from Node using Bunyan Mark Robson 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 (1 min read).
YAML Mark Robson 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. (1 min read).
NPM Mark Robson npm is bundled with node. It is best to make sure you have the latest version. You can use an interactive package.json creator when creating a node module. Module versioning For more (1 min read).
D3 basics Mark Robson 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. (1 min read).
Validating Objects with Joi Mark Robson 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 (1 min read).
Angular 2 Mark Robson 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. (2 min read).
Node.js with NTLM Mark Robson I know, why? Well sometimes as an engineer you have to clean the toilet. NT - (Windows) New Technology LAN - Local Area Network NTLM - is Windows authentication protocol running on an (1 min read).
Javascript Interview Questions Mark Robson Nobody knows Javascript 100%. Nobody. I've met haughty people who pretend they do, but they don't. I also sometimes find interviews a little invalidating, like maaan you caught me out on a total (1 min read).
Make and Makefiles Mark Robson This is an awesome intro to make, so start there. Make is a utility to maintain groups of programs. Essentially, as programs got quite large, where there were lots of include files, complex (1 min read).
NPM and Node Modules Offline Mark Robson This is assuming we are using a *nix based OS. Scenario We have a secure system that has no outside world connection, nothing, nada, zilch. Getting code on/off is done using a (1 min read).