Notes: Django w/ PostGIS on GCP Cloud Run and Github Actions

TL;DR: this a short post about the configuration steps I took to get django running with the GDAL extension and postgreSQL/postGIS backend. These notes are what it took to get it deployed on GCP Cloud Run, and to use Github Actions to run automated tests on push or pull request. Pretty straight forward, but I had to iterate a few times to get it right so hopefully this helps someone else.
Read more

Where We Went: Mallorca

Where We Went: Mallorca These are places visited over two short trips, one in September of 2022 and one in April/May of 2023. If I go again, I’ll update this list! TL;DR Mallorca is great! My favorite place is Sineu because it’s small and quiet but still has a couple restaurants, bars, a brewery, wineshop and beautiful old town. My favorite hike was the Deia loop and stopping at Cala Deia for beach time.
Read more

Modeling a Sales Pipeline as a Markov Chain

TL;DR - Using a Markov Chain to model your historical sales pipeline data can help you understand the probability of eventually closing a deal based on (1) the stage the opportunity is currently in and (2) your historical data. This lets you estimate the future value of your current pipeline based on your own past data. What is a Markov Chain? It is a mathematical model used to describe how probabilistic systems or processes evolve over time.
Read more

ChE 513 Course Materials - ChE Thermodynamics (Graduate Level)

In the Fall of 2017, while finishing my PhD I taught ChE thermodynamics to a class of graduate and advanced undergraduate students at the University of Rhode Island. I recently discovered some of my old course materials and decided to post them publically. It was a project based class, so after the first few lectures, most of the class meetings were spent working on problems and projects. Either way, I hope they are useful to someone!
Read more

How to Download an Image from a Google Doc

TL;DR: Either “File –> Download” the Google Doc as a web page, or open developer tools and watch for the browser to request the image from Google’s file servers. The deets Here are two simple ways to get an image out of a Google Doc, at least until Google (maybe inevitably?) adds a “right click-> save image as” feature. The first way is pretty straightforward, download the Google Doc containing the image files you would like to extract as a web page (File → Download → Web page (.
Read more