Saturday, May 30, 2009

new release: svntask v1.0.4

My little project for a reliable, simple codebase and easy to use ant interface to subversion just got an update. Version 1.0.4 adds compatibility with svn 1.6.2 as well as a couple more commands: add, commit and switch. Enjoy.

Wednesday, May 27, 2009

Put The Fun Between Your Legs

Looks to me like someone wasn't being very sensitive when they said "Put The Fun Between Your Legs" and got sponsorship from "SF Women Against Rape". I got a 'corrected' email a few hours later. Whoops.

Update: Apparently, I'm not the only one who noticed this.



Sunday, May 24, 2009

Anus lapping


    George Poinar, Oregon State Univ

Since termites and their protozoa are separate animals, each new generation of termite must be united with its microscopic crew of wood digesters. To do so, adult termites secrete a liquid from their anus that is laced with protozoa and newly hatched termites lap it up.

Monday, May 18, 2009

Hadoop

Everyone is buzz wording about Hadoop so I decided to check the core source code out and try to load it into Eclipse. Talk about fail. I read the wiki page for setting things up. It starts off recommending the exact eclipse subversion plugin that I don't use. Ok, that shouldn't be a problem, just check out to disk and import the project like I normally do. Ok, done.

Next problem, you have to use ant to generate the eclipse files. Um, what? Why can't you just check the .project/.classpath files in? They don't change that often and really don't need to be customized.

But wait, they do. Hadoop's eclipse integration has direct ties to running ant because it needs to generate some files which are then used as part of the classpath so that things build within eclipse. Nope, that doesn't work either. I tried.

Basically the summary is that after about 30 minutes of dicking around with things, I have no idea on how to get a clean build of Hadoop within Eclipse. This of course makes trying to contribute some code to Hadoop nearly impossible.

What really should happen is that someone needs to write some clear directions and have an easy path to setting up a working development environment. This should be a number one priority of all open source software projects. If you can't get the build down, what makes me think you can write good code?

Monday, May 11, 2009

Documentation

I was just reading up on Glassfish v3. Just curious to see what it is like.

Digging around, I stumbled across this bit of documentation that kind of made me giggle...



If you look closely, the 'comma separated' example isn't comma separated.

I'm just a tad bit too detail oriented, ya think?

Twitter Just Landed

So far, I haven't found a use for Twitter as I prefer posting on Facebook a lot more. FB feels more interactive too me.

However, someone came along and started processing their twitter feed for "Just landed in..." and then graphed it on a map. It looks like this:



I really appreciate Tufte style visual exploration projects.

MD6

In the tech world, people often say that the online pornography business drives innovation. I think the porno business was just beaten. The newish MD6 hash algorithm was first spotted in the wild as part of the Conflicker worm and the worm authors actually updated the version of the code in use when it was discovered to have a buffer overflow vulnerability. Awesome.

gmail

Have you noticed that a few weeks ago, gmail suddenly stopped remembering the "Always display images from xyz@lklsjd.com" setting? Kind of annoying. I wonder what is up.

Friday, May 8, 2009

Hibernate Gotcha #215

I was getting this error when using session.createSQLQuery():

"More than one row with the given identifier was found."

No searching on the interwebs helped at all.

I have an entity that looks like this:

@Entity
public class Pornstar
{
 @OneToOne(optional=true)
 @JoinColumn
 PornstarArea area;
 public PornstarArea getArea() { return this.area; }
 public void setArea(PornstarArea area) { this.area = area; }
}

PornstarArea is another entity object.

I randomly removed the @JoinColumn and it made that error stop happening. Go figure.