Monthly Archives: December 2022

One piece at a time

Like the old Johnny Cash song. My attempts to work through Petzold are hitting snags, because there have been changes to Windows since he wrote the book, and the programs as written don’t work anymore. I don’t have an instructor or a decent guide to the complexities. I have finished the first eight chapters, about a quarter of the way through the book, which I still think is respectable progress, although I had hoped for more.

Sapience Knowledge Explorer

I’ve been concentrating on getting my computer programming moving, still concentrating on the early chapters of Windows Programming. I’ve been spreading my efforts out over the first few chapters, since typing programs in is a boring activity and I like to shift my focus to create a little variety. I’m almost through the chapter on text input, well into the chapter on the mouse, and almost through the chapter on the timer. There’s a bug in the program that’s supposed to draw dots of an analog clock face, and I can’t quite figure it out. Also, I’ve found that Visual Studio 2015 is finicky and unforgiving about creating resources (*.rc files, for those in the know), and has different behavior than the earlier version Petzold used in his book, so the description in the book doesn’t quite match. Once I’ve reached the point where my programs can actually can read the keyboard, I will be in a position to begin integrating this with other textbooks.

I’ve also begun working on a Windows Version of a program I’ve been puttering about with for some time; the Sapience Knowledge Explorer. I had begun an old style Command line version and made considerable progress working through a couple of textbooks for examples when I set this aside. My intention is that by working through a Windows version, I can make it more commercial, or at least more useful.

So far it’s quite embryonic. It doesn’t do much besides ask if it’s OK to continue and displays a greeting message if not. But–it’s my own work, not copied or derived.

Rip Van Winkle

I’ve been away from attempts to program Windows for some 20 years, and it has almost, but not quite, entirely moved beyond me. I’ve mostly been copying in the sample programs, trying to get a handle on the most basic concepts of input and output. As before, I note that things that were easy in the console approach are much harder in Windows, and thing that were hard in the console approach are much easier in Windows. So far, I’m still in the “Basics” part of the book, but I’ve gotten sample programs in the first 10 chapters (after some debugging due to typos) to compile and run. I can’t say that I entirely understand what I’m doing, and I’m not yet doing much original programming, but I am making progress.

Sort of live

I’m back to reviewing history, at present concentrating on the late medieval period. Since I have picked up programming again after a long hiatus, I’m working with “Windows Programming”, 5th edition, by Petzold. This is 20 years old and I’m rather surprised there hasn’t been a new edition, focused on 64-bit windows, although (looking at Google Play) there are still a lot of 32-bit programs on the market. The basics haven’t changed. I’m working with Visual Studio 2015 (can’t afford to upgrade yet), although the appearance of programs has. There are a couple of other Computer science texts that I also want to be working with, and I’m trying to integrate my computer knowledge. For now, I’m working on the basic input/output functions. Besides putting text in a window, the next chapter involves graphics.

Still playing Elite: Dangerous.

Early Medieval History #1

During this period, Latin peoples including Italian, French, and Hispanic peoples, and Germanic peoples began to surpass the Balkan peoples. Anglic peoples, Northeast European peoples, and Nordic peoples also began to appear in recorded history.

Persian peoples remained prominent in this period. The Sassanian Persian empire was succeeded by the Umayyad Caliphate and then the Abbasid Caliphate of Islam. Egypt was under Roman (in this period known as Byzantine) rule. Anatolia was mostly under Byzantine rule, but Turks began to immigrate. The lands of Mesopotamian peoples were contested by the Byzantine and Sassanian empires, until they were conquered by the Umayyad and Abbasid caliphates.

The Sui, Tang, and Song dynasties ruled China. In South Asia, the Gupta empire ended and various successor states arose. Islam also entered what is now Pakistan.

In Northern East Africa, the Christian kingdoms of Alosia, Makura, and Nobatia in what is now Sudan resisted Islamic conquest. The kingdom of Axum was present in Ethiopia,. Bantu-speaking peoples continued to move into South Africa.

I still do not yet have many details of American Indian peoples.