The four most popular methods for encoding (representing) negative binary numbers are known as “sign and magnitude”, “ones’ complement”, “two’s complement”, and “Excess-K”. There are alternative methods as well that aren’t as popular such as negative binary where the number base itself is actually negative (being negative 2).
We’ve discussed how binary representations are fed into a processor which takes that input and goes through a series of steps depending on that input to create an output, but how do we actually make that happen? To do so you would choose a programming language, or create your own, dependent on the desired level of control over the machine.
PHP doesn’t have an enumeration data type, so I built an enumeration generator of my own. It actually won an award on phpclasses.org! It has been refactored to use the Configuration feature, formatted to follow the PSR standards as best it can, and relicensed under the MIT License.
The thing about PHP and the mixin’s I’ve developed is that they are not necessarily a class, instead the idea is that they are a trait that offers a particular feature to another class. So you define a feature, something the class can do, such as logging, or being able to hold configurations (see below) and then you can add it to a particular class.
I can’t seem to figure out how to pick up the blogging thing again. I was doing really well for a couple weeks, but then I kind of had some emotional issues and the whole thing died. I don’t want it to die. I’ve experienced that the more you put out there into the world, the more that comes back to you.
I think this is PLENTY, and I mean PLENTY of stuff to work on. I can’t promise that all of them will be kept up. In fact, I won’t be surprised if only two of them are really kept up, the tutorials and the art series. But I can try. I thought I’d give myself a little bit of avenue and leeway so that if I get interested in the game and the AI for a week or two, it’ll be a break from the tutorials and art.
I’m turning 33 in April, and I have the ability to either learn lessons at random as I have been doing up until now, or to direct my own education. To direct my own abilities with the experiences I have had up till now to form a better picture. A more fulfilling picture. I’ve been preparing for this moment for a lifetime.
So where does this leave the blog? Well, I hope to take the blog up again like I was doing before. It’s a positive influence in my life, and I think that I have interesting and fun things to share. It also helps exercise my brain because I have to remember things, write them down, organize graphics, and such. It also encourages me to do things, more things than just lay on the couch and feel bad, because writing about that obviously is a wonderful idea.