Today’s stream didn’t deliver much in terms of new code, but I think it had a bit of value. Over the last 24 hours, my Amazon account was hijacked. I started the stream discussing what happened as well as the steps I am taking to remedy it. Then, I fixed an issue with Epic Build Music, and then did the tedious renaming of the Rundown project.
Today’s stream was different from previous ones, as I had my second guest and we worked together to look at some code and discuss a tricky algorithm problem. Microsoft MVP Iris Classon joined me and we discussed a very complex problem she is attempting to solve.
The problem we discussed and looked at surrounds the processing of various calculations. The following rules are defined for these calculations:
- A calculation depends on a parent calculation that it is defined with
- A calculation can trigger zero to many other calculations
- We need to minimize allocation of calculations, and the number of times a calculation runs
- The calculation as currently defined have recursion, and we want to allow the recursion to execute at most 3 times, before stopping the recursion and outputting a warning message
This hierarchy of calculations is easy to manage with a dozen calculations… but now they have thousands and scale is a problem. Watch the video above to see our discussion of this problem and see some of the pseudo-source code Iris wrote to test a potential solution.
I’m taking Tuesday off for the Christmas holiday, but will be back on Thursday. Saturday the 30th I will be an in-arena announcer for my daughter’s horse show event, so I will not have a stream that day. Join me again on Tuesday the 2nd for the next stream after that.
On yesterday’s live stream, I learned a LOT about coding with websockets and answered a question about building .NET libraries for .NET Standard and older versions of .NET Framework.