Warning!

Warning. The following publications may induce intense reasoning.

Friday, July 24, 2015

Ordered Code Versus Efficient Code


Listen to this blogcast in MP3 Audio.

The less I say in a single short phrase, the more meaning I pass with less effort. This is also true about coding computer software & websites. Commands can be passed in a simple, very readable fashion, similar to how we would talk to another person.

Or, commands can be passed in sophisticated, complex, and convoluted ways, which logically give the same results. But these complex methods, while more efficient for a computer, are much harder for a human to follow and figure out.

Making voxels with colors, lights, and different selection modes.

I have spent the last few months working on a new project in Node.js, using a front-end library for WebGL, called THREE.js. I am creating a 3D virtual world that uses voxels - 3d particles, usually cubes, for all its objects.

Two choices were in front of me: One, put a keyboard key-press event where it happens, which would be efficient. Two, put the event in a fast loop, where all events are checked at a rate of sixty frames per second, which is not efficient, but very readable and orderly.

When checking the event in the fast loop, I use an IF statement that must be passed, in order to execute anything else. Not surprisingly, for a computer this is insignificant effort, so the performance is not impacted, at all.

If performance would be impacted, then I would choose efficiency over readability. But as long as it is not, then readability is always my priority. If you cannot quickly read through it, then it is too complicated to be practical!

Tuesday, July 14, 2015

Spitting At Kids


Listen to this blogcast in MP3 Audio.

A new generation should speak up the truth
Not just lyrics and rhyme, or beats and moves
When you speak of reason, method, and proof
Minds, not just hearts, will be moved

Make a statement in life,
No wait, statements in wrote
And find me a Youtube to watch,
Instead of the rhetoric they talk

'Cause I wanna know what it means
When a girl is fallacious
No, not sucking dick,
But just sayin' nonsense

I don't think school teaches that,
Or else people would notice
That rappers don't say
What's evident for us

Methodically faulty and follows to nothing,
Is an old generation of spitting and popping
It's time we talked real - not guns and police, or deals and regrets,
but arguments that we'd never fuckin' forget.


From poetry to rap.


Monday, July 13, 2015

Evil Created, Evil Sustained


Listen to this blogcast in MP3 Audio.

There is a difference between what an evil act can create, and what situations are sustained by evil action. I think the former is not necessarily evil, while the latter is necessarily evil. Lets take an example...


Click pic for more awesome prints from LawrenceArtsCenter.org

One of the most evil acts known to man is rape. The use of force to physically control another person. It is not uncommon for a woman victim to get pregnant from the assault. In this case, there is no obligation for the child to follow in the steps of the father. Good raising and care will create a good person, regardless of the father. We have all seen cases of good children from bad parents.

On the other hand, there are situations that can only exist - be sustained, perpetuated, by evil acts. Take another extreme evil: slavery. It is not possible to possess slaves, without coercing yourself on them. Without continuous coercion, slavery will not exist, instantly so.

It seems that anything caused by evil may be either good or bad, while anything sustained by evil must be also wrong. This observation lets us better judge people's choices! Anyone who enjoys the results of another's evil is not liable, unless they are also involved.

However, if you are enjoying the sustained evil actions of others, then you are collaborating and are necessarily committing evil!

All Time Popular Posts