Category Archives: Miscellaneous

Combining Two Mathematical Permutations

I was walking my dogs one evening when I thought of a problem: how to combine two mathematical permutations. Suppose: perm0 = [2 8 4 9 1 6 7 3 0 5] perm1 = [3 5 1 2 9 8 … Continue reading

Posted in Miscellaneous | Leave a comment

Machine Learning and Economics Alpha Generation Platform

I get cold-call email messages from job recruiters every couple of weeks or so. I usually try to be polite and answer that I’m satisfied with my current position working in the Research department of a very large tech company. … Continue reading

Posted in Miscellaneous | Leave a comment

A Quick Look at the .NET MAUI (Multi-Platform User Interface) Library

I was updating my Microsoft Visual Studio program and decided to take a look at using the .NET MAUI template. Suppose you want to create an application that runs on a Windows desktop machine, and a Mac machine and an … Continue reading

Posted in Miscellaneous | Leave a comment

Nob’s Number Puzzle

I ran across a nice mathematical puzzle recently. It’s called “Nob’s Number Puzzle”. Here it is: The answer is given at the bottom of this post. The puzzle is clever but not some sort of crazy thing: you should be … Continue reading

Posted in Miscellaneous | Leave a comment

The LogBeta and LogGamma Functions Using C# in Visual Studio Magazine

I wrote an article titled “The LogBeta and LogGamma Functions Using C#” in the August 2022 edition of Microsoft Visual Studio Magazine. See https://visualstudiomagazine.com/articles/2022/08/02/logbeta-loggamma-functions-csharp.aspx. The article presents C# implementations of three of the most important classical statistics functions: the log-beta … Continue reading

Posted in Miscellaneous | Leave a comment

The New Windows 11 Terminal Application – I Don’t Get It

A few days ago, I woke up in the morning and turned on my primary work laptop. It is a Microsoft Surface Book (an awesome machine). The night before, there was a Windows Update (cue sound of impending doom). I … Continue reading

Posted in Miscellaneous | 2 Comments

Lightweight Mathematical Combinations Using C# in Visual Studio Magazine

I wrote an article titled “Lightweight Mathematical Combinations Using C#” in the July 2022 edition of the Microsoft Visual Studio Magazine. See https://visualstudiomagazine.com/articles/2022/07/20/math-combinations-using-csharp.aspx. A zero-based mathematical (n, k) combination is a subset of k integers from 0 to n-1. For … Continue reading

Posted in Miscellaneous | Leave a comment

Compiling and Running a C Language Program on MacOS

When I’m working on a Linux machine, my C language compiler of choice is gcc. However, on a MacOS machine, the clang compiler is installed by default. I hadn’t used clang for a long time so I thought I’d do … Continue reading

Posted in Miscellaneous | Leave a comment

Constant Time Generation of Derangements

I stumbled across an interesting research paper titled “Constant Time Generation of Derangements” (2004) by J. Korsch and P. LaFollette. The paper presents an algorithm to generate all mathematical derangements of order n. A derangement is a mathematical permutation where … Continue reading

Posted in Miscellaneous | Leave a comment

Lightweight Mathematical Permutations Using C# in Visual Studio Magazine

I wrote an article titled “Lightweight Mathematical Permutations Using C#” in the July 2022 issue of Microsoft Visual Studio Magazine. See https://visualstudiomagazine.com/articles/2022/07/05/lightweight-permutations-using-csharp.aspx. A zero-based mathematical permutation of order n is a rearrangement of the integers 0 through n-1. For example, … Continue reading

Posted in Miscellaneous | Leave a comment