Books (By Me!)
Events (I Speak At!)
-
Recent Posts
Archives
Categories
Category Archives: Miscellaneous
How to Paste Source Code from Visual Studio into Word without Getting the White Background
Problem: If you copy source code from Visual Studio 2022 and paste it into a Word table, you get an ugly white background behind the text. Solution: There is absolutely no way to fix this directly because by default, when … Continue reading
Posted in Miscellaneous
Leave a comment
Python Abstract Base Class Example
When I program using Python, I almost never implement class inheritance. I decided to put together a demo just to refresh my memory. I did two demos. The first demo illustrates basic inheritance syntax where the goal is to encourage … Continue reading
Posted in Machine Learning, Miscellaneous
Leave a comment
The Song That Inspired “Friday on My Mind” (1966) by the Easybeats
I’m pretty sure I tracked down the previously unknown song that inspired the 1966 song “Friday on My Mind” by Australian rock band the Easybeats. The song is “Badinerie”, the final movement of Johann Sebastian Bach’s Orchestral Suite No. 2 … Continue reading
Posted in Miscellaneous
Leave a comment
Does Microsoft Have a Toxic Culture in 2025?
I worked at Microsoft from June 1997 to June 2025. For most of those years, I was proud to say that I worked at Microsoft. Many of my friends still work at Microsoft, but they are not happy with what … Continue reading
Posted in Miscellaneous
20 Comments
Tabletop Dice Baseball Simulation Using C#
Various versions of tabletop dice baseball have been around for well over 100 years. There are many variations, but in most you roll one or two dice which determine the result of a play, for example, “single”, or “ground out”, … Continue reading
Posted in Miscellaneous
Leave a comment
Improving the Horse Race Dice Game Using a Simulation Analysis
I played an interesting horse race dice game for the first time recently. The mathematics of the game intrigued me and so one evening while on a dreadfully long flight, I wrote a short simulation (using the Python language) to … Continue reading
Posted in Miscellaneous
Leave a comment
Analyzing the Horse Race Dice Game Using a Simulation
I played an interesting horse race dice game for the first time recently. The mathematics of the game intrigued me and so one evening while on a dreadfully long flight from Seattle to Boston, I wrote a short simulation (using … Continue reading
Posted in Miscellaneous
Leave a comment
Characteristic Polynomial of a Matrix from Scratch Using the Faddeev-Leverrier Algorithm (Python and C#)
I try to learn something new every day. On a recent morning before work, for no reason I can remember now, I figured I’d implement a function from scratch to compute the coefficients of the characteristic polynomial of a matrix. … Continue reading
Posted in Miscellaneous
Leave a comment
Designing a Payout Schedule for the Antique 10-Dice Popper Game
I came across an interesting antique gambling machine called a 10-dice popper. There are 10 ordinary six-sided dice in 10 glass tubes. When a lever is pressed, all 10 dice are popped up and rolled. I could find no information … Continue reading
Posted in Miscellaneous
Leave a comment
Why I Don’t Use Shapley Values from the SHAP Tool to Measure the Effect of Machine Learning Predictor Variables
A common technique to analyze the effect of machine learning predictor variables, but a technique that I don’t like, is to estimate Shapley values using the SHAP tool. Let me explain. Suppose you want to predict a person’s income (y) … Continue reading
Posted in Miscellaneous
1 Comment
.NET Test Automation Recipes
Software Testing
SciPy Programming Succinctly
Keras Succinctly
R Programming
Visual Studio Live
Microsoft MLADS Conference
DevIntersection Conference
Machine Learning Week
Ai4 Conference
G2E Conference
iSC West Conference
You must be logged in to post a comment.