OpenVPN on AWS VPC with LDAP

Getting OpenVPN working on your AWS VPC I recently just fought my way through getting OpenVPN community edition running on our AWS VPC environment and wanted to share so that other can learn. There are a few key take aways and I’m just going to focus on the key elements. Past experience has shown that you don’t want to use 192.168.X.X or 10.0.X.X as your VPN networks. They are frequently used by home routers and having people configure into the VPN with that network conflict isn’t worth the effort.

Read more

Share Comments

Managing Git Docker secrets with SOPS

Managing Git/Docker secrets with SOPS The classic problem in cloud engineering is that you have a bunch of API keys, secrets and passwords you need to have available to your code but not available to others. The ideal solution looks like: You have your secrets in Git so you can merge them into config files They’re not availble to anybody who gets a copy of your repo Your machines can easily decrypt them You can edit them without a lot of work (e.

Read more

Share Comments

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