Programmer, Occasional Cyclist

Deploying Developer Tools to Custom Subdomain names with HELM on Digital Ocean

Introduction I know, the title is a mouthful. This article serves a guide to deploy common open source developer tools to a server you own (Digital Ocean in this case). The choice on the individual technologies was however made purely on the basis that all this should be reproducible. If it is reproducible, it means to deploy this to a different cloud provider, you would require very little effort. This part is mainly played by HELM, since it allows us to package deployments as configuration (some would say as code). [Read More]

Generating Go Code with Go Generate

Introduction Let's get straight to it. You have a json schema/structure and you want to generate the struct for it. There are tools for this, such as JSON to Go, but here's a simple implementation, as part of the introduction We'll create 4 files. post.json - to hold the json schema of the code we are trying to generate post.tpl - to hold the template with which the code will be generated from gen. [Read More]
golang  go 

A Look into Remix IDE

We've looked at some common things in the Solidity Language Specification in the previous article. We, however, have did not run any code, so we have no idea whether any of the code we've written works. We could install the developer tools for writing Solidity into our workstations, but that would require a lot of time initially. When you want to quickly start writing and testing code, the easiest way to do it is using an online IDE. [Read More]

Introduction to Solidity

A Blockchain is a distributed data store with append only operations, secured cryptographically. While this is just one of the definitions, you could think of it as a database, hosted in multiple nodes, which allows writing of data and viewing or querying, but never modifications. This type of structure is often referred to as append-only. NOTE: A more detailed explanation for all the parts of a Blockchain can be found in the Solidity Documentation [Read More]

Moving to Hugo

This is the first post of this blog. Not much here, just moving from medium publications to hugo. Honestly, I just have like 3 posts there which are all before this intro. Let's see how this goes… I've also contributed a bit at A little something from one of my favorite speakers, Peter Bourgon on one of his talks Evolutionary Optimization with Go We're all presumably programmers because we like programming. [Read More]
hugo  scotch 

Tinkering with Philips Hue Lights

I’m a developer by day, and mostly curious the rest of the time. I recently got the Philips Hue Starter Kit 3rd Generation (See Review Here), got the Hue Disco app, and raved on my own before I was quickly bored. So I decided to see how else I could use the bulbs. Can I change the color on my own… 🤔 Turns out, there’s extensive APIs and SDKS for the Hue Lights. [Read More]

Quicker Angular Forms Validation

The community is moving away from calling Angular by version names, Angular 2, Angular 4 and the likes. It’s now just Angular, mainly because of the clear 6 months release cycles recently mentioned. So in light of this, I updated my Open Source Project, angular validators, to ng-validators. I was surprised that name was available, because there are a couple of validators out there, you can pick whichever you want. [Read More]

Dockerizing My Dev Workflow

I’ve always just read about docker, for almost a year now, and recently decided to move all my development workflow to docker. I’ll briefly write about how I did this for two of the recent projects I’ve been working on, a mean stack application, and a Laravel-Postgres application. I’m set up on a mac, and since docker is not natively supported on mac and Windows unless you have Virtual Box installed, I joined the docker beta program. [Read More]