Running Jetty as Non Root I'm kicking the tires of Jetty and am in the process of setting it up on a production machine and found that the latest Jetty realeas (6.1.14) has a really easy way to start jetty out running as root and later switch to a uid of your choice which enabl...
Virtualbox Port Forwarding Problems
I've recently started using VirtualBox and find it really good. However, I was setting up port forwarding with NAT according to the documentation and must have made a mistake since I got the following error while restarting the virtual machine
Failed...
Single Table Polymorphic Inheritance with ActiveRecords Implementing a single table polymorphic inheritance in rails is dead easy.
Simply do
class Fruit
or if you a migrating...
class Fruit
Now, all you have to do is to create your sub-classes
class Fruit
Don't forget to put Apple in a separate fi...
GreenMail v1.3 Released This release contains minor changes to GreenMail core, most notable the introduction of slf4j for logging.
New in this release is a JBoss service for GreenMail.
The service runs GreenMail as a lightweight mail server sandbox, nicely suited for develop...
Internet Explorer 6 & 7 document.domain bug Disclaimer: Im not sure this a bug discovery...couldn't find anything that resembled it after a couple of minutes of googling, or a super silly security restriction.
I've been coding some javascript ajax code that inserts an iframe, and into the creat...
Re: Using AJAX with CAPTCHA - AJAX Security Part 3 of 3 I like your proof of concept but I like the concept more. You should segregate your experiments I think the exercise will give each of the underlying concepts clarity. Also if you are able to isolate specific accessability issues you will be more li...
Re: Internet Explorer 6 & 7 document.domain bug I noticed recently that this is a race condition. The new iframe (or window) doesn't have its document.domain set prior to when the permission denied error occurs. I was able to work around this by using setInterval to retry until the error no longer o...
Re: GreenMail v1.3 Released Hi, i've download your jar. It's very good for testing imap, but i have a question.
Why in FetchCommand$FetchCo...
Re: AJAX Remote Controlled Lego Robot I am launcing a website soon called RC-XBot
Here
Which will have a publicly accessible internet controlled lego robot on it. Admitadly it isn't based on this tutorial, I used Python and Java with a Flash front end but its still fun to play with. The ...
Re: Internet Explorer 6 & 7 document.domain bug For me both buttons work even on 1st try with IE7. I havn't verified this but I read in another blog the following:
"Even if you use the clever JavaScript "document.domain" to change the domain of all frames involved in the page, you must either add...