Tagged: Programming

0

Octal Arithmetic

For now, this should have you calculating octal ’til the cows come home. This is an important skill when calculating addresses in memory.

0

Hexadecimal Arithmetic

For now, this should have you calculating hexadecimal ’til the cows come home. This is an important skill when calculating addresses in memory. Memory locations are often referred to in hexadecimal in order to shorten their length.

0

Binary Negative Space

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).

0

The Computer Tongue

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.

0

Phabstractic: Array Utilities

These methods are very useful for arrays, and overcomes some limitations that object conversion and array_unique have.  I would recommend using these functions instead of the built-in PHP functions for these purposes.

0

Phabstractic: Type Enumeration

With this data ‘type’ we would, for instance, be able to perform our own type check. However, our type check would be entirely dynamic, as opposed to a static typing system where, in short, the variables can’t change their type once they are initialized.

0

Phabstractic: Enumeration Data Type

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.

0

Phabstractic: Configuration Trait Feature

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.

1

Phabstractic: Singleton Trait Design Pattern

In software engineering, the singleton pattern is a design pattern that restricts the instantiation of a class to one object. This is useful when exactly one object is needed to coordinate actions across the system.

0

Phabstractic: None Data Type

But what happens when you want to differentiate between false, 0, and null? Or in another context, what if you need a null value that is considered an object by the algorithm or language?

1

Life In The Amazon

So from now on I’m not a ‘comic book artist’, or a ‘writer’, or a ‘game designer’, or anything. I’m all of those things. That’s me! I am a computer programmer, philosopher, musician, writer, artist, game designer, cook, gamer, and inventor.

0

On Being Different

So… To write!  To draw!  To design!

I think.

Who knows.

0

State Of The Fur

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.

0

Battle Stations Ready!

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.

0

This Prepared Me

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.

0

Rudimentary Artificial Intelligence

The nice thing is that the speech recognition software is purpose fit to run on an embedded system, like the BeagleBone Black or Raspberry Pi.  This is great news, but the greater news is that this is all programmable.

0

Classes and Coffee

I want to learn more about electronics, and even get to the point of being able to be as good at it self-didactically as I am about programming.

1

Incompleteness Theory

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.

0

Winter Vacation

It’s a little frustrating sometimes when I look at the programs that don’t exist yet that I could potentially make a product and fill that gap and make money. But, they’re large and complex and it’s not that I get overwhelmed… I just kind of go, meh. I’m a lazy bastard!