DarthAPO.com

Hmm... I'll keep that in mind. 11:51 pm, 30 Jul 2010

I hesitate putting "please RT" on tweets... Feels so needy. 10:18 pm, 30 Jul 2010

RT : New strip, "You Are Here:" (please RT) 10:18 pm, 30 Jul 2010

New strip, "You Are Here:" (please RT) 10:17 pm, 30 Jul 2010

Awesome! I remember that episode! OK, well, maybe not. Still, very cool. 10:12 pm, 30 Jul 2010

Preview - in color - of tonight's strip: 8:56 pm, 30 Jul 2010

Cibo Matto! 8:04 pm, 30 Jul 2010

There will be a new comic tonight, I'm just running behind. Here's a preview: 8:01 pm, 30 Jul 2010

New Tactless Comic strip "The Blanka Blues"
9:50 am, 30 Jul 2010

Comic: You Are Here

Source: ZdC+TC | 29 Jul 2010 @ 10:00 pm

That is an actual map of IKEA. I swear.

 

Comic Rank

The Blanka Blues

Source: ZdC+TC | 29 Jul 2010 @ 10:00 pm
The Blanka Blues

Oh man, what a bummer. Blanka must lose more electronic equipment that way. No wonder he always seems so mad.

 

Sketch: Donatello

Source: ZdC+TC | 28 Jul 2010 @ 2:48 am

When I can't think of anything else to draw, I'll wind up drawing the Turtles a lot of the time.

#tuesdaysketch "caricature"

Source: Content from Sketches | 27 Jul 2010 @ 2:57 pm | (From Flickr)

DarthAPO posted a photo:

#tuesdaysketch "caricature"

Can you guess who it is?

Sketch: #tuesdaysketch: Caricature

Source: ZdC+TC | 27 Jul 2010 @ 2:52 am

This week's #tuesdaysketch theme was "Caricature." I nearly skipped it. 'Cause caricature's have never been my thing. In fact, I'd always dread the (inevitable) day when my friends would ask me to draw them. But then I thought. What the hell, this is all about stretching yourself, right?

So anyway, I drew it from memory (probably should have google image searched first, but what's the fun in that?). Feel free to guess who this is.

Reminder, there's a new ZdC strip "Lost in Castle Rock" (Please RT) 8:30 am, 26 Jul 2010

Comic: Lost in Castle Rock

Source: ZdC+TC | 22 Jul 2010 @ 10:00 pm

An official ZdC Non-Award goes to the first person who can name both references in this strip.

Mission From God Shirt Design, Available Today Only!

Source: Matt McCray | 21 Dec 2009 @ 3:30 pm

You can get my design "Mission From God" for $10 today only from RIPT.

"Galactic Junkyard" Tee

Source: Matt McCray | 14 Oct 2009 @ 8:50 am

My shirt design, “Galactic Junkyard,” goes on sale this Friday at RIPT! It’s only available on this Friday, October 16th, and it’s only $10 bucks! (So it’d make a great present!)

Also, I wrote an article where I outlined my working process for designing that very shirt, you can read it here.

The Peaceful Moonkin

Source: Content from Sketches | 16 Sep 2009 @ 3:19 pm | (From Flickr)

DarthAPO posted a photo:

The Peaceful Moonkin

Coming Soon: TaskTHIS² (A Titanium Application)

Source: Matt McCray | 11 Aug 2009 @ 12:47 pm

taskthis-icon.png

In the next week or so, I’ll be releasing the first beta of TaskTHIS2.

Unlike the original, this version is a cross-platform desktop application. It’s being distributed on the Titanium platform.

Over the next few weeks I’ll discuss the technology behind it (all WebKit based: HTML/JS/CSS). And some of the libraries I built to make development easier (including my build script and a JavaScript class library called Klass.js). So be on the lookout for that!

taskthis2-alpha.png

Bexar Having a Shatner Moment

Source: Content from Sketches | 22 May 2009 @ 11:03 pm | (From Flickr)

DarthAPO posted a photo:

Bexar Having a Shatner Moment

Bexar channeling William Shatner?

From: www.zoodotcom.com/comics/104

Plausible Deniability

Source: Matt McCray | 12 May 2009 @ 7:12 am
Plausible Deniability

I’m a fan of the NBA… Most of the time. But I swear, the officiating has been horrible this year. Not just for my team, but all over. It’s enough to make you wonder.

Check out my speculation of what goes on in the NBA league offices.

Ark II w/BG

Source: Content from Sketches | 8 May 2009 @ 7:20 pm | (From Flickr)

DarthAPO posted a photo:

Ark II w/BG

Ark II

Source: Content from Sketches | 8 May 2009 @ 5:39 pm | (From Flickr)

DarthAPO posted a photo:

Ark II

Jonah and Adam from Ark II.

Adam is a little out of character. :-)

Liquid.js, A Non-Evaling Template Engine in JavaScript

Source: Matt McCray | 11 Dec 2008 @ 5:52 am

Of late, I’ve needed a robust JavaScript template engine that doesn’t use eval (and preferably not with). Also, I’ve always liked Liquid.

So, two plus two equals… JavaScript! Hah, you thought it was four, didn’t you? Well, that’s what you get for thinking.

Yeah, long story short, I ported Liquid to JavaScript. You can grab it from github (where else?) here: http://github.com/darthapo/liquid.js

I’m calling this version 0.1. It’s not battle tested yet, but I know it’ll work using Firefox 3+, Safari 3+, and Adobe Air 1.1.

So what are the differences between running the Ruby version and the JavaScript version? Well, as far as the templates themselves, nothing. It’s a full port, so all of Liquid’s default tags and filters are supported in Liquid.js. I even added a placeholder function that you can implement yourself (based on your own needs) to support the ‘include’ tag.

Liquid.readTemplateFile = function(path) {
  var elem = $(path);
  if(elem) {
    return elem.innerHTML;
  } else {
    return path +" can't be found."; 
    // Or throw and error, or whatever you want...
  }
}

var src = "{% include 'myOtherTemplate' with current_user %}";

var tmpl = Liquid.parse( src );

alert( tmpl.render({ current_user:'M@' }));

An easy way to include template in a page is to use script elements, like this:

<!-- Browsers ignore script blocks with an unrecognized type.  -->
<!-- Makes for pretty good inline template storage.  -->
<script type="text/liquid" id="myOtherTemplate">
  Hello, {{ current_user }}!
</script>

Currently, Liquid.js requires MooTools. Some of the things I’d like to polish up: