author profile image

Matt Reid

Solo Entrepreneur | Lead Software Architect

I recently came across Cloud9 IDE, a web based code editor that allows editing of your code from anywhere via a web browser. The IDE uses node.js and html5 features to provide a fantastic user interface. I decided to give it a go on my (debian based) server, here is...

I recently needed to create a progress dialog in a Java Swing application. I came across this snippet which was very helpful. The main gist of this being that jDialog’s setVisible method is blocking, hence the need to run it in a seperate thread: Thread t = new Thread(new Runnable()...

I have been using the very good Tuckey urlrewrite filter on J2EE website recently and came across the following error for one of my filters. ``` {.js name=”code”} org.xml.sax.SAXParseException: The reference to entity “documentNumber” must end with the ‘;’ delimiter. at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:264) at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:292) at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:123) at org.tuckey.web.filters.urlrewrite.Conf.loadDom(Conf.java:208) at org.tuckey.web.filters.urlrewrite.Conf.(Conf.java:130)...

My website has only been running from my own server (more on that soon!) for a few days but I”m already seeing hacking attempts. Gah! One such attempt by someone who calls themself ZmEu goes as such: {.js name="code"} 216.234.117.7 80.228.163.29 - [16/Jan/2011:20:38:52 +0000] "GET /w00tw00t.at.blackhats.romanian.anti-sec:) HTTP/1.1" 404 345 "-"...

With the latest version of this site, I decided to try and cater for mobile devices as well as desktop browsers. I came across php mobile detect, an open source php class for easy detection of various mobile devices on your php site. Detection is as easy as writing the...