Re: [ANN] CIDER 0.16 (Riga)

2018-01-04 Thread Timothy Washington
Here here +1. Thanks Bbatsov :) Tim On Fri, Dec 29, 2017 at 8:32 AM, Bastien Guerry wrote: > Hi Bozhidar, > > > Here's one (a bit overdue) Christmas present for all of you - a > > major update to CIDER, the popular Clojure interactive development > > environment, built on top of Emacs and nRE

Re: Port graphs: What would Rich Hickey do?

2018-01-04 Thread Gary Verhaegen
If you’re shopping around for ideas as to how to define data manipulation API, it may be worth taking some time looking at Specter too. Have you considered encoding your port graph into a normal graph? That would require you to define a mapping, but would then allow you to fairly easily reuse t

I created a package ob-clojure-literate for Clojure Literate Programming in Org-mode

2018-01-04 Thread numbch...@gmail.com
I created a package ob-clojure-literate for Clojure Literate Programming in Org-mode. Welcome to use it and add PR. https://github.com/stardiviner/ob-clojure-literate I still have two features not implemented. Hope someone will PR. Thanks very much. [stardiviner] GPG key ID: 47C3

[ANN] re-graph 0.1.3 - the Clojurescript graphql client is now framework agnostic

2018-01-04 Thread Oliver Hine
Hi everyone, I'm pleased to announce the release of re-graph 0.1.3 . re-graph is a graphql client for Clojurescript with re-frame bindings and support for queries, subscriptions and mutations over websocket or HTTP. This release *adds suppo

Re: I created a package ob-clojure-literate for Clojure Literate Programming in Org-mode

2018-01-04 Thread numbch...@gmail.com
No, I asked Clojure ML, and posted an issue on clojure-mode GitHub issues. I need to find a workaround on myself. You can check out the discussion here https://github.com/clojure-emacs/clojure-mode/pull/465. [stardiviner] GPG key ID: 47C32433 IRC(freeenode): stardiviner

Re: I created a package ob-clojure-literate for Clojure Literate Programming in Org-mode

2018-01-04 Thread numbch...@gmail.com
If you got any problem after use and test, GitHub issues and PR welcome. Thanks. [stardiviner] GPG key ID: 47C32433 IRC(freeenode): stardiviner Twitter: @numbchild Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433 Blog: http://stardiviner.git

Re: [ANN] rocks.clj/z 0.1.0-SNAPSHOT (alpha)

2018-01-04 Thread Tim Visher
On Thu, Jan 4, 2018 at 12:04 AM, Edward Knyshov wrote: > Thanks :) > > I haven't considered using nio Zip FileSystem just because I never heard > of it, but I'll definitely check it out. > > Regarding targeting to java 7, should something like this set up targeting > properly? > > :javac-options

Re: Port graphs: What would Rich Hickey do?

2018-01-04 Thread Ben Kovitz
On Tuesday, January 2, 2018 at 3:11:45 PM UTC-5, Christopher Small wrote: > http://docs.datomic.com/entities.html > > http://docs.datomic.com/pull.html > Thanks—this is really good stuff! Not that I expected anything less, but it's a happy surprise that it applies so well to graphs. Now I'm

Re: Port graphs: What would Rich Hickey do?

2018-01-04 Thread Ben Kovitz
On Thursday, January 4, 2018 at 4:01:41 AM UTC-5, Gary Verhaegen wrote: Have you considered encoding your port graph into a normal graph? That was the first idea I had, and I quickly rejected it as adding complication. The consideration that led me to port graphs in the first place was that wh

[ANN] Ask-Me-Anything session with Carin Meier on ClojureVerse

2018-01-04 Thread 'Martin Klepsch' via Clojure
Following up on a previous AMA session with Colin Fleming we're very happy to have Carin Meier on board for the second ever AMA on ClojureVerse. All details can be found here: https://clojureverse.org/t/ama-with-carin-meier-author-of-living-clojure-on-friday-january-12th/1325 Date is next Frida

Re: [ANN] rocks.clj/z 0.1.0-SNAPSHOT (alpha)

2018-01-04 Thread Gary Verhaegen
To (possibly) clarify, I think what Tim meant was more along the lines of "have your code depend on the java.nio package, which means it will die at compile time on Java 1.6 and lower with a ClassNotFountException, and therefore say in the README that this requires Java 1.7+". On 4 January 2018 at

Re: Port graphs: What would Rich Hickey do?

2018-01-04 Thread Gary Verhaegen
Unfortunately most of the contexts were fairly specific and a few years ago, so I don't remember all of the details, and mostly in the context of private research that I'm not at liberty to share. Some of the results have been published (though not my specific work) by a then-colleague of mine; you

Re: Port graphs: What would Rich Hickey do?

2018-01-04 Thread Christopher Small
Yes; Datomic really is great. There's plenty of wonderful stuff I haven't even mentioned, like database as a value, persistent history, snapshots at a timepoint, transaction metadata, smart peer replication etc. It's kind of the best thing since sliced bread. But if you don't need all that jazz and

Advice on Shell Scripting with new "clojure" binary

2018-01-04 Thread Delon Newman
How do I get command line arguments in a Clojure shell script using the new "clojure" binary? So for a file like: # file-name: hello #!/usr/bin/env clojure (defn -main [name] (println (str "Hello, " name))) and execute it like: ./hello John the "-main" function is not executed. Is there

Re: Port graphs: What would Rich Hickey do?

2018-01-04 Thread Ben Kovitz
I replied to Gary Verhaegen: If you’re shopping around for ideas as to how to define data manipulation >> API, it may be worth taking some time looking at Specter too. >> > > Thanks for this suggestion, too. I'm now checking it out. > Well! So far, Specter appears to have taken the "path map" id

RE: Advice on Shell Scripting with new "clojure" binary

2018-01-04 Thread Sean Corfield
The `clojure` command just loads your script – it doesn’t call -main – if you had ;; test.clj (println “Loaded!”) And you ran `clojure test.clj` then it would print Loaded! So you could do: #!/usr/bin/env clojure (println (str “Hello, “ (first *command-line-args*))) (t

Re: Advice on Shell Scripting with new "clojure" binary

2018-01-04 Thread Delon Newman
Thank you that's what I was looking for! On Thursday, January 4, 2018 at 7:15:07 PM UTC-7, Sean Corfield wrote: > > The `clojure` command just loads your script – it doesn’t call -main – if > you had > > > > ;; test.clj > > (println “Loaded!”) > > > > And you ran `clojure test.clj

Re: [ANN] rocks.clj/z 0.1.0-SNAPSHOT (alpha)

2018-01-04 Thread Edward Knyshov
I got it guys, thank you. I'll investigate the possibility and benefits of migration to java nio and let you know when it's done. Gary Verhaegen wrote > To (possibly) clarify, I think what Tim meant was more along the lines > of "have your code depend on the java.nio package, which mea

Re: I created a package ob-clojure-literate for Clojure Literate Programming in Org-mode

2018-01-04 Thread numbch...@gmail.com
After @bbatsov's explaination. I think he is right. I'm considering to improve my solution. Might will be available soon. [stardiviner] GPG key ID: 47C32433 IRC(freeenode): stardiviner Twitter: @numbchild Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8