Archive for August, 2010

Obscuring Information in Function Calls

While the usefulness of this is questionable, it is possible to obscure valid information in a bogus function call. Check out the following code:

class Example
	def new(*args)
		puts "Got data: " + args[1] if method_name == :new

You can then write the following code:"", 1342)

And it should print out “”. What’s more, the actual call looks like an internet connection, not something that might print something. Again, the usefulness of this is questionably, but it could be useful.


Announcing BerryConf

I am pleased to announce BerryConf!

BerryConf is a simple but easy to use Java library for parsing and managing configuration files! It’s still in beta, but it works well, and I’m using a very similar system in one of my latest projects, which I can’t say a whole lot about, but It is looking quite cool. So anyway, check out BerryConf if you’re looking for such a library.