Monthly Archives: February 2010

Context aware Lua Macros

Will automatically detect locals as well as global variables.

Usage: Macro “text ${Lua Code} more text”

test = Macro "Hello ${jack} ${'Bauer'}"

function test1()
	local jack = "Jack"
	print(test)
end

test1()

function test2()
	local jack = "No

Posted in Blog, Lua, Programming, Snippets | Leave a comment

What happens inside a classroom.

Haha, so I was in my math class, and I couldn’t help notice that everyone else around me were either asleep or not paying attention, which got me to think, what is the critical point for which students completely…

Posted in Blog, Portfolio | Tagged , , , , , , , , | Leave a comment

Taking Chances (Kate Micucci)

This is a great cover of Taking Chances by the G4TV nominated #1 Female Comedian of 2009. Enjoy =D

Posted in Blog | Leave a comment

I don’t like Haikus


I don't like Haikus
because they put restrictions
on my sentences.

Because seriously, how can you even write anything meaningful through this type of writing structure?

Posted in Blog, Miscellaneous, Writing | Tagged , , , | Leave a comment

Recovery.Texas

This is an attempt at visualizing the amount of money distributed to Texas via the Recovery.gov program as of (last) November.

Recovery.Texas

Posted in Blog, Portfolio | Tagged , , , , , | Leave a comment

Best Hello World App Ever :D

Written in Python :D

See http://failboat.me/2009/cute-functions-creating-pseudo-operators-in-python/ for more details.

#Hello World

class Operator(object):
    def __init__(self, func, count=2):
        self._func_ = func
        self._args_ = []
        self._count_ = count
    def __ror__(self, first_arg):
        self._args_.append(first_arg)

Posted in Blog, Programming, Python, Snippets | Tagged , , | Leave a comment

Lua Tutorials -> Luatut.com

A new set of Lua Tutorials are coming out.

Lua Tutorial

http://luatut.com/

Posted in Blog, Lua, Programming | Tagged , , | Leave a comment