Posts

Add Callout Captions to Camtasia 2023

TL;DR: Use the script below to add captions from a .srt file to a Camtasia 2023 project as callouts so they can be edited and styled. The script is available on GitHub. The Camtasia project file is just a JSON file, so this parses the captions from the .srt file and adds them to the project file as callouts. Not intended to produce polished captions, but rather to get the captions into the project so they can be edited and styled - basically as a time saver for the initial captioning process.
Read more

The Cryptopals Challenges

TL;DR: I’m working through the Cryptopals Cryptography Challenges, starting with knowing nothing about cryptography. These are my (not so) random notes and takeaways from them. They generally seem to follow a pattern of introducing a concept in cryptography (repeating key XOR, ECB mode, CBC mode, stream ciphers, etc) and then having you break it in some way(s). I’m hoping to turn my notes on some of these in to more detailed posts at some point, but for now, this mostly ‘stream of thought’ that I’m updating as I work through them.
Read more

Random Notes About Python's Random Module

TL;DR: Use the functions in the random module for modeling, simulations, games, sampling, etc. but use os.urandom, secrets, or random.SystemRandom for cryptographic applications. I know very little about cryptography and security, these are just my notes about stuff I recently learned. It uses the Mersenne Twister algorithm, which is a pseudorandom number generator with a period of 2^19937-1. It is one of the most widely used PRNGs in the world, and suitable for many applications.
Read more

Error Checking out Large Repo on GitHub Actions Windows Runner

TL;DR: If you’re getting a weird looking Error: fatal: fetch-pack: invalid index-pack output error checking out a large repo on a GitHub Actions using a Windows Runner, try switching to use HTTPS instead of SSH for your clones (by providing a personal access token instead of an SSH key). Summary I was recently working on getting CI setup for a project that has a pretty large repo with a few submodules and uses LFS for some large binaries.
Read more

Some tips for working at a small company (mostly for devs)

Some tips for Working at a Smaller Company (mostly for devs) TL;DR - A small company can be a great place to learn, and it can be a lot easier to see the effects of the results of your work. At the same time, you likely won’t have access to the same structure, level of mentorship, clarity of career path / progression, or resources. In my experience you need to be the kind of person who (1) is happy with being more of a generalist, and (2) take responsibility for your own learning - eg fill in gaps were necessary, go deeper when needed, and lean on outside resources, friends, etc.
Read more

Highlight Text From Multiple User Selections in React

TL;DR - This is a simple React component that allows you to make multiple highlights in a text from user selections. Why? Working on a side project I wanted a way for users (and me as the current only user) to save words that they don’t know from a text. I found this great example blog that demonstrated one way to do this in React, but it didn’t allow for multiple highlights.
Read more

Writing in Target Language Everyday and Writescribir

TL;DR: I think that writing in your target language everyday is a great way to improve your writing skills! So much so that I’m working on an app to help with that. Check it out at writescribir.com. I think that writing in your target language everyday is a great way to improve and to keep your new language on your mind, especially when you don’t live in a country where your target language is spoken (or primarily spoken).
Read more

Opinion: 'Once They're Sold Stop Selling' promotes the wrong attitude

TL;DR: “Once they’re sold, stop selling”, in the way that it’s usually interpreted, is bad “classic sales advice” depending on the goals of your organization and how you view the role of a sales person. A big grain of salt: I’m not in sales, I’m an engineer, about 80% of my day to day is development and post sales support. We’ve all heard it before… some form of “when you’ve got the sale, shut up” or, “once they’re sold, stop selling”.
Read more

Modeling Sales Pipeline using Monte Carlo Simulation

TL;DR - Monte Carlo Simulation can be used to model your historical sales pipeline data to account for some of the randomness and uncertainty in the sales process. In this post, Monte Carlo Simulation is introduced and then applied to the same case introduced in a previous post. What is Monte Carlo Simulation? Monte Carlo Simulation is used to simulate a process using random sampling. It is a very general technique that can be used to model all kinds of processes in fields ranging from physics and chemistry, to economics and finance.
Read more

Notes: Workaround to use Railway with Git Submodules

TL;DR - Railway doesn’t support git submodules yet. They probably will at some point - here’s the feature request. In the meantime, here’s a quick workaround to get it working / deploying. Use Github Workflow You can deploy projects to railway.app directly from github, but they do not support git submodules yet. So your repo gets cloned as usual and railway attempts to build/deploy. However, the submodules are not included, and the build will fail.
Read more