Panasonic Youth rob sanheim writes about software, business, ruby, music, stuff and things



Posts from December 2005

Using reflection to determine method overloading

A thread on the DWR mailing list about properly detected overloaded methods with covariant types in JDK5 got me curious. So I put together some quick code to determine if one method overloads another. It works for covariant types, but I didn’t add support for generics. I’m not sure how much more [...]


Amazon wishlists suck

With the holidays approaching, once again I struggle negotiating my amazon wishlist to figure out what books I really want for Christmas. There are so many things wrong with the usability of the wishlists that its hard to know where to start, but Marc has a good list going with some helpful feedback on [...]


DHH on Rails and Django

The creator of Rails talks about the recent Snakes and Rubies event in Chicago this last Saturday. The thing that really strikes me (besides the very cool presentation [PDF] David gave) is the Django vs Rails code:

class Project(meta.Model):
project_manager = meta.ForeignKey(ProjectManager)
milestones = meta.OneToOneField(Milestone)
categories = meta.ManyToManyField(Category)

p = [...]


The wonderful invention that is self-checkout

….and some wonderful rules for its usage, from Mindsack. My favorites:

Are You an Idiot? If so, please don’t use the self-check line. A real human being will be happy to help you, right over there.
Fresh Fruit and Other Produce is Right Out. The key to the self-check line’s efficiency is that marvelous bar code [...]


Problem with AbstractDependencyInjectionSpringContextTests, autowiring, and multiple datasources

hacking AbstractDependencyInjectionSpringContextTests to autowire by type


Ruby’s power + Java’s tools = Smalltalk today

Avi Bryant of Seaside fame asks:
What if there were a Hotspot VM that ran Ruby instead of Java, without any loss of performance, and a version of Eclipse written in and for this new platform?
If you are familiar with Avi, you can see where he is going with this. He goes through a brief [...]


Refactoring presentations done, code and slides are up

The presentations went pretty well in Milwaukee and Chicago, despite a low turn out. Apparently the organizer had some mail problems so members of the WJUG/MADJUG list only got notice the day off, or not at all. Milwaukee we had about five people, and Madison was maybe ten or so. So not [...]


After →