Wednesday, August 29, 2007

Punch me please ...

Java is a bi*ch.
Tomcat is a gutter gigo*o.
Together they make fu*ki*g beautiful music and require that 0.5 dance.

Don't believe me? Here is a verse ..

exception

org.apache.jasper.JasperException: Exception in JSP: /htmlui_en/error.jsp:41
Stacktrace:
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:510)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:375)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
root cause

org.apache.jasper.JasperException: Exception in JSP: /htmlui_en/error.jsp:41

Stacktrace:
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:504)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:703)
org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:670)

java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle
java.util.ResourceBundle.getObject(Unknown Source)
java.util.ResourceBundle.getObject(Unknown Source)
java.util.ResourceBundle.getString(Unknown Source)
org.apache.jsp.htmlui_005fen.error_jsp._jspService(error_jsp.java:104)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
......

Bizarre language huh? Didn't get the message too. Its Kurdish, spoken by a small population of Iraqi people who live in the mountains.

To drink. No wait. Boss is back.

3 Comments:

Anonymous Anonymous said...

lol.

try this:
require 5;
use diagnostics;
use strict;

my $porgnmae = $0; $porgnmae =~ s@.*/@@g;
my $vresoin = q{ $Revision: 1.4 $ }; $vresoin =~ s/^[^0-9]+([0-9.]+).*$/$1/;

sub scrmable {
while (<>) {

# Tihs smplier rgexep is porablby all taht is nedeed, and the odelr
# one ddin't work all the time anaywy. Cehck tihs out:
#
# setenv LANG en_US
# echo -n "foo.bar" | \
# perl -e '$_ = <>; print join (" | ", split (/([^\w]+)/)) . "\n";'
# => "foo | . | bar"
#
# setenv LANG en_US.utf8
# echo -n "foo.bar" | \
# perl -e '$_ = <>; print join (" | ", split (/([^\w]+)/)) . "\n";'
# => "foo.bar"
#
# perl-5.8.0-88, Red Hat 9

foreach (split (/(\w+)/)) {
# foreach (split (/([^[:alnum:]]*[\s[:punct:]]+)/)) { # fuck uincode

if (m/\w/) {
my @w = split (//);
my $A = shift @w;
my $Z = pop @w;
print $A;
if (defined ($Z)) {
my $i = $#w+1;
while ($i--) {
my $j = int rand ($i+1);
@w[$i,$j] = @w[$j,$i];
}
foreach (@w) {
print $_;
}
print $Z;
}
} else {
#print "]";
print "$_";
#print "[";
}
}
}
}

sub usgae {
print STDERR "usage: $porgnmae < text > scrbameld-txet\n";
exit 1;
}

sub mian {
usgae if ($#ARGV != -1);
scrmable();
}

mian;
exit 0;

Thursday, August 30, 2007 9:12:00 AM  
Blogger 0.5 said...

Looks like something from the obfuscated code contest...

I have no desire to become a guest of Mathare Mental Hospital. Regular expressions are things I use only when its very necessary (mostly it isn't - there is brute force!)

Plus you can't step through Perl. Issssh!

Thursday, August 30, 2007 10:19:00 AM  
Blogger domquem said...

i love perl and REGEX do make life hell a lot easy!

Thursday, August 30, 2007 1:36:00 PM  

Post a Comment

<< Home