Archives for November 2012

Linked Lists in Lua

Posted on November 16, 2012 in Tutorials

As an example of creating custom data structures in Lua, I thought I'd give a little demonstration of a linked lists implementation. Note that this isn't going to be an in-depth tutorial or anything; for the most part I'll just be showing pieces of the code. Linked lists are wonderful data structures, perfect if you need to efficiently add, remove, and iterate through elements. The one trade off is that you can't find an element...

Read more...

Emotion Affecting Reason

Posted on November 10, 2012 in General

I've recently been musing about how emotion can affect a person's reason. You see it all the time, people following their passionate emotions without stopping to think and reason through a situation. In many cases however, it's more subtle than a hotblooded rage; the inner emotion twists a person's reason in an attempt to justify their thoughts and actions. You might also refer to this as bias. So I was thinking, how can one avoid...

Read more...