Re: Dauphin: mona lisa genetic algorithm in clojure

2009-01-26 Thread Christopher
imilar mistakes. Thanks, Christopher On Jan 26, 3:59 pm, bOR_ wrote: > Hope this isn't a double-post, but here is a nice example of a rewrite > of some reddit post on a genetic algorithm for generating the mona > lisa in clojure by Yann N. Dauphin > > http://npcontemplation.blogsp

Re: how to learn clojure ?

2009-02-18 Thread Christopher
n Lisp into Clojure (http://blog.thinkrelevance.com/2008/9/16/pcl- clojure). I think all of those should keep you busy for quite sometime. Good luck, hope this helps. Christopher On Feb 18, 4:53 am, MarisO wrote: > All documentation I've seen about clojure assumes know

How do I setup Clojure REPL to automattically use some libraries?

2009-03-06 Thread Christopher
loads. Thanks for your in advance. Christopher --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com To unsubscribe from this group, send em

Re: How do I setup Clojure REPL to automattically use some libraries?

2009-03-06 Thread Christopher
to get this to work, the directory within which your user.clj file resides needs to be on the CLASSPATH, not the file itself. Also, I made mine a pointer to a .cljrc file in my home directory so that I could keep all of my init code in a similar place/format. Thanks again for the help. Christoph

Help on a Clojure performance question

2011-07-08 Thread Christopher
Python and Clojure, as I love them both, I'm strictly trying to learn how to be a better programmer in Clojure. Thanks ahead of time for any help you all can give. Christopher ;; mapper.clj (use ['clojure.java.io :only '(reader)]) (use ['clojure.string :only '(s

Re: Help on a Clojure performance question

2011-07-08 Thread Christopher
a few seconds or so) so that wouldn't account for why the program becomes "exponentially" slower when I increase the amount of text that is processes. Christopher On Jul 8, 4:19 pm, Michael Klishin wrote: > 2011/7/9 Christopher > > > % time cake run mapper.clj < inpu

Re: Help on a Clojure performance question

2011-07-08 Thread Christopher
ce of code up, but, at the end of the day, what I am really interested in is learning all the different ways that good Clojure programmers go about analyzing their code for performance issues. So, thanks a bunch for the tip and, please, keep them coming. Christopher On Jul 8, 4:17 pm, Ken Wesson

Re: Help on a Clojure performance question

2011-07-08 Thread Christopher
first run, cake was compiling the code and loading the classes into the running JVM to avoid most of the overhead of a fresh startup, but I guess it is instead executing it as a script or something. Good to know! Thanks. On Jul 8, 5:44 pm, Benny Tsai wrote: > Hi Christopher, > > I ran

Re: Help on a Clojure performance question

2011-07-08 Thread Christopher
will need to analyze large chunks of data and getting insight like this into how to properly optimize the code is invaluable. Thanks a bunch you guys for all the help, I really appreciate it and I learned quite a bit. Christopher On Jul 8, 6:23 pm, David Nolen wrote: > Here's a very u

Re: XML Namespaces :xmlns, was Re: xml/parse

2008-12-12 Thread Christopher Taylor
On 12.12.2008, at 15:49, J. McConnell wrote: > > On Fri, Dec 12, 2008 at 9:39 AM, Chouser wrote: >> >> On Fri, Dec 12, 2008 at 9:15 AM, J. McConnell >> wrote: >>> >>> {:tag :root, :attrs nil, :content [ >>> {:tag :fragment, :attrs nil, :content [ >>> {:tag :

Re: how to emulate lisp's labels functionality?

2009-02-21 Thread Christopher Taylor
On 15.02.2009, at 06:26, Chouser wrote: > > On Sat, Feb 14, 2009 at 11:32 PM, GS wrote: >> >> On Feb 14, 12:21 pm, Chouser wrote: >>> >>> (defn count-instances [obj lsts] >>> (let [instances-in (fn thisfn [lst] >>> (if (seq lst) >>> (+ (if (= (fir

Re: shortcut for for comprehension

2009-04-20 Thread Christopher Taylor
On 21.04.2009, at 00:19, Michael Hunger wrote: > > Is it possible to use :while to shortcut a for macro when a certain > number of yiels have happened? > > e.g. (for [x (range 1000) :when (= (rem x) 1) :while (number of > yields <= 10)] > > so i want only the first 10 results. you could: (d

Re: Getting slime-edit-definition to work with Clojure

2009-04-29 Thread Christopher Wilson
Here's a .emacs snippet that works for me: ;; SLIME setup (clojure) (add-to-list 'load-path "~/.emacs.d/slime/") ; your SLIME directory (add-to-list 'load-path "~/.emacs.d/") ; clojure-mode.el is here (add-to-list 'load-path "~/.emacs.d/swank-clojure") ; swank-clojure directory (setq swank-cloju

Re: ANN: Full, continuously updated documentation for clojure.contrib

2009-05-03 Thread Christopher Taylor
Tom, thanks, that's great! I think it would be really useful if the overview appeared as a link on the contrib landing page. all the best, --Chris On 04.05.2009, at 08:41, Tom Faulhaber wrote: > > Hello everybody, > > As many of you know, I have been working on a "contrib autodoc robot" >

Re: constructing maps

2009-05-04 Thread Christopher Taylor
Hi Nathan, On 04.05.2009, at 15:47, Nathan Hawkins wrote: > > On Mon, 4 May 2009 06:16:14 -0700 (PDT) > Drew Raines wrote: >> >> Whoops, that (seq) is a debugging artifact. You can remove that: >> >> (let [test-str "foo=1;bar=2;baz=3"] >> (reduce conj {} >> (map #(apply hash-map (.sp

Speed up network transfers?

2009-05-15 Thread Christopher Wilson
Hi there, I'm working on a project that involves transferring large files over the network (100+MB) and wondering what would work better. I'm newer to Java than I am to lisp, so I've just grabbed the most obvious things from the API that I thought could possibly work: (ns misc-ports (:import (

Re: compilation and classpath

2009-05-22 Thread Christopher Wilson
You probably need to set (and create!) the correct compilation (output) directory. This defaults to a "classes" directory as a subdirectory of your current working directory. So if you had: test/main.clj you'd need classes/ also make sure that this directory is on your classpath. I think this

Clojure and VisualVM

2009-05-28 Thread Christopher Wilson
I found an interesting article on Hacker News: http://news.ycombinator.com/item?id=631085 "The Best Kept Secret in the JDK: VisualVM" and the article here: http://java.dzone.com/articles/best-kept-secret-jdk-visualvm I fired it up and in no time at all, was profiling some clojure code. Definitely

Re: Weird Issue Reading Socket

2009-06-01 Thread Christopher Wilson
I don't know how relevant this is to what you're trying to do, but I've recently written something that sounds like what you're doing. My approach was to always send the size of the file (this involves sending chunks of a file around) to the server before sending the file. Since read() will block

Re: jar handling

2009-06-21 Thread Christopher Wilson
In Java 6 you can do a wildcard for jar files in a directory: java -cp /opt/jars/*:. clojure.main this will find all the jar files in /opt/jars/ and put them on the classpath. On Sun, Jun 21, 2009 at 9:10 PM, Wilson MacGyver wrote: > > Hi, > > Does clojure have any way to handle jar loading wit

Re: parsing program for nested parens and square brackets

2009-07-04 Thread Russell Christopher
(def matches {\( \) \[ \]}) (defn balanced? [s] (empty? (reduce #(if (= (matches (peek %1)) %2) (pop %1) (conj %1 %2)) [] s))) Learning Clojure. So far I'm really liking it. This is the first time I've tried anything outside of some REPL incantations from books, blogs, this list, etc thus it wo

Re: Ant build.xml snippet: compile

2009-07-22 Thread Christopher Wilson
Sorry if this is a bit OT, but has anyone created an ant or maven jar task (maven: is 'goal' the correct term)? In the few jars that I've created I've AOT compiled my .clj files and hand-created the jar file. The way that I do this is compile to the default clojure "classes" directory, I then pull

Re: Package manager proposal

2009-08-07 Thread Christopher Wilson
+1 on ".car" here too. Plus, I imagine the icon to be a 1950's-era muscle car; a nod to Lisp's age. On Fri, Aug 7, 2009 at 8:13 AM, Justin Johnson wrote: >> car: "Clojure Archive"  (half-assed pun on Lisp's car, plus you can >> imagine the icon!) > > +1 > > > > -- Chris Wilson --~--~---

Re: ClojureQL confusion: getting a hold of the results

2009-08-11 Thread Christopher Wilson
It looks like (speaking without having looked at the ClojureQL source) the results are being returned as a lazy sequence. In the first case the sequence isn't being realized but it is in the second. On Tue, Aug 11, 2009 at 2:15 PM, Maximilian Karasz wrote: > Hi, > > i've been wanting to play wit

Re: Is knowing Java a prerequisite for using Clojure?

2009-09-17 Thread Russell Christopher
In general I think the STM solution to most concurrency issues looks promising, however in the case of dining philosophers I found that Java locking was easier than a ref, atom or agent solution. ;; (import java.util.concurrent.locks.ReentrantReadWriteLock) (defn nth-chopstick [chopsticks i side]

Re: Why can't :let be first in a for

2009-10-26 Thread Christopher Taylor
Dear all, I've got a re-implementation of the for-macro sitting around here that removes this limitation (and others, the vector can't be empty either, if I remember correctly). The implementation also adds the sorting and grouping functionality described in Wadler and Jones' paper "comprehensive

Re: Is it possible to implement break or return in Lisp?

2009-11-04 Thread Christopher Wilson
On Tue, Nov 3, 2009 at 10:58 PM, rob wrote: > > I'm pretty sure there was an example of this using continuations in > Dybvig's book on Scheme.  I just flipped through it and didn't readily > find it, but I think that is where I saw it. You can do something like this (PLT Scheme): #lang scheme

create java class instance from type selected at runtime

2009-12-05 Thread Christopher Wicklein
;ve tried. Is this possible? Christopher Wicklein -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first

Re: Alternate Javadocs?

2010-02-02 Thread Christopher Petrilli
On Tue, Feb 2, 2010 at 11:42 AM, Sean Devlin wrote: > As most of you know, Oracle is rapidly rebranding the sun website. > It's a matter of time before they get to the Javadocs.  Given the > following: > > 1.  Oracle doesn't play nice (putting it lightly) > 2.  Oracle documentation is the WORST on

Re: Parens again

2010-02-03 Thread Christopher Petrilli
On Wed, Feb 3, 2010 at 8:08 AM, Dan wrote: > Once a month, we get a proposal about how to remove the parens so that the > language would be more usable for newbies who are afraid of them. Invariably > this turns out into experienced clojure users telling that the parens aren't > a problem and that

Re: eclipse/counterclockwise/maven question

2010-04-03 Thread Christopher Taylor
Hi, On 01.04.2010, at 20:00, Stuart Halloway wrote: > (2) When I import the project, the package explorer shows JRE System Library > J2SE 1.4. The Clojure REPL then bombs needing Java 1.5 features. I can edit > the project properties after the import, but shouldn't there be some way to > say t

Re: iterating over a nested vector

2010-04-08 Thread Russell Christopher
Another one using for (defn col-widths [arr] (for [i (range (count arr))] (apply max (map #(nth % i) arr On Thu, Apr 8, 2010 at 1:55 PM, John Sanda wrote: > Thanks for the explanation. I did see in the docs that the map function can > take multiple collections, but I guess I did not quite u

Re: iterating over a nested vector

2010-04-09 Thread Russell Christopher
http://rosettacode.org/wiki/Matrix_transposition#Clojure Does anyone know if transpose exists in core or contrib? A cursory check doesn't reveal it, seems like it should be available. Thanks On Thu, Apr 8, 2010 at 10:27 PM, Per Vognsen wrote: > Or you can separate concerns a bit more: > > (def

Re: defrecord question

2010-04-30 Thread Russell Christopher
Why does this work? (defrecord R [k]) (extend-protocol P R (p [{:keys [k]}] k)) On Fri, Apr 30, 2010 at 2:52 PM, Sean Devlin wrote: > I think you have your destructuring backwards. > > You fn should probably be (fn [{k :keys}] k) > > For example, > > user=> ((fn [{k :keys}] k) {:keys "Awesome"})

Re: a default value for get-in?

2010-05-18 Thread Russell Christopher
(defn get-in ([m ks] (reduce get m ks)) ([m ks not-found] (if-let [res (get-in m ks)] res not-found))) Longer but still uses reduce On Tue, May 18, 2010 at 12:20 PM, Stefan Kamphausen wrote: > Hi, > > On May 17, 9:34 pm, braver wrote: > > If get-in is to be consistent with get, i

Re: a default value for get-in?

2010-05-18 Thread Russell Christopher
Although that would return the default for a key with a nil value. So you're probably right reduce would have to change. On Tue, May 18, 2010 at 3:49 PM, Russell Christopher < russell.christop...@gmail.com> wrote: > (defn get-in > ([m ks] > (reduce get m ks))

Re: a default value for get-in?

2010-05-19 Thread Russell Christopher
Try #2, change the order of arguments to "get" using partial (defn get-in ([m ks] (get-in m ks nil)) ([m ks not-found] (letfn [(local-get-in [nf m ks] (get m ks nf))] (reduce (partial local-get-in not-found) m ks On Tue, May 18, 2010 at 5:23 PM, Meikel Brandmeyer wrote: > H

Re: a default value for get-in?

2010-05-19 Thread Russell Christopher
slight error w/ the previous, local-get-in should have been local-get (defn get-in ([m ks] (get-in m ks nil)) ([m ks not-found] (letfn [(local-get [nf m ks] (get m ks nf))] (reduce (partial local-get not-found) m ks On Wed, May 19, 2010 at 9:21 AM, Russell Christopher

[ANN] clj-wamp : a WebSocket sub-protocol for HTTP Kit

2013-06-18 Thread Christopher Martin
in/clj-wamp-example The code has stabilized enough to release as beta, but I'll warn you that it's still under development. Next up is to try integrating with Aleph, and port the JavaScript WAMP client to ClojureScript. Cheers, ~Christopher Martin -- -- You received this message be

Re: [ANN] clj-wamp : a WebSocket sub-protocol for HTTP Kit

2013-06-24 Thread Christopher Martin
Martin, Thanks for the kind feedback. I've written a tutorial (first draft) that covers some of the basics, and created a leiningen template for quick-starting a new HTTP-Kit/clj-wamp project: http://cljwamp.us/tutorial https://github.com/cgmartin/clj-wamp-template Cheers, ~Christopher M

Re: [ANN] clj-wamp : a WebSocket sub-protocol for HTTP Kit

2013-06-24 Thread Christopher Martin
: > > That is a great tutorial Christopher. Really easy to follow. > > You might want link the use of CURI (should be CURIE right?) in your > code example to the explanation of prefix shortening, as it is not > readily apparent that these are linked(at least not to me). > >

Re: [ANN] clj-wamp : a WebSocket sub-protocol for HTTP Kit

2013-06-24 Thread Christopher Martin
https://github.com/tavendo/AutobahnPython/tree/master/examples/wamp/authentication > WAMP-CRA > (WAMP Challenge Response Authentication)? > > On Tuesday, June 25, 2013 6:52:40 AM UTC+3, Christopher Martin wrote: >> >> Good call. I agree the prefix shortening should be more

[ANN] clj-wamp 1.0.0-rc1 is released

2013-07-08 Thread Christopher Martin
ttps://github.com/cgmartin/clj-wamp Cheers, ~Christopher Martin http://cljwamp.us -- -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated

Re: [ANN] clj-wamp 1.0.0-rc1 is released

2013-07-09 Thread Christopher Martin
wesome library. I've been using it for a couple weeks now > and it's been really easy to use. I appreciate the great documentation. > > On Monday, July 8, 2013 11:54:00 AM UTC-4, Christopher Martin wrote: >> >> clj-wamp: WAMP WebSocket subprotocol for HTTP Kit. >

Re: Socket.IO and Clojure?

2013-07-20 Thread Christopher Martin
WebSockets with HTTP Kit. Cheers, ~Christopher Martin On Friday, July 19, 2013 1:33:51 PM UTC-4, c...@bitemyapp.com wrote: > > If you want something robust I'd recommend something like http-kit or > Netty on the backend + using websockets (and a shim) directly on the > frontend, or

Re: using httpkit + core.async to build a simple WebSocket-based chat demo

2013-07-21 Thread Christopher Martin
Thanks for sharing this! I'm in a similar mindset right now, working on a cljs port of a JS WebSocket library (AutoBahnJS) for clj-wamp<http://cljwamp.us> . Examples like these have been very helpful for getting up to speed on ClojureScript and core.async. Cheers, ~Christopher

[ANN] Blackwater 0.0.5 released (SQL query logging)

2013-08-30 Thread Christopher Allen
https://github.com/bitemyapp/blackwater/ Clojure library for logging SQL queries and the time they took for Korma and clojure.java.jdbc. I like having a 'canary in the coal mine' while developing locally so that I can see the queries getting executed and the time they took to run, similar to R

Re: How do you configure your Ring apps?

2013-09-07 Thread Christopher Allen
I use environ as well. I don't use config files and don't think they're a great idea. Instead I use a simple config.clj that pulls stuff from environ into one big get-config map. I use (or (env :env-var) "fallback-value") for each variable. On Saturday, September 7, 2013 4:53:25 PM UTC-7, Alexa

Re: Building a CRUD based web application using datomic

2013-09-07 Thread Christopher Allen
Thanks so much for this, I'll use it to teach people. :) On Saturday, September 7, 2013 3:42:33 PM UTC-7, Mamun wrote: > > Hi > > Building a CRUD based web application using datomic. It might help some > one who are just start using datomic to build CRUD based web application. > > URL: https:/

Re: Introducing a new SQL migration library for clojure / jdbc

2013-09-07 Thread Christopher Allen
This looks pretty nice, I might try this out instead of using my standby Migratus. Thanks for sharing! On Saturday, September 7, 2013 1:08:40 PM UTC-7, Chris Kuttruff wrote: > > Alexandr, > Thanks so much for the feedback; really glad others are finding this > useful as well. > > I've just pub

Re: [ANN] Blackwater 0.0.5 released (SQL query logging)

2013-09-07 Thread Christopher Allen
o confirm, is the recommendation to use this only at development > time? It's been a while since Rails and I don't recall if they turn off SQL > logging in production mode. > > On Friday, August 30, 2013 9:46:43 AM UTC-7, Christopher Allen wrote: >> >> https://gith

Re: Functional purity and "globals" in Clojure

2013-09-10 Thread Christopher Allen
I do a hybrid in Bulwark. github.com/bitemyapp/bulwark/ Defaults to accepting a closure of a config map for nice testing and hygiene, with a fallback to a global atom map for configuration for muggles. Works well for me. On Tuesday, September 10, 2013 12:19:35 AM UTC-7, Alexandr Kurilin wrote:

[ANN] Blackwater 0.0.8

2013-09-10 Thread Christopher Allen
https://github.com/bitemyapp/blackwater Single-line SQL query formatting, separate Korma and c.j.j namespaces, ability to use a custom fn with set-logger! now as well. Any additional feature requests/changes should continue to hit the Github issues. Cheers all. --- Chris -- -- You received

Re: The Eclipse Public License is not a good license

2013-09-11 Thread Christopher Allen
I agree with Corfield and approaching things that seem wrong from a spirit of curiosity, rather than defaulting to criticism is a better way to improve understanding. You miss wonderful opportunities to learn when you approach things like that. On Wednesday, September 11, 2013 10:54:36 AM UTC-7

Re: [ANN] quickie- autotest plugin for clojure.test

2013-09-13 Thread Christopher Allen
Link: https://github.com/jakepearson/quickie Is it possible to see *some* of the stack trace so you can debug? Also you should include a screenshot of what the library looks like in action. :) On Friday, September 13, 2013 10:57:35 AM UTC-7, Jake Pearson wrote: > > Hi, > Quickie is a leininge

Re: clojure web framework

2013-09-13 Thread Christopher Allen
Well for creation itself, http://www.luminusweb.net/ represents best practices with Ring, Compojure, and the usual attendant libraries. For deployment, I'd say something like Fabric or Ansible is going to be the simplest way to start. On Friday, September 13, 2013 10:45:10 AM UTC-7, Jon Barker

Re: Clojure for Desktop UI Design Application

2015-01-13 Thread Christopher Small
Something else to consider... If you really want to avoid doing a web app with all the complexity of server code, client code, html, css, database, etc, then you might want to look into [quil](https://github.com/quil/quil). It's a clojure wrapper of the processing library for doing data visuali

Re: [ANN] Neanderthal, a fast, native matrix and linear algebra library for Clojure released + call for help

2015-01-13 Thread Christopher Small
Awesome project! I'll echo the encouragement towards having Neanderthal implement the core.matrix protocols. You'll have much higher adoption if folks know they can just plug your tool in by changing a single line setting the underlying implementation to Neanderthal. And as Mikera points out, i

Re: Dynamically creating defrecord

2015-01-17 Thread Christopher Small
The reason you can't just call `(mk-rec "A" "ns" [a b c])` is that your `mk-rec` is a function, and `a`, `b`, and `c` are undefined. To have them interpretted as symbols, you'd either have to explicitly use `['a 'b 'c]`, or write `mk-rec` as a macro (as Lee points towards). I was able to get a

Re: [ANN] Onyx 0.5.0: The Cluster as a Value

2015-01-20 Thread Christopher Small
Congrats! Excited to play around with it :-) On Tuesday, January 20, 2015 at 7:21:21 AM UTC-8, Michael Drogalis wrote: > > For those unfamiliar, Onyx is a batch/stream processing hybrid distributed > platform for Clojure. It uses aggressive data-driven techniques to bridge > languages. > > Onyx

[ANN] Introducing semantic-csv, a tool for higher-level CSV parsing/processing functionality

2015-01-27 Thread Christopher Small
Hi everyone I'm pleased to announce the release of [semantic-csv](https://github.com/metasoarous/semantic-csv), a humble library for working with CSV data. Existing Clojure libraries for working with CSV data ([clojure.data.csv](https://github.com/clojure/data.csv) and [clojure-csv](https://g

[ANN] Introducing semantic-csv, a tool for higher-level CSV parsing/processing functionality

2015-01-27 Thread Christopher Small
Hi everyone I’m pleased to announce the release of semantic-csv , a humble library for working with CSV data. Existing Clojure libraries for working with CSV data (clojure.data.csv and clojure-csv

Re: [ANN] Introducing semantic-csv, a tool for higher-level CSV parsing/processing functionality

2015-01-27 Thread Christopher Small
with instaparse, joy of badly separated data). So, cast-with is very > appreciated ! > > Seem to cover everything - even lazy loading so... what's not to like ? > > On Tuesday, January 27, 2015 at 10:24:21 AM UTC+1, Christopher Small wrote: >> >> Hi everyone >&g

Re: [ANN] Introducing semantic-csv, a tool for higher-level CSV parsing/processing functionality

2015-02-07 Thread Christopher Small
I need! > > > Jony > > On Tuesday, 27 January 2015 09:24:21 UTC, Christopher Small wrote: >> >> Hi everyone >> >> I’m pleased to announce the release of semantic-csv >> <https://github.com/metasoarous/semantic-csv>, a humble library for >>

Re: [ANN] Introducing semantic-csv, a tool for higher-level CSV parsing/processing functionality

2015-02-07 Thread Christopher Small
gt; subsets of functionality. I was hoping to have released this with > 0.3.0 but an as yet undiagnosed bug in lein-repack has prevented me > from doing this. > > However when this is done, you'll be able to request just the > grafter-tabular.csv package for example. > > I&

Re: New Member Initiation

2015-02-09 Thread Christopher Small
Hi Shubham Welcome to the Clojure community :-) Have you already been programming for a while? Are you new to functional programming, or programming in LISPs? Or just new to Clojure, and interested in learning more and helping develop things within the community. There are a lot of resources a

Re: [ANN] cqrs-server - An opinionated CQRS/ES implementation using Onyx, Datomic, DynamoDB, Kafka and Zookeeper.

2015-02-13 Thread Christopher Small
I'll chime in with a couple of comments about Storm vs Onyx. I've used Storm in a production application, so I'm fairly familiar with it. I haven't spent too much time playing with Onyx yet, but will be soon. >From what I do know about it and Storm though, I can say the following: Both Storm an

Re: [ANN] cqrs-server - An opinionated CQRS/ES implementation using Onyx, Datomic, DynamoDB, Kafka and Zookeeper.

2015-02-14 Thread Christopher Small
-0.5.0:-The-Cluster-as-a-Value.html > . > > Lucas > > On 14 Feb 2015, at 07:57, Christopher Small wrote: > > I'll chime in with a couple of comments about Storm vs Onyx. > > I've used Storm in a production application, so I'm fairly familiar with > it. I haven&

[ANN] semantic-csv 0.1.0-alpha2 released

2015-02-24 Thread Christopher Small
sting helpers (thanks in part to @JonyEpsilon) For updated documentation and examples, see http://metasoarous.github.io/semantic-csv/ With gratitude, Christopher Small -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group

Re: New scientific article out on plague and climate, using clojure, quil and incanter for data analysis, and lighttable as IDE.

2015-02-24 Thread Christopher Small
This is awesome. I had just opened the BBC news summary article, and then scrolled down my Clojure Group digest to see your post. Nice work. Always good to see other scientists using Clojure in their work. On Tuesday, February 24, 2015 at 2:59:41 AM UTC-8, Boris V. Schmid wrote: > > Hi all, > >

Re: XPATH/XSLT like access to Clojure data structures?

2015-02-27 Thread Christopher Small
Interesting idea... Haven't seen anything myself. I think that would be useful though! Someone should build it if it doesn't exist yet. On Friday, February 27, 2015 at 4:53:51 AM UTC-8, Henrik Heine wrote: > > Hi folks, > > do you know of a lib that let's you navigate around nested Clojure > str

[GSoC] Mentors contact information

2015-03-09 Thread Christopher Medrela
Hello! My name is Christopher Medrela. I'm interested in participating in GSoC this year. I've looked at the ideas page and I think that I'd like to work at: * source metadata information model (mentored by Alex Miller) * or one of typed clojure projects (mentored by Ambrose Bo

Re: ANN: ClojureScript 0.0-3058, Enhanced REPLs, faster compile times

2015-03-11 Thread Christopher Graham
It seems that (doc ...) and (source ...) do not print any text after (require '[hello-world.core :as hello] :reload) has been entered at the (browser) REPL. On Monday, March 9, 2015 at 7:42:28 PM UTC-4, David Nolen wrote: > > ClojureScript, the Clojure compiler that emits JavaScript source code

Re: [GSoC] Mentors contact information

2015-03-12 Thread Christopher Medrela
Alex, Ambrose, thank you for quick answer. I'll contact you soon. I'm sorry for overlooking your mail, Ambrose. By the way, I can read at student application guidelines in "project information" section [1]: GSoC officially runs from 19 May–22 Aug, a period of 14 weeks. while the official

Re: Core Matrix Dot Product

2015-03-14 Thread Christopher Small
Which core.matrix implementation are you using? core.matrix is really just an API, and has a number of implementations. The default is not particularly fast, and uses vanilla nested Clojure vectors. However, you can also set up the Vectorz implementation which is typically fast enough for my ne

[GSoC] Source meta information model proposal

2015-03-16 Thread Christopher Medrela
Hello! My name is Christopher Medrela and I'd like to work at "source metadata information model" project mentored by Alex Miller at Google Summer of Code. I hope that this mailing list is the right place to discuss such projects (if I'm wrong, correct me). I'd like t

Re: [GSoC] Source meta information model proposal

2015-03-18 Thread Christopher Medrela
Hello! Alex decided to proceed with Richard. Therefore, I'd like to find some other project. I'm glad to see so much feedback and I'd really like to reply to all your feedback but there is not much time to the end of application period and therefore I will focus exclusively on the another projec

Re: Streaming a large file onto a channel

2015-03-18 Thread Christopher Small
It seems like you're generally on the right track here (though Erick Pintor's code has some nice cleanup, like removal of necessary do, etc). The one thing I'd recommend is testing what happens with a larger channel buffer; if the file io isn't the bottleneck, but rather the processing, this co

Re: [GSoC] Source meta information model proposal

2015-03-20 Thread Christopher Medrela
l move forward. > > Alex > > On Wednesday, March 18, 2015 at 3:28:41 PM UTC-5, Christopher Medrela > wrote: >> >> Hello! Alex decided to proceed with Richard. Therefore, I'd like to find >> some >> other project. I'm glad to see so much feedback

[GSoC] Typed Overtone proposal

2015-03-21 Thread Christopher Medrela
Hello! As you may remember I wanted to work at "Source meta information model" project during Google Summer of Code this year, but I've decided to switch to "typed Overtone" project because there was already another student (Richard) who wanted to work at the same project. I believe that Clojure

Re: csv output

2015-03-23 Thread Christopher Small
I'll make a couple of recommendations here: 1. Try out @davidsantiago's clojure-csv: https://github.com/davidsantiago/clojure-csv. I think it has more formatting/parsing flexibility, and you may find that it "just works (TM)". 2. For getting from maps to a sequence of vectors suita

Re: [GSoC] Typed Overtone proposal

2015-03-24 Thread Christopher Medrela
I've updated my proposal. The main changes are in this section [1]. [1] https://gist.github.com/chrismedrela/7fe431fa5189c2c64bd8#porting-overtone -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegrou

Re: [ANN][book] Clojure Reactive Programming

2015-03-26 Thread Russell Christopher
So far I'm finding the book instructive! Good job. As far as the detour, I'd keep in mind that in general Rich likely isn't in favor of it on this list but on the other hand I didn't find that the criticism was personal as no names were mentioned and I commiserate about so called "architects" cau

Re: [GSoC] Typed Overtone proposal

2015-03-26 Thread Christopher Medrela
The deadline for student applications is tomorrow. If anybody have some thoughts or comments, please don't hesitate and share it here. -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note t

Re: clojure, not the go to for data science

2015-04-02 Thread Christopher Small
Dear lord... May I please echo the imploration that folks take the editor flame war else where. And while I'm at it, Vim FTW... On the note of DATA SCIENCE... I agree that Clojure has some catching up to do, both in tooling and awareness/perception. But it also has some major strengths in this

Re: clojure, not the go to for data science

2015-04-02 Thread Christopher Small
Editors as they apply to data science adoption is certainly relevant, particularly as relates to ease of adoption for beginners. It's easy for an experienced developer to dismiss the difference of ease in adopting something like RStudio vs R by itself; Those with experience already have workfl

Re: clojure, not the go to for data science

2015-04-02 Thread Christopher Small
Sure. I wasn't under the impression you were knocking it. On the contrary, I appreciate the reflection. As someone who uses (and loves) Clojure for data science, I'm keen to consider what can be done to broaden its adoption in this area. Chris Sent via phone -- You received this message because

Re: clojure, not the go to for data science

2015-04-05 Thread Christopher Small
Yesyesyesyes! Great idea! I'm on it. On Sun, Apr 5, 2015 at 4:15 PM, A wrote: > Please feel free to create something like http://www.clojure-toolbox.com/ > for data science in Clojure, that would be great. > > On Sunday, April 5, 2015 at 3:33:11 PM UTC-7, Sayth Renshaw wrote: >> >> Would be good

Re: clojure, not the go to for data science

2015-04-06 Thread Christopher Small
OK; Here's my humble stab at something along these lines: http://clojure-datascience.herokuapp.com/ (source code here: https://github.com/metasoarous/clojure-datascience). The data is currently just an edn file, so contributions should come in the form of pull requests. However, we could look

Re: clojure, not the go to for data science

2015-04-06 Thread Christopher Small
this for a classification problem, but it was rather inchoate > and only to create some libsvm and naive bayes classifier. > > Marcus > > Am 06.04.2015 um 21:15 schrieb Christopher Small: > > > OK; Here's my humble stab at something along these lines: > http://clojure-

Re: clojure, not the go to for data science

2015-04-06 Thread Christopher Small
t; > best, > -A > > > > > > On Monday, April 6, 2015 at 12:15:02 PM UTC-7, Christopher Small wrote: >> >> >> OK; Here's my humble stab at something along these lines: >> http://clojure-datascience.herokuapp.com/ >> <http://www.google.com/

Re: clojure, not the go to for data science

2015-04-08 Thread Christopher Small
Made some updates to http://clojure-datascience.herokuapp.com/. In particular, went with the tagline "Resources for the budding Clojure Data Scientist." Couldn't come up with anything else sufficiently punny and appropriate. Again; please contribute! I'll be starting a list in the about page m

Re: What are favored Redis-backed queues?

2015-04-24 Thread Christopher Small
I think you mean to be asking specifically about *job* queuing using Redis. You don't need anything other than Redis + Carmine to create queues. But obviously, the value of Resque (note spelling) is that it *uses* Redis in a number of non-trivial ways, such that all of the features above are av

Re: What are favored Redis-backed queues?

2015-04-24 Thread Christopher Small
Also, I should mention that Ruby doesn't have very good built in parallelism support (no true threads when I was using, though this might have changed). As such, I've seen a fair bit of usage of Resque running on a single machine. This would be an insane overcomplication in Clojure given all it

Re: complex numbers in clojure

2015-04-29 Thread Christopher Small
Let me first say I would definitely like to see complex arithmetic support in Clojure. Major hole for scientific computing in my opinion. And with the momentum that Clojure has in ML / data science, I think it's one that needs patching. As to you specific point Nik: > For me, having complex nu

Re: complex numbers in clojure

2015-04-29 Thread Christopher Small
Yes, it would be nice to have this available for cljs as well. With the new reader literals though, this doesn't preclude having a native java implementation that gets loaded in the :clj case, and some other implementation that gets loaded in the :cljs case. On Wednesday, April 29, 2015 at 2:06

Re: Embedded systems and transpiling Clojure to Nim

2015-05-01 Thread Christopher Small
Another possibility is https://github.com/takeoutweight/clojure-scheme. It compiles Clojure to Gambit Scheme to C to metal. It's been a couple of years since there was any activity on that project, but it's possible some attention there could get it where you need it. Nim seems interesting th

Re: Embedded systems and transpiling Clojure to Nim

2015-05-01 Thread Christopher Small
Hah; I have no experience with it. Is it that bad? At least there's another Lisp in there. Lisps all the way down! On Fri, May 1, 2015 at 1:58 PM, Raoul Duke wrote: > > Another possibility is https://github.com/takeoutweight/clojure-scheme. > It > > compiles Clojure to Gambit Scheme to C to met

Re: Embedded systems and transpiling Clojure to Nim

2015-05-01 Thread Christopher Small
Well... Correct me if I'm wrong, but this entire thread is about compiling Clojure to native targets. Are folks here really talking about embedding a JVM? Has cljs been poor roi? :-) Chris On Friday, May 1, 2015 at 2:25:27 PM UTC-7, raould wrote: > > I just would guess that anything other tha

Re: Embedded systems and transpiling Clojure to Nim

2015-05-01 Thread Christopher Small
Both Nim and Pixie ultimately compile to C, and would have just as many layers of indirection. On Fri, May 1, 2015 at 2:37 PM, Raoul Duke wrote: > all i'm trying to say is that the more layers of indirection you add, > the more i won't give you any money on kickstarter. > > -- > You received thi

  1   2   3   4   >