Scheme REPL on Android Part 1
These are not instructions. These are rather my notes on what I had to do to get a remote Scheme REPL running on Android. Patch Kawa Use default classloader instead of the android specific one. There are preprocessors involved, so the only way is to modify ifdef Android to ifdef xxAndroid. /* #ifdef JAVA2 */ [...]
Running clojurescript from Cygwin
Troubleshooting guide. These tells you what the script is trying to do. bash -x script/deps bash -x script/run Here’s mine once cleaned up. I used java.ext.dirs as I don’t think wildcards on classpath worked. $ java -server -cp 'lib;lib/dev;lib/clojurescript/src/clj;lib/clojurescript/src/cljs;lib/clojurescript/test/cljs;lib/do mina/src/cljs;src/app/clj;src/app/cljs;src/app/cljs-macros;src/lib/clj;src/lib/cljs;test;templates' '-Djava.ext.dirs=li b;lib/dev;lib/clojurescript/src/clj;lib/clojurescript/src/cljs;lib/clojurescript/test/cljs;lib/domina/src/cljs;src/app/ clj;src/app/cljs;src/app/cljs-macros;src/lib/clj;src/lib/cljs;test;templates' jline.ConsoleRunner clojure.main -e '(use '\''one.sample.dev-server) (run-server) (println "The application is being served [...]
A nicer way to handle dependent values on PropertyChanged
Here’s a contrived example of how PropertyChanged can get difficult. The property Total depends on Values A and B, and if any of them change, Total has to be read again. public int Total { get { return A + B; } } public int A { get { return m_A; } set { m_A [...]
Cracked Toilet Suite
I found this on a recent purchase, which totally sucks. Andrew over at Builders Discount Warehouse over at Slacks Creek have refused to accept any responsibility, so it is off to the Fair Trading Commission. I hope it doesn’t turn into a saga.