Doing some code clean-up on Battleships this morning, I was reminded of a detail of C# logic precedence that I’ve used to my benefit elsewhere (including within the program), but which caused a brief hiccup in one instance. Specifically, while the logical and and or operators are transitive, that’s not strictly true of && and…
Category: Closed Blogs
Programmatically adding XAML elements in C#
I had originally hard-coded the grid in my Battleships program. This resulted in very repetitive code, since there were 100 cells that contained the same basic information, but I didn’t want to get too bogged down in UI programming matters until I was satisfied with the program overall. Since I was happy with the Battleships…
Including external files in a C# ClickOnce deployment
The first version of my Battleships program is done. I’ll be releasing it into the wild today or tomorrow. One hurdle I stumbled over was on how to include XML files as external files in the ClickOnce deployment. My normally strong GoogleFu is weak on matters of C#; I’m not sure if that’s due to…
Battleships in C#
My current C# project is to create a Battleships program that would allow easy input of grids and on-screen solving. I find myself strongly preferring online solving of this sort of puzzle to doing it on paper. Conceptis has an online solver, but I wanted to also be able to solve the puzzles in Games…
Rubik’s 5x5x5 (Professor) and TouchCube
I’m old enough to have been around during the first release of the Rubik’s Cube, back in the 1970s. I was something of an aficionado at the time, owning a Rubik’s Cube, the 4x4x4 Rubik’s Revenge, and a drawerful of other Rubik inventions and inspirations. Eventually, I moved on to other interests, and the drawer…
Being this man (introduction)
This was the only post of a blog called “Being This Man” There are many articles on how to be a man, what a “real” man is like, and similar topics. These articles are generally reductionist and sexist. I chose the title of this blog because, while I intend on discussing issues of manhood in…