Even more musings

  • Being able to function with little sleep is an essential skill for an Army Officer.
  • You are never more aware of the style or quality of the pavement as when you are on Rollerblades.
  • It rarely saves time to go a longer route when trying to avoid traffic, but it makes you feel like you are making more progress since you keep moving.
  • It’s not that I wasn’t as big a geek as I thought I was, it is that fewer people knew it than I realized.
  • SQLWCHAR != wchar_t
  • The last exchange between Fezzik and Inigo (“Fezzik, you did something right for once.”  “I won’t let it go to my head.”  Should have been a rhyme.)
  • I’m way too aware of the chord changes when I listen to music.
  • Listen to Leo!
  • Hire smart people and then make them do menial tasks is the basis for too many companies.
  • Cygwin makes working on Windows merely distasteful.
  • Just because we elected a Black man President does not mean that racism is defeated in America.
  • You would have to go back before sliced bread to find an invention greater than the Thera Cane.
  • I here-by dub anger derived from problems while developing software “Code Rage”
  • Kind of Blue. The best Jazz starter drug I know.
  • Power putty is liquid, it just flows really slowly.
  • If you haven’t used your waffle iron to make grilled cheese sandwiches you are wasting its potential.
  • I have embraced my inner geek, since my outer geek is getting all of the attention and my inner geek was feeling neglected.
  • I swear I will learn how to type someday.
  • Looks like the answer wasn’t 42…it was 44.
  • When the build system takes too long, avoid the build system.
  • Puff the Magic Dragon still makes me tear up at the line “A Dragon lives forever, but not so little boys.”  If you have a kid, you’ll understand.
  • Few things are more fun to argue about than fascism in Starship Troopers.

Incompleteness

Godel, Escher, Bach is one of those books I had heard about forever.  I am not sure if I would have had the tenacity to complete it if I hadn’t already had a grounding in Computer Science.  Having had courses in Computer Theory made the book go from a treatise on computer science, to a narrative that tied together many ideas into a more cohesive whole.

Continue reading

National Security

For years, our distance from other countries provided us with security.  We were an Island Nation.  Once our manifest destiny was completed, there was no significant threat left in our hemisphere, and we were too far from the nations of the old world for them to threaten us.  Even the attack on Pearl Harbor was far away:  Hawaii was not a state, just an island protectorate in the middle of the Pacific.  Since WWII, we have grown more and more used to the concept of global threat.  We were in a staring contest with Russia, half a world away.  The threat of ballistic missiles carrying nuclear warheads made the end of the world seem plausible, but it was abstract.  Mutually Assured Destruction was the word of the day:  If they try to take us out, they will take themselves out, and they are not going to do that.  We fought proxy wars and ran tank maneuvers at NTC and in Germany.

Continue reading

Why I am excited about Obama

A friend of mine stated recently that, while she wouldn’t be pulling the lever for the McCain/Palin ticket, it was mainly due to Palin.  She wasn’t excited about Obama, and asked if I could say something to change that.  I’ve been ruminating about it all day, not because I didn’t have anything to say, but because I have so much, and I want to say it well.

Continue reading

Skeptic

In the book Glory Road, Robert Heinlein has his protagonist cut lose his adopted son who doesn’t understand that “the world doesn’t owe him a living.”  Dan Miessler recently published a joke whose punchline was basically that individual responsibility was the hallmark of the republican party.

Continue reading

Dependency Injection in C++

One goal of object oriented programming is to encapsulate functionality within a class.  If one class requires another in order to collaborate on a larger process, the programmer must deal with the wiring up of the two classes.  Much has been written about the correct way to do this in various object oriented languages.  The term “Inversion of Control” and the related concept of “Dependency Injection” have become part of the common language of software development, at least in the Java world, due to projects like Pico/Nano container, The Spring framework, and earlier efforts inside J2EE and ATG Dynamo.  These frameworks make use of the introspection mechanisms in Java to create instances of classes based on demand criteria.


Updated: links and using the code formatter. Changed Class from Single Letter to full names to be clearer and to not conflict with HTML tags.

Continue reading

Edjamacation

Massachusetts has one of the best public school systems in the country. It has been top in the country before, and was rated fourth last I checked. California, which has one of the largest economies in the world, is ranked in the bottom quintile.  I was lucky that my parents moved from California back to Massachusetts before I was born.  My wife and I made the same decision shortly after our son was born. Education, and public education are important to us.

Continue reading

More musings

Synagogue would be a hell of a lot more fun if more people heckled the Rabbi.

Ayn Rand seems to appeal to men in their mid twenties.

Martin Fowler is responsible for popularizing some of the most important ideas in software design.

There is an amazing power in large combinations of simple things. The universe is defined by a very small number of rules repeated a lot of times.

Even if we accept that there should be a categorical imperative, how can we determine which aspect of our action should be the generalizable part and which is the part that is adapted to our present situation?

Considering how much information is stored on me in computers, I still have to fill out my address an excessive number of times. Shouldn’t we be at the point that my address is be pre-filled in a web form?

High fiber cereal does not make a good dinner.

Wrestling and rock climbing a very complimentary sports. Both require a sense of balance in your body. Rock climbing develops hand grip strength that is a benefit to wrestling. Both require and develop a strong core.

Binary search is the primary tool of debugging anything.

The build-execute-change cycle is the key to productivity in software. Building high performance software usually kills you in the build step.

We wasted too much time on Drill and Ceremony at West Point. If Napoleon Bonaparte ever invades, the United States Corps of Cadets will be ready.

No drug can be more addictive than the sound of your own child’s laughter.

D & D

A slew of popular sites have posted homages to Gary Gygax, one of the original creators of Dungeons and Dragons.

Like many geek kids, I was in to D&. Note that we always referred to it this way, not by the full title. Aside from Dungeons and Dragons being to unwieldy to say, we didn’t need all those extra syllables. It was D&D and we knew what we meant.

Steve Graber, older brother to my friend Brian, got us introduced when we were in, I’m going to guess fourth grade. Steve had learned to play with a mythical friend of his that I never ended up meeting. He was a 12 year leading a group of us 9 year olds on our first adventure. We played in the shed house My. Graber built in the back yard. It had a large picnic table that we all could fit around. It was Our Place. Oh, sure, there were not “keep out” signs, but no-one would come in there.

I was already in to Science Fiction. My Dad had worked on the Apollo Project back before. He taught my Sister and me about gravity and how solar system objects revolve around each other. I was drawing space ships and playing Star Wars. But the D&D game fired my imagination with the added dimension of Fantasy.

I’ve always been a reader. I was way above grade level before I ran into D&D. So I can’t claim that the game got me reading. But it did direct me at history. The monsters of D&D lead me to mythology, first Greek, and then Norse. From King Arthur and the Knights of the Round Table I learned about weapons and castles, horses and armor. Other sources lead me to Greek Phalanxes and Roman Legions.

I won’t claim that D&D alone put me on the road to applying to West Point. But D&D certainly was encouraged the ideal of Chivalry. The numbers and data tracking appealed to the budding computer scientist in me. The books were great fuel for my reading furnace. The Paladin and Ranger characters, coupled with the physical training I got from Wrestling, made a pretty convincing ideal.

I came across an old Dungeon Masters (DM) Log I had. It recorded many of the adventures I lead when I was 10-14 years old. I always ended up DM, I guess since I was always arraigning games. While you get to play as a DM, you need to keep a part of you reserved, preventing you from fully immersing in the game. I enjoyed orchestrating the games. I think this, too, was a form of leadership training that helped bring me to applying to USMA.

One thing that has waned over the years has been my interest in the fighting aspect of it. It is harder and harder for me to enjoy a game that simulates killing, even if it is wretched, evil creatures. The profession of soldier makes you aware of killing, even if you never have to perform the act (I never did). The concepts of Good and Evil as Absolutes are too easily thrown about. I’ve seen the potential to do evil (in Hebrew Yetsir Ha Ra) in my own soul and realize that to many people, I would be considered evil. I do still love the concepts of Law and Chaos, but find them to be complimentary, both required for any system to work. I’ve also realized that the game has to be tailored to the ability levels of the characters or they will be quickly killed off. The universe is not so nice as to only push adversity in our way that is just difficult enough to force us to grow, but not so bad as to maim us for life. As a new Dad, I have a newfound respect for life, especially in its most vulnerable stages.

The Game of Dungeons and Dragons provided me with a great outlet It proved to be a wonderful seed for creativity, and a great learning tool for data management.