07:40 < IronAngel> I'm horny drunk and mean spirited, and you can quote me on that
#r4nger5 on freenode
So I've been thinking that I really should learn Lisp. A nice programming language unlike any other I have seen. Clojure is one dialect of Lisp which is targeted at the JVM and .NET CLR. A quick search of the Youtubes revealed a decent video introducing Clojure with a practical example and a quick touch on Leningen.
I started going along with the video a couple days ago when I hit a snag. Errors about not finding files, no such namespace etc. The versions of the libraries I was using were quite old, was that the issue? Has the syntax changed?. The answer is a lot more depressing.
(defroutes (GET "/" request (homepage request)) (GET "/:id" [id] (redirect id)))
Can you see the issue? I coudn't.
(defroutes myroutes (GET "/" request (homepage request)) (GET "/:id" [id] (redirect id)))
I missed a single argument from (defroutes). Literally could have put any old ascii string in there and it would have worked.
Remember kids, when copying code from a video, make sure to get it all.
Scott got some of our rambling on camera while we walked up Craigowl Hill. Can't see much due to the weather unfortunately.
Just bought my ticket for ElectroMagnetic Field. Gonna have intensely nerdy fun in a field.
First dead tree fiction book in several years. More occult computing FTW!
I swear I'll stop with The Laundry Files stuff at some point.
Wolverine claws actuated by compressed air.