November 29th, 2017

Recycling Achievement Unlocked!

Having loaded the old, really heavy laser printer into the back of the van when Jeff was here on Sunday, we took advantage of e-Waste day over at the city recycling center to get rid of everything else that had been sitting around waiting to leave the premises. This included:

  • A DVD/VCR combo from which the magic smoke had escaped.
  • A power strip in the same condition
  • A bunch of dead computer mice
  • Several questionable PS/2 keyboards
  • Three obsolete credit card terminals
  • Assorted dead batteries
  • Two dead or dying LCD monitors
  • An old small fluorescent tube

    I have more stuff that I need to throw out, but it didn't qualify for the e-Waste disposal, so it will just end up in the trash. Some is broken; some is just thoroughly obsolete.

    However, if I get rid of enough stuff, I will have more places to put the other stuff that is scattered about. :)

    On the Drift

    I have just finished porting a big chunk of code from our Java implementation back to our C++ implementation.

    I swear that the thing that will kill me is the continuing drift between the two implementations. There are many lovely new methods that I have coded in Java that had to be ported back to C++ so that I could call them there. And in Java, it's an OK thing to return a List<Something>. In C++, you want to create a CArray<Something*> and pass the reference into the method that in Java is returning a List<Something>. So the method signatures get screwy as you copy code back and forth. And "." turns into "->" or vice versa.

    Eventually, I also need to clean up the variant versions of the camelCasing between the two implementations so that the old C++ IsSomething() ends up being the Java-style isSomething() on both sides of the great divide. As it is, the Java code is partially converted to the new style, as is the C++ code. But not all of the same methods have been converted on both sides.

    And then there is "const". I love "const" in C++. I don't have it in Java. But I have immutable classes there that I don't have in my C++ implementation.

    All of this is a recipe for a great thumping headache.