Blog Archive

March, 2023

January, 2022

July, 2021

May, 2020

April, 2020

October, 2019

August, 2019

June, 2019

March, 2019

September, 2018

August, 2018

May, 2018

April, 2018

March, 2018

Testing In Production

There’s a good chance you have some kinds of tests for your code. You probably have some unit tests and you may have higher level integration tests. Maybe your integration tests are written in something like cucumber or a record/replay test automation tool. Now, the hard question, do you run these tests against production? Most folks I talk to don’t. They think of testing as something that happens in pre-production environments. If you have a QA/test team working on your project you may even think of testing as something that delays the push from development to production. As a former tester, I’d like to propose that you run at least some of your tests against production.

February, 2018

January, 2018

December, 2017

Metaprogramming and Currying

This year there have been many problems that require writing an interpreter for a simple language. My favorite of these has been day 16 which had you execute some dance moves that modify an array. One of the dance moves is ‘spin’ which involves rotating the array by a constant. Another is ‘exchange X Y’ where the elements in the array at X and Y change places. The moves themselves aren’t complicated. The parsing of the input file isn’t complicated either. The problem gets hard though when you are asked to execute the entire sequence of dance moves 999,999,999 times.

November, 2017

October, 2017

September, 2017

August, 2017

July, 2017

June, 2017

May, 2017

April, 2017

March, 2017

February, 2017

January, 2017

December, 2016

October, 2016

September, 2016

August, 2016

July, 2016

June, 2016

May, 2016

April, 2016

March, 2016

January, 2016

October, 2015

September, 2015

August, 2015

July, 2015

May, 2015

April, 2015

March, 2015

February, 2015

November, 2014

October, 2014

September, 2014

August, 2014

July, 2014

June, 2014

May, 2014

March, 2014

October, 2013

September, 2013

June, 2013

May, 2013

April, 2013

November, 2012

September, 2012

August, 2012

April, 2011

July, 2010