Base58 Unique IDs

Unique IDs TL;DR version - Use UUIDs, but make them save space. Generating Unique IDs Do you key your whole system by database generated IDs that are autoincrementing integers. As you probably know that means that your APIs and endpoints are ready targets for somebody who wants to test lots of differt IDs against them. After all customer ID # 1000 demonstrates there is probably customer # 1001 and 1002.

Read more

Share Comments

React Store and Reducers

React Store and Reducers Writing a react and redux appliction is a great experience, we all have seen the vision of great applications. However every time you sit down to work on your application there are times that the boilerplate is killing you. In most Redux applications you start seeing it very quickly, since there are great initial demos of “Todo” or other classic applications. The question is how to create great patterns that scale, rather than great demos that give a flavor.

Read more

Share Comments

Week 2 - VP Engineering at Payment Rails

Week 2 - VP Engineering at Payment Rails CircleCI and API layer testing Understanding the DB schema External developers JIRA Process This is the second in a series of blog posts / journal entries on my experiences as the new VPE at Payment Rails. What happened this week My original goal for this week as people and process, since last week was focused on getting a handle on code and release.

Read more

Share Comments

Week 1 - VP Engineering at Payment Rails

I’ve started a new gig as the VP Engineering at PaymentRails and a new city (Montreal). I’m going to try my best to give you a flavor of my time and the challenges faced in the real world. Background Payment Rails is working on backend payment processing, it’s a early stage startup which already has some traction and a great team of engineers who have made some great progress on the product.

Read more

Share Comments

OneSnow and SEO

I’ve been working on an react-native application which has been a very interesting and fun learning project. While there are always the challenges of getting a product built and ready, it’s been a very interesting learning process about app stores and releasing products. The app OneSnow is a tool to help Vail Resorts Instructors review their schedule, so it’s not an app that will take over the world. Google Play Store and SEO The biggest challenge that I’m having is that the google play store isn’t taking the product name as a searchable keyword.

Read more

Share Comments

Using OpenCV and Jupyter Docker

Working on getting some OCR work done in OpenCV and trying to wrap my head around how the library works and the functions it provides. Since I’m doing all of the work in Python realizes that while it’s possible to write a good Python program to visualize the steps it was getting bit repetitive. For example my ptyhon code had the following block to display a set of images (OpenCV images):

Read more

Share Comments

What is science fiction

Was listening to KQED and the program City Arts & Lectures, they had Bjarke Ingels talking about architecture. The program is always interesting and causes thinking and thought. One quote stood out to me as a fan of science fiction. There are times when it’s hard to explain to people why SF is interesting, but this is a great view. While this isn’t taken from the program directly, it matches what he said on the air.

Read more

Share Comments

Autoenv for Greatness

This is really just a short post saying I discovered a really handy MacOS/Linux tool I hadn’t seen before. Autoenv is a very handy tool for managing environments. Why would you need this? If you’ve ever done any quantity of Python or Go work you’re probably using virtualenvwrapper or gvm to manage all of the different environemnts that you have. The challenge is that you want to quickly switch from one to the other when you enter that project workspace.

Read more

Share Comments

React and GraphQL, plus GoLang

GraphQL DateTime Scalar Value Strings are not your friend when it comes to date time types. The problem is that with the naive definition you’ll get the wrong value. For starters the naive definition looks like this: // GraphQL // type Object { // updated_at String // } // // The Go structure definition struct { // …. UpdatedAt time.Time json:"updated_at" sql:"NOT NULL" } // GoLang GraphQL definition oType := graphql.

Read more

Share Comments

React and GraphQL, plus GoLang

This is some useful inisights I’ve gained, that are worth noting. The code examples are from a gist clone that I’m playing around with, it’s easier to have a “known” problem and target to experiment with software than trying to do both at the same time. React What’s clear is that with appropriate use of PropTypes, you really have a well structured “strict” environment for building components. It’s nice to see that when you pass the wrong parameter into a directive that it fails fast.

Read more

Share Comments