Home
Galen's Blog
Cancel

Basic Example of Using Sockets to Communicate and Process Data in Python

Introduction In the world of network programming, establishing communication between different scripts or applications is a common necessity. One powerful method to achieve this is through the use ...

What would happen if the infinity stones were in contact with two characters with opposite goals?

I asked this question on a stack exchange site, but I deleted it since it was poorly received. I think it is a fun, if not frivilous, question. Feel free to leave comments below my post here on my ...

Developing Everything Tools

I have been thinking about development software archicture and reading from Architecture Patterns with Python and thinking about what goes wrong with programming larger programs and what to do abou...

A Discrete Event Simulation Generalization of Snakes and Ladders Using Ciw

Background Ciw can be used to bring discrete event simulation to games. In this post I considered a Ciw-ified version of Snakes and Ladders. There are aspects that we can faithfully and naturally ...

Five Years Long And The Love Is Gone (Guitar)

I asked ChatGPT to write guitar chords for the song it developed for me. I have yet to hear what this actually would sound like. Maybe at some point I’ll get some software to generate the tune. He...

Five Years Long And The Love Is Gone

(Verse 1) On a summer’s eve, on my birthday night, I met a love that shimmered so bright. Her smile was a beacon in the dark, But little did I know, she’d leave her mark. (Chorus) Oh, love that’s ...

A Permutative Generalization of the Cross Product Is Just the Cross Product

Introduction The goal of this post is to present a minimal description of a generalization of the cross product between two vectors. The cross product for vectors $\vec a, \vec b \in \mathbb{R}^3...

WTF Moment Reading Chapter 2 of Learning Python by Mark Lutz

I have moments that I find amusing and frustrating when reading technical books. This post briefly shares one. In Learning Python by Mark Lutz I read a section which both failed to even attempt to...

Applications of Samuelson's Inequality

Samuelson’s inequality allows us to put bounds on the values in collection of data points that we do not have. Suppose we are only given the sample mean $\bar x$, sample standard deviation $s$, an...

Parallel Execution of a DAG on Functions in Topological Order

My goal in this post is just to show a little trick to computing a collection of functions in a way that satisfies some partial order. It is often the case that a collection of functions of method...