Author Archives: Arsenalist

Gunner fan

What files changed in WordPress 2.8.4? The proper way to upgrade patches

I run raptorsrepublic.com which uses WordPress with some pretty heavy customizations here and there so every time WordPress releases an upgrade I’m very wary of doing it because I just don’t know how it’ll effect the platform. Partial file copying with FTP can really throw you a curveball and if one file gets corrupted [...]

Integrating vBulletin with a WordPress theme

OK, so you have a WordPress blog and are thinking about adding a vBulletin message board to it and want it to appear seamlessly within your WP theme. This post will show you how to do it.
The way you go about accomplishing this is by creating two Plugins under vBulletin. Before we [...]

Conditionally printing HTML tags in JSF Facelets

This took me a bit to figure out so I thought I’d post it.
Say you’re using JSF and want to conditionally print some HTML tags in your Facelet that could, technically speaking, result in non well-formed markup. You can’t really do it. Printing something like is illegal as it’ll complain about the [...]

What the hell is the cause of this NullPointerException?

It’s infinite deep!

IntelliJ Hilarity

Note that this is a very lame post. IntelliJ IDEA is the greatest Java IDE in the world, his post does not “diss” it in any way, just pointing out something that was funny to me and only so because I’ve been at it for quite some time now.
I often have IntelliJ generate [...]

Writing Custom Facelet JSF Components

Writing Facelet JSF Components is NOT the same thing as writing custom JSP-based JSF Components. Once you get past that it turns out they’re not hard to write at all. There’s no mucking around with JSP tag libraries, TLD files and other such archaic nonsense.
You need to edit create/edit three files in total. [...]

GMail Bug – Where are my two messages?

It says I have two messages, but where the hell are they?

Even the Firefox Google Notifier agrees with me:
If you’ve seen these messages, let me know:

JSF Seam Validation + Custom Messages + Annotations + Internationalization

Validation is one of the first things you test out when evaluating a web framework and its often one of the most time consuming to wrap your head around. In this post I’ll talk about three types of validation mechanisms present in JBoss’ Seam which will get you on your way towards validating [...]

Free Euro 2008 Pool Script

OK, I don’t contribute much to the software community but I’m feeling generous today.
Since I run this pool at my office and for some unknown and weird reasons the link is #1 on Google for Euro 2008 Office Pool, I figured I’d share the piece of code that runs that “system” with the public. [...]

Worst Captcha Ever

I’m trying to download a file from the evil Rapidshare (who make you wait about 2 painful minutes before giving you the file) and just after the wait time is over, I get a Captcha looking like this:

WTF man? I mean, does it really need to be this hard? Are you telling me that it [...]