Fixing A Broken Rocking Horse

My two-year-old son decapitated a rocking horse at our in-laws earlier this spring and rather than throw it out I decided to fix it while the stay-at-home order from Covid-19 was in effect.

So where to begin? For staters I thought it might be a good time to give the old chap a more handsome look. After doing a bit of digging on the internet for .svg files I found one that I liked. I smoothed out the mane using InkScape to make it easier to cut out on a bandsaw, and then proceeded to print out the new image and pasted it onto a piece of oak.

The bandsaw made quick work of the cutout, but left rather course edges that aren’t suitable for a kids toy, so I also added a 1/4 inch round-over using a trimming router.


A new hole was drilled into the head and the old handle was recycled. The project was finished off by affixing the newly constructed head to the rocker with a few screws and some wood glue!

new_head_mounted.jpeg

Implementing Euclidean Distance Matrix Calculations From Scratch In Python

Distance matrices are a really useful data structure that store pairwise information about how observations from a dataset relate to one another. In machine learning they are used for tasks like hierarchical clustering of phylogenic trees (looking at genetic ancestry) and in natural language processing (NLP) models for exploring the relationships between words (with word embeddings like Word2Vec, GloVe, fastText, etc.). Here, we will briefly go over how to implement a function in python that can be used to efficiently compute the pairwise distances for a set or sets of vectors.

Read more

Detecting Rectangles In Images Using Apple's Vision Framework

Apple’s Vision framework can be used to perform useful tasks such as face detection, object classification, and barcode scanning on still images or data captured from a camera. Here, we look at the fundamentals of using VNDetectRectanglesRequest and explore how adjustments to configuration parameters affect output.

Read more