'clojure' Category

  • Subrosa: An IRC server written in Clojure

    March 22, 2011

    For the next couple of blog posts, I’ve decided to describe some of the software we use (and have developed) at Sonian. We have a few Clojure repos pushed to github that have documentation that is poor-to-none. I wanted to start with our main communication tool these days: our IRC server, Subrosa. We originally were […]

  • Swapping words with their synonyms for fun

    September 21, 2010

    I was explaining some of the NLP stuff I’ve been working on to a teacher-friend of mine, and he suggested the idea of taking an essay a student had written, running it through a tokenizer and swapping the verbs and nouns with their synonyms. Would the essay still mean essentially the same thing? Would it […]

  • Automatically fold Clojure methods in Vim

    August 11, 2010

    I’ve been trying to get this working for quite some time, I finally have a semi-working function to fold Clojure methods automatically. First, here’s a picture of what you can expect to see when using this (click for larger version): And here’s the code (stick this in your .vimrc): That’s it, easy as pie, enjoy […]

  • Does Clojure really need another set of introduction slides?

    April 29, 2010

    Well, I guess it couldn’t hurt, I looked at quite a few when coming up with mine (I recently gave an ‘Introduction to Clojure’ tech talk to co-workers), so I figure they’ll be useful to someone in the future. You can download the slides here, or check them out on slideshare: Clojure Intro I’ve also […]

  • How I develop Clojure with Vim

    March 15, 2010

    Recently Lau Jensen wrote a post talking about the features of Emacs and why it increases the productivity of Clojure programmers. While I don’t disagree that lisp programming in general benefits greatly from using Emacs as an editor, there are simply people who are too heavily invested into Vim (like myself) for things like viper-mode […]

  • Context searching using Clojure-OpenNLP

    March 9, 2010

    This is an addon to my previous post, “Natural Language Processing in Clojure with clojure-opennlp“. If you’re unfamiliar with NLP or the clojure-opennlp library, please read the previous post first. In that post, I told you I was going to use clojure-opennlp to enhance a searching engine, so, let’s start with the problem! The Problem […]

  • Natural Language Processing in Clojure with clojure-opennlp

    March 8, 2010

    NOTE: I am not a linguist, please feel free to correct me in the comments if I use the wrong term! From Wikipedia: Natural Language processing (NLP) is a field of computer science and linguistics concerned with the interactions between computers and human (natural) languages. Natural language generation systems convert information from computer databases into […]

  • CBench, simple benchmarking for Clojure

    December 9, 2009

    How many times have you written something like this in Clojure when you’re trying to benchmark some code: (time (dotimes [_ 10000] (my-function arg1 arg2 arg3)) I normally end up writing something equivalent to that all the time to test reflection vs. type-hinted Clojure code, subtle tweaks and other things. Well, I finally got fed […]

  • Building a Google Wave robot in Clojure

    October 29, 2009

    I’ve seen a few different posts circulating around on how to build a robot for Wave in Clojure, so I’ll throw mine in the pool. I started off creating a text-replacement robot in Java, but decided to switch it over to Clojure and to make something semi useful. I ended up making a robot to […]

Powered by Wordpress and MySQL. Theme by Shlomi Noach, openark.org