Liquibase Introduction

Liquibase Banner

Introduction

We have talked about what it takes in general to use a database migration framework to manage and apply your database changes. In this post I will talk about one particular framework: Liquibase. Please note that this is an introduction to Liquibase in general. If you want a working example please see this post instead.
Continue reading

Managing Enterprise Database Changes

And hope it isnt that guy who always executes scripts as the wrong user...

Introduction

Managing sql scripts for a small database is simple enough, but what about when you have a large enterprise scale database? How do you manage and apply sql scripts for a database that is built up over many years, developed in parallel by many developers, and made up of hundreds of tables, views and store procedures? Database Migration frameworks such as Liquibase and Flyway have arisen in the past few years as an attempt to solve this problem.
Continue reading

JavaCV: Setup and Troubleshooting

javacv

Introduction

I decided to use JavaCV, for a project that needs to do some (hopefully light) image recognition. OpenCV is a widely used library written in C/C++ to do real-time “computer-vision” and JavaCV is a nice wrapper around it to give Java developers access to OpenCV’s power. So far the set up has been a nightmare, and I would like to go over what I did to get it working on my machine including some of the problems I ran in to.

Continue reading

Python: Web Scraping with lxml

Python Web Scraping

Introduction

I recently needed to solve a problem dealing with a list of ISO2 Coded countries that have provinces instead of states. Turns out I could’nt find a nice list of these codes, so I decided to make it myself and in the process learn a little bit about web scraping with Python.

Continue reading

Countries (ISO2 Codes) with Provinces

Many web forms involve addresses. Registering an account or entering shipping information. When dealing with international addresses you might run into problems with countries that have provinces instead of states, or zip codes or telephone numbers having different rules. I ran into the former at work recently.

Continue reading