Exploring the PDP8

I recently got pulled into a rabbit hole when I read an article about the PiDP8i project. I didn't have the money to get the real thing so this post will chronicle my experiences setting up a similar experience using the blinkenbone project instead.

Read More

Mocking django class based views

While going through Appendix C I quickly ran into trouble with the mocky Unit test for the new list view when I converted it to a class based view. the following is a description of how I made it work.

Read More

making sure you see all your failed tests in Jenkins

Jenkins runs it's build shell scripts with /bin/sh -xe which means any command that runs tests that has failing tests will abort the entire build and you likely won't see the JUnit reports for your entire test suite.

I've come up with some simple shell functions that will allow all of our test commands to run and then still allow the build to still fail like it's supposed to when we are ready for it.

Read More

Add unsupported resolution to old monitors in KDE

I recently grabbed an old VGA flatscreen monitor (HP 2011x) third hand to use as a second display.

Right out of the gate I had a problem: Under Ubuntu 16.04LTS KDE would not see it as anything other than a 1024x768 monitor Even though it supports 1600x900. After some playing around I think I have a way to manage things that makes sense for me under KDE.

You can …

Read More

Jenkins and github integration for the testinggoat book

This article describes my Jenkins setup for going through the book Test-Driven Development with Python

We will discuss the following steps:

  • Initial linode setup (Ubuntu 16.04LTS)
  • securing your linode
  • setting up jenkins
  • Nginx reverse proxy for jenkins with free SSL using let's encrypt
  • github integration with protected branches based on our tests
  • better tracking and presentation of our test runs via xUnit (as per John Fitzpatrick's suggestion on the Chapter 24 page of the book)

Read More