Attaching to a python app deployed using Dokku with gdbby CodeLV | Published: August 07, 2020

Some notes on how to debug a python app deployed to a (development) server using dokku.

Search articles
How to get code coverage using zig and kcovby CodeLV | Published: May 15, 2020

Here's a short post on how to get code coverage with zig using codecov on travis CI.

Using zig and the STM32H7 to drive stepper motorsby CodeLV | Published: May 09, 2020

Finally got stepper motors working with the STM32H7 and DRV8825 using ziglang!

Find where C/C++ headers are in Linuxby CodeLV | Published: April 17, 2020

Here's a tip on how to find the correct path for setting the include directory.

Testing a Zig project with Travis-CIby CodeLV | Published: April 01, 2020

It's really easy to test a Zig project with travis-ci.

Fix Virtualbox Guru Meditation Errorby CodeLV | Published: March 31, 2020

I was recently getting "Guru Meditation" errors with Virtualbox errors when attempting to start a VM...

Conda interfering with system librariesby CodeLV | Published: January 29, 2020

Every now and then I get very strange errors saying libraries are not found when they are when attempting to build a project.

Attaching to STM32 with OpenOCD during sleepby CodeLV | Published: January 10, 2020

mbed-os uses sleep to save power. This is nice except when the debugger won't attach. So here's how to force it.

How to disable STLink Nucleo boards mounting as USB mass-storage devicesby CodeLV | Published: December 27, 2019

ST's STM32 Nucleo dev boards show up as a mass storage device on ubuntu by default. This is annoying and messes up flashing, so here's how to disable it. This should work for ST-LINK v1 - v3

Running elasticsearch 2.3.5 on OpenJDK 11by CodeLV | Published: October 23, 2019

Elasticsearch 2.3.5 wouldn't start on ubuntu because of an "Unrecognized VM option 'UseParNewGC'". Here's how I "fixed" it.

Migrating to a custom user model mid-project in Django 2.2by CodeLV | Published: October 23, 2019

I had to migrate user models to a custom model on Django 2.2 and all of the answers I found required wiping tables or resetting them and re-applying migrations.

Enaml-Native updated to NDK r20 with Python 2.7.16 and 3.7.4by CodeLV | Published: August 23, 2019

New builds of python for android using enaml-native were pushed out this week! They're compiled with the latest Android NDK r20 and work on Android Pie v9 (api 29). Using gradle 5.1 and gradle build tools 3.4.2!

Github's used by metricby CodeLV | Published: August 18, 2019

Github recently added a new "Used by" metric which attempts to find projects that use the given repo. I really find this metric useful (along with actual download stats of course). But it does raise some interesting questions...

Use KDevelop with OpenOCD and mbed-osby CodeLV | Published: July 01, 2019

Since it took quite a bit of searching here's a short post on using Open Chip Debugging with KDevelop and mbed-os on the STM32H7. I'm using the NUCLEO-H743ZI2 dev board which uses st-link v3.

Retrofitting an Engraver - Part 4 - Zeroingby CodeLV | Published: June 24, 2019

In order to create reproducable cuts / engravings the controller must be able to properly "zero" all axis' to a known state before starting a job.

Inkcut forum is liveby CodeLV | Published: April 26, 2019

We just launched a forum for Inkcut at The forum is dedicated to Inkcut and various vinyl cutter and plotter enthusiasts, go check it out!