Easton's blog

Block sponsored ads on Kijiji with a Chrome Extension

The amount of sponsored ads and injected ads on Kijiji.ca is staggering. When you search for an item and no results are found, Kijiji will "fake" results and add multiple pages....of nothing. Say you searched for a dining table, you might receive a few real results, while the rest of the pages are Wayfair.ca ads.

Python init system for Snacklinux

I've been thinking about this for a while. It's not really practical, but just for fun. Essentially rewriting the tools needed for a minimal Linux distro with just the kernel. I found this PyCon presentation(video on Youtube) about this very subject. Unfortunately there's no mention of it past 2006 but oh well. Another use for such a thing would like be similar to Docker but with the build process of SnackLinux.

Generating images for your podcast

I listen to Legends of the Old West podcast, it's a western-themed episodic podcast centered around outlaws.The narrator is great, the character actions are descriptive but I'm left wanting more.

With the surge of Stable Diffusion projects, I was inspired to make something AI generated art themed.

What I ended up with is transcribing the podcast audio into text, and then generating images based off of that. Take a look below for an example.

Tags: 

Merge big CSV files with Pandas and Python

I deal with large CSV at work, mostly database dumps. Google Sheets and Numbers/Excel just can't keep up with formula changes for 300k+ lines. What do we do? We use Python.

The use case here is replicating a the VLOOKUP function with a left join. We want to get the matching criteria from our referenced CSV file, but only the matching (otherwise that would be a full outer join).

Here's what our data looks like:

Fix Choppy/Skipping audio in Mac OS Maverick

Sometimes during a Facetime call or watching your favorite dumb crime show on some sketchy Russian streaming site, your audio sounds like it's farting through a tin can. Sometimes choppy and not very clear, whatever audio that's playing doesn't sound right.

One way to fix it is by killing Core Audio, which is responsible for processing audio.

 

sudo killall coreaudiod

 

Tags: 

Pages

Subscribe to RSS - Easton's blog