Tag Archives: java

Java: Static Variables are WRONG (Almost Always)

This topic came up at work recently, and I thought it might be useful to the wider internet audience… When doing code reviews, I often come across components which utilize static mutable objects. Typically these are static Maps and other … Continue reading

Posted in Tech | Tagged , , , , , , , , , , , , , , , | 1 Comment

A* in Clojure: Part Two

Today, I decided to flush out and clean up my A* implementation in Clojure. I cleaned up the namespaces, removed some cruft, got the Java integration working (which required by-passing RT.loadResourceScript() since it seems to be broken), and moving my … Continue reading

Posted in Tech | Tagged , , , , , , , | Leave a comment

A-Star Search in Clojure

A demo of A-Star search implemented in Clojure, bootstrapped through Java with a Maven build system. Continue reading

Posted in Tech | Tagged , , , , , , , | Leave a comment

Using JOGL as a Dependency in Maven

At work, we need to start using JOGL as a dependency of our project, which we build with Maven. JOGL, the Java OpenGL interface, uses platform specific binaries, which introduces some complexity to the build process. After a brief websearch, … Continue reading

Posted in Tech | Tagged , , , | 3 Comments

How To use the Java mDNS Wrapper

A few days ago I posted an article about my wrapper API which unifies the mDNSResponder and JmDNS packages behind a single interface, but I neglected to provide usage examples or a usage guide. I’ll try and correct that now. … Continue reading

Posted in Tech | Tagged , , , , , , , , | 7 Comments