1 July 2009
Here’s a quick teaser for a new project I’m working on, almost ready for public beta.
def loot(character_sheet_file)
@xml ||= Hpricot::XML(character_sheet_file.read)
@loot ||= @xml.search("//LootTally/loot[@count!='0']").map do |item|
res = item.search("//RulesElement")
case res.size
when 0: nil
when 1: coder.decode(res.first.attributes["name"])
[...]
Tagged: D&D, Web Design/Programming | 2 Comments »
19 October 2008
This looks wrong:
Tagged: Web Design/Programming | Comments Off
4 October 2008
JavaScript has a lot of haters. They gripe about its loose typing and semicolon insertion. They whine about it’s lack of inheritance and hardened classes. My guess os that many of these complaints come from programmers trying to write JavaScript as if it were Java, C or [Objective-C][Objective-J]. JavaScript, however, is a unique dynamic and [...]
Tagged: Web Design/Programming | Comments Off
20 July 2008
I felt a bit elitist after posting about my desire that [job candidates should have a low-level understanding of JavaScript][previous]. Today a bug I caught reinforced that belief.
[previous]: “The other side of the interview table”
Tagged: Web Design/Programming | 1 Comment »
13 July 2008
Although [they label it as "beta"][beta], YouTube has done some re-working of their video management interfaces in quite an intriguing manner. With their interface changes, the [Help Center Page][] is a little out of date. The comment mechanism on their blog doesn’t work (note all the double comments—mine didn’t even show up). I thought I’d [...]
Tagged: Web Design/Programming | 4 Comments »