[ANN] Troncle: Emacs convenience functions for tracing clojure code

2013-11-12 Thread Alex Coventry
troncle Troncle is a proof-of-concept integration of clojure's tracing tools with emacs, built around technomancy's innovative nrepl-discover and a robust (very simple) code-walking/wrapping macro

[ANN] Clojure RETE algorithm implementation (CLIPS-like expert system shell)

2013-11-12 Thread ru
Dear Clojure users, For those interested in the Clojure RETE algorithm implementation or CLIPS-like expert system shells, on https://github.com/rururu/rete4frames published a simple version. Leiningen integration is [rete "4.0.0-SNAPSHOT"] Sincerely, Ru -- -- You received this message

Re: Do (should?) these core.async utilities exist?

2013-11-12 Thread Leon Grapenthin
Hi Paul, I have implemented at least the doseq equivalent in a library of my own called state-node: https://github.com/lgrapenthin/state-node. It implements gochan and gochan-and. gochan lets you bind a binding-form to a channel but also lets you recur (if you bind things aside from the channel

Re: Releasing Caribou today: Open Source Clojure Web Ecosystem

2013-11-12 Thread Ryan Spangler
Justin, As far as I know, Immutant is not a dependency, but an option. Let me know if that is not true however. On Tuesday, November 12, 2013 10:13:17 PM UTC-8, Justin Smith wrote: > > Typically my first step making a caribou app is to remove the immutant > dependency. It's pretty straightforw

Re: Releasing Caribou today: Open Source Clojure Web Ecosystem

2013-11-12 Thread Ryan Spangler
Prasanna, It supports Ring as well. You should be able to just lein ring server in the root of your new project and it will boot up. The ring options are in the project.clj so you can change the port etc. It also supports Immutant, Tomcat, HTTPKit, Heroku and Beanstalk. If you know

Re: Releasing Caribou today: Open Source Clojure Web Ecosystem

2013-11-12 Thread Justin Smith
Typically my first step making a caribou app is to remove the immutant dependency. It's pretty straightforward to take it out. On Tuesday, November 12, 2013 9:19:27 PM UTC-8, Prasanna Gautam wrote: > > This is really cool. Very easy to get up and running for first try. I have > a few questions o

Re: Step by step debugging

2013-11-12 Thread Ryan Spangler
Lee, Thank you for pointing that out! The README has been updated with more explicit instructions. For those who don't know, to open a dt_socket from your project.clj simply add this line: :jvm-opts ["-agentlib:jdwp=transport=dt_socket,server=y,suspend=n"] Schmetterling is still very ne

Re: Step by step debugging

2013-11-12 Thread Mars0i
Sorry to keep replying to my own posts with corrections: Rereading previous posts, I think I understand now that Colin's comments about retaining locals were intended to be relevant only to possible future facilities (which would go beyond my current knowledge). But I'm still curious about whe

Re: Reactive Programming in Clojure

2013-11-12 Thread Prasanna Gautam
This is interesting. I'm taking the same course and was planning to do the Scala versions and port to Clojure eventually! I *used* to know decent amount of Scala but the library ecosystem has advanced a fair bit now to keep track now. Would be happy to help wherever possible. On Saturday, Novem

Re: Step by step debugging

2013-11-12 Thread Mars0i
On Tuesday, November 12, 2013 11:15:11 PM UTC-6, Mars0i wrote: > > ... I'm seriously wondering at this moment, though, whether I should stop > and do the rewrite in CL instead, despite several advantages of Clojure for > me. Being able to easily look at any data structure at any time in the CL

Re: Releasing Caribou today: Open Source Clojure Web Ecosystem

2013-11-12 Thread Prasanna Gautam
This is really cool. Very easy to get up and running for first try. I have a few questions on the architecture. Why Immutant instead of plain ring as the default? I think the number of dependencies could be much lower with it. I know it's only alpha.. but I'm asking this on behalf of others wh

Re: Step by step debugging

2013-11-12 Thread Mars0i
Colin (or anyone), for a Clojure newbie, could you spell out what you're saying about *compiler-options* and -Dblahblah a little bit further? I think you're saying that if *compiler-options* is set to :disable-locals-clearing , then values of local variables are available, somehow. Can I see

Re: How to interrupt execution and open a debugger/REPL?

2013-11-12 Thread Mark Mandel
Gah! Thank you, thank you, thank you. That was one thing I was dying for in Clojure (coming from Pry in Ruby). That just made my day. Mark On Wed, Nov 13, 2013 at 1:56 PM, Jason Gilman wrote: > The debug-repl library (https://github.com/georgejahad/debug-repl) is > what you want. I believe t

Re: How to interrupt execution and open a debugger/REPL?

2013-11-12 Thread Jason Gilman
The debug-repl library (https://github.com/georgejahad/debug-repl) is what you want. I believe the macros from Joy of Clojure are based on it if I remember correctly. I just used it earlier this week on a project so I know it works. Let me know if you can't get it working and I can provide assis

Re: SuperShuttle sharing, 7 pm 11/13 from IAD?

2013-11-12 Thread Rich Morin
So far, it's just two of us (Juan Martin Facorro and me), but we'd be happy to have others join in. Here's some contact information: Juan: Virgin (VX) 84, getting in (nominally) at 5:30 pm Rich: UNITED (UA) 727, getting in (nominally) at 6:39 pm Juan and I will meet at the "Washington F

Re: Step by step debugging

2013-11-12 Thread Lee Spector
Very excited by this. Thanks also to Justin for the pointer. >From my perspective a particularly nice additional would be to provide minimal >instructions on how to get this running for people who don't know (or >necessarily want to have to know) what a dt_socket is. On Nov 12, 2013, at 7:11

Re: Releasing Caribou today: Open Source Clojure Web Ecosystem

2013-11-12 Thread Ryan Spangler
Marcus, Great to hear! You never know when building something like this. Let me know if you have any trouble getting things up and running with the docs. On Tuesday, November 12, 2013 5:22:44 PM UTC-8, Marcus Blankenship wrote: > > Oh, sweet! We’re down here in Klamath Falls, and have a total

[ANN] Lambda Lounge Utah

2013-11-12 Thread Ben Mabey
Hi all, For you those of you living in the Salt Lake City area I am starting up a Lambda Lounge chapter. SLC doesn't have a Clojure user group but already this group is showing a big interest in Clojure so if you are in Utah please join us! http://www.meetup.com/Lambda-Lounge-Utah/ https://g

Re: Releasing Caribou today: Open Source Clojure Web Ecosystem

2013-11-12 Thread Marcus Blankenship
Oh, sweet! We’re down here in Klamath Falls, and have a total ManCrush on Instrument. :-) I had no idea you are a clojure shop, but am thrilled to see you on the bandwagon. Thanks again for releasing this, it looks amazing! Best, Marcus On Nov 12, 2013, at 5:21 PM, Sean Corfield wrote: >

Re: Releasing Caribou today: Open Source Clojure Web Ecosystem

2013-11-12 Thread Sean Corfield
"Funded and supported by Instrument in Portland, OR: http://weareinstrument.com/ " On Tue, Nov 12, 2013 at 5:03 PM, Marcus Blankenship wrote: > Very nice, Ryan! Is there a company that’s shepherding the product? > > Best, > Marcus > > On Nov 12, 2013, at 5:02 PM, Sean Corfield wrote: > >> Wow..

Re: Releasing Caribou today: Open Source Clojure Web Ecosystem

2013-11-12 Thread Marcus Blankenship
Very nice, Ryan! Is there a company that’s shepherding the product? Best, Marcus On Nov 12, 2013, at 5:02 PM, Sean Corfield wrote: > Wow... That's pretty impressive for an initial alpha release! > > Sean > > On Tue, Nov 12, 2013 at 3:52 PM, Ryan Spangler > wrote: >> Hello Clojure, >> >> E

Re: Releasing Caribou today: Open Source Clojure Web Ecosystem

2013-11-12 Thread Sean Corfield
Wow... That's pretty impressive for an initial alpha release! Sean On Tue, Nov 12, 2013 at 3:52 PM, Ryan Spangler wrote: > Hello Clojure, > > Excited to announce today the release of Caribou! http://let-caribou.in/ > > We have been building web sites and web applications with it for over two >

Re: Do (should?) these core.async utilities exist?

2013-11-12 Thread Gary Zhao
I think the whole idea is event-driven and async. On Tuesday, November 12, 2013 3:11:50 PM UTC-8, stuart@gmail.com wrote: > > Hi Paul, > > Two different reasons: The channel-to-sequence conversion seems like a > questionable idea, making seqs that block. The doseq over a channel is > easi

Releasing Caribou today: Open Source Clojure Web Ecosystem

2013-11-12 Thread Ryan Spangler
Hello Clojure, Excited to announce today the release of Caribou! http://let-caribou.in/ We have been building web sites and web applications with it for over two years now and improving it every day. Currently we have four people working on it and another ten using it to build things, so it i

Re: Step by step debugging

2013-11-12 Thread Ryan Spangler
>> Sounds like a fun project, but probably non-trivial. > Too bad... unless someone wants to have that fun and then share it with the rest of us :-) I have started a project that does this: a browser based debugger that breaks on exceptions (it attaches to a dt_socket port): https://github.c

Re: Regarding Clojure's license

2013-11-12 Thread cojure
Vote for you, Man!!! On Tuesday, November 12, 2013 5:55:00 PM UTC+8, Kalinni Gorzkis wrote: > > To Rich Hickey: > Why did you choose the Eclipse Public License for Clojure? > 1. How did you make your license selection? > 2. What advantages does the EPL have over other free/open-source

Re: Regarding Clojure's license

2013-11-12 Thread Paul L. Snyder
On Wed, 13 Nov 2013, musicdenotat...@gmail.com wrote: > spirit and purpose. It's true that authors of FOSS want to get > contribution from others, but you can't force others to work for you, or > to do something that would potentially benefit you. Rich Hickey says that > it does not make sense to

Re: cider status

2013-11-12 Thread Tim Visher
While I'm glad to hear that there are users out there for whom cider is working great, I would still say based on following the project on GitHub that there are far too many issues being filed based on function names not being defined etc. to consider the current release stable. As always, YMMV.

Re: Reactive Programming in Clojure

2013-11-12 Thread Paddy Gallagher
+1 On Saturday, November 9, 2013 9:28:17 PM UTC, Marco Manzi wrote: > > Hi all, I'm a young clojure developer. I work as Java developer, but I've > falled in love with this fantastic language and I would like to help in > some way. > Actually I'm following Principles of Reactive > Programming

[ANN] lein-sphinx - Generate documentation from reStructuredText using Sphinx

2013-11-12 Thread Sean Johnson
I'm happy to announce, just in time for all the great documentation that will be written at Clojure/conj, the initial release of the lein-sphinx plugin. https://github.com/SnootyMonkey/lein-sphinx lein-sphinx makes it easy to configure the build(s) of your Sphinx [1] documentation in your Le

Re: Regarding Clojure's license

2013-11-12 Thread musicdenotation
My last post: Humorously, Rich Hickey's choice of the EPL reminds me of the GPL. Both licenses (EPL as used in Clojure and GPL as written) are intended to make modifications usable by the original author. However: 1. You can already create proprietary versions of Clojure; 2. Rich avoided the GPL'

Re: How to interrupt execution and open a debugger/REPL?

2013-11-12 Thread Justin Smith
On Tuesday, November 12, 2013 4:21:26 AM UTC-8, Lee wrote: > > > On Nov 12, 2013, at 1:58 AM, juan.facorro wrote: > > > Hi Alexandru, > > > > As Andy pointed out there's the emacs+Ritz option which has quite a few > features, but if the main thing you want to do is inspect the locals and > t

Re: Do (should?) these core.async utilities exist?

2013-11-12 Thread Stuart Halloway
Hi Paul, Two different reasons: The channel-to-sequence conversion seems like a questionable idea, making seqs that block. The doseq over a channel is easily enough implemented, and was not considered important enough to be on the core API. Stu On Tue, Nov 12, 2013 at 4:48 AM, Paul Butcher w

How could you solve this problem

2013-11-12 Thread Round Robin
Can anyone help me solving this problem in clojure 1196 - Ring of Primes http://coj.uci.cu/24h/problem.xhtml?abb=1196 -- -- 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 fr

Re: Regarding Clojure's license

2013-11-12 Thread John Gabriele
On Tuesday, November 12, 2013 11:40:53 AM UTC-5, Michael Klishin wrote: > > 2013/11/12 Kalinni Gorzkis > > >> That violates the principle of free software. License incompatibilities >> like this divide the open-source community. Please change. > > > Said "principle of free software" is not well de

Re: Regarding Clojure's license

2013-11-12 Thread John Gabriele
On Tuesday, November 12, 2013 11:30:23 AM UTC-5, Sean Corfield wrote: > > It's also worth > pointing out that a lot of US companies won't use GPL-licensed > software (and won't pay for a closed source version), and many aren't > comfortable with LGPL either. > I don't see why a company would h

Last chance >> 2013 State of Clojure & ClojureScript survey

2013-11-12 Thread Chas Emerick
This is the final call to participate in the 2013 State of Clojure & ClojureScript survey; no more responses will be accepted after noon EST *tomorrow*. http://cemerick.com/2013/11/05/2013-state-of-clojure-clojurescript-survey/ Please take 5 minutes to participate: doing so is very important i

Re: gemacl: Scientific computing application written in Clojure

2013-11-12 Thread kovas boguta
Sounds like some form of overhead is dominating the computation. How are the infinite sequences being consumed? Is it 1 thread per sequence? How compute-intensive is (move particle) ? What kind of numbers of are talking about in terms of steps, particles? If move is fast, you probably need to batc

Re: gemacl: Scientific computing application written in Clojure

2013-11-12 Thread cej38
It is hard to say where the root of your problem lies without looking at the code more. I would look closely at laziness. I find that lazy evaluation really kills parallelization. On Friday, November 8, 2013 4:42:11 PM UTC-5, Jose M. Perez Sanchez wrote: > > Hello everyone: > > This is my f

Re: [ANN] Parkour: Hadoop MapReduce in idiomatic Clojure

2013-11-12 Thread Marshall Bockrath-Vandegrift
Sam Ritchie writes: > Great stuff! Thanks! > Just as a note, Cascalog 2.0 has a lower-level DSL that lets you > write Cascading in idiomatic clojure. Here are some test examples: > > https://github.com/nathanmarz/cascalog/blob/develop/cascalog-core/test/cascalog/cascading/operations_test.clj C

ANN Neocons 2.0 is released

2013-11-12 Thread Michael Klishin
Neocons [1] is a Clojure client for Neo4J server (REST API). 2.0 is a major release that focuses on the new features in Neo4J 2.0. Release notes: http://blog.clojurewerkz.org/blog/2013/11/12/neocons-2-dot-0-0-is-released/ Documentation is updated for 2.0 and covers all the new stuff: http://clo

Re: Regarding Clojure's license

2013-11-12 Thread James Reeves
I'm afraid your jokes are a little too subtle for me, Phillip :) - James On 12 November 2013 17:01, Phillip Lord wrote: > James Reeves writes: > > > On 12 November 2013 16:26, Phillip Lord >wrote: > > > >> While we are talking, does anyone know why (contains? [:a :b :c] :b) > >> returns false

ANN Machine Head 1.0.0-beta4

2013-11-12 Thread Michael Klishin
Machine Head [1] is a minimalistic Clojure MQTT client. beta4 is a development release that works around a bug in the underlying library (Eclipse Paho Java). Release notes: http://blog.clojurewerkz.org/blog/2013/11/12/machine-head-1-dot-0-0-beta4-is-released/ 1. http://clojuremqtt.info/ -- MK

Re: cider status

2013-11-12 Thread Gary Trakhman
Stable for me, the only outside tool I use that relies on it is ac-nrepl, but switching the hooks over for cider was painless. On Tue, Nov 12, 2013 at 12:35 PM, Norman Richards wrote: > > On Tue, Nov 12, 2013 at 10:22 AM, Phillip Lord < > phillip.l...@newcastle.ac.uk> wrote: >> >> I have tried i

Re: cider status

2013-11-12 Thread Norman Richards
On Tue, Nov 12, 2013 at 10:22 AM, Phillip Lord wrote: > > I have tried it a couple of times and keep reverting back to nrepl. One > of the biggest issues is nrepl-ritz which depends on nrepl and not > nrepl-client. So switching to cider appears to mean ditching ritz. Although I don't understand

Re: Regarding Clojure's license

2013-11-12 Thread Jim - FooBar();
sorry for nitpicking but Richard Stallman has spent some 35 years explaining/defining what is meant by "free". I will not pretend that I know what all these licences say or even that I spend too much time deciding what license to use for my own code but at least a philosophical level, I stand

Re: Regarding Clojure's license

2013-11-12 Thread Phillip Lord
James Reeves writes: > On 12 November 2013 16:26, Phillip Lord wrote: > >> While we are talking, does anyone know why (contains? [:a :b :c] :b) >> returns false? >> > > This would be better placed in its own thread I think, but it's because the > contains? function checks for the presence of keys

Re: [ANN] Pocheshiro 0.1.1 (wrapper for Apache Shiro)

2013-11-12 Thread Michael Klishin
2013/11/12 dm3 > See https://github.com/inventiLT/Pocheshiro for more information and a > user guide. > Thank you for producing the guide! -- MK http://github.com/michaelklishin http://twitter.com/michaelklishin -- -- You received this message because you are subscribed to the Google Groups

Re: Regarding Clojure's license

2013-11-12 Thread Laurent PETIT
Le mardi 12 novembre 2013, James Reeves a écrit : > On 12 November 2013 16:26, Phillip Lord > 'phillip.l...@newcastle.ac.uk');> > > wrote: > >> While we are talking, does anyone know why (contains? [:a :b :c] :b) >> returns false? >> > > This would be better placed in its own thread I think, but

Re: [ANN] Parkour: Hadoop MapReduce in idiomatic Clojure

2013-11-12 Thread Sam Ritchie
Great stuff! Just as a note, Cascalog 2.0 has a lower-level DSL that lets you write Cascading in idiomatic clojure. Here are some test examples: https://github.com/nathanmarz/cascalog/blob/develop/cascalog-core/test/cascalog/cascading/operations_test.clj Marshall Bockrath-Vandegrift wrote: ron

Re: Regarding Clojure's license

2013-11-12 Thread Michael Klishin
2013/11/12 Kalinni Gorzkis > That violates the principle of free software. License incompatibilities > like this divide the open-source community. Please change. Said "principle of free software" is not well defined. The open source community is already widely divided in case you did not notice

Re: Regarding Clojure's license

2013-11-12 Thread James Reeves
On 12 November 2013 16:26, Phillip Lord wrote: > While we are talking, does anyone know why (contains? [:a :b :c] :b) > returns false? > This would be better placed in its own thread I think, but it's because the contains? function checks for the presence of keys, not values. In a vector, the key

Re: Regarding Clojure's license

2013-11-12 Thread Sean Corfield
As James said, you've misunderstood the rationale. It's also worth pointing out that a lot of US companies won't use GPL-licensed software (and won't pay for a closed source version), and many aren't comfortable with LGPL either. EPL, Apache and others are more acceptable to many commercial organiz

Re: Regarding Clojure's license

2013-11-12 Thread Phillip Lord
I think his main intention was to keep the traffic up on the Clojure mailing list. It's important for any new(ish) language to have good stats on mailing list traffic, and the decision to use EPL results in regular "why, why, why?" threads. While we are talking, does anyone know why (contains? [:

Re: cider status

2013-11-12 Thread Phillip Lord
I have tried it a couple of times and keep reverting back to nrepl. One of the biggest issues is nrepl-ritz which depends on nrepl and not nrepl-client. So switching to cider appears to mean ditching ritz. Name changes always cause a significant amount of distruption. I understand the rationale

Re: Regarding Clojure's license

2013-11-12 Thread James Reeves
On 12 November 2013 15:17, Kalinni Gorzkis wrote: > Thus, Rich Hickey's choice of the EPL has the same rationale as the GPL. > That violates the principle of free software. License incompatibilities > like this divide the open-source community. Please change. > You've misunderstood what the ratio

[ANN] Pocheshiro 0.1.1 (wrapper for Apache Shiro)

2013-11-12 Thread dm3
Pocheshiro (https://github.com/inventiLT/Pocheshiro) is a Clojure wrapper for the Apache Shiro[1] security library tailored for use with Ring/Compojure. Pocheshiro is a viable alternative for Friend if you're running in a servlet container and/or already know Apache Shiro. It's a thin wrapper o

Re: Regarding Clojure's license

2013-11-12 Thread Kalinni Gorzkis
"I will not be dual licensing with GPL or LGPL. Both licenses allow the creation of derived works under GPL, a license I cannot use in my work. Allowing derived works I cannot use is not reciprocal and make no sense for me." 1. First, the license allow proprietary derivative works anyway. 2. Th

cider status

2013-11-12 Thread John D. Hume
The last (non-authoritative) word on cider on this mailing list[1] was that it is unstable. Is that really the case? Is it just a matter of many packages that depend on it not being updated? I tried checking the official mailing list[2] and was surprised to find that it's private. I'm trying to u

Re: Regarding Clojure's license

2013-11-12 Thread Andy Fingerhut
There are answers to some related questions that have been discussed in previous discussions in this group. For example, the last time the question of the license arose, Sean Corfield pointed at the following discussion involving Rich Hickey from 2008: https://groups.google.com/forum/#!topic/

Re: Autocomplete for new dependency - counterclockwise

2013-11-12 Thread Niels van Klaveren
After saving the edited project.clj, the dependencies should be downloaded, placed in the local repository, and linked inside the Leiningen Dependencies section of your project. Be sure to check if the jar is inside the Leiningen Dependencies before starting the REPL anew. On Tuesday, November

Re: Regarding Clojure's license

2013-11-12 Thread James Reeves
You may wish to look at this post: https://groups.google.com/d/msg/clojure/bpnKr88rvt8/VIeYR6vFztAJ - James On 12 November 2013 09:55, wrote: > To Rich Hickey: > Why did you choose the Eclipse Public License for Clojure? > 1. How did you make your license selection? > 2. What advantages does

Re: Autocomplete for new dependency - counterclockwise

2013-11-12 Thread Josh Kamau
Thanks. I had tried that. I guess i was doing something wrong. Let me try again. Josh On Tue, Nov 12, 2013 at 4:53 PM, Niels van Klaveren < niels.vanklave...@gmail.com> wrote: > You only need to restart the REPL since the new library needs to be on the > classpath. > > > On Tuesday, November 12

[ANN] friend-oauth2 0.1.1

2013-11-12 Thread Dave Della Costa
friend-oauth2 0.1.1 is out. https://github.com/ddellacosta/friend-oauth2 This is small fix release: Kevin Lynagh's credential-fn addition in there for real, this time. Thanks to Jérémie Campari (https://github.com/jeremieca) for testing it out and discovering this issue. DD (2013/11/07 21:43),

Regarding Clojure's license

2013-11-12 Thread musicdenotation
To Rich Hickey: Why did you choose the Eclipse Public License for Clojure? 1. How did you make your license selection? 2. What advantages does the EPL have over other free/open-source software licenses such as GPL, LGPL, BSD, MIT, Apache, at least for the Clojure project? -- -- You received thi

Re: Autocomplete for new dependency - counterclockwise

2013-11-12 Thread Niels van Klaveren
You only need to restart the REPL since the new library needs to be on the classpath. On Tuesday, November 12, 2013 2:48:21 PM UTC+1, Josh Kamau wrote: > > Hi there ; > > I have a counterclockwise project on eclipse. I have just added a new > library dependency to project.clj. What do i need t

Autocomplete for new dependency - counterclockwise

2013-11-12 Thread Josh Kamau
Hi there ; I have a counterclockwise project on eclipse. I have just added a new library dependency to project.clj. What do i need to do so that the the namespaces provided by the new library are available during autocomplet.. especially on the repl. Regards. Josh -- -- You received this mes

Re: How to interrupt execution and open a debugger/REPL?

2013-11-12 Thread Lee Spector
On Nov 12, 2013, at 1:58 AM, juan.facorro wrote: > Hi Alexandru, > > As Andy pointed out there's the emacs+Ritz option which has quite a few > features, but if the main thing you want to do is inspect the locals and the > current stack trace, you could use a macro as the one presented in the b

Do (should?) these core.async utilities exist?

2013-11-12 Thread Paul Butcher
I've been playing with core.async, and have come across a couple of things that it seemed would probably be common use cases, but can't find anything in the library that addresses them. I'd be grateful for pointers if any of these do exist and I'm just missing them, or suggestions for reasons w

Re: [ANN] Yesql 0.2.1 - Clojure & SQL queries rethought.

2013-11-12 Thread Kris Jenkins
It depends on which kind of composability you mean. If we're talking about a "SELECT ... FROM ..." here with a "WHERE ..." there, I don't see why not. It's a down-the-road feature, but I'm open to it. But the kind of composability that would get me excited is the cascalog/datalog kind. Where yo

Re: [ANN] Yesql 0.2.1 - Clojure & SQL queries rethought.

2013-11-12 Thread Kris Jenkins
My primary motivation is for smoother development. Both the editors I use have good SQL modes that do more than just highlighting - they take care of schema exploration, autocomplete, indentation, memorising bind parameters, previewing results, etc. I want to use them to develop a SQL query as a

Re: [ANN] Yesql 0.2.1 - Clojure & SQL queries rethought.

2013-11-12 Thread Mamun
Hi Kris, I am not sure about that. On the other hand, it will be boring to write 20 query in 20 different files. Could you please check: https://developers.google.com/closure/templates/docs/helloworld_js Here comment contains meta data for core part. Similarly, query'd contain meta data in c

Re: Out of Memory Error

2013-11-12 Thread Cedric Greevey
Yeah, rewrite that to not hold the head of "lines". In particular, get rid of "counts" entirely, get rid of "(nth lines ...)", and use something like (loop [lines (seq lines) res {}] (if lines (recur (next lines) (update-res res (first lines))) res)) as your loop. On Tue, Nov

Re: SuperShuttle sharing, 7 pm 11/13 from IAD?

2013-11-12 Thread Philipp Meier
Hi, Am Dienstag, 12. November 2013 03:18:55 UTC+1 schrieb Rich Morin: > > Does anyone want to split a SuperShuttle ticket from IAD to the > Embassy Suites in Alexandria, VA, about 7 pm on 11/13? > While I do not need one for IAD->Embassy Suites, I would split one the other way round on. My flig

Out of Memory Error

2013-11-12 Thread Jiaqi Liu
hi , guys I wrote the following codes to parse log files. it's alright to parse small one. But with big log files , i got the following error: "OutOfMemoryError GC overhead limit exceeded clojure.core/line-seq (core.clj:2679)" (defn parse-file "" [file] (with-open [rdr (io/reader file)]