Cool! I presume you're restricted to EDN on the channels though, right?
On Saturday, November 30, 2013 5:23:17 PM UTC+1, James Henderson wrote:
>
> https://github.com/james-henderson/chord
>
> Chord is a library for making WebSockets look like simple core.async
> channels in Clojure (using http-
Hi..
I am using clojure to import dbpedia dat into neo4j..
Here's the code:
(ns opal.dbpedia
(:use [clojure.tools.logging :only [log]])
(:require [clojure.java.io :as io])
(:import [uk.ac.manchester.cs.owl.owlapi.turtle.parser TurtleParser]
[org.neo4j.unsafe.batchinsert BatchIn
Hi...
I am using clojure to import dbpedia data into neo4j.
Here's the code:
(ns opal.dbpedia
(:use [clojure.tools.logging :only [log]])
(:require [clojure.java.io :as io])
(:import [uk.ac.manchester.cs.owl.owlapi.turtle.parser TurtleParser]
[org.neo4j.unsafe.batchinsert BatchIn
Unfortunately Chord only accepts raw strings on the channel at the moment -
I've been using pr-str and read-string around EDN messages until now.
It's a great idea to be able to format/parse different message formats
automatically though and something that IMO Chord should provide. I've
added
hello
quick question: is there any good graphs related library? the one that
implements data structures and search/traverse or some other algorithms in
a nice fashion. googling found me nothing useful for my simple needs, neo4j
client libs at best.
thanks for responses
PR
--
--
You received
Thanks, Paddy! It's very encouraging to hear such positive feedback :) I'm
glad it was useful for you!
Daniel
On Sunday, December 1, 2013 7:51:35 PM UTC-5, Paddy Gallagher wrote:
>
> Daniel,
>
> I've just finished reading this series and thought it was superb. The
> Emacs chapters in particula
Plenty here?: http://clojurewerkz.org/
On Monday, 2 December 2013 14:01:12 UTC, Paweł Rozynek wrote:
>
> hello
>
> quick question: is there any good graphs related library? the one that
> implements data structures and search/traverse or some other algorithms in
> a nice fashion. googling found
Since we don't really care what the data looks like while it's on the wire,
it could even be byte code in order to compress data. But it's certainly
nice if it's possible to use EDN in any case.
Also, you could consider whether it'd be worthwhile interacting with
something like SockJS in order
This is the second release of lein sync. It includes a major bugfix, and
updates for Cider.
https://github.com/phillord/lein-sync
>From the readme!
A leiningen plugin to enable syncing an existing Clojure REPL to the current
leiningen project using pomegranate.
Sometimes, when you do not c
https://github.com/aysylu/loom is pretty neat.
On Monday, December 2, 2013 3:54:25 PM UTC+1, keeds wrote:
>
> Plenty here?: http://clojurewerkz.org/
>
> On Monday, 2 December 2013 14:01:12 UTC, Paweł Rozynek wrote:
>>
>> hello
>>
>> quick question: is there any good graphs related library? the one
Hi everyone,
Let d be some map, says {1 3/5, 2 1/5, 3 1/5}
why
(reduce + (map #(% 1) d)) => 1
while
(fold + (map #(% 1) d)) => ArityException Wrong number of args (2) passed to
The reduce,fold, and map are those in the reducers namespace.
Can someone explain to me? Thanks
-
Caleb
--
--
You r
I was trying to write a function next-branch.
I wrote somthing like:
(use 'clojure.zip)
(def zp (seq-zip '(+ 1 2 (+ 3 4) (+ 5 6
(defn next-branch [loc] (second (filter branch? (iterate next loc
(next-branch (next-branch (next-branch zp)))
this results in: NullPointerException clojure.zi
On Wednesday, 27 November 2013 11:11:56 UTC-8, Magnar Sveen wrote:
>
>
> On Wednesday, November 27, 2013 1:08:34 PM UTC+1, Stefan Kamphausen wrote:
>
>
>> Howard has quite some experience with this and I'd expect he put a great
>> deal of that into the new library. :-)
>>
>
> Indeed. There's
On Monday, 25 November 2013 18:12:28 UTC-8, Paul Biggar wrote:
>
> [FYI: I'm the author/forker of stefon]
>
> These libraries aren't bad, but to be honest, I think we've done it all
> wrong. We're just all scratching our own itches, not writing reusable
> components (unlike most of the rest of
Two follow-ups categorizing results from the "missing language" and
"weaknesses" questions:
http://tech.puredanger.com/2013/11/19/state-of-clojure-language-features/
http://tech.puredanger.com/2013/12/01/clj-problems/
Alex
On Monday, November 18, 2013 1:32:56 PM UTC-6, Chas Emerick wrote:
>
> R
On Mon 2 Dec 2013 at 12:42:46AM -0800, Patrick Kristiansen wrote:
> On Sun, Dec 1, 2013, at 05:16 PM, guns wrote:
>
> > I hope you find this information useful. Exactly one year ago I
> > became very unsatisfied with Vim for working with Clojure, and toyed
> > with Emacs for a bit (evil-mode). It
It's different in a way we manipulate the data:
We've opted out for default-lazy way (you're getting and setting separate
values instead of serialising/deserialising an entire payload).
Another difference is that we don't have Lamina as a loaded artifact (which
may not be an issue for majority
Actually, I'd say seqs are very much *unlike* iterators in other languages
(Java in particular).
Iterators - stateful cursors that conflate iteration with a check for
whether more elements exist
Seqs - immutable persistent views of a collection that separate iteration
from checking for more el
Can I get a quick reality check on this?
Thanks!
-A
--
--
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
Can I get a quick reality check on this?
Thanks!
-A
--
--
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
Yes Alan, Jenn Hillner is Rich Hickey's sister. I've worked with her on
finding a job before, and highly recommend.
-Rob
On Mon, Dec 2, 2013 at 2:18 PM, Alan Shaw wrote:
> Can I get a quick reality check on this?
> Thanks!
>
> -A
>
> --
> --
> You received this message because you are subscrib
Great, thanks a lot Robert!
On Mon, Dec 2, 2013 at 3:06 PM, Robert Levy wrote:
> Yes Alan, Jenn Hillner is Rich Hickey's sister. I've worked with her on
> finding a job before, and highly recommend.
>
> -Rob
>
>
> On Mon, Dec 2, 2013 at 2:18 PM, Alan Shaw wrote:
>
>> Can I get a quick reality
Perhaps I should have said that seqs fulfil the same role as iterators do,
rather than claiming they're alike :)
- James
On 2 December 2013 21:42, Alex Miller wrote:
> Actually, I'd say seqs are very much *unlike* iterators in other languages
> (Java in particular).
>
> Iterators - stateful cu
I'm not certain where the Transient error is coming from but as far as
Neo4J is concerned have you considered using the neocons library to help
you with your import? It provides a decent wrapper for working with Neo4J
and perhaps it will spare you some headache. IIRC it does batch inserts.
Have
Great point...
--
--
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 post.
To unsubscribe from this group,
25 matches
Mail list logo