Since it took me a while to figure this out (though it seems very obvious now), here's how I do HTTP authentication in Unfiltered while preserving the authenticated user for later access:
I came upon a nasty problem the other day: The rel-tag microformat (http://microformats.org/wiki/rel-tag), poorly designed like so many of them, requires the URL to end on the tag name. Not a cleaned up, ANSI compatible version, no, a 1:1 representation. This on the one hand leads to some woes regarding encoding and non-ansi characters, think umlauts!, and on the other hand poses problems with caracters that usually are not allowed within an URL or have a special meaning. Think for example of a tag called "Q&A".
Unfortunately, as we will see, simple escaping is not enough.
I recently had to struggle with a SOAP webservice class generated by Apache Axis2. The class file was more than 13 MB in size, and contained more than 290.000 lines of code - much more than Eclipse, IntelliJ IDEA or NetBeans could handle. After some rather unsuccessful attempts to work around the problem, I finally decided to write a little tool to split the huge file into smaller pieces.
Since I didn't found this on the internet (but some rather outdated or complicated tutorials) here's how to create Java class as wrapper for a given SOAP webservice.
I recently tried to update my HTC Hero to version 2.73.405.5 using a Windows 7 64 bit. Unfortunately this didn't work, since I ran into error 170 - "USB Connection lost" - over and over again, either when starting the RUU executable or after switching the phone into bootloader mode. It seems, that the Rom Upgrade Utility simply doesn't work with Windows 7 64 bit.
However, it is supposed to work with Windows XP, so the solution is to use Windows 7' s build in Windows XP compatability mode. Here's how you do it.
Quick hack: to use Apache Buildr with the lates Scala 2.8 release candidate (RC3 at the time of writing) open up the file
/usr/lib/ruby/gems/1.8/gems/buildr-xxx/lib/buildr/scala/compiler.rb and change the
DEFAULT_VERSION = '2.8.0.RC3'
This works for Ubuntu 8.04, with Buildr 1.3.5 installed. You will need root or sudo privileges, though.
Maybe you know identicons: little unique icons generated out of hash values. But maybe you don't know identifracs, which offer the same functionality based upon fractal functions. Identifrac was created back in 2007 by Jesse Dubay, but his site has gone in the meantime. That's why I took his code, updated it, and now released it to the open domain.
It has been more than two years since my last post. Two very exiting years for me, though. Not only my daughter was born, but also my PHP application framework is now ready to be open-sourced: Gyro-PHP, a PHP application framework.