Tagged: Programming


They Say People Come And Go

Asher talks about his recent struggles with eczema, and his journey and frustrations with trying to get employment in the retail industry in his home town. He also talks about his self-defeating depressive “spells” he gets sometimes. There are some manga books thrown in, and a new friend met at a birthday party. So good times!


How To Use A Debugger

Debugging programs is hard work.  It can require the utmost attention to every little detail, and particularly with debuging code you didn’t write yourself. In this article I lay out the basics of using a typical debugger.


The Nature of the C Programming Language

In this article we cover the C programming language: where did it come from, how it relates to other languages, what can it do, what doesn’t it do, and the future of the language. C is a powerful language any aspiring programmer would benefit from learning and mastering. Even today, in embedded systems, C is very much employed, and in that personal respect, important to building my robot.


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.


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


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.


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.


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.


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.


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.


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.


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?


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.


On Being Different

So… To write!  To draw!  To design!

I think.

Who knows.


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.


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.


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.


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.


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.