Category

Computers & Programming

Computers & Programming

Set Visual Studio Caption

I am providing this code in C# for a Visual Studio 2010 add-in to set the caption of the Visual Studio window based on information in the solution. All of the other code samples I found, all two of them, are only partially usable. My VS Solution always…

Continue reading
Computers & Programming

Miscellaneous Programming Projects

I’ve been thinking about various computer programing projects for years. One is a railroading game that focuses on realistic track building and realistic operations or a small (shortline) railroad. Another is an evolution simulation. There is also the mechanism simulator that I have working fairly well. The thing…

Continue reading
Computers & Programming

Maintaining Old Code

Maintaining old code is what I do at work most of the time. If there is a new feature to be added to the product, there will still be a large amount of existing code that needs to be waded through to get to the places where the…

Continue reading
Computers & Programming

GDI, GDI+, and GLUT

I’ve been messing around with that evolution simulation code. There’s a few things in the code that I don’t yet understand but that’s common when trying to understand the inner workings of code you didn’t write. For instance, some values related to behavior rules are initialized using random…

Continue reading
Computers & Programming

Evolution Simulation

Thanks to Andrej Karpathy, I have code that simulates evolution. He wrote code that has a population of herbivores and carnivores and they have inputs and behaviors that are complex and can evolve. The physical attributes cannot evolve and each creature is fixed with sign and hearing and…

Continue reading