Events
Day 9 of the Blogging A-to-Z challenge brings up one of the key concepts in object-oriented design: the interface. In object-oriented design, rule #1 is "program to interfaces, not to implementation." In other words, when interacting with an object in your system, you should care about what behaviors and data you need to use, not what the object actually does with them. Going back to last week's room-and-window example: the original problem was that I want to close all the windows in the house with one...
For the first time in the institution's 229 years, a sitting U.S. Senator—from my own state, no less—has given birth: Sen. Tammy Duckworth (D-Ill.) gave birth Monday to a baby girl, the first time a sitting senator has delivered a child and one of just 10 female lawmakers to bear a child while serving in Congress. Duckworth, 50, and her husband, Bryan Bowlsbey, named their daughter Maile Pearl Bowlsbey after Bowlsbey’s great aunt. Pearl Bowlseby Johnson was an Army nurse during World War II. Duckworth...
It's the 99th day of 2018, and I'm looking out my office window at 25 mm of snow on the ground. It was -7°C on Saturday and -6°C last night. This isn't April; it's February. Come on, Chicago. The Cubs' home opener originally scheduled for today will be played tomorrow. This is the second time in my memory that the home opener got snowed out. I didn't have tickets to today's game, but I did have tickets to the game on 15 April 1994, which also got snowed out. (Cubs official photo.) Because it's Chicago....
The Blogging A-to-Z challenge enters its second week with a note about you, the human. Last week I discussed several topics that you probably thought were about computers. They weren't. They were about how you interact with computers. Computers don't need programming languages. This is a perfectly runnable program for the 6502 microprocessor: 0600: a9 01 8d 00 02 a9 05 8d 01 02 a9 08 8d 02 02 The human-readable version looks like this: $0600 a9 01 LDA #$01 $0602 8d 00 02 STA $0200 $0605 a9 05 LDA #$05...
Yesterday Parker got fitted for a new E-collar after I discovered that his long nose and long tongue were just long enough to lick his sutures. Fortunately the incision doesn't seem irritated or infected, probably owing to the massive doses of antibiotics we've got him on. As for the primary injury, that seems to have healed remarkably well in the few days since his surgery. He's putting more weight on the leg, and has less trouble standing up. He still seems a little shaky in some postures...
For day 7 of the Blogging A-to-Z challenge, I'm going totally generic. A generic in C# allows your code to "defer the specification of one or more types until the class or method is declared and instantiated by client code." In other words, you can declare a class that takes a type to be named later. Imagine you have a program that represents a house. Your house has rooms, and the rooms have windows, doors, and in some cases, fireplaces. They also have furniture. And sometimes headless corpses. (Don't...
Parker is both feeling a lot better and a lot worse. In the "better" column we have his incision looking great, him putting more weight on the repaired leg, and him figuring out how to navigate with the Cone of Shame. In the "worse" column we have listlessness, sleep disruption, and depression from the drugs, the lack of exercise, and the Cone of Shame. His surgeon followed up with me yesterday and said this is perfectly normal. I'm still watching him closely, but I'm happy how things are going. He gets...
We're up to day 6 of Blogging A-to-Z challenge, FFS. The last few days I've written about the two main object-oriented languages that come with Visual Studio and .NET: C# and VB.NET. Today I want to diverge just a little into Microsoft's functional language, F#. At first glance, F# looks a lot like C#. It is, in fact, a flavor of C#; and as it runs on the .NET CLR, it uses .NET constructs. But as Microsoft says, "F# is a programming language that provides support for functional programming in addition...
No, not the Dunning of Kruger fame; Dunning, the community area on the far northwest side of Chicago. Workers building a new school in the neighborhood discovered that not only was it the former site of a poor house, but also that 38,000 people may be buried there: “There can be and there have been bodies found all over the place,” said Barry Fleig, a genealogist and cemetery researcher who began investigating the site in 1989. “It’s a spooky, scary place.” Workers have until April 27 to excavate and...
Welcome to day 5 of the Blogging A-to-Z challenge. In object-oriented design, we talk about a number of basic concepts that make code easier for humans to read and maintain. Encapsulation is fundamental, by hiding the internal data of a class so that only the class can use it. To access data within the class, you can't just reach in and grab it; you need to use the public properties and methods of the class. Here's a stupid class: #region Copyright ©2018 Inner Drive Technology using System; using...
Copyright ©2026 Inner Drive Technology. Donate!