rx, json schema, and uri templates

September 8, 2008  🧑🏽‍💻

I got to feeling like maybe JSON Schema was not yet firm enough to give up on, and that maybe I could help improve it in the areas where Rx’s design made more sense. I made one or two very minor suggestions that were accepted, but the most important area was not addressed. You can read more about it at the Google Groups thread.

Read more →

code simply now migrated to gitosis

September 7, 2008  🔀

For a few days now I’ve felt really unproductive, but also unenthused about any of the work I had in front of me. Today, I managed to get one thing done, though: I reconfigured Code Simply’s git setup to use gitosis.

Read more →

why sigils are great

September 5, 2008  🐪 🧑🏽‍💻

Last night at ABE.pm, I was talking a little bit with The Gang about some of the things I came to believe while doing the same thing in multiple languages. In explaining some of the issues I have with Ruby, both the scope of variables and the resolution of methods, this example came to me:

Read more →

rx and module::pluggable; thanks, cpan testers!

September 3, 2008  🐪 🧑🏽‍💻

There’s been a fresh outburst of acrimony about how CPAN testers just send unpleasant and useless email to people who don’t care and can’t benefit. Coincidentally, I got one of the most useful bug reports I’ve gotten in a long time from an automated tester.

Read more →

things learned while implementing rx

September 3, 2008  🐪 🧑🏽‍💻 🐍

Rx was a lot of fun to implement. It’s all about data in memory, not representation in files, so I got to design it that way, too. I spent a lot of time thinking about what the various kinds of in-memory structures were that I’d need to validate, and then I’d think about how to represent schemata to validate them.

Read more →

validation is now easy

August 31, 2008  🧑🏽‍💻

Okay, the title might be a filthy lie, but it’s just a reference to my previous posting about the fact that I couldn’t find a single data validation system (read: schemata) for JSON-like data. I found plenty of schema languages for XML, one for YAML that was never going to be suitably cross-platform, and one for JSON (json-schema) that seemed over complicated and likely to become unmaintainable, and then some other things that don’t warrant much mention.

Read more →

when to localize $@?

August 29, 2008  🐪 🧑🏽‍💻

Today I spent a good while trying to figure out why I wasn’t seeing a runtime error from code that looked like this (grossly simplified):

Read more →

my new favorite irssi plugin

August 28, 2008

I don’t like to use the /ignore command. First of all, I very rarely choose to frequent an IRC channel with anyone I really can’t stomach. Also, as you ignore more people, conversation begins to become incomprehensible, because threads of conversation start and you can’t tell why or who all is involved.

Read more →