Attempts to cut a solder paste stencil - Part 3by CodeLV | Published: May 20, 2021

I somewhat successfully cut a solder paste stencil containing a qfn-48 package with a rotary engraver!

Search articles
Attempts to cut a solder paste stencil - Part 2by CodeLV | Published: May 12, 2021

More attempts at cutting a solder paste stencil with a rotary engraver.

KDE Neon Offline updatesby CodeLV | Published: May 11, 2021

Today KDE Neon performed an "Offline update"... while I sat there unable to work for 10 minutes I reminisced about (one reason) why I hated windows so much and deleted it from every computer I own.

How to disable FLoC in Djangoby CodeLV | Published: April 30, 2021

Here's how to supposively "disable FLoC" in django using middleware.

Dahlgren 300z test cut of a solder paste stencilby CodeLV | Published: April 12, 2021

I decided to see how good or bad the Dahlgren System 300z is at engraving by doing a test cut for a solder paste stencil.

Configuring nginx to gzip static filesby CodeLV | Published: April 08, 2021

When using dokku the static files (css, js, etc..) are typically served by nginx but by default

How to prevent ssh client from timing outby CodeLV | Published: March 29, 2021

SSH drops idle connections after 30 seconds or something with the error client_loop: send disconnect: Broken pipe. Here's how to fix that...

Can an old laser mouse be used as an encoderby CodeLV | Published: February 07, 2021

High resolution encoders are expensive... old computer mice are dirt cheap.

Installing arm embedded toolchain on ubuntu 20.04by CodeLV | Published: January 22, 2021

Previously you could install and update the toolchain for arm cortex R and M cpu's using apt by just adding the ppa and doing a normal apt install, but that ended for whatever reason.

TemplateDoesNotExist with django form fieldby CodeLV | Published: December 16, 2020

Django ignores your template settings by default when rendering forms.

Linux kernel fails to updateby CodeLV | Published: November 18, 2020

Every once in a while a linux kernel update will fail to install with an error like update-initramfs: failed for /boot/initrd.img...

CNC Control from Arduino to Zigby CodeLV | Published: November 10, 2020

Originally my engraver used a Teensy 3.2 and Arudino but now it uses an Stm32 and Zig!

GE GSS22SGMD BS Refrigerator fixby CodeLV | Published: November 05, 2020

My dad got a fridge that didn't work... the compressor wasn't running.

Samsung 32 TV Power supply repairby CodeLV | Published: November 05, 2020

Short post on a 32" Samsung TV power supply fix.

Why doesn't GPIOG work on the STM32L5?by CodeLV | Published: October 29, 2020

The NUCELO-L552ZE-Q board wires it's LPUART1 pins GP7 and GP8 on PORTG to the debugger VCP...

Fixing backlash in Dahlgren System 300z engraver spindleby CodeLV | Published: October 26, 2020

The spindle in the engraver had about 1/8" of axial play. Here's a short post on the teardown and how it was fixed.

GDB Cannot access memory when debugging an STM32by CodeLV | Published: September 30, 2020

While attempting to implement SPI in zig on an STM32G4 I got the error "Cannot access memory at address 0x40013000".

V-Carving text with DeclaraCADby CodeLV | Published: August 23, 2020

My wife wanted me to make a sign on the engraver... so I got "v-carve" toolpaths working in DeclaraCAD.

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.

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.